
:root {
  --bg: #f8f3ec;
  --paper: #fffaf4;
  --paper-2: #f5ede3;
  --ink: #273127;
  --muted: #687166;
  --sage: #79957f;
  --sage-deep: #476352;
  --clay: #b57b5d;
  --gold: #d5b48a;
  --line: rgba(39, 49, 39, 0.11);
  --shadow-lg: 0 26px 70px rgba(54, 55, 41, 0.11);
  --shadow-md: 0 16px 40px rgba(54, 55, 41, 0.09);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-bg-glow {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .45;
  pointer-events: none;
}
.site-bg-glow-left {
  top: -8rem;
  left: -8rem;
  background: rgba(213, 180, 138, .38);
}
.site-bg-glow-right {
  top: 6rem;
  right: -10rem;
  background: rgba(121, 149, 127, .20);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: linear-gradient(to bottom, rgba(248,243,236,.92), rgba(248,243,236,.75));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(54,55,41,.08);
}
.brand-text strong {
  display: block;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.1rem;
}
.brand-text small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
}
.site-nav {
  display: flex;
  gap: clamp(.8rem, 2vw, 1.6rem);
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--sage-deep); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 2.25rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .78rem;
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.03;
  font-family: "Fraunces", Georgia, serif;
  color: #243025;
}
h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.04em; }
h3 { font-size: 1.32rem; letter-spacing: -.02em; }
.hero-lead {
  margin: 1.4rem 0 1.7rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.3vw, 1.16rem);
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.3rem;
  min-height: 50px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(54,55,41,.12); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--sage-deep), #355040);
}
.button-secondary {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.2rem 0 .8rem;
}
.hero-badges span {
  padding: .65rem .9rem;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-deep);
  font-size: .92rem;
  font-weight: 700;
}
.hero-note,
.contact-note,
.footer-inner p:last-child { color: var(--muted); font-size: .92rem; }
.placeholder { color: var(--clay); font-weight: 700; }

.hero-visual-card {
  display: grid;
  gap: 1rem;
}
.hero-image-frame,
.mini-panel,
.service-card,
.gallery-card,
.stack-card,
.map-shell,
.contact-card,
.intro-ribbon article {
  background: rgba(255,250,244,.86);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-md);
}
.hero-image-frame {
  padding: .9rem;
  border-radius: var(--radius-xl);
}
.hero-image-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 12px);
}
.hero-mini-panels {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}
.mini-panel {
  padding: .75rem;
  border-radius: 22px;
  overflow: hidden;
}
.mini-panel img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 16px;
}
.quote-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(71,99,82,.96), rgba(48,66,54,.96));
  color: white;
}
.quote-panel p {
  margin: 0;
  padding: 1.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.45;
}

.intro-ribbon {
  padding: 0 0 2.2rem;
}
.intro-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.intro-ribbon article {
  padding: 1.3rem 1.25rem;
  border-radius: 22px;
}
.intro-ribbon strong {
  display: block;
  margin-bottom: .45rem;
  font-size: 1rem;
}
.intro-ribbon p { margin: 0; color: var(--muted); }

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-soft {
  background: linear-gradient(180deg, rgba(255,250,244,.62), rgba(245,237,227,.72));
}
.two-col {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.5rem, 5vw, 3.8rem);
  align-items: start;
}
.body-copy p,
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}
.body-copy p:first-child { margin-top: 0; }
.centered { max-width: 52rem; text-align: center; margin: 0 auto 2rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card {
  border-radius: 22px;
  padding: 1.25rem;
}
.service-card p { margin: .7rem 0 0; color: var(--muted); font-size: .96rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}
.gallery-card {
  border-radius: 26px;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.gallery-large { grid-row: span 2; }
.gallery-large img { height: 100%; min-height: 572px; }
.gallery-card figcaption {
  padding: 1rem 1rem 1.05rem;
  color: var(--muted);
  font-size: .95rem;
}

.care-grid {
  align-items: center;
}
.care-visual-stack {
  position: relative;
  min-height: 35rem;
}
.stack-card {
  border-radius: 28px;
  overflow: hidden;
}
.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.care-visual-stack .stack-card:first-child {
  width: 78%;
  height: 30rem;
}
.small-stack-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 15rem;
  border: 6px solid rgba(248,243,236,.96);
}
.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.feature-item {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: rgba(255,255,255,.5);
  border-radius: 0 16px 16px 0;
}
.feature-item p { margin: .4rem 0 0; color: var(--muted); }

.map-shell {
  border-radius: 30px;
  overflow: hidden;
}
.map-shell iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
}

.contact-card {
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  background: linear-gradient(135deg, rgba(71,99,82,.98), rgba(41,56,46,.98));
  color: white;
}
.contact-card .eyebrow,
.contact-card h2 { color: white; }
.contact-card p { color: rgba(255,255,255,.82); }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin: 1.5rem 0;
}
.contact-info-grid a,
.contact-info-grid div {
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
}
.contact-info-grid span {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  opacity: .75;
}
.contact-info-grid strong { font-size: 1rem; }

.site-footer {
  padding: 1rem 0 2rem;
}
.footer-inner {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner p { margin: 0; }

@media (max-width: 1100px) {
  .hero-grid,
  .two-col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-large { grid-column: 1 / -1; grid-row: auto; }
  .gallery-large img { min-height: 360px; height: 360px; }
  .care-visual-stack { min-height: unset; display: grid; gap: 1rem; }
  .care-visual-stack .stack-card:first-child,
  .small-stack-card { position: static; width: 100%; height: auto; }
  .small-stack-card { border-width: 0; }
}

@media (max-width: 760px) {
  .site-header { padding: 10px 0; }
  .brand-logo { width: 60px; height: 60px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255,250,244,.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .hero-mini-panels,
  .intro-ribbon-grid,
  .services-grid,
  .gallery-grid,
  .contact-info-grid { grid-template-columns: 1fr; }
  .gallery-card img,
  .gallery-large img { height: 245px; min-height: 245px; }
  .hero-actions,
  .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-badges { gap: .55rem; }
}


/* V2.1 brand polish */
.brand-v21 {
  gap: 13px;
  min-width: max-content;
}

.brand-emblem-wrap {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,250,244,.95), rgba(245,237,227,.9));
  border: 1px solid rgba(213, 180, 138, .35);
  box-shadow: 0 12px 28px rgba(54,55,41,.10);
  overflow: hidden;
}

.brand-emblem {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 999px;
}

.brand-wordmark {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 0;
  line-height: 1;
}

.brand-rest {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  color: #334637;
}

.brand-afh {
  position: relative;
  top: -1px;
  padding-left: 10px;
  border-left: 1px solid rgba(181, 123, 93, .42);
  color: #b18454;
  font-weight: 800;
  letter-spacing: .13em;
  font-size: .92rem;
}

.brand-wordmark small {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
}

/* Hide old image class if any remains in cache */
.brand-logo,
.brand-text {
  display: none;
}

.hero-brand-card {
  width: min(440px, 100%);
  margin-top: 1.3rem;
  padding: .75rem;
  border-radius: 24px;
  background: rgba(255, 250, 244, .76);
  border: 1px solid rgba(213, 180, 138, .22);
  box-shadow: 0 16px 42px rgba(54,55,41,.09);
}

.hero-brand-card img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* V2.1 subtle motion system */
[data-reveal],
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(.22, .61, .36, 1),
    transform 700ms cubic-bezier(.22, .61, .36, 1);
}

[data-reveal].is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-visible,
.gallery-card.is-visible,
.feature-item.is-visible {
  transition-delay: var(--reveal-delay, 0ms);
}

.hero-visual-card {
  will-change: transform;
  transition: transform 100ms linear;
}

/* Add a small premium underline flourish to the brand */
.brand-rest::after {
  content: "";
  display: block;
  width: 62%;
  height: 2px;
  margin-top: 7px;
  background: linear-gradient(90deg, rgba(213,180,138,.85), rgba(181,123,93,.08));
  border-radius: 999px;
}

/* Slightly more polished header shape */
.site-header {
  box-shadow: 0 10px 34px rgba(54,55,41,.07);
}

.header-inner {
  padding: 0 2px;
}

@media (max-width: 860px) {
  .brand-v21 {
    gap: 10px;
  }

  .brand-emblem-wrap {
    width: 58px;
    height: 58px;
  }

  .brand-rest {
    font-size: 1.25rem;
  }

  .brand-afh {
    font-size: .76rem;
    letter-spacing: .1em;
    padding-left: 8px;
  }

  .brand-wordmark small {
    font-size: .58rem;
    letter-spacing: .11em;
  }

  .hero-brand-card {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-emblem-wrap {
    width: 52px;
    height: 52px;
  }

  .brand-rest {
    font-size: 1.05rem;
  }

  .brand-wordmark small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-reveal],
  .reveal-up,
  .hero-visual-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
