/* She Builds WWW — styles */
:root {
  --black: #11100F;
  --black-2: #1A1816;
  --ivory: #F5F0E9;
  --gold: #D8B993;
  --peach: #E8B5A1;
  --taupe: #A69A90;
  --ivory-soft: rgba(245, 240, 233, 0.72);
  --black-soft: rgba(17, 16, 15, 0.72);
  --line-dark: rgba(216, 185, 147, 0.22);
  --line-light: rgba(17, 16, 15, 0.14);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--peach); color: var(--black); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ivory); color: var(--black); padding: 10px 16px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { max-width: 34ch; color: var(--ivory-soft); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
}
.btn--solid { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.btn--solid:hover { background: var(--gold); border-color: var(--gold); }
.btn--ghost { background: transparent; color: var(--ivory); }
.btn--ghost:hover { background: var(--gold); color: var(--black); }
.on-light .btn--ghost { color: var(--black); border-color: var(--black); }
.on-light .btn--ghost:hover { background: var(--black); color: var(--ivory); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(17, 16, 15, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: 0; white-space: nowrap; }
.wordmark em { font-style: italic; color: var(--gold); }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--ivory-soft); position: relative; padding: 6px 0; transition: color .3s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Device mockups ===== */
.screen { position: relative; overflow: hidden; container-type: inline-size; background: var(--f-bg, #222); }
.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }

.browser { background: #1E1C1A; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(216,185,147,.16); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #24211F; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4A443F; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 60%; height: 16px; border-radius: 8px; background: #191715; color: var(--taupe); font-size: 9px; line-height: 16px; padding: 0 10px; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.browser .screen { width: 100%; aspect-ratio: 16 / 10; }

.laptop-lid { background: #0B0A09; border-radius: 14px 14px 0 0; padding: 2.2% 2.2% 3%; box-shadow: 0 0 0 1px rgba(216,185,147,.25); }
.laptop-lid .screen { width: 100%; aspect-ratio: 16 / 10; border-radius: 2px; }
.laptop-base { height: 0; padding-bottom: 3.2%; margin: 0 -7%; background: linear-gradient(#3A3530, #1E1B18); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 40%; background: #11100F; border-radius: 0 0 8px 8px; }

.phone { background: #0B0A09; border-radius: 18% / 8.5%; padding: 1px 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(216,185,147,.3); position: relative; }
.phone::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 2.4%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.phone .screen { width: 91%; margin: 9% 4.5%; aspect-ratio: 9 / 19.5; border-radius: 12% / 5.5%; }

/* ===== Faux site previews (shown until real screenshots are added) ===== */
.faux { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--f-bg); color: var(--f-ink); font-family: var(--sans); }
.f-nav { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 5cqw; font-family: var(--f-display, var(--serif)); font-size: 2.6cqw; white-space: nowrap; }
.f-nav b { font-weight: 500; margin-right: auto; }
.f-nav span { width: 6cqw; height: .7cqw; border-radius: 1cqw; background: currentColor; opacity: .35; }
.f-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4cqw; padding: 2cqw 5cqw 4cqw; align-items: center; }
.f-copy { display: flex; flex-direction: column; gap: 1.8cqw; }
.f-h { font-family: var(--f-display, var(--serif)); font-size: 5.6cqw; line-height: 1.02; font-weight: var(--f-weight, 400); font-style: var(--f-style, normal); }
.f-line { height: .8cqw; width: 90%; border-radius: 1cqw; background: currentColor; opacity: .22; }
.f-line.short { width: 60%; }
.f-btn { align-self: flex-start; margin-top: 1cqw; padding: 1.4cqw 3cqw; border-radius: var(--f-radius, 99cqw); background: var(--f-accent); color: var(--f-btn-ink, #fff); font-size: 1.7cqw; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.f-img { height: 100%; min-height: 20cqw; border-radius: var(--f-img-radius, 1.2cqw); background: var(--f-photo); position: relative; overflow: hidden; }
.f-img::after { content: ""; position: absolute; inset: 0; background: var(--f-photo-detail, none); }
.f-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 5cqw 4cqw; }
.f-row span { height: 7cqw; border-radius: 1cqw; background: currentColor; opacity: .08; }

/* Mobile faux */
.screen--m .f-nav { padding: 12cqw 7cqw 5cqw; font-size: 7cqw; }
.screen--m .f-nav span { display: none; }
.screen--m .f-nav::after { content: ""; width: 7cqw; height: 4cqw; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .6; }
.screen--m .f-hero { grid-template-columns: 1fr; padding: 0 7cqw; gap: 6cqw; align-content: start; flex: none; }
.screen--m .f-img { order: -1; min-height: 70cqw; border-radius: var(--f-img-radius-m, 4cqw); }
.screen--m .f-copy { gap: 4cqw; }
.screen--m .f-h { font-size: 12cqw; }
.screen--m .f-line { height: 2cqw; border-radius: 2cqw; }
.screen--m .f-btn { font-size: 4.2cqw; padding: 3.6cqw 7cqw; }
.screen--m .f-row { display: none; }

/* Project themes */
[data-site="hce"] {
  --f-bg: #F7EFE7; --f-ink: #3B2925; --f-accent: #C98C80; --f-style: italic;
  --f-photo: linear-gradient(165deg, #F0D2C6 0%, #E7BBAD 55%, #D9A091 100%);
  --f-photo-detail: radial-gradient(ellipse 34% 46% at 50% 100%, rgba(255,255,255,.55) 98%, transparent 100%);
  --f-img-radius: 40cqw 40cqw 1cqw 1cqw; --f-img-radius-m: 40cqw 40cqw 3cqw 3cqw;
}
[data-site="ee"] {
  --f-bg: #F6F2EB; --f-ink: #0F3A48; --f-accent: #1F9DBE; --f-display: var(--sans); --f-weight: 700;
  --f-photo: linear-gradient(180deg, #A6DDEC 0%, #5DBBD6 44%, #2F97B6 56%, #E8DBC0 57%, #F3E8D3 100%);
  --f-photo-detail: radial-gradient(circle at 78% 22%, #FFF6D8 0 6%, transparent 7%);
}
[data-site="psd"] {
  --f-bg: #0F0E0D; --f-ink: #EEDFC6; --f-accent: #C9A46C; --f-btn-ink: #0F0E0D; --f-radius: 0; --f-img-radius: 0; --f-img-radius-m: 0;
  --f-photo: linear-gradient(180deg, #3A3026 0%, #1F1A15 60%, #14110E 100%);
  --f-photo-detail: linear-gradient(transparent 62%, rgba(201,164,108,.55) 62% 62.6%, transparent 62.6%), linear-gradient(90deg, transparent 18%, rgba(238,223,198,.14) 18% 82%, transparent 82%);
}
[data-site="dop"] {
  --f-bg: #0B0B0B; --f-ink: #FFFFFF; --f-accent: #C8A04A; --f-btn-ink: #0B0B0B; --f-radius: .6cqw; --f-display: var(--sans); --f-weight: 700;
  --f-photo: linear-gradient(180deg, #241B2E 0%, #6E4A33 55%, #D69A55 100%);
}
[data-site="dop"] .f-img::after {
  background: #0B0B0B;
  clip-path: polygon(0 100%, 0 70%, 8% 70%, 8% 55%, 14% 55%, 14% 74%, 22% 74%, 22% 40%, 25% 30%, 28% 40%, 28% 68%, 36% 68%, 36% 50%, 44% 50%, 44% 76%, 52% 76%, 52% 22%, 53.5% 6%, 55% 22%, 55% 62%, 63% 62%, 63% 45%, 71% 45%, 71% 72%, 79% 72%, 79% 58%, 88% 58%, 88% 78%, 100% 78%, 100% 100%);
}
[data-site="rh"] {
  --f-bg: #FFE4EF; --f-ink: #2B0D1C; --f-accent: #FF3E8E; --f-display: var(--sans); --f-weight: 800;
  --f-photo: linear-gradient(135deg, #FF8CBF 0%, #FFC6DD 50%, #FFB07C 100%);
  --f-photo-detail: radial-gradient(circle at 30% 70%, rgba(255,255,255,.5) 0 18%, transparent 19%), radial-gradient(circle at 72% 30%, rgba(255,62,142,.45) 0 14%, transparent 15%);
  --f-img-radius: 4cqw; --f-img-radius-m: 6cqw;
}
[data-site="opj"] {
  --f-bg: #F2EEE7; --f-ink: #1C1B1A; --f-accent: #1C1B1A; --f-radius: 0; --f-img-radius: 0; --f-img-radius-m: 0;
  --f-photo: linear-gradient(180deg, #CFC3B0 0%, #B9AA93 100%);
  --f-photo-detail: linear-gradient(90deg, transparent 30%, #8E7C63 30% 58%, transparent 58%), linear-gradient(transparent 28%, rgba(0,0,0,0) 28%);
}
[data-site="opj"] .f-img::after { clip-path: polygon(30% 100%, 30% 28%, 58% 18%, 58% 100%); background: #8E7C63; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-intro { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: clamp(24px, 3vw, 40px); }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: 0.94; letter-spacing: -0.03em; }
.swash { display: block; width: min(78%, 460px); height: auto; margin: 18px 0 clamp(28px, 3vw, 40px); overflow: visible; }
.swash path { stroke: var(--peach); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 1.6s .9s var(--ease) forwards; }
.hero .lede { margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.comp { position: relative; width: 100%; aspect-ratio: 1 / 0.92; }
.comp-frame { position: absolute; left: 8%; top: 10%; right: 6%; bottom: 6%; border: 1px solid var(--line-dark); }
.comp-frame::before, .comp-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.comp-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.comp-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.comp-back { position: absolute; top: 0; right: 0; width: 66%; }
.comp-laptop { position: absolute; left: 0; bottom: 12%; width: 84%; }
.comp-phone { position: absolute; right: 3%; bottom: 0; width: 23%; }
.comp-tag { position: absolute; left: 2%; top: 4%; font-family: var(--serif); font-style: italic; font-size: clamp(.9rem, 1.1vw, 1.05rem); color: var(--taupe); }

/* Page-load sequence: the one orchestrated moment */
.load { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; }
.load-1 { animation-delay: .1s; } .load-2 { animation-delay: .25s; } .load-3 { animation-delay: .45s; }
.load-4 { animation-delay: .6s; } .load-5 { animation-delay: .55s; } .load-6 { animation-delay: .8s; } .load-7 { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===== Intro ===== */
.intro { background: var(--ivory); color: var(--black); padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.intro h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.98; letter-spacing: -0.025em; }
.intro-copy p { color: var(--black-soft); font-size: clamp(1.05rem, 1.25vw, 1.2rem); max-width: 44ch; }
.intro-copy p + p { margin-top: 1.2em; }
.intro-sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.intro-sectors li { font-family: var(--serif); font-style: italic; font-size: 1rem; padding: 8px 18px; border: 1px solid var(--line-light); border-radius: 99px; }

/* ===== Work ===== */
.work-head { padding: clamp(96px, 12vw, 160px) 0 clamp(40px, 5vw, 64px); }
.work-head h2 { font-size: clamp(3.4rem, 10vw, 10rem); line-height: .9; letter-spacing: -0.04em; }
.work-head h2 em { display: block; font-style: italic; color: var(--gold); padding-left: 0.9em; }
.work-head p { margin-top: 28px; color: var(--ivory-soft); max-width: 40ch; }

.project { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.project.on-light { background: var(--ivory); color: var(--black); }
.project.on-dark { background: var(--black); color: var(--ivory); border-top: 1px solid var(--line-dark); }
.project.on-dark + .project.on-dark { border-top: 1px solid var(--line-dark); }
.project-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.project.flip .project-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.project.flip .project-media { order: 2; }

.project-media { position: relative; padding-bottom: 8%; }
.project-media .browser { width: 92%; transition: transform .8s var(--ease); }
.project.flip .project-media .browser { margin-left: auto; }
.project-media .phone { position: absolute; width: 22%; bottom: 0; right: 0; transition: transform .8s var(--ease); }
.project.flip .project-media .phone { right: auto; left: 0; }
.project-media:hover .browser { transform: translateY(-8px); }
.project-media:hover .phone { transform: translateY(-16px); }
.on-light .browser { box-shadow: 0 40px 80px -36px rgba(17,16,15,.45), 0 0 0 1px rgba(17,16,15,.08); }

.project-cat { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--taupe); display: flex; align-items: center; gap: 14px; }
.project-cat::before { content: ""; width: 34px; height: 1px; background: var(--peach); }
.project h3 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); line-height: 0.98; letter-spacing: -0.025em; margin: 22px 0 24px; }
.project-desc { max-width: 34ch; font-size: clamp(1.02rem, 1.2vw, 1.15rem); }
.on-light .project-desc { color: var(--black-soft); }
.on-dark .project-desc { color: var(--ivory-soft); }
.project-url { display: block; margin: 26px 0 32px; font-size: .85rem; color: var(--taupe); letter-spacing: .04em; }

/* ===== Services ===== */
.services { background: var(--ivory); color: var(--black); padding: clamp(96px, 12vw, 170px) 0; }
.services-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.services h2 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -0.025em; }
.services-top p { color: var(--black-soft); max-width: 40ch; justify-self: end; }
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line-light); align-items: baseline; transition: padding .5s var(--ease); }
.service:last-child { border-bottom: 1px solid var(--line-light); }
.service h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.1; transition: transform .5s var(--ease), color .5s; }
.service p { color: var(--black-soft); max-width: 46ch; }
.service:hover h3 { transform: translateX(14px); color: #8A6A44; }

/* ===== Process ===== */
.process { padding: clamp(96px, 12vw, 170px) 0; }
.process h2 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -0.025em; max-width: 14ch; }
.steps { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; color: var(--gold); margin-bottom: 22px; }
.steps h3 { font-size: 1.6rem; margin-bottom: 12px; }
.steps p { color: var(--ivory-soft); max-width: 32ch; }

/* ===== About ===== */
.about { background: var(--black-2); padding: clamp(96px, 12vw, 170px) 0; border-top: 1px solid var(--line-dark); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-mark { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line-dark); display: grid; place-items: center; overflow: hidden; }
.about-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.about-mark span { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 13vw, 12rem); color: var(--gold); line-height: 1; letter-spacing: -0.04em; }
.about-mark::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14%; height: 1px; background: var(--peach); }
.about h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 32px; }
.about-copy p { color: var(--ivory-soft); max-width: 48ch; font-size: clamp(1.02rem, 1.2vw, 1.15rem); }
.about-copy p + p { margin-top: 1.2em; }
.about-copy .btn { margin-top: 40px; }

/* ===== Contact ===== */
.contact { background: var(--ivory); color: var(--black); padding: clamp(96px, 12vw, 170px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact h2 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: .96; letter-spacing: -0.03em; }
.contact-side p { margin-top: 28px; color: var(--black-soft); max-width: 36ch; }
.contact-links { margin-top: 40px; display: grid; gap: 10px; }
.contact-links a { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; border-bottom: 1px solid var(--line-light); padding-bottom: 10px; width: fit-content; transition: border-color .3s; }
.contact-links a:hover { border-color: var(--peach); }

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; color: var(--black-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--black); background: transparent;
  border: 0; border-bottom: 1px solid rgba(17,16,15,.3); padding: 12px 0; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #11100F 50%), linear-gradient(135deg, #11100F 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-bottom: 2px solid #8A6A44; }
.form .btn { justify-self: start; margin-top: 10px; background: var(--black); color: var(--ivory); border-color: var(--black); }
.form .btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hidden { display: none; }

/* ===== Footer ===== */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 36px; overflow: hidden; }
.footer-mark { font-family: var(--serif); font-size: clamp(3.2rem, 13.5vw, 15rem); line-height: .85; letter-spacing: -0.045em; white-space: nowrap; }
.footer-mark em { color: var(--gold); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--taupe); }
.footer-row a { text-decoration: none; transition: color .3s; }
.footer-row a:hover { color: var(--ivory); }
.footer-row nav { display: flex; gap: 28px; flex-wrap: wrap; }

/* Scroll reveal (gentle) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid, .intro-grid, .about-grid, .contact-grid, .services-top { grid-template-columns: 1fr; }
  .services-top p { justify-self: start; }
  .hero { padding-top: 130px; }
  .comp { max-width: 640px; margin: 20px auto 0; }
  .project-grid, .project.flip .project-grid { grid-template-columns: 1fr; }
  .project.flip .project-media { order: 0; }
  .about-mark { max-width: 420px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 0 var(--pad); background: var(--black);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-links a { font-family: var(--serif); font-size: 2.6rem; letter-spacing: -0.01em; text-transform: none; color: var(--ivory); }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .project-media .phone { width: 28%; }
  .browser-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .load, .reveal { opacity: 1; transform: none; }
  .swash path { stroke-dashoffset: 0; }
}
