/* =========================================================
   TATTVAM — Architecture & Interior Design
   Design System: Contemporary Editorial Luxury,
   Earthy Architectural Warmth.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,ital@9..144,300..600,0..1&family=Inter:wght@300;400;500;600&display=swap');

:root{
  /* ---- Colour system ---- */
  --ivory:      #F6F1E7;
  --cream:      #EFE7D8;
  --paper:      #FBF8F2;
  --forest:     #26332B;
  --forest-dim: #34423A;
  --olive:      #6E7452;
  --taupe:      #A6906F;
  --brown:      #4B3A2C;
  --charcoal:   #201D18;
  --gold:       #AD8A4D;
  --gold-soft:  #D9C69A;
  --line:       rgba(32,29,24,0.12);
  --line-soft:  rgba(32,29,24,0.07);
  --white:      #FFFFFF;

  /* text on dark */
  --ivory-70:   rgba(246,241,231,0.72);
  --ivory-45:   rgba(246,241,231,0.45);

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Spacing scale ---- */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6.5rem;
  --s-7: 9rem;

  --container: 1320px;
  --container-narrow: 860px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; background:none; border:none; color:inherit; }
input, textarea, select{ font-family: inherit; font-size: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
}
@media (min-width: 860px){
  .container{ padding: 0 var(--s-5); }
}

.container-narrow{
  width:100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--s-3);
}
@media (min-width: 860px){
  .container-narrow{ padding: 0 var(--s-5); }
}

/* ---- Typography ---- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--charcoal);
}
.display-1{ font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 450; }
.display-2{ font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 450; }
.display-3{ font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; }
.display-4{ font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  display:flex;
  align-items:center;
  gap: 0.6em;
}
.eyebrow::before{
  content:'';
  width: 28px; height:1px;
  background: var(--gold);
  display:inline-block;
}
.eyebrow.center{ justify-content:center; }
.eyebrow.light{ color: var(--gold-soft); }

.lede{
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--forest-dim);
  font-weight: 400;
}
p{ margin: 0 0 1.1em; color: var(--brown); }
.text-muted{ color: var(--olive); }
.on-dark p, .on-dark .lede{ color: var(--ivory-70); }
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark h4{ color: var(--ivory); }

.italic{ font-style: italic; font-weight: 350; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  gap: 0.7em;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 1.05em 1.9em;
  border-radius: 2px;
  transition: all .45s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid var(--forest);
}
.btn-primary:hover{ background: var(--charcoal); border-color:var(--charcoal); transform: translateY(-1px); }
.btn-outline{
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--line);
}
.btn-outline:hover{ border-color: var(--charcoal); background: rgba(32,29,24,0.03); }
.btn-outline.on-dark{ color: var(--ivory); border-color: rgba(246,241,231,0.35); }
.btn-outline.on-dark:hover{ border-color: var(--ivory); background: rgba(246,241,231,0.08); }
.btn-ghost{
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  display:inline-flex;
  align-items:center;
  gap:.5em;
}
.btn-ghost:hover{ color: var(--gold); }
.btn svg, .btn-ghost svg{ width:14px; height:14px; transition: transform .35s var(--ease); }
.btn:hover svg, .btn-ghost:hover svg{ transform: translateX(4px); }

/* ---- Header / Nav ---- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: var(--s-2) 0;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }
.site-header.is-solid{
  background: rgba(246,241,231,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: var(--s-1) 0;
}
.brand-mark{
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--ivory);
  transition: color .4s var(--ease);
}
.brand-mark span{
  display:block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--ivory-70);
  margin-top: 2px;
}
.is-solid .brand-mark,{ color: var(--charcoal); }
.is-solid .brand-mark{ color: var(--charcoal); }
.is-solid .brand-mark span{ color: var(--olive); }
.body-page .brand-mark, .body-page .brand-mark span{ color: var(--charcoal); }
.body-page .brand-mark span{ color: var(--olive); }

.main-nav{ display:none; align-items:center; gap: var(--s-4); }
@media (min-width: 980px){ .main-nav{ display:flex; } }
.main-nav a{
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--ivory);
  position:relative;
  padding: 4px 0;
  transition: color .4s var(--ease);
}
.body-page .main-nav a, .is-solid .main-nav a{ color: var(--charcoal); }
.main-nav a.active{ color: var(--gold); }
.body-page .main-nav a.active, .is-solid .main-nav a.active{ color: var(--gold); }
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px;
  background: var(--gold); transform: scaleX(0); transform-origin:left;
  transition: transform .4s var(--ease);
}
.main-nav a:hover::after{ transform: scaleX(1); }

.nav-cta{ display:none; }
@media (min-width: 980px){ .nav-cta{ display:inline-flex; } }

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width: 30px; height: 22px;
}
@media (min-width: 980px){ .nav-toggle{ display:none; } }
.nav-toggle span{ height:1px; width:100%; background: var(--ivory); transition: all .3s var(--ease); }
.body-page .nav-toggle span, .is-solid .nav-toggle span{ background: var(--charcoal); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset:0; z-index: 490;
  background: var(--forest);
  display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center;
  gap: var(--s-2);
  padding: var(--s-5) var(--s-4);
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav a{
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ivory);
  font-weight: 400;
}
.mobile-nav .mobile-nav-foot{ margin-top: var(--s-4); }
.mobile-nav .mobile-nav-foot p{ color: var(--ivory-70); font-size:0.9rem; }

/* ---- Hero ---- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex;
  align-items:flex-end;
  color: var(--ivory);
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom{ to{ transform: scale(1); } }
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(20,20,16,.15) 0%, rgba(20,18,14,.28) 55%, rgba(18,16,12,.86) 100%);
}
.hero-content{ position:relative; z-index:2; width:100%; padding-bottom: var(--s-6); }
.hero-eyebrow{ color: var(--gold-soft); margin-bottom: var(--s-2); }
.hero h1{ color: var(--ivory); max-width: 16ch; }
.hero-sub{
  max-width: 46ch; margin-top: var(--s-3); color: var(--ivory-70);
  font-size: 1.05rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap: var(--s-2); margin-top: var(--s-4); }
.hero-scroll{
  position:absolute; z-index:2; right: var(--s-3); bottom: var(--s-3);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color: var(--ivory-70); font-size: 0.68rem; letter-spacing:.18em; text-transform:uppercase;
}
@media (min-width: 860px){ .hero-scroll{ right: var(--s-5); } }
.hero-scroll .line{ width:1px; height:46px; background: rgba(246,241,231,.4); position:relative; overflow:hidden; }
.hero-scroll .line::after{ content:''; position:absolute; top:-100%; left:0; right:0; height:100%; background: var(--gold-soft); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine{ to{ top:100%; } }

/* ---- Sections ---- */
section{ position:relative; }
.section{ padding: var(--s-6) 0; }
.section-sm{ padding: var(--s-5) 0; }
.section-dark{ background: var(--forest); color: var(--ivory); }
.section-cream{ background: var(--cream); }
.section-paper{ background: var(--paper); }

.section-head{ max-width: 720px; margin-bottom: var(--s-5); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .eyebrow{ margin-bottom: var(--s-2); }

.grid-2{ display:grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 900px){ .grid-2{ grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.grid-2.tight{ gap: var(--s-3); }
@media (min-width: 900px){ .grid-2.tight{ gap: var(--s-5); } }

/* ---- Reveal on scroll ----
   Progressive enhancement: content is fully visible by default. The hidden
   start-state only applies once main.js confirms IntersectionObserver is
   supported and stamps html.js-reveal — so JS-disabled browsers, crawlers,
   print views and screenshot tools always see complete content. */
.reveal, .reveal-stagger > *{ opacity:1; transform:none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js-reveal .reveal{ opacity:0; transform: translateY(28px); }
html.js-reveal .reveal.is-visible{ opacity:1; transform: translateY(0); }
html.js-reveal .reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js-reveal .reveal-stagger.is-visible > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .55s; }
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---- Stat row ---- */
.stat-row{ display:grid; grid-template-columns: repeat(2,1fr); gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 700px){ .stat-row{ grid-template-columns: repeat(3,1fr); } }
.stat{ border-top: 1px solid var(--line); padding-top: var(--s-2); }
.on-dark .stat{ border-top-color: rgba(246,241,231,0.22); }
.stat .num{ font-family: var(--font-display); font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 500; color: var(--forest); }
.on-dark .stat .num{ color: var(--gold-soft); }
.stat .label{ font-size: 0.82rem; color: var(--olive); margin-top: 4px; }
.on-dark .stat .label{ color: var(--ivory-45); }

/* ---- Image frame ---- */
.frame{ overflow:hidden; background: var(--cream); position:relative; }
.frame img{ width:100%; height:100%; object-fit:cover; transition: transform 1.1s var(--ease); }
.frame:hover img{ transform: scale(1.045); }
.ratio-4-5{ aspect-ratio: 4/5; }
.ratio-3-4{ aspect-ratio: 3/4; }
.ratio-16-10{ aspect-ratio: 16/10; }
.ratio-1-1{ aspect-ratio: 1/1; }
.ratio-21-9{ aspect-ratio: 21/9; }

/* ---- Pillars (philosophy) interactive ---- */
.pillars{ display:grid; grid-template-columns: 1fr; gap:0; border-top: 1px solid rgba(246,241,231,0.16); }
@media (min-width: 900px){ .pillars{ grid-template-columns: 340px 1fr; gap: var(--s-6); border-top:none; } }
.pillar-list{ display:flex; flex-direction:column; }
.pillar-item{
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(246,241,231,0.16);
  cursor:pointer;
  display:flex; align-items:baseline; gap: var(--s-2);
  transition: opacity .3s var(--ease);
}
.pillar-item .idx{ font-family: var(--font-display); font-size:0.9rem; color: var(--gold-soft); opacity:.6; }
.pillar-item .name{ font-family: var(--font-display); font-size: clamp(1.3rem,2.4vw,1.9rem); color: var(--ivory-45); transition: color .35s var(--ease); }
.pillar-item.is-active .name{ color: var(--ivory); }
.pillar-item.is-active .idx{ opacity:1; color: var(--gold); }
.pillar-panels{ position:relative; min-height: 240px; padding-top: var(--s-4); }
@media (min-width: 900px){ .pillar-panels{ padding-top:0; } }
.pillar-panel{
  position:absolute; inset:0;
  opacity:0; visibility:hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.pillar-panel.is-active{ opacity:1; visibility:visible; transform: translateY(0); position:relative; }
.pillar-panel .tag{ color: var(--gold-soft); font-size:0.75rem; letter-spacing:.18em; text-transform:uppercase; font-weight:600; margin-bottom: var(--s-2); display:block; }
.pillar-panel p{ color: var(--ivory-70); font-size: 1.15rem; max-width: 46ch; }
.pillar-panel .note{ margin-top: var(--s-3); font-size: 0.78rem; color: var(--ivory-45); font-style: italic; }

/* ---- Project cards ---- */
.project-card{ display:block; }
.project-card .frame{ margin-bottom: var(--s-2); }
.project-card .meta{ display:flex; justify-content:space-between; align-items:flex-start; gap: var(--s-2); }
.project-card h3{ font-size: clamp(1.2rem,1.8vw,1.55rem); font-weight:500; }
.project-card .loc{ font-size: 0.78rem; letter-spacing:.06em; text-transform:uppercase; color: var(--olive); margin-top:6px; }
.project-card .cat{
  font-size: 0.68rem; letter-spacing:.12em; text-transform:uppercase; color: var(--brown);
  border: 1px solid var(--line); padding: 5px 10px; border-radius: 20px; white-space:nowrap;
}
.project-card .story{ margin-top: var(--s-1); color: var(--brown); font-size:0.95rem; }
.project-card .view{ margin-top: var(--s-2); }

.projects-grid{ display:grid; grid-template-columns: 1fr; gap: var(--s-5) var(--s-4); }
@media (min-width: 700px){ .projects-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px){ .projects-grid.cols-3{ grid-template-columns: 1fr 1fr 1fr; } }
.projects-grid.featured > *:first-child{ grid-column: 1 / -1; }
@media (min-width: 700px){
  .projects-grid.featured > *:first-child .frame{ aspect-ratio: 21/9; }
}

/* ---- Portfolio filter ---- */
.filter-bar{ display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: var(--s-5); }
.filter-btn{
  font-size: 0.78rem; letter-spacing:.05em; font-weight:600;
  padding: 0.7em 1.3em; border:1px solid var(--line); border-radius: 30px;
  color: var(--brown); transition: all .3s var(--ease);
}
.filter-btn:hover{ border-color: var(--forest); }
.filter-btn.is-active{ background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.portfolio-item{ transition: opacity .4s var(--ease), transform .4s var(--ease); }
.portfolio-item.is-hidden{ display:none; }

/* ---- Services ---- */
.service-row{
  border-top: 1px solid var(--line);
  padding: var(--s-4) 0;
  display:grid; grid-template-columns: 1fr; gap: var(--s-3);
}
@media (min-width: 900px){ .service-row{ grid-template-columns: 60px 1fr 1fr; gap: var(--s-4); align-items:start; } }
.service-row:last-child{ border-bottom: 1px solid var(--line); }
.service-num{ font-family: var(--font-display); font-size:1.1rem; color: var(--gold); }
.service-row h3{ font-size: clamp(1.3rem,2vw,1.7rem); margin-bottom: var(--s-1); }
.service-row .for-tag{ font-size:0.75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--olive); margin-bottom: var(--s-2); display:block; }

/* ---- Approach steps ---- */
.approach-list{ counter-reset: step; }
.approach-step{
  counter-increment: step;
  display:grid; grid-template-columns: 1fr; gap: var(--s-2);
  padding: var(--s-4) 0; border-top: 1px solid var(--line);
  position: relative;
}
@media (min-width: 860px){ .approach-step{ grid-template-columns: 100px 1fr 1.3fr; gap: var(--s-4); } }
.approach-step:last-child{ border-bottom: 1px solid var(--line); }
.approach-step::before{
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size:1.3rem; color: var(--gold);
}

/* ---- Team ---- */
.team-grid{ display:grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 760px){ .team-grid{ grid-template-columns: repeat(3,1fr); } }
.team-card .frame{ margin-bottom: var(--s-3); }
.team-card h3{ font-size:1.3rem; }
.team-card .role{ color: var(--gold); font-size:0.8rem; letter-spacing:.08em; text-transform:uppercase; margin: 4px 0 10px; font-weight:600; }
.team-card .qual{ font-size:0.85rem; color: var(--olive); margin-bottom: var(--s-2); }

/* ---- Note / disclosure callouts ---- */
.note-box{
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--paper);
  padding: var(--s-3);
  font-size: 0.88rem;
  color: var(--brown);
}
.note-box strong{ color: var(--charcoal); }
.tag-proposal{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.7rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700;
  color: var(--gold-soft); background: rgba(173,138,77,0.15);
  border: 1px solid rgba(173,138,77,0.4);
  padding: 7px 14px; border-radius: 30px;
}
.tag-proposal.on-light{ color:#7A5A22; background: rgba(173,138,77,0.1); border-color: rgba(173,138,77,0.35); }

/* ---- Project detail page ---- */
.project-hero{ position:relative; min-height: 82svh; display:flex; align-items:flex-end; color: var(--ivory); overflow:hidden; }
.project-hero .hero-media img{ animation:none; transform:scale(1); }
.project-facts{ display:flex; flex-wrap:wrap; gap: var(--s-4); margin-top: var(--s-3); }
.project-fact .k{ font-size:0.68rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ivory-45); margin-bottom:4px; }
.project-fact .v{ font-family: var(--font-display); font-size:1.15rem; color:var(--ivory); }

.detail-grid{ display:grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 960px){ .detail-grid{ grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); } }

.feature-list li{ display:flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size:0.95rem; color:var(--brown); }
.feature-list li:last-child{ border-bottom: 1px solid var(--line); }
.feature-list li::before{ content:'—'; color: var(--gold); flex-shrink:0; }

.gallery-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: var(--s-2); }
@media (min-width: 760px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); gap: var(--s-3); } }
.gallery-grid figure{ margin:0; }
.gallery-grid figure.wide{ grid-column: span 2; }
.gallery-grid figcaption{ font-size:0.72rem; color: var(--olive); margin-top:6px; }

.related-strip{ display:grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 760px){ .related-strip{ grid-template-columns: repeat(3,1fr); } }

/* ---- CTA band ---- */
.cta-band{
  background: var(--forest);
  color: var(--ivory);
  text-align:center;
  padding: var(--s-6) 0;
}
.cta-band .display-2{ max-width: 18ch; margin: 0 auto; }
.cta-band .lede{ max-width: 50ch; margin: var(--s-2) auto 0; }
.cta-band .hero-actions{ justify-content:center; margin-top: var(--s-4); }

/* ---- Footer ---- */
.site-footer{ background: var(--charcoal); color: var(--ivory-70); padding: var(--s-6) 0 var(--s-3); }
.footer-grid{ display:grid; grid-template-columns: 1fr; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid rgba(246,241,231,0.12); }
@media (min-width: 860px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4{ color: var(--ivory); font-size:0.78rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600; margin-bottom: var(--s-2); font-family: var(--font-body); }
.footer-grid a, .footer-grid p{ font-size:0.9rem; color: var(--ivory-45); }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--gold-soft); }
.footer-brand .brand-mark{ color: var(--ivory); }
.footer-brand p{ margin-top: var(--s-2); max-width: 32ch; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap: var(--s-2); padding-top: var(--s-3); font-size:0.78rem; color: var(--ivory-45); }

/* ---- Contact page ---- */
.contact-grid{ display:grid; grid-template-columns:1fr; gap: var(--s-6); }
@media (min-width: 960px){ .contact-grid{ grid-template-columns: 0.9fr 1.1fr; } }
.form-field{ margin-bottom: var(--s-3); }
.form-field label{ display:block; font-size:0.75rem; letter-spacing:.08em; text-transform:uppercase; color: var(--olive); margin-bottom: 8px; font-weight:600; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding: 0.9em 1em; border: 1px solid var(--line); background: var(--paper);
  border-radius: 2px; color: var(--charcoal); transition: border-color .3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color: var(--forest); }
.form-row{ display:grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 640px){ .form-row{ grid-template-columns: 1fr 1fr; } }
.contact-info-item{ display:flex; gap: var(--s-3); padding: var(--s-3) 0; border-top:1px solid var(--line); }
.contact-info-item:last-child{ border-bottom: 1px solid var(--line); }
.contact-info-item .ic{ width:20px; margin-top:3px; flex-shrink:0; color: var(--gold); }
.contact-info-item .k{ font-size:0.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--olive); margin-bottom:4px; }
.contact-info-item .v{ font-size:1rem; color: var(--charcoal); }
.form-success{ display:none; padding: var(--s-4); border:1px solid var(--line); background: var(--paper); text-align:center; }
.form-success.is-visible{ display:block; }
.form-success.is-visible + form{ display:none; }

/* ---- Breadcrumb ---- */
.breadcrumb{ font-size:0.78rem; color: var(--olive); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.breadcrumb a:hover{ color: var(--forest); }

/* ---- Utilities ---- */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.center{ text-align:center; }
.max-w{ max-width: 640px; }
.max-w.mx-auto{ margin-left:auto; margin-right:auto; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--forest); color:var(--ivory); padding:1em; z-index:1000; }
.skip-link:focus{ left:0; }

::selection{ background: var(--gold-soft); color: var(--charcoal); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold); outline-offset: 3px;
}
