/* ==========================================================================
   THE URBAN GRAIN — website stylesheet
   Built from the Figma file "The_Urban_Grain_WebDesign---V2" (1440px desktop design).
   Plain CSS (no build step). Works in current Chrome, Edge, Safari, Firefox and
   their mobile versions. Layout: desktop-first, with breakpoints at 1100px and 760px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --espresso: #37261d;
  --nav-bg: #35261d;
  --ink: #29231e;
  --ink-soft: #342b1f;
  --cream: #f2ebdd;
  --cream-2: #f2ece1;
  --brown: #7a4a2d;
  --brown-panel: #68452e;
  --olive-field: #c8c29f;
  --grey-rule: #9e9e9e;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--espresso);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #e9c58f; outline-offset: 3px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000;
  padding: 10px 16px; border-radius: 6px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.serif { font-family: var(--serif); }

/* ---------- 3. Buttons & links ---------- */
/* White button: 1px outer ring, 4px gap, solid white face (Figma "Button / Start a Project / White") */
.btn-white {
  display: inline-block; width: 292px; max-width: 100%; padding: 4px; border: 1px solid #fff; border-radius: 10px;
  background: transparent; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-white > span {
  display: block; background: #fff; color: #0d0b0a; border-radius: 7px; height: 45px; line-height: 45px;
  font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0; white-space: nowrap;
}
.btn-white.btn-cormorant > span { font-family: "Cormorant Garamond", var(--serif); font-weight: 700; }
.btn-white:hover, .btn-white:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); }

/* Dark button: 2px ring, 3px gap, solid face (Figma "Button / Start a Project / Black") */
.btn-dark {
  display: inline-block; width: 284px; max-width: 100%; padding: 3px; border: 2px solid var(--espresso); border-radius: 10px;
  background: transparent; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-dark > span {
  display: block; background: var(--espresso); color: #fff; border-radius: 7px; height: 44px; line-height: 44px;
  font-family: var(--serif); font-weight: 700; font-size: 20px; white-space: nowrap;
}
.btn-dark.on-black { border-color: #000; }
.btn-dark.on-black > span { background: #090909; }
.btn-dark:hover, .btn-dark:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); }

.link-cta {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: 0.13em;
  text-transform: uppercase; padding: 8px 0; color: #141414; transition: opacity 0.2s;
}
.link-cta:hover { opacity: 0.65; }
.link-cta.light { color: #fff; }
.link-underline {
  font-family: var(--sans); font-weight: 800; font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-underline:hover { opacity: 0.7; }

.btn-whatsapp {
  position: relative; display: inline-flex; align-items: center; width: 327px; max-width: 100%; height: 54px;
  padding-left: 75px; background: var(--olive-field); border: 1px solid var(--espresso); border-radius: 6px;
  font-weight: 500; font-size: 16px; letter-spacing: 0.07em; color: var(--espresso); text-transform: uppercase;
  transition: transform 0.2s ease;
}
.btn-whatsapp img.wa-badge { position: absolute; left: 14px; top: 1px; width: 50px; height: 50px; border-radius: 8px; }
.btn-whatsapp img.wa-arrow { position: absolute; right: 27px; top: 50%; width: 17px; height: auto; margin-top: -7px; }
.btn-whatsapp:hover { transform: translateY(-2px); }

/* ---------- 4. Navigation ---------- */
.nav {
  position: absolute; z-index: 50; top: 81px; left: 50%; transform: translateX(-50%);
  width: min(930px, calc(100% - 32px)); height: 68px; background: var(--nav-bg); border-radius: 8px;
  box-shadow: 0 4px 6.75px rgba(0, 0, 0, 0.25);
}
.nav-dark { --nav-bg: #141414; }
.nav-inner { display: flex; align-items: center; height: 100%; padding: 0 30px; }
.nav-brand { font-family: var(--serif); font-weight: 500; font-size: 24px; color: #fcfcfc; white-space: nowrap; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 23px; margin: 0 auto; }
.nav-links a, .nav-contact {
  font-size: 14px; color: #fff; text-transform: uppercase; line-height: 1; padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.7; }
.nav-contact {
  display: inline-block; border: 1px solid #fff; border-radius: 10px; padding: 10px 29px; margin-right: -16px;
}
.nav-contact:hover, .nav-contact[aria-current="page"] { background: #fff; color: var(--nav-bg); opacity: 1; }
.nav-menu { display: flex; align-items: center; flex: 1; }
.nav-toggle { display: none; }

/* ---------- 5. Page hero helpers ---------- */
.page-top { position: relative; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- 6. HOME ---------- */
.hero-home {
  position: relative; min-height: 1230px; padding: 345px 0 95px; text-align: center; color: var(--cream);
  background: #1d1410 url("../assets/home-hero-bg.jpg") center top / cover no-repeat;
}
.hero-home h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.2vw, 82px); line-height: 1.12;
  text-transform: uppercase; max-width: 960px; margin: 0 auto;
}
.hero-home .hero-body { max-width: 900px; margin: 19px auto 0; font-size: 17px; line-height: 1.7; padding: 0 var(--gutter); }
.hero-home .hero-cta { margin-top: 42px; }
.cat-row { display: grid; grid-template-columns: repeat(3, 360px); gap: 65px; justify-content: start; padding-left: 95px; max-width: 1440px; margin: 198px auto 0; }
.cat-card {
  position: relative; display: block; width: 360px; height: 235px; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); text-align: left; color: var(--cream);
}
.cat-card img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.65), rgba(20, 12, 8, 0)); pointer-events: none;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card span { position: absolute; z-index: 2; left: 20px; bottom: 23px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.home-dark-a {
  position: relative; color: var(--cream); padding-top: 155px; min-height: 1030px;
  background: #20170f url("../assets/home-bg-02.jpg") center top / cover no-repeat;
}
.vision-row { position: relative; max-width: 1440px; margin: 0 auto; height: 490px; }
.vision-copy { position: absolute; left: 95px; top: 25px; width: 500px; }
.vision-copy .eyebrow { font-weight: 800; font-size: 12px; letter-spacing: 0; }
.vision-copy h2 { font-family: var(--serif); font-weight: 700; font-size: 54px; line-height: 1.2; margin-top: 36px; }
.vision-copy p { font-size: 20px; line-height: 1.3; margin-top: 18px; width: 480px; max-width: 100%; }
.vision-media { position: absolute; left: 610px; top: 0; width: 680px; height: 490px; }
.vision-media .frame { position: absolute; border: 1px solid var(--brown); border-radius: 20px; }
.vision-media .frame.main { left: 74px; top: 0; width: 600px; height: 360px; border-width: 2px; }
.vision-media .frame.small { left: 0; top: 255px; width: 270px; height: 230px; }
.vision-media img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.vision-media img.main { left: 90px; top: 15px; width: 570px; height: 330px; }
.vision-media img.small { left: 10px; top: 265px; width: 250px; height: 210px; }
.why-title { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.2; margin: 172px 0 0 72px; }

.home-dark-b {
  position: relative; color: var(--cream); padding: 0; margin-top: -22px; min-height: 1162px;
  background: #20170f url("../assets/home-bg-03.jpg") center top / cover no-repeat;
}
.why-grid { display: grid; grid-template-columns: repeat(2, 560px); column-gap: 67px; justify-content: start; align-items: start; max-width: 1440px; margin: 0 auto; padding-left: 47px; }
.why-col .reason { width: 520px; max-width: 100%; }
.why-col .framed { margin-left: 9px; }
.why-col + .why-col .framed { margin-left: 12px; }
.why-col { display: flex; flex-direction: column; gap: 40px; }
.reason {
  background: rgba(39, 30, 24, 0.2); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 25px 14px; min-height: 165px; border: 1px solid rgba(242, 235, 221, 0.12);
}
.reason .num { font-weight: 900; font-size: 20px; line-height: 1.2; }
.reason h3 { font-weight: 700; font-size: 20px; line-height: 1.2; margin-top: 8px; }
.reason h3.xb { font-weight: 800; }
.reason p { font-size: 20px; line-height: 1.2; margin-top: 8px; }
.framed { border: 1px solid var(--brown); border-radius: 20px; padding: 14px 15px; }
.framed img { width: 100%; height: 255px; object-fit: cover; border-radius: 20px; }
.proof-links { margin: 40px 0 0 72px; display: flex; gap: 22px; flex-wrap: wrap; padding-bottom: 80px; }

.home-selected {
  position: relative; color: var(--ink); padding: 90px 0 0; min-height: 1350px;
  background: #f6efe3 url("../assets/home-bg-selected.jpg") center top / cover no-repeat;
}
.rule { height: 1px; background: var(--grey-rule); border: 0; width: 100%; margin: 0; }
.selected-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 36px; flex-wrap: wrap; }
.selected-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.28; text-transform: uppercase; }
.selected-head .side { width: 520px; max-width: 100%; padding-top: 44px; font-size: 20px; line-height: 1.3; }
.selected-head .side a { display: inline-block; margin-top: 52px; font-size: 11px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.proj-row { display: grid; grid-template-columns: repeat(4, 305px); gap: 20px; justify-content: space-between; margin-top: 69px; }
.proj { position: relative; padding-top: 0; }
.proj .badge {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 35px; background: var(--brown-panel);
  border-radius: 5px; color: #f5ecdd; font-weight: 900; font-size: 15px; margin: 0 0 10px 0;
}
.proj .frame { border: 1px solid var(--brown); border-radius: 20px; padding: 9px 10px; box-shadow: var(--shadow); }
.proj .frame img { width: 100%; height: 610px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.proj .cat { display: block; margin: 18px 0 0 18px; color: var(--brown); font-weight: 700; font-size: 15px; text-transform: uppercase; }

.process {
  position: relative; color: #f5f5f5; padding: 140px 0 120px; min-height: 1220px;
  background: #2a1d15 url("../assets/home-process-bg.jpg") center / cover no-repeat;
}
.process h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.45vw, 64px); line-height: 1.28; max-width: 480px; padding-left: 53px; }
.process h2 b { font-weight: 700; display: block; }
.steps { display: grid; grid-template-columns: repeat(5, 250px); gap: 0; margin-top: 70px; padding: 0 0 0 53px; }
.step { padding-top: 0; }
.step:nth-child(2) { margin-top: 105px; }
.step:nth-child(3) { margin-top: 210px; }
.step:nth-child(4) { margin-top: 315px; }
.step:nth-child(5) { margin-top: 420px; }
.step .no { display: block; font-weight: 500; font-size: 48px; line-height: 82px; color: #f2ebdd; margin-bottom: -4px; }
.step:nth-child(1) .no { padding-left: 12px; } .step:nth-child(2) .no { padding-left: 19px; }
.step:nth-child(3) .no { padding-left: 28px; } .step:nth-child(4) .no { padding-left: 40px; } .step:nth-child(5) .no { padding-left: 37px; }
.step h3 { font-weight: 500; font-size: 16px; line-height: 1.2; }
.step p { color: #9e9e9e; font-size: 11px; line-height: 1.2; margin-top: 9px; max-width: 215px; min-height: 40px; }
.step hr { width: 180px; height: 1px; background: var(--grey-rule); border: 0; margin: 14px 0 0; }
.process .end-rule { margin-top: 110px; }

/* ---------- 7. Shared CTA & footer ---------- */
.cta {
  position: relative; background: var(--cream-2); text-align: center; padding: 134px var(--gutter) 90px; min-height: 650px;
}
.cta.with-bg { background: var(--cream-2) url("../assets/cta-bg.jpg") center / cover no-repeat; }
.cta .eyebrow { color: var(--ink-soft); font-weight: 400; font-size: 13px; letter-spacing: 0.18em; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.28; color: #141414; margin-top: 24px; }
.cta h2 em { font-weight: 400; font-style: italic; }
.cta p.lead { font-size: 18px; line-height: 1.54; color: var(--ink-soft); max-width: 929px; margin: 30px auto 0; }
.cta .btn-dark { margin-top: 38px; }
.cta .secondary { margin-top: 18px; display: block; }

.footer { position: relative; overflow: hidden; background: var(--espresso); color: #e6e6e6; min-height: 767px; }
.footer .texture {
  position: absolute; left: 50%; top: -86px; margin-left: -348px; width: 1302px; height: 980px; opacity: 0.25;
  object-fit: cover; object-position: bottom; pointer-events: none; max-width: none;
}
.footer-inner { position: relative; max-width: 1440px; margin: 0 auto; padding: 140px 72px 0; min-height: 767px; }
.footer-grid { display: grid; grid-template-columns: 547px 230px 312px 230px; align-items: start; }
.footer-brand .logo { font-family: var(--serif); font-size: 42.5px; line-height: 1.1; color: #e6e6e6; display: block; }
.footer-brand p { color: #8c8c8c; font-size: 18.7px; line-height: 2; margin-top: 15px; }
.footer h4 { font-weight: 400; font-size: 17px; line-height: 25px; color: #e6e6e6; text-transform: uppercase; margin: 9px 0 0; }
.footer-menu a { display: block; font-size: 14px; line-height: 27px; color: #fff; text-transform: uppercase; padding-top: 0; transition: opacity 0.2s; }
.footer-menu ul { margin-top: 26px; }
.footer-menu a:hover { opacity: 0.7; }
.footer-contact address, .footer-studio address { font-style: normal; font-size: 17px; line-height: 25px; margin-top: 25px; }
.footer-studio address { font-size: 15.3px; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { position: absolute; left: 72px; right: 49px; bottom: 53px; }
.footer-bottom img.line { width: 100%; height: 1px; margin-bottom: 38px; opacity: 0.9; }
.footer-bottom p { color: #8c8c8c; font-size: 13.6px; white-space: pre-wrap; }
.footer-bottom a { transition: color 0.2s; } .footer-bottom a:hover { color: #fff; }

/* ---------- 8. WORK ---------- */
.work-intro {
  position: relative; min-height: 720px; color: var(--cream);
  background: #1b130e url("../assets/work-intro-bg.jpg") center / cover no-repeat;
}
.work-intro .wrap { padding-top: 252px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.work-intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 68px); line-height: 1.32; }
.work-intro p { width: 470px; max-width: 100%; font-size: 15px; line-height: 29px; padding-top: 17px; }
.work-body { position: relative; color: var(--cream); background: #241913 url("../assets/work-bg.jpg") center top / cover no-repeat; padding: 50px 0 100px; }
.work-body h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.3; margin-left: 15px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 650px); gap: 64px 26px; justify-content: center; margin-top: 52px; }
.wcat { scroll-margin-top: 130px; min-width: 0; }
.slider { position: relative; }
.wcat .frame { position: relative; border: 1px solid var(--brown); border-radius: 20px; padding: 14px; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: 20px; outline-offset: 4px; }
.js .track { scrollbar-width: none; -ms-overflow-style: none; }
.js .track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 500px; display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; border-radius: 20px; border: 1px solid #adadad; background: #1b130e; }
.slide { background: radial-gradient(ellipse at center, #2c2019 0%, #1b130e 100%); }
.slide img { display: block; width: auto; height: auto; max-width: calc(100% - 36px); max-height: calc(100% - 36px); object-fit: contain; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
@media (max-width: 860px) { .slide { height: clamp(320px, 92vw, 500px); } .slide img { max-width: calc(100% - 20px); max-height: calc(100% - 20px); } }
.sl-btn { z-index: 3; display: none; position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(242, 235, 221, 0.55); background: rgba(36, 25, 19, 0.62); color: var(--cream); font-size: 28px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; transition: background-color 0.2s, opacity 0.2s; }
.js .sl-btn { display: flex; }
.sl-btn.prev { left: 26px; } .sl-btn.next { right: 26px; }
.sl-btn span { display: block; margin-top: -3px; }
.sl-btn:hover { background: rgba(122, 74, 45, 0.9); }
.sl-btn:focus-visible, .sl-dots button:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.sl-btn[disabled] { opacity: 0.28; cursor: default; }
.sl-btn[disabled]:hover { background: rgba(36, 25, 19, 0.62); }
.sl-count { z-index: 3; position: absolute; right: 30px; bottom: 28px; padding: 4px 10px; border-radius: 12px; background: rgba(36, 25, 19, 0.7); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.sl-dots { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.sl-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.sl-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(242, 235, 221, 0.3); transition: background-color 0.2s, transform 0.2s; }
.sl-dots button[aria-current="true"]::after { background: var(--cream); transform: scale(1.25); }
.wcat h3 { margin: 18px 0 0 15px; font-weight: 700; font-size: 18px; line-height: 1.3; }
.wcat h3 .n { margin-right: 8px; color: #c9a27f; }
.wcat .tag { margin: 4px 0 0 15px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242, 235, 221, 0.62); }
.wcat .cap { margin: 10px 0 0 15px; max-width: 600px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.4; color: rgba(242, 235, 221, 0.9); min-height: 1.4em; }

/* ---------- 9. CAPABILITIES ---------- */
.cap-hero {
  position: relative; min-height: 880px; text-align: center; color: var(--ink);
  background: #f1e7d7 url("../assets/cap-hero-bg.jpg") center / cover no-repeat;
}
.cap-hero .drawing { position: absolute; left: 50%; top: 220px; width: 1296px; height: 500px; margin-left: -648px; max-width: none; }
.cap-hero h1 { position: absolute; left: 50%; top: 361px; width: 920px; margin-left: -460px; font-family: var(--serif); font-weight: 400; font-size: 66px; line-height: 1.27; }
.cap-hero .rule-line { position: absolute; left: 50%; top: 759px; width: 1296px; margin-left: -648px; height: 1px; background: #c0c0c0; }
.cap-hero p { position: absolute; left: 50%; top: 794px; width: 760px; margin-left: -380px; font-size: 16px; line-height: 29px; }
.cap-fab { color: var(--cream); background: #281c15 url("../assets/cap-espresso-bg.jpg") center / cover no-repeat; padding: 65px 0 164px; min-height: 1040px; }
.cap-fab .inner { max-width: 1264px; margin: 0 auto; padding: 0 24px; }
.cap-fab .eyebrow { color: #a6a6a6; }
.cap-fab h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.75vw, 54px); line-height: 60px; margin-top: 35px; max-width: 760px; }
.cap-fab .statement { font-size: 20px; line-height: 25px; max-width: 620px; margin-top: 34px; }
.cap-fab .statement b { font-weight: 700; }
.cap-cells { display: grid; grid-template-columns: repeat(3, 410px); gap: 16px; justify-content: space-between; margin-top: 100px; }
.cap-cell {
  position: relative; height: 220px; padding: 24px; background: rgba(41, 35, 30, 0.2); border: 1px solid var(--brown); border-radius: 20px;
}
.cap-cell .n { font-size: 40px; font-weight: 500; line-height: 1.2; color: #a6a6a6; }
.cap-cell h3 { position: absolute; left: 24px; right: 24px; bottom: 40px; font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--cream); }
.cap-partners { min-height: 690px; padding: 70px 0 0; background: #f4ecde url("../assets/cap-inhouse-bg.jpg") center / cover no-repeat; color: var(--ink); }
.cap-partners .inner { max-width: 1264px; margin: 0 auto; padding: 0 24px; }
.cap-partners .eyebrow { color: #666; }
.cap-partners h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 55px; margin-top: 35px; max-width: 760px; }
.cap-partners .rule { background: #bababa; margin-top: 62px; }
.partner-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 53px; }
.partner-cols .eyebrow { color: #666; font-size: 10px; letter-spacing: 0.03em; }
.partner-cols h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.3; margin-top: 30px; }
.partner-cols p { font-size: 17px; line-height: 25px; margin-top: 21px; max-width: 500px; }
.cap-partners .studio-link { display: inline-block; margin-top: 60px; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: #1b1b1b; }
.cap-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; color: #fff; }
.cap-split .left { position: relative; padding: 66px 20px 0 87px; background: #6b6a30 url("../assets/limestone-a.jpg") center / cover no-repeat; }
.cap-split .left h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.2vw, 46px); line-height: 53px; margin-top: 40px; max-width: 620px; }
.deliver { margin-top: 62px; display: grid; gap: 29px; }
.deliver li { position: relative; display: flex; align-items: center; min-height: 66px; padding-left: 91px; font-size: 24px; line-height: 32px; max-width: 590px; }
.deliver li::before { content: ""; position: absolute; left: -9px; top: 0; width: 66px; height: 66px; background: url("../assets/cap-circle.svg") center / contain no-repeat; }
.deliver li .n { position: absolute; left: 0; top: 50%; margin-top: -20px; width: 48px; text-align: center; font-size: 36px; line-height: 40px; color: #f2ebdd; font-weight: 400; }
.cap-split .right { position: relative; background: #1f1f1f; }
.cap-split .right img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.cap-docs { color: var(--ink); background: #f3ecdf url("../assets/cap-docs-bg.jpg") center / cover no-repeat; padding: 110px 0 120px; min-height: 540px; }
.cap-docs .cols { max-width: 1296px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 520px; gap: 120px; align-items: start; }
.cap-docs h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.2; }
.cap-docs .body { font-size: 20px; line-height: 1.1; margin-top: 28px; max-width: 510px; }
.doc-list li { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #b8b8b2; font-size: 12px; letter-spacing: 0.02em; color: #292929; text-transform: uppercase; }
.doc-list li:first-child { padding-top: 0; }
.doc-list li span { opacity: 0.55; font-size: 10px; letter-spacing: 0; }
.doc-note { margin-top: 26px; font-size: 12px; opacity: 0.6; }
.cap-odoo { color: #f0f0eb; background: #1f1814 url("../assets/cap-odoo-bg.jpg") center / cover no-repeat; padding: 56px 0 100px; min-height: 720px; }
.cap-odoo .inner { max-width: 1296px; margin: 0 auto; padding: 0 var(--gutter); }
.pill { display: inline-block; border: 1px solid #9e9e99; border-radius: 15px; padding: 6px 16px; font-size: 9px; letter-spacing: 0.04em; opacity: 0.78; text-transform: uppercase; }
.odoo-head { display: grid; grid-template-columns: 1fr 560px; gap: 80px; margin-top: 24px; align-items: start; }
.odoo-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 48px); line-height: 52px; color: #f2ebdd; }
.odoo-head p { font-size: 15px; line-height: 22px; opacity: 0.82; padding-top: 15px; }
.timeline { position: relative; margin-top: 106px; display: grid; grid-template-columns: repeat(10, 1fr); border-top: 1px solid #737370; }
.timeline li { position: relative; padding-top: 20px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 11px; background: #c7c7bf; }
.timeline .tn { display: block; font-size: 9px; opacity: 0.48; line-height: 20px; }
.timeline .ts { display: block; font-size: 9px; letter-spacing: 0.02em; opacity: 0.82; line-height: 18px; text-transform: uppercase; }
.odoo-foot { display: grid; grid-template-columns: 1fr 560px; gap: 80px; margin-top: 70px; align-items: start; }
.odoo-foot h3 { font-weight: 400; font-size: 30px; line-height: 36px; color: #f2ebdd; }
.odoo-foot p { font-size: 13px; line-height: 19px; opacity: 0.72; margin-top: 30px; max-width: 540px; }
.odoo-panel { height: 190px; border: 1px solid var(--brown); border-radius: 20px; background: rgba(42, 33, 27, 0.2); padding: 30px 24px 0; }
.odoo-panel .top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.03em; border-top: 1px solid #61615e; padding-top: 20px; margin-top: 0; }
.odoo-panel .top span:first-child { opacity: 0.72; } .odoo-panel .top span:last-child { opacity: 0.5; font-size: 9px; }
.odoo-panel i { display: block; height: 1px; background: #52524f; margin-top: 28px; }
.odoo-panel i:first-of-type { margin-top: 20px; }

/* ---------- 10. STUDIO ---------- */
.studio-hero { position: relative; min-height: 950px; background: var(--cream); color: #131313; }
.studio-hero .copy { position: absolute; left: 108px; top: 261px; width: 650px; }
.studio-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.4vw, 78px); line-height: 1.28; }
.studio-hero .lede { font-size: 24px; line-height: 40px; color: #1f1f1f; width: 408px; max-width: 100%; margin-top: 42px; }
.studio-hero .loc { position: relative; margin: 36px 0 0 76px; width: 444px; max-width: 100%; font-weight: 500; font-size: 11px; line-height: 16px; color: var(--brown); text-transform: uppercase; }
.studio-hero .loc img { position: absolute; left: -69px; top: -2px; width: 62px; height: 61px; }
.studio-hero .vrule { position: absolute; left: 108px; width: 1px; height: 59px; background: var(--brown); }
.studio-hero .vrule.v1 { top: 183px; } .studio-hero .vrule.v2 { top: 688px; }
.studio-hero .photo-frame { position: absolute; left: 675px; top: 183px; width: 671px; height: 717px; border: 1px solid var(--brown); border-radius: 8px; }
.studio-hero .photo { position: absolute; left: 21px; top: 19px; width: 627px; height: 677px; border-radius: 8px; overflow: hidden; }
.studio-hero .photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.studio-hero .photo-label { position: absolute; left: 140px; top: 203px; font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: #333; }
.studio-hero .copy-wrap { max-width: 1440px; margin: 0 auto; position: relative; height: 950px; }

.studio-craft { position: relative; color: #fff; background: #3a2a1c url("../assets/studio-walnut-bg.jpg") center / cover no-repeat; min-height: 975px; padding: 53px 0 0; }
.studio-craft .box { max-width: 1440px; margin: 0 auto; position: relative; height: 922px; }
.studio-craft h2 { position: absolute; left: 64px; top: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.8vw, 55px); line-height: 1.28; }
.fcard { position: absolute; top: 135px; width: 405px; height: 193px; }
.fcard.plain { top: 140px; }
.fcard img.bg { position: absolute; left: -3px; top: -5px; width: 405px; height: 193px; max-width: none; }
.fcard.plain::before { content: ""; position: absolute; left: 1px; top: 0; width: 402px; height: 180px; background: rgba(39, 30, 24, 0.4); border-radius: 20px; box-shadow: var(--shadow); }
.fcard .t { position: absolute; left: 20px; top: 27px; width: 353px; }
.fcard.plain .t { left: 21px; top: 22px; }
.fcard .t .k { font-size: 14px; line-height: 20px; }
.fcard .t .h { font-size: 20px; letter-spacing: 0.1em; line-height: 20px; margin-top: 20px; }
.fcard .t .d { font-size: 16px; letter-spacing: 0.1em; line-height: 20px; margin-top: 30px; }
.studio-craft .machine { position: absolute; left: 64px; top: 356px; width: 1229px; height: 410px; border-radius: 8px; overflow: hidden; }
.studio-craft .machine img { position: absolute; left: 0; top: -13.91%; width: 100%; height: 142.95%; max-width: none; object-fit: cover; }
.studio-craft .tilt { position: absolute; left: 71px; top: 787px; width: 1222px; height: 16px; max-width: none; }
.studio-craft .annot { position: absolute; left: 82px; top: 823px; width: 1230px; font-size: 16px; letter-spacing: 0.08em; line-height: 20px; }

.studio-finish { position: relative; display: grid; grid-template-columns: 650px 1fr; min-height: 805px; background: var(--cream) url("../assets/studio-tonal.jpg") 650px 0 / auto 100% no-repeat; }
.studio-finish .img { position: relative; overflow: hidden; }
.studio-finish .img img { position: absolute; left: -118.93%; top: 0; width: 286.62%; height: 114.9%; max-width: none; object-fit: cover; }
.studio-finish .txt { position: relative; padding: 84px 120px 0 100px; }
.studio-finish .vr { position: absolute; left: 110px; top: 55px; width: 1px; height: 59px; background: var(--brown); }
.studio-finish .eyebrow { color: #000; letter-spacing: 0.1em; margin-left: 48px; margin-top: 0; }
.studio-finish h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.75vw, 54px); line-height: 1.3; letter-spacing: 0.05em; color: var(--ink-soft); margin: 42px 0 0 0; }
.studio-finish p { font-size: 18px; line-height: 1.6; letter-spacing: 0.1em; color: var(--ink-soft); max-width: 340px; margin: 35px 0 0 178px; }

.studio-team { position: relative; color: #f0f0eb; background: #29231e; min-height: 916px; padding-top: 57px; }
.studio-team .box { max-width: 1440px; margin: 0 auto; position: relative; height: 859px; }
.studio-team .vr { position: absolute; left: 63px; top: 10px; width: 1px; height: 59px; background: var(--brown); }
.studio-team .eyebrow { position: absolute; left: 83px; top: 40px; color: #f2ebdd; letter-spacing: 0.1em; font-weight: 400; }
.studio-team h2 { position: absolute; left: 60px; top: 94px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.3; }
.studio-team .approved { position: absolute; left: 926px; top: 94px; width: 430px; font-size: 17px; line-height: 1.6; letter-spacing: 0.1em; color: rgba(240, 240, 235, 0.82); }
.studio-team .approved b { font-weight: 600; letter-spacing: 0.094em; }
.studio-team .tile { position: absolute; top: 273px; width: 447px; height: 410px; border-radius: 8px; overflow: hidden; }
.studio-team .tile img { position: absolute; max-width: none; object-fit: cover; }
.studio-team .t1 { left: 42px; } .studio-team .t1 img { left: -22.55%; top: 0; width: 164.34%; height: 100%; }
.studio-team .t2 { left: 501px; width: 438px; } .studio-team .t2 img { left: -0.11%; top: -25.71%; width: 100.11%; height: 151.17%; }
.studio-team .t3 { left: 952px; } .studio-team .t3 img { left: -50.74%; top: 0; width: 164.34%; height: 100%; }
.studio-team .proof { position: absolute; left: 42px; top: 711px; font-size: 16px; letter-spacing: 0.1em; color: rgba(240, 240, 235, 0.78); }

.studio-visit { position: relative; color: #fff; min-height: 427px; background: #6b6a30 url("../assets/studio-limestone.jpg") center / cover no-repeat; }
.studio-visit .box { max-width: 1440px; margin: 0 auto; position: relative; height: 427px; }
.studio-visit .eyebrow { position: absolute; left: 78px; top: 87px; font-size: 17px; letter-spacing: 0.12em; font-weight: 400; }
.studio-visit h2 { position: absolute; left: 75px; top: 104px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.9vw, 70px); line-height: 1.3; white-space: nowrap; }
.studio-visit .body { position: absolute; left: 78px; top: 209px; width: 597px; font-size: 18px; line-height: 1.4; letter-spacing: 0.1em; }
.studio-visit .addr { position: absolute; left: 844px; top: 146px; width: 360px; font-size: 14px; line-height: 1.2; }
.studio-visit .pin { position: absolute; left: 766px; top: 130px; width: 75px; height: 74px; }
.studio-visit .vr { position: absolute; left: 763px; top: 127px; width: 1px; height: 92px; background: #fff; }
.studio-visit .actions { position: absolute; left: 78px; top: 279px; width: 1280px; display: flex; align-items: center; }
.studio-visit .actions .mid { margin-left: 358px; }
.studio-visit .actions .last { margin-left: 18px; }

/* ---------- 11. CONTACT ---------- */
.contact { position: relative; color: #fff; background: #6b6a30 url("../assets/contact-limestone.jpg") center / cover no-repeat; min-height: 1740px; }
.contact .box { max-width: 1440px; margin: 0 auto; position: relative; min-height: 1740px; }
.contact .left { position: absolute; left: 128px; top: 276px; width: 650px; }
.contact h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.9vw, 70px); line-height: 75px; text-transform: uppercase; }
.contact h1 em { display: block; font-size: clamp(38px, 3.8vw, 55px); font-weight: 400; text-transform: none; margin-top: -2px; }
.contact .intro { font-size: 22px; line-height: 27px; width: 520px; max-width: 100%; margin-top: 30px; }
.workshop-card { position: relative; display: flex; width: 540px; max-width: 100%; height: 335px; margin-top: 85px; background: #fff; color: #1f1f1f; border: 1px solid #b8b8b8; border-radius: 10px; overflow: hidden; }
.workshop-card .ph { position: relative; flex: 0 0 233px; height: 100%; overflow: hidden; }
.workshop-card .ph img { position: absolute; left: -40.56%; top: 0; width: 257.46%; height: 100%; max-width: none; object-fit: cover; }
.workshop-card .info { padding: 36px 0 0 28px; }
.workshop-card .brand { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.6; }
.workshop-card address { font-style: normal; font-size: 18px; line-height: 1.344; color: #484848; margin: 10px 0 0 5px; width: 240px; }
.workshop-card .divider { width: 240px; height: 1px; margin: 18px 0 0 0; }
.workshop-card .reach { font-size: 20px; line-height: 1.5; margin: 22px 0 0 5px; }
.workshop-card .reach a:hover { text-decoration: underline; }
.contact .form-wrap { position: absolute; left: 807px; top: 271px; width: 560px; }

/* Enquiry form */
.enquiry h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; }
.enquiry .sub { font-size: 14px; margin: 22px 0 36px; }
.enquiry .field { position: relative; margin-bottom: 15px; }
.enquiry label.lbl, .enquiry legend { display: block; font-size: 13px; padding: 0; color: #fff; }
.enquiry legend.small { font-size: 12px; font-weight: 500; }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry input[type="tel"], .enquiry textarea {
  display: block; width: 100%; background: var(--olive-field); color: #000; border: 2px solid transparent; border-radius: 12px;
  padding: 13px 16px; font-size: 13px; line-height: 1.3; min-height: 47px; -webkit-appearance: none; appearance: none;
}
.enquiry textarea { min-height: 97px; resize: vertical; }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: #000; opacity: 1; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: #fff; }
.enquiry fieldset { border: 0; margin: 0 0 15px; padding: 0; min-width: 0; }
.enquiry fieldset > legend + .chips, .enquiry fieldset > legend + .strip { margin-top: 8px; }
.strip { background: var(--olive-field); color: #000; border-radius: 12px; min-height: 47px; padding: 15px 16px; font-size: 12px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 10px; }
.chips.grid2 { display: grid; grid-template-columns: 298px 248px; gap: 8px 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; background: var(--olive-field); color: #000; border-radius: 12px; padding: 11px 16px; min-height: 39px; font-size: 13px;
  line-height: 17px; border: 2px solid transparent; transition: background 0.15s, border-color 0.15s;
}
.chips.row4 { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; justify-content: space-between; }
.chip input:checked + span { border-color: #fff; background: #ddd8b6; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.upload {
  position: relative; display: block; background: var(--olive-field); color: #000; border-radius: 12px; min-height: 61px;
  padding: 12px 70px 12px 17px; font-size: 13px; line-height: 1.3; cursor: pointer; border: 2px solid transparent;
}
.upload input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; cursor: pointer; }
.upload img { position: absolute; right: 9px; top: 50%; width: 41px; height: 41px; margin-top: -20px; }
.upload:focus-within { border-color: #fff; }
.upload .fname { display: block; font-weight: 500; margin-top: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 22px 5px; font-size: 12px; line-height: 18px; }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1px solid var(--olive-field); border-radius: 3px; background: transparent; cursor: pointer; }
.consent input:checked { background: var(--olive-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.8' fill='none' stroke='%2337261d' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat; }
.consent a { text-decoration: underline; }
.enquiry button.btn-white { cursor: pointer; font: inherit; }
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(255, 255, 255, 0.15); border: 1px solid #fff; }
.form-msg.err { display: block; background: rgba(120, 20, 10, 0.55); border: 1px solid #ffb3a8; }
.enquiry .invalid { border-color: #ffb3a8 !important; }
.field-err { display: none; color: #ffd9d2; font-size: 12px; margin: 5px 0 0 4px; }
.field-err.show { display: block; }


/* ---------- 12. 404 ---------- */
.nf { position: relative; min-height: 1025px; color: #fff; text-align: center; background: #0b0807 url("../assets/404-bg.jpg") center / cover no-repeat; }
.nf .content { position: absolute; left: 50%; top: 400px; transform: translateX(-50%); width: min(900px, 100%); padding: 0 var(--gutter); }
.nf .code { font-size: 26px; line-height: 1.2; }
.nf h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.5vw, 79px); line-height: 1.2; margin-top: -2px; }
.nf p { font-size: 24px; line-height: 1.3; max-width: 700px; margin: 26px auto 0; }
.nf .btn-white { margin-top: 62px; }

/* ---------- 13. Legal pages ---------- */
.legal { background: var(--cream-2); color: var(--ink); padding: 220px 0 120px; min-height: 70vh; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.15; }
.legal p { margin-top: 24px; font-size: 18px; line-height: 1.6; }
.legal .note { margin-top: 36px; padding: 18px 20px; background: #fff; border-left: 4px solid var(--brown); border-radius: 6px; }

/* ---------- 14. Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px); width: min(1240px, calc(100% - 32px));
  background: var(--espresso); color: #fcfcfc; border-radius: 8px; padding: 29px 35px 29px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.cookie.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie p { font-size: 18px; line-height: 1.3; max-width: 650px; }
.cookie .row { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.cookie button {
  width: 120px; height: 46px; border-radius: 6px; font-size: 16px; text-transform: uppercase; border: 1.5px solid var(--espresso);
  background: var(--espresso); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cookie button.decline { background: #f5f5f5; color: var(--espresso); border-color: #595959; box-shadow: none; }
.cookie a { margin-left: 20px; font-weight: 500; font-size: 16px; letter-spacing: 0.13em; text-transform: uppercase; }
.cookie a:hover { opacity: 0.75; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1360px) {
  .hero-home { padding-top: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }
  .footer-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .footer-bottom { left: var(--gutter); right: var(--gutter); }
}

@media (max-width: 1240px) {
  /* Absolutely-composed sections become flowing layouts */
  .vision-row { height: auto; padding: 0 var(--gutter) 40px; display: grid; gap: 50px; }
  .vision-copy { position: static; width: auto; }
  .vision-media { position: relative; left: auto; top: auto; width: 100%; max-width: 680px; height: 490px; margin: 0 auto; }
  .why-title { margin: 60px var(--gutter) 40px; }
  .home-dark-a { min-height: 0; padding-bottom: 20px; }
  .why-grid { grid-template-columns: minmax(0, 560px) minmax(0, 560px); column-gap: 30px; padding: 0 var(--gutter); justify-content: center; }
  .why-col .reason { width: auto; } .why-col .framed, .why-col + .why-col .framed { margin-left: 0; }
  .home-dark-b { margin-top: 0; padding-top: 22px; }
  .proof-links { margin-left: var(--gutter); }
  .proj-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .home-selected { min-height: 0; padding-bottom: 80px; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; }
  .process { min-height: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 var(--gutter); gap: 50px 20px; }

  .cap-hero { min-height: 0; padding: 220px var(--gutter) 60px; }
  .cap-hero .drawing { top: 120px; left: 50%; }
  .cap-hero h1, .cap-hero .rule-line, .cap-hero p { position: relative; left: auto; top: auto; margin: 0 auto; width: 100%; max-width: 920px; }
  .cap-hero h1 { font-size: clamp(38px, 6vw, 66px); padding-top: 60px; }
  .cap-hero .rule-line { max-width: 1296px; margin-top: 190px; }
  .cap-hero p { max-width: 760px; margin-top: 30px; }
  .cap-cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .studio-hero { min-height: 0; }
  .studio-hero .copy-wrap { height: auto; display: grid; gap: 50px; padding: 220px var(--gutter) 60px; grid-template-columns: 1fr; }
  .studio-hero .copy { position: static; width: auto; }
  .studio-hero .vrule, .studio-hero .photo-label { display: none; }
  .studio-hero .photo-frame { position: relative; left: auto; top: auto; width: 100%; max-width: 671px; height: auto; aspect-ratio: 627 / 677; padding: 0; justify-self: center; }
  .studio-hero .photo { position: absolute; left: 3.3%; top: 2.8%; width: 93.4%; height: 94.4%; }
  .studio-craft { min-height: 0; padding-bottom: 60px; }
  .studio-craft .box { height: auto; padding: 0 var(--gutter); display: grid; gap: 24px; }
  .studio-craft h2, .fcard, .studio-craft .machine, .studio-craft .tilt, .studio-craft .annot { position: relative; left: auto; top: auto; width: auto; }
  .studio-craft h2 { line-height: 1.3; }
  .fcard { width: 100%; max-width: 405px; }
  .studio-craft .machine { height: 0; padding-bottom: 33%; }
  .studio-craft .tilt { display: none; }
  .studio-craft .annot { font-size: 13px; }
  .studio-finish { grid-template-columns: 1fr 1fr; background-position: right top; }
  .studio-finish .txt { padding: 60px var(--gutter) 60px 60px; }
  .studio-finish .eyebrow, .studio-finish h2, .studio-finish p { margin-left: 0; }
  .studio-team { min-height: 0; padding-bottom: 60px; }
  .studio-team .box { height: auto; padding: 0 var(--gutter); display: grid; gap: 26px; }
  .studio-team .vr { display: none; }
  .studio-team .eyebrow, .studio-team h2, .studio-team .approved, .studio-team .tile, .studio-team .proof { position: relative; left: auto; top: auto; width: auto; }
  .studio-team .tile { height: 0; padding-bottom: 80%; }
  .studio-visit { min-height: 0; padding: 60px 0; }
  .studio-visit .box { height: auto; padding: 0 var(--gutter); display: grid; gap: 22px; }
  .studio-visit .eyebrow, .studio-visit h2, .studio-visit .body, .studio-visit .addr, .studio-visit .actions { position: relative; left: auto; top: auto; width: auto; }
  .studio-visit .pin, .studio-visit .vr { display: none; }
  .studio-visit .actions { flex-wrap: wrap; gap: 18px; }
  .studio-visit .actions .mid, .studio-visit .actions .last { margin-left: 0; }

  .contact, .contact .box { min-height: 0; }
  .contact .box { display: grid; grid-template-columns: 1fr; gap: 60px; padding: 230px var(--gutter) 100px; }
  .contact .left, .contact .form-wrap { position: relative; left: auto; top: auto; width: auto; max-width: 560px; }
}

@media (max-width: 1100px) {
  .cat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 var(--gutter); }
  .cat-card { width: 100%; }
  .hero-home { min-height: 0; padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; }
  .footer-brand .logo { font-size: 34px; }
  .footer-brand p { font-size: 15px; }
  .partner-cols, .odoo-head, .odoo-foot, .cap-docs .cols { grid-template-columns: 1fr; gap: 36px; }
  .cap-split { grid-template-columns: 1fr; }
  .cap-split .right { min-height: 420px; }
  .studio-finish { grid-template-columns: 1fr; background-position: center bottom; }
  .studio-finish .img { height: 420px; }
  .timeline { grid-template-columns: repeat(5, 1fr); row-gap: 28px; }
}

@media (max-width: 860px) {
  .nav { top: 16px; height: 60px; width: calc(100% - 24px); }
  .nav-inner { padding: 0 20px; }
  .nav-brand { font-size: 20px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 40px; height: 40px;
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; align-items: center; padding: 0;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-bg); border-radius: 8px; padding: 10px 20px 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-links a, .nav-contact { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .nav-contact { border: 1px solid #fff; margin: 14px 0 0; text-align: center; padding: 12px; }
  .nav-links a[aria-current="page"] { text-decoration: none; color: #e9c58f; }

  .hero-home { padding-top: 150px; }
  .hero-home h1 { font-size: clamp(40px, 11vw, 64px); line-height: 0.95; }
  .hero-home .hero-body { margin-top: 28px; font-size: 16px; }
  .cat-row { grid-template-columns: 1fr; margin-top: 60px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .cat-card { height: 220px; }
  .vision-copy h2 { font-size: 38px; }
  .vision-copy p { font-size: 18px; }
  .vision-media { height: auto; display: grid; gap: 22px; }
  .vision-media .frame { display: none; }
  .vision-media img { position: static; width: 100%; }
  .vision-media img.main { height: auto; aspect-ratio: 570 / 330; } .vision-media img.small { height: auto; aspect-ratio: 250 / 210; max-width: 60%; }
  .why-grid { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .why-col { gap: 24px; } .why-col + .why-col { margin-top: 24px; }
  .reason p, .reason h3 { font-size: 18px; }
  .framed img { height: auto; aspect-ratio: 530 / 255; }
  .home-dark-b { min-height: 0; }
  .proof-links { gap: 20px; padding-bottom: 50px; }
  .selected-head .side { padding-top: 0; font-size: 18px; }
  .selected-head .side a { margin-top: 24px; }
  .proj-row { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .proj .frame img { height: 520px; }
  .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .step:nth-child(n) { margin-top: 0; }
  .step .no { line-height: 56px; font-size: 40px; }
  .step:nth-child(n) .no { padding-left: 0; }
  .process { padding: 90px 0 80px; }
  .process .end-rule { margin-top: 50px; }
  .cta { padding-top: 90px; min-height: 0; padding-bottom: 80px; }
  .cta p.lead { font-size: 16px; }

  .footer, .footer-inner { min-height: 0; }
  .footer-inner { padding: 70px var(--gutter) 150px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { bottom: 36px; }
  .footer-bottom p { font-size: 12px; white-space: normal; }
  .footer-bottom img.line { margin-bottom: 20px; }

  .work-intro { min-height: 520px; }
  .work-intro .wrap { padding-top: 170px; flex-direction: column; gap: 14px; }
  .work-intro p { padding-top: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .wcat .frame { padding: 8px; }
  .sl-btn { width: 38px; height: 38px; margin-top: -19px; font-size: 24px; }
  .sl-btn.prev { left: 16px; } .sl-btn.next { right: 16px; }
  .sl-count { right: 18px; bottom: 18px; }
  .work-body h2 { margin-left: var(--gutter); font-size: 32px; }

  .cap-hero { padding-top: 130px; }
  .cap-hero .drawing { display: none; }
  .cap-hero .rule-line { margin-top: 40px; }
  .cap-cells { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .cap-cell h3 { font-size: 18px; bottom: 24px; }
  .cap-fab { padding-bottom: 90px; min-height: 0; } .cap-fab h2 { line-height: 1.2; }
  .cap-partners h2 { line-height: 1.2; }
  .cap-split .left { padding: 60px var(--gutter); }
  .deliver li { font-size: 20px; padding-left: 80px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }

  .studio-hero .copy-wrap { padding-top: 130px; }
  .studio-hero .lede { font-size: 20px; line-height: 1.5; }
  .studio-hero .loc { margin-left: 76px; }
  .studio-craft .machine { padding-bottom: 60%; }
  .studio-team .tile { padding-bottom: 90%; }
  .contact .box { padding-top: 130px; }
  .contact h1 { line-height: 1.1; }
  .workshop-card { height: auto; flex-direction: column; }
  .workshop-card .ph { flex: 0 0 200px; width: 100%; }
  .workshop-card .ph img { left: 0; width: 100%; }
  .workshop-card .info { padding: 24px 24px 28px; }
  .chips.grid2 { grid-template-columns: 1fr 1fr; }
  .chips.row4 { grid-template-columns: 1fr 1fr; }
  .nf .content { top: 220px; }
  .nf { min-height: 760px; }
  .nf p { font-size: 20px; }
  .legal { padding-top: 140px; }
  .cookie { padding: 22px 20px; bottom: 12px; }
  .cookie p { font-size: 16px; }
  .cookie a { margin-left: 0; width: 100%; }
}

@media (max-width: 480px) {
  .chips.grid2, .chips.row4 { grid-template-columns: 1fr; }
  .btn-white, .btn-dark { width: 100%; }
  .cap-cells { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mobile safety: let grid items shrink so nothing forces horizontal scroll */
@media (max-width: 1240px) {
  .vision-row, .studio-hero .copy-wrap, .studio-craft .box, .studio-team .box, .studio-visit .box, .contact .box { grid-template-columns: minmax(0, 1fr); }
  .vision-row > *, .studio-hero .copy-wrap > *, .studio-craft .box > *, .studio-team .box > *, .studio-visit .box > *, .contact .box > * { min-width: 0; max-width: 100%; }
}
@media (max-width: 860px) {
  .studio-finish { grid-template-columns: minmax(0, 1fr); }
  .studio-finish .txt { padding: 50px var(--gutter); }
  .studio-craft .box > *, .fcard { max-width: 100%; }
  .studio-craft .annot { max-width: 100%; }
}
@media (max-width: 1240px) {
  .fcard, .fcard.plain { left: auto !important; top: auto !important; }
  .fcard .t { width: auto; right: 16px; }
}
@media (max-width: 860px) {
  .studio-hero .loc { width: auto; margin-right: 0; }
  .fcard img.bg { width: calc(100% + 3px); height: 100%; }
}
@media (max-width: 1240px) {
  .fcard.plain::before { width: auto; right: 0; height: 100%; }
}
@media (max-width: 860px) {
  .why-grid { display: flex; flex-direction: column; gap: 14px; }
  .why-col { display: contents; }
  .why-col:first-child > :nth-child(4) { order: 6; }
  .why-col:first-child > :nth-child(1) { order: 1; } .why-col:first-child > :nth-child(2) { order: 2; } .why-col:first-child > :nth-child(3) { order: 3; }
  .why-col + .why-col > :nth-child(1) { order: 4; } .why-col + .why-col > :nth-child(2) { order: 5; }
  .why-col + .why-col > :nth-child(3) { order: 7; } .why-col + .why-col > :nth-child(4) { order: 8; }
  .why-col > * { margin-top: 0 !important; margin-bottom: 0 !important; }
}
@media (max-width: 860px) {
  .process h2 { padding-left: 0; font-size: 40px; }
}

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


