@charset "UTF-8";
/* ============================================================
   子夜 · 室内设计作品集
   Design system: Minimalism / Exaggerated Minimalism hybrid
   Palette: warm ivory + ink + brass
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=Noto+Serif+SC:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500&display=swap');

/* ---------- tokens ---------- */
:root {
  /* color */
  --ink:        #0C0A09;
  --ink-2:      #1C1917;
  --ink-3:      #292524;
  --muted:      #57534E;
  --muted-2:    #78716C;
  --line:       #D6D3D1;
  --line-soft:  #E7E5E4;
  --paper:      #FAF9F7;
  --paper-2:    #F2F0ED;
  --card:       #FFFFFF;
  --brass:      #A16207;
  --brass-lt:   #CA8A04;
  --brass-bg:   #FDF6E7;
  --danger:     #B91C1C;
  --focus:      #A16207;

  /* type */
  --f-display: 'Playfair Display', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --f-body:    'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --fs-hero:   clamp(2.75rem, 8.2vw, 7.5rem);
  --fs-h2:     clamp(2rem, 4.4vw, 3.75rem);
  --fs-h3:     clamp(1.25rem, 1.9vw, 1.625rem);
  --fs-lead:   clamp(1rem, 1.35vw, 1.1875rem);
  --fs-body:   1rem;
  --fs-sm:     .875rem;
  --fs-xs:     .75rem;

  /* space (density 3 = spacious) */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 24px;
  --s-lg: 32px;
  --s-xl: 48px;
  --s-2xl: 64px;
  --s-3xl: 96px;
  --s-4xl: 144px;

  /* layout */
  --maxw: 1400px;
  --gut: clamp(20px, 5vw, 72px);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: 260ms;
  --dur-slow: 620ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
strong { font-weight: 500; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 20px; background: var(--ink); color: var(--paper);
  font-size: var(--fs-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- shared ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-md);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 34px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 140ms var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--brass); border-color: var(--brass); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(250,249,247,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.head-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  transition: height var(--dur) var(--ease);
}
.site-head.scrolled .head-inner { height: 66px; }

.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-mark {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--muted-2);
  text-transform: uppercase;
  font-weight: 500;
}
.site-head.on-hero:not(.scrolled) .brand-mark,
.site-head.on-hero:not(.scrolled) .brand-sub,
.site-head.on-hero:not(.scrolled) .nav a { color: #fff; }

.nav { display: flex; gap: 40px; }
.nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-head.on-hero:not(.scrolled) .menu-btn span { background: #fff; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--s-sm) var(--gut) var(--s-lg);
  background: rgba(250,249,247,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 16px 0;
  font-size: 1.0625rem;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 88%, rgba(12,10,9,.72) 0%, rgba(12,10,9,.34) 42%, transparent 72%),
    linear-gradient(to top, rgba(12,10,9,.78) 0%, rgba(12,10,9,.30) 34%, rgba(12,10,9,.06) 62%, rgba(12,10,9,.30) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  color: #fff;
}
.hero-body .eyebrow { color: rgba(255,255,255,.68); }

.hero-title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.01em;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}
.hero-title .line { display: block; }
.hero-title .line:last-child { padding-left: .06em; }
.hero-title em { font-style: italic; }

.hero-lead {
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: rgba(255,255,255,.82);
  margin-bottom: var(--s-xl);
  font-weight: 300;
  text-wrap: pretty;
}

.hero-foot { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }
.hero-foot .btn-solid:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.hero-foot .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-foot .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-scroll {
  position: absolute;
  right: var(--gut);
  bottom: clamp(56px, 9vw, 120px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll i {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee-track i { color: var(--line); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(72px, 12vw, 168px) 0; }
.statement {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.6vw, 3.125rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -.01em;
  max-width: 22ch;
  color: var(--ink);
}
.statement em { color: var(--brass); }

.manifesto-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 88px);
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--line-soft);
}
.manifesto-meta > div { display: flex; flex-direction: column; gap: 6px; }
.manifesto-meta .k {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.manifesto-meta .v {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ============================================================
   WORKS
   ============================================================ */
.works { padding: 0 0 clamp(80px, 12vw, 160px); }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  margin-bottom: var(--s-md);
}
.sec-note {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 48ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}

.card-full   { grid-column: span 12; }
.card-half   { grid-column: span 6; }
.card-third  { grid-column: span 4; }

.card-full  .card-media { aspect-ratio: 21 / 9; }
.card-half  .card-media { aspect-ratio: 4 / 3; }
.card-third .card-media { aspect-ratio: 4 / 5; }

.card-hit {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius);
  flex: none;
}
.card-media picture { display: block; width: 100%; height: 100%; }
.card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 400ms var(--ease);
}
.card-hit:hover .card-media img,
.card-hit:focus-visible .card-media img { transform: scale(1.045); }
.card-hit:hover .card-media::after { opacity: 1; }

.card-body {
  padding: var(--s-md) 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-half .card-body,
.card-third .card-body { padding-top: 20px; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  color: var(--muted-2);
}
.card-idx { font-variant-numeric: tabular-nums; }

.card-body h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  margin-bottom: 8px;
  transition: color var(--dur) var(--ease);
}
.card-hit:hover h3 { color: var(--brass); }

.card-meta {
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.card-desc {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 6px;
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.card-cta i {
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.card-hit:hover .card-cta i { width: 40px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(72px, 11vw, 152px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-cap {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.about-text h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  margin-bottom: var(--s-lg);
}
.about-text > p {
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.1em;
  max-width: 48ch;
}
.about-text strong { color: var(--ink); font-weight: 500; }

.about-list {
  margin-top: var(--s-xl);
  border-top: 1px solid var(--line);
}
.about-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--s-md);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.about-list dt {
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 3px;
}
.about-list dd {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--ink-3);
}

.quote {
  margin: var(--s-xl) 0 0;
  padding: 0 0 0 var(--s-md);
  border-left: 2px solid var(--brass);
  font-family: var(--f-display);
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(72px, 11vw, 152px) 0; }

.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--s-md);
  align-items: start;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.svc:hover { background: rgba(242,240,237,.7); padding-left: var(--s-md); }

.svc-no {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  color: var(--brass);
  letter-spacing: .1em;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.svc-main h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  margin-bottom: 8px;
}
.svc-main p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
}
.svc-tag {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(161,98,7,.28);
  background: var(--brass-bg);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: start;
  margin-top: 4px;
}

.flow {
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
  color: rgba(255,255,255,.86);
  border-radius: var(--radius);
}
.flow-title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  color: #fff;
  margin-bottom: var(--s-lg);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-md);
}
.flow-steps li {
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.flow-steps span {
  display: block;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: .04em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(72px, 11vw, 152px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.contact-left h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  line-height: 1.14;
  margin-bottom: var(--s-md);
}
.contact-left h2 em { color: var(--brass); }
.contact-left > p {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--muted);
  max-width: 40ch;
}

.contact-list {
  margin-top: var(--s-xl);
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-md);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cl-k {
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cl-v {
  font-size: var(--fs-sm);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
a.cl-v {
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.cl-v:hover { color: var(--brass); border-bottom-color: var(--brass); }

.contact-form {
  background: var(--card);
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.field { margin-bottom: var(--s-md); }
.field label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color var(--dur) var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); opacity: .7; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom-color: var(--danger); }

.err {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--danger);
}

.form-hint {
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--muted-2);
  line-height: 1.6;
}
.form-ok {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: var(--fs-sm);
  color: #14532D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: clamp(44px, 6vw, 72px) 0;
}
.foot-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
}
.foot-brand { display: flex; align-items: baseline; gap: 12px; }
.foot-brand .brand-mark { color: #fff; }
.foot-brand .brand-sub { color: rgba(255,255,255,.4); }
.foot-copy, .foot-meta { font-size: var(--fs-xs); letter-spacing: .08em; }
.foot-meta { color: rgba(255,255,255,.34); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
}
.lb[hidden] { display: none; }

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(12,10,9,.86);
  backdrop-filter: blur(6px);
  animation: lbFade 240ms var(--ease) both;
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  width: min(1180px, 100%);
  max-height: calc(100svh - clamp(24px, 6vw, 80px));
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  animation: lbUp 320ms var(--ease-out) both;
}
@keyframes lbUp {
  from { opacity: 0; transform: translateY(14px) scale(.995); }
  to   { opacity: 1; transform: none; }
}

.lb-media { background: var(--ink-3); min-height: 0; }
.lb-media img {
  width: 100%; height: 100%;
  max-height: calc(100svh - clamp(24px, 6vw, 80px));
  object-fit: cover;
}

.lb-info {
  padding: clamp(24px, 3vw, 40px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.lb-idx {
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  color: var(--brass);
  margin-bottom: 14px;
}
.lb-info h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  margin-bottom: 10px;
}
.lb-meta {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.lb-desc {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--muted);
}

.lb-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: var(--s-md);
}
.lb-thumbs button {
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  opacity: .7;
}
.lb-thumbs button:hover,
.lb-thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lb-nav {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: var(--s-md);
}
.lb-nav button {
  flex: 1;
  min-height: 48px;
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lb-nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.lb-close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  color: var(--paper);
  background: rgba(12,10,9,.5);
  border-radius: 999px;
  transition: background var(--dur) var(--ease);
}
.lb-close:hover { background: var(--brass); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .card-half { grid-column: span 6; }
  .card-third { grid-column: span 6; }
  .card-third .card-media { aspect-ratio: 4 / 3; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-lg); }
  .lb-panel { grid-template-columns: 1fr; max-height: calc(100svh - 24px); }
  .lb-media img { max-height: 46svh; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: flex; }
  .about-wrap,
  .contact-wrap { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media img { aspect-ratio: 16 / 10; }
  .hero-scroll { display: none; }
  .svc { grid-template-columns: 44px 1fr; row-gap: 12px; }
  .svc-tag { grid-column: 2; justify-self: start; margin-top: 0; }
}

@media (max-width: 640px) {
  :root { --fs-h2: clamp(1.75rem, 7vw, 2.5rem); }
  .head-inner { height: 68px; }
  .card-half,
  .card-third { grid-column: span 12; }
  .card-full .card-media { aspect-ratio: 4 / 3; }
  .card-third .card-media { aspect-ratio: 4 / 3; }
  .about-list > div { grid-template-columns: 1fr; gap: 6px; }
  .about-list dt { padding-top: 0; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .foot-wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-body .eyebrow { letter-spacing: .16em; }
  .btn { width: 100%; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .lb-thumbs { grid-template-columns: 1fr; }
}

/* touch targets */
@media (pointer: coarse) {
  .nav a { padding: 12px 0; }
  .card-cta { padding: 12px 0; }
}
