:root {
  --ink: #15211e;
  --muted: #66736e;
  --forest: #173f36;
  --forest-2: #0f3029;
  --clay: #c96f3d;
  --clay-dark: #9f4f28;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --sage: #dce5dc;
  --line: rgba(21, 33, 30, .13);
  --shadow: 0 20px 55px rgba(19, 42, 35, .12);
  --radius: 1.25rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; padding: .7rem 1rem; background: white; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.prototype-bar {
  min-height: 34px;
  padding: .45rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: var(--forest-2);
  color: #f7f3e9;
  font-size: .72rem;
  letter-spacing: .03em;
}
.prototype-bar span:first-child { text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
.prototype-bar i { display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem; background: #f2aa72; border-radius: 50%; box-shadow: 0 0 0 4px rgba(242,170,114,.15); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(20, 41, 35, .06); }
.brand { display: inline-flex; align-items: center; gap: .72rem; min-width: max-content; }
.brand-monogram { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-family: var(--serif); font-weight: 700; font-size: 1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand-monogram.light { background: var(--cream); color: var(--forest); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .09em; }
.brand-copy small { margin-top: .25rem; color: var(--muted); font-size: .63rem; letter-spacing: .04em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.desktop-nav a { position: relative; padding: 1.8rem 0; color: #46514e; font-size: .88rem; font-weight: 650; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 1.15rem; height: 2px; background: var(--clay); transition: right .2s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.desktop-nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 112px 0 0; z-index: 90; padding: 1.2rem; background: var(--paper); }
.mobile-menu nav { display: grid; }
.mobile-menu a:not(.btn) { padding: 1rem .3rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
.mobile-menu .btn { margin-top: 1.25rem; }

main { min-height: 70vh; overflow: clip; }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-soft { background: var(--cream); }
.section-dark { color: white; background: var(--forest); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .95rem; color: var(--clay-dark); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.section-dark .eyebrow { color: #f0b083; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .display { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 820px; margin-bottom: 1.4rem; font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
h3 { line-height: 1.2; }
.lead { max-width: 680px; color: #4f5d58; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.title-row { margin-bottom: 2.2rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.title-row h2 { max-width: 740px; margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; color: var(--forest); font-weight: 750; white-space: nowrap; }
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .2s; }

.btn { min-height: 50px; padding: .85rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 780; font-size: .9rem; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(201, 111, 61, .35); outline-offset: 2px; }
.btn-primary { background: var(--clay); color: white; box-shadow: 0 10px 24px rgba(159,79,40,.2); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-secondary { border-color: rgba(21,33,30,.25); background: rgba(255,255,255,.55); color: var(--ink); }
.btn-secondary:hover { background: white; }
.btn-small { min-height: 42px; padding: .65rem 1rem; font-size: .8rem; }
.button-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero { min-height: calc(100vh - 112px); padding: clamp(2rem, 6vw, 5rem) 0; display: grid; align-items: center; background: linear-gradient(115deg, #fffdf8 0%, #f5f0e6 55%, #e4dfd3 100%); }
.hero-grid { width: min(1320px, calc(100% - 2rem)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero h1 em { color: var(--clay-dark); font-style: italic; }
.hero-copy { padding-left: clamp(0rem, 3vw, 3rem); }
.hero-pills { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { padding: .5rem .8rem; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); font-size: .78rem; font-weight: 700; }
.pill::before { content: "✓"; color: var(--clay-dark); }
.hero-visual { position: relative; min-height: 620px; }
.hero-img-main { position: absolute; inset: 0 0 3rem 4rem; width: calc(100% - 4rem); height: calc(100% - 3rem); object-fit: cover; border-radius: 12rem 1.5rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.hero-img-small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--paper); border-radius: 50%; box-shadow: var(--shadow); }
.craft-stamp { position: absolute; right: -1rem; bottom: 1rem; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; transform: rotate(6deg); box-shadow: var(--shadow); text-align: center; font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.craft-stamp strong { display: block; font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item { padding: .8rem 1.2rem; display: flex; align-items: center; gap: .8rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-icon { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: .9rem; font-weight: 900; }
.trust-item strong { display: block; font-size: .84rem; }
.trust-item small { display: block; margin-top: .12rem; color: var(--muted); font-size: .72rem; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.path-card { position: relative; min-height: 500px; padding: clamp(1.5rem, 4vw, 3rem); display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); color: white; isolation: isolate; }
.path-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.path-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,25,22,.04), rgba(8,24,20,.9)); }
.path-card:hover img { transform: scale(1.04); }
.path-number { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(255,255,255,.8); font-family: var(--serif); font-size: 1rem; }
.path-card h3 { margin-bottom: .7rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 500; }
.path-card p { max-width: 460px; margin-bottom: 1.25rem; color: rgba(255,255,255,.78); }
.path-card .text-link { color: white; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.project-card { grid-column: span 4; min-width: 0; cursor: pointer; }
.project-card.wide { grid-column: span 8; }
.project-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1rem; background: #ddd7ca; }
.project-card.wide .project-image { aspect-ratio: 16 / 7.35; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-tag { position: absolute; left: .8rem; top: .8rem; padding: .38rem .62rem; border-radius: 999px; background: rgba(255,253,248,.9); backdrop-filter: blur(8px); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.project-arrow { position: absolute; right: .8rem; bottom: .8rem; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--forest); font-size: 1.05rem; transform: translateY(4rem); transition: transform .25s; }
.project-card:hover .project-arrow { transform: none; }
.project-meta { padding: 1rem .15rem 0; display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.project-meta h3 { margin-bottom: .3rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.project-meta p { margin: 0; color: var(--muted); font-size: .8rem; }
.project-meta strong { color: var(--clay-dark); font-size: .86rem; }
.demo-label { display: inline-flex; align-items: center; gap: .2rem; color: #8b654e; font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.quote-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.quote-image { position: relative; }
.quote-image img { width: 75%; margin-inline: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 12px 50%; filter: saturate(.82); }
.quote-image::before { content: "“"; position: absolute; z-index: 2; top: -2rem; left: 0; color: var(--clay); font-family: var(--serif); font-size: 10rem; line-height: 1; opacity: .45; }
.quote-mark { color: var(--clay); font-family: var(--serif); font-size: 3rem; line-height: 1; }
blockquote { margin: .4rem 0 1.5rem; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.18; letter-spacing: -.02em; }
.quote-by strong { display: block; }
.quote-by span { color: var(--muted); font-size: .82rem; }

.process-grid { margin-top: 2.8rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.process-step { position: relative; padding: 2rem 1.3rem 0 0; }
.process-step::before { content: ""; position: absolute; top: -.35rem; left: 0; width: .7rem; height: .7rem; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px rgba(201,111,61,.18); }
.process-step span { color: #e8aa82; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.process-step h3 { margin: .7rem 0 .55rem; font-size: 1.05rem; }
.process-step p { color: rgba(255,255,255,.65); font-size: .84rem; }

.final-cta { padding: clamp(4rem, 8vw, 7rem) 0; background: #e7ddcd; text-align: center; }
.final-cta h2 { max-width: 800px; margin-inline: auto; }
.final-cta .lead { margin-inline: auto; }
.final-cta .button-row { justify-content: center; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); background: var(--cream); }
.page-hero h1 { max-width: 950px; font-size: clamp(3rem, 7vw, 6rem); }
.breadcrumb { margin-bottom: 2rem; color: var(--muted); font-size: .75rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin-inline: .4rem; }
.page-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.page-intro .lead { margin: 0; }
.result-count { color: var(--muted); font-size: .82rem; white-space: nowrap; }

.filters { position: sticky; top: 77px; z-index: 40; padding: .9rem 0; background: rgba(255,253,248,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.filter-row { display: flex; align-items: center; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-btn { min-width: max-content; padding: .62rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; font-size: .78rem; font-weight: 750; }
.filter-btn.active { border-color: var(--forest); background: var(--forest); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.2rem; }
.gallery-empty { grid-column: 1 / -1; padding: 5rem 1rem; text-align: center; color: var(--muted); }

.service-nav { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.service-tabs { position: sticky; top: 120px; display: grid; gap: .5rem; }
.service-tab { padding: 1rem; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: .85rem; background: transparent; cursor: pointer; text-align: left; font-weight: 760; }
.service-tab.active { background: var(--forest); color: white; }
.service-panel { min-height: 500px; }
.service-panel > img { width: 100%; height: 280px; margin-bottom: 2rem; object-fit: cover; border-radius: var(--radius); }
.service-panel h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.service-list { margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.service-list div { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; font-size: .84rem; font-weight: 650; }
.service-list div::before { content: "✓"; margin-right: .55rem; color: var(--clay-dark); }
.notice { padding: 1rem 1.1rem; border-left: 3px solid var(--clay); background: var(--cream); color: #56615d; font-size: .82rem; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.story-image { position: relative; }
.story-image img { width: 85%; margin-left: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 9rem 1.2rem 1.2rem 1.2rem; }
.story-note { position: absolute; left: 0; bottom: 2rem; width: 48%; padding: 1.2rem; border-radius: .9rem; background: white; box-shadow: var(--shadow); }
.story-note strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--forest); }
.story-note span { color: var(--muted); font-size: .72rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.value-card .trust-icon { margin-bottom: 1rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .85rem; }

.custom-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.custom-collage { position: relative; min-height: 590px; }
.custom-collage img { position: absolute; object-fit: cover; border-radius: 1.1rem; box-shadow: var(--shadow); }
.custom-collage img:first-child { inset: 0 12% 13% 0; width: 72%; height: 78%; }
.custom-collage img:last-child { right: 0; bottom: 0; width: 48%; height: 53%; border: 7px solid var(--paper); }
.selector { margin-top: 2rem; display: grid; gap: .6rem; }
.selector-label { color: var(--muted); font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .65rem; background: white; cursor: pointer; font-size: .8rem; font-weight: 700; }
.choice.selected { border-color: var(--clay); background: #fff3ea; color: var(--clay-dark); }
.preview-card { margin-top: 1rem; padding: 1rem; display: flex; gap: .9rem; align-items: center; border-radius: .9rem; background: var(--cream); }
.preview-swatch { width: 54px; height: 54px; flex: 0 0 auto; border-radius: .7rem; background: linear-gradient(145deg, #8a5b39, #d0a06e); }
.preview-card strong, .preview-card small { display: block; }
.preview-card small { color: var(--muted); }

.form-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; }
.form-aside { position: sticky; top: 110px; padding: 1.5rem; border-radius: 1rem; background: var(--forest); color: white; }
.form-aside h2 { font-size: 2.1rem; }
.form-aside p { color: rgba(255,255,255,.7); font-size: .88rem; }
.step-list { margin-top: 2rem; display: grid; gap: .8rem; }
.step-indicator { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.55); font-size: .82rem; }
.step-indicator i { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-style: normal; }
.step-indicator.active { color: white; font-weight: 750; }
.step-indicator.active i, .step-indicator.done i { border-color: var(--clay); background: var(--clay); color: white; }
.form-card { min-height: 560px; padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 15px 40px rgba(20,38,33,.06); }
.form-card h2 { font-size: clamp(2rem, 3vw, 3rem); }
.form-note { margin-bottom: 1.5rem; padding: .8rem 1rem; display: flex; gap: .55rem; border-radius: .7rem; background: #fff6e8; color: #77512f; font-size: .77rem; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.option-card { padding: 1.2rem; display: grid; gap: .35rem; border: 1px solid var(--line); border-radius: .9rem; background: white; cursor: pointer; text-align: left; }
.option-card:hover, .option-card.selected { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(201,111,61,.1); }
.option-card .option-icon { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; margin-bottom: .35rem; border-radius: .6rem; background: var(--cream); }
.option-card strong { font-size: .92rem; }
.option-card small { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .77rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid #cfd4d0; border-radius: .65rem; background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { margin-top: 1.6rem; display: flex; justify-content: space-between; gap: .8rem; }
.success-state { min-height: 450px; display: grid; place-items: center; text-align: center; }
.success-icon { width: 5rem; height: 5rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: 2rem; }

.legal-copy h2 { margin-top: 2.5rem; font-size: 2rem; }
.legal-copy p { color: var(--muted); }

.site-footer { background: #102a24; color: white; }
.footer-main { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding: 4rem 0; display: grid; grid-template-columns: 1.4fr .8fr 1fr .8fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: start; gap: .9rem; }
.footer-brand strong { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .08em; }
.footer-brand p { margin: .3rem 0 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.site-footer h3 { margin-bottom: .85rem; color: rgba(255,255,255,.55); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer div > a:not(.footer-cta), .site-footer div > p { margin: .35rem 0; display: block; color: rgba(255,255,255,.75); font-size: .8rem; }
.site-footer a:hover { color: white; }
.site-footer .demo-copy { color: #d7a17d; font-size: .66rem; }
.footer-cta { display: flex; justify-content: space-between; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.35); font-family: var(--serif); font-size: 1.25rem; }
.footer-legal { padding: 1rem clamp(1rem, 4vw, 4rem); display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.46); font-size: .66rem; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 300; max-width: calc(100% - 2rem); padding: .8rem 1rem; border-radius: 999px; background: var(--ink); color: white; box-shadow: var(--shadow); transform: translate(-50%, 5rem); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; font-size: .8rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.modal-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(6,20,16,.72); backdrop-filter: blur(6px); }
.modal { position: fixed; inset: 50% auto auto 50%; z-index: 200; width: min(900px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; border-radius: var(--radius); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.32); transform: translate(-50%,-50%); }
.modal-close { position: sticky; z-index: 3; top: 1rem; float: right; width: 2.8rem; height: 2.8rem; margin: 1rem 1rem -4rem 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; font-size: 1.2rem; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-grid img { width: 100%; min-height: 540px; height: 100%; object-fit: cover; }
.modal-copy { padding: 3.5rem 2.5rem 2.5rem; }
.modal-copy h2 { font-size: 2.6rem; }
.modal-copy p { color: var(--muted); }
.meta-list { margin: 1.5rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.meta-list li { padding: .75rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); font-size: .8rem; }
.meta-list span { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .desktop-nav, .desktop-quote { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-visual { min-height: 500px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-card, .project-card.wide { grid-column: span 6; }
  .project-card.wide .project-image { aspect-ratio: 4/3; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .prototype-bar { min-height: 32px; justify-content: space-between; gap: .5rem; font-size: .62rem; }
  .prototype-bar span:last-child { text-align: right; }
  .site-header { height: 68px; }
  .mobile-menu { inset: 100px 0 0; }
  .brand-copy small { display: none; }
  .section { padding: 4rem 0; }
  .title-row, .page-intro { display: block; }
  .title-row .text-link { margin-top: 1rem; }
  .result-count { margin-top: 1rem; }
  .hero { min-height: auto; padding: 3rem 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-visual { min-height: 470px; margin-inline: -1rem; }
  .hero-img-main { inset: 0 0 2rem 2.5rem; width: calc(100% - 2.5rem); border-radius: 7rem 0 0 0; }
  .hero-img-small { left: 1rem; width: 38%; border-width: 5px; }
  .craft-stamp { right: .8rem; width: 90px; height: 90px; font-size: .52rem; }
  .craft-stamp strong { font-size: 1.25rem; }
  .trust-item { padding: 1rem .4rem; }
  .trust-icon { width: 1.7rem; height: 1.7rem; }
  .trust-item small { display: none; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 410px; }
  .project-grid, .gallery-grid { grid-template-columns: 1fr; }
  .project-card, .project-card.wide { grid-column: 1; }
  .project-card.wide .project-image { aspect-ratio: 4/3; }
  .project-arrow { transform: none; }
  .quote-block, .story-grid, .custom-hero, .form-shell, .service-nav { grid-template-columns: 1fr; }
  .quote-image img { width: 78%; }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .service-tabs { position: static; grid-template-columns: 1fr 1fr; }
  .service-tab { padding: .8rem; }
  .service-list, .option-grid, .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
  .story-grid { display: flex; flex-direction: column-reverse; }
  .story-image img { width: 88%; }
  .values-grid { grid-template-columns: 1fr; }
  .custom-collage { min-height: 460px; }
  .form-aside { position: static; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-indicator { gap: .35rem; font-size: .65rem; }
  .step-indicator i { width: 1.5rem; height: 1.5rem; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-grid img { min-height: 260px; height: 280px; }
  .modal-copy { padding: 2rem 1.3rem; }
  .footer-main { grid-template-columns: 1fr; padding: 3rem 0; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
