/* Custom Idea LLC — portfolio site (drawing-set styling) */
:root {
  --ink: #0b0b0b;
  --grey: #6b6b6b;
  --line: #e6e6e6;
  --panel: #f5f5f4;
  --white: #fff;
  --header: 74px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --label: "Montserrat", var(--sans);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 17px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 76px); }
h2 { font-size: clamp(34px, 4.3vw, 58px); }
h3 { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--grey); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.story :focus-visible, .footer :focus-visible, .tile-ig :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.label { font-family: var(--label); text-transform: uppercase; letter-spacing: .3em; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececea; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a2a; }
.btn-line { color: var(--ink); border-color: #cfcfcf; background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.link { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ig-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.ig-ico .dot { fill: currentColor; stroke: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; margin-right: auto; }
.brand img { width: 27px; height: auto; }
.brand em { font-style: normal; font-weight: 500; color: var(--grey); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--grey); transition: color .2s; padding: 6px 0; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"]:not(.btn) { color: var(--ink); }
.nav > a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav .nav-cta { margin-left: 4px; color: #fff; }
.nav-contact { display: none; }
.menu-btn { display: none; }
.site-header .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ============ STORY ============ */
.story { position: relative; height: 600vh; background: #141210; }
.story-pin { position: sticky; top: var(--header); height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); overflow: hidden; color: #fff; }
.story-media { position: absolute; inset: 0; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; will-change: opacity; }
.shot:first-child { opacity: 1; }
.shot picture, .shot img { width: 100%; height: 100%; }
.shot img { object-fit: cover; transform: scale(var(--z, 1.06)); transform-origin: 60% 50%; will-change: transform; }

.shot.is-missing img { visibility: hidden; }
.shot.is-missing { background: radial-gradient(60% 70% at 68% 45%, #cfc6b8 0%, #9d9384 55%, #4e463d 100%); }
.shot.is-missing::after { content: "Photo slot · " attr(data-ph); position: absolute; right: var(--pad); top: 24px; font: 600 11px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); border: 1px dashed rgba(255,255,255,.45); border-radius: 999px; padding: 8px 14px; }

.shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.5) 34%, rgba(8,8,8,0) 62%),
    linear-gradient(0deg, rgba(8,8,8,.7) 0%, rgba(8,8,8,0) 30%); }

.story-copy { position: absolute; inset: 0; margin-inline: auto; display: grid; align-items: center; pointer-events: none; }
.step { grid-area: 1 / 1; max-width: 600px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s; visibility: hidden; padding-bottom: 40px; }
.step.is-active { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .6s var(--ease) .1s, transform .7s var(--ease) .1s, visibility 0s; }
.step h1 { max-width: 12ch; }
.step h2 { max-width: 13ch; }
.step .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.scroll-hint { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 600 11px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); transition: opacity .4s; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(#fff, transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
.scroll-hint.is-hidden { opacity: 0; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.story-bar { position: absolute; left: 0; right: 0; margin-inline: auto; bottom: 0; display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; gap: 24px; padding-block: 22px; }
.count, .pct { font: 600 13px/1 var(--label); letter-spacing: .15em; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.count b { color: #fff; font-weight: 600; }
.pct { text-align: right; }
.segments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.segments button { all: unset; box-sizing: border-box; display: grid; gap: 9px; width: 100%; padding: 8px 0; cursor: pointer; }
.segments button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.seg-name { font: 600 10px/1 var(--label); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .3s; }
.segments button[aria-current] .seg-name, .segments button:hover .seg-name { color: #fff; }
.seg-track { display: block; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.seg-track i { display: block; height: 100%; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }

/* ============ DRAWING-SET SYSTEM ============ */
section:not(.story) { padding-block: clamp(80px, 10vw, 140px); }

/* Sheet tag: [A-201] |——————| SELECTED WORK  (a dimension line between) */
.sheet { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; font: 600 11px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }
.sheet-no { flex: none; white-space: nowrap; border: 1px solid var(--ink); color: var(--ink); padding: 7px 8px 7px 11px; border-radius: 3px; letter-spacing: .2em; }
.sheet-rule { flex: 0 1 120px; height: 9px; position: relative; }
.sheet-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: #bdbdbd; }
.sheet-rule::after { content: ""; position: absolute; inset: 0; border-left: 1px solid #bdbdbd; border-right: 1px solid #bdbdbd; }

.section-head { margin-bottom: 56px; }
.section-head.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.section-head.split h2 { max-width: 16ch; }
.section-head.split .muted { max-width: 38ch; font-size: 17px; }

.intro { padding-bottom: 40px !important; }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.intro h2 { max-width: 15ch; }
.intro-text { font-size: clamp(18px, 1.5vw, 20px); color: var(--grey); }
.notes { margin: 36px 0 0; border-top: 1px solid var(--line); }
.notes div { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notes dt { font: 600 12px/1.6 var(--label); letter-spacing: .15em; color: var(--grey); }
.notes dd { margin: 0; font-weight: 500; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.tile { margin: 0; }
.tile-a { grid-column: 1 / 8; }
.tile-b { grid-column: 8 / 13; }
.tile-c { grid-column: 1 / 6; }
.tile-ig { grid-column: 6 / 13; }
.tile-btn { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: 14px; overflow: hidden; background: var(--panel); position: relative; }
.tile-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tile-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.tile-b .tile-btn img { aspect-ratio: 20 / 21; }
.tile-btn:hover img { transform: scale(1.03); }
.tile figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: baseline; padding: 16px 2px 0; }
.tag { grid-row: span 2; font: 600 10px/1 var(--label); letter-spacing: .2em; border: 1px solid var(--line); padding: 6px 7px; border-radius: 3px; color: var(--grey); align-self: start; }
.tile figcaption b { font-size: 17px; }
.spec { color: var(--grey); font-size: 14.5px; }
.tile-ig { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 320px;
  background-image: radial-gradient(120% 90% at 100% 0%, #2a2520 0%, var(--ink) 60%); }
.tile-ig .label { color: rgba(255,255,255,.6); margin: 0 0 auto; }
.tile-ig h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.tile-ig p:not(.label) { color: rgba(255,255,255,.7); max-width: 40ch; }
.tile-ig .btn { align-self: flex-start; margin-top: 10px; }

/* Capabilities */
.capabilities { border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s var(--ease); }
.card:hover { border-color: #d6d6d6; box-shadow: 0 18px 40px -26px rgba(0,0,0,.28); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-no { font: 600 10px/1 var(--label); letter-spacing: .25em; color: var(--grey); }
.card h3 { font-size: 19px; }
.card-body > p:not(.card-no) { color: var(--grey); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spec-list { list-style: none; margin: auto 0 0; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-list li { font-size: 12px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--grey); }

/* For contractors */
.trade { background: var(--panel); }
.trade-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.trade h2 { max-width: 13ch; }
.trade .muted { margin-top: 20px; max-width: 40ch; }
.trade-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dcdcda; }
.trade-list li { display: grid; grid-template-columns: 64px 1fr; padding: 26px 0; border-bottom: 1px solid #dcdcda; }
.trade-list span { font: 600 13px/1.5 var(--label); letter-spacing: .2em; color: var(--grey); }
.trade-list b { font-size: 19px; letter-spacing: -0.01em; }
.trade-list p { color: var(--grey); margin-top: 4px; }

/* Shop / FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.texture { margin: 40px 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 3; }
.texture img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--grey); }

/* Floating Instagram button */
.ig-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.ig-fab .ig-ico { width: 24px; height: 24px; }
.ig-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.ig-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Instagram popup */
.ig-modal { width: min(1000px, 94vw); height: min(88vh, 920px); max-height: none; max-width: none; padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); overflow: hidden; }
.ig-modal[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
.ig-modal::backdrop, .lightbox::backdrop { background: rgba(10,10,10,.6); backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.ig-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); flex: none; }
.ig-avatar { width: 48px; height: 48px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; }
.ig-who { margin-right: auto; min-width: 0; }
.ig-who h2 { font-size: 19px; letter-spacing: -0.01em; }
.ig-who p { color: var(--grey); font-size: 14px; }
.ig-head .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.ig-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; flex: none; }
.ig-close:hover { border-color: var(--ink); }
.ig-feed { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(326px, 1fr)); gap: 20px; align-items: start; background: var(--panel); }
.ig-feed .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
.ig-feed blockquote.instagram-media { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px 20px; text-align: center; font-size: 14px; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox[open] { display: grid; justify-items: center; gap: 12px; animation: pop .3s var(--ease); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 12px; }
.lightbox .ig-close { position: absolute; top: -16px; right: -16px; }
.lb-cap { color: #fff; font-size: 15px; text-align: center; max-width: 60ch; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .intro-grid, .trade-grid, .faq-grid, .section-head.split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .brand { font-size: 17px; }
  .site-header .btn { min-height: 40px; padding: 0 14px; }

  .shade { background: linear-gradient(0deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.62) 40%, rgba(8,8,8,0) 72%); }
  .shot img { object-position: 63% 50%; transform-origin: 63% 40%; }
  .story-copy { align-items: end; padding-bottom: 64px; }
  .step { padding-bottom: 0; }
  .step .lead { margin-top: 14px; }
  .actions { margin-top: 22px; }
  .step .actions .btn { flex: 1 1 auto; }
  .scroll-hint { display: none; }
  .story-bar { grid-template-columns: 1fr; padding-block: 18px 20px; }
  .count, .pct, .seg-name { display: none; }
  .segments { gap: 6px; }
  .segments button { padding: 10px 0; }

  .sheet { margin-bottom: 28px; }
  .sheet { gap: 10px; letter-spacing: .2em; }
  .sheet-rule { flex: 0 0 28px; }
  .section-head { margin-bottom: 36px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .tile-a, .tile-b, .tile-c, .tile-ig { grid-column: auto; }
  .tile-b .tile-btn img { aspect-ratio: 4 / 3; }

  /* capabilities become a swipe rail (scrolls inside itself; the page never scrolls sideways) */
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: start; }

  .trade-list li { grid-template-columns: 48px 1fr; }
  .trade .actions .btn { flex: 1 1 100%; }

  .ig-fab { right: 16px; bottom: 16px; }
  .ig-modal { width: 100vw; height: 100dvh; border-radius: 0; }
  .ig-head { padding: 14px 16px; gap: 12px; }
  .ig-who p { display: none; }
  .ig-feed { padding: 16px; grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .site-header .btn span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .shot img { transform: none !important; }
  .card:hover .card-img img, .tile-btn:hover img { transform: none; }
  .step { transform: none; }
}

/* ================= MULTI-PAGE ADDITIONS ================= */
.footer .label, .tile-ig .label { margin-bottom: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; width: fit-content; }
.arrow-link span { transition: transform .25s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }
.head-side { display: grid; gap: 18px; justify-items: start; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 64px) !important; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 13ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.lead-dark { font-size: clamp(17px, 1.5vw, 20px); color: var(--grey); max-width: 42ch; }
.lead-dark a { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.jump a { font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--grey); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* Home cards as links */
a.card { text-decoration: none; color: inherit; }
.card-more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; }
.work:not(.work-page) .work-grid .tile-a { grid-column: 1 / 8; }
.work:not(.work-page) .work-grid .tile-b { grid-column: 8 / 13; }
.work-page { padding-top: clamp(48px, 6vw, 80px) !important; }

/* Services page */
.services-list { padding-top: clamp(48px, 6vw, 80px) !important; }
.service { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 16px); }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) .service-img { order: 2; }
.service-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { display: grid; gap: 16px; justify-items: start; }
.service-body h2 { font-size: clamp(30px, 3.2vw, 44px); }
.service-body > p:not(.card-no) { color: var(--grey); font-size: 17px; max-width: 48ch; }
.spec-rows { list-style: none; margin: 8px 0 8px; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.spec-rows li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-rows span { font: 600 10px/2 var(--label); letter-spacing: .25em; text-transform: uppercase; color: var(--grey); }
#trade { scroll-margin-top: var(--header); }

/* Instagram inline feed (work page) */
.ig-section { border-top: 1px solid var(--line); }
.ig-inline { padding: 0; background: none; overflow: visible; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.quotes:empty { display: none; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.stars { letter-spacing: .15em; font-size: 15px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 14px; }
.quote figcaption span { color: var(--grey); }
.refs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.refs-main, .refs-side { border-radius: 18px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.refs-main { background: var(--ink); color: #fff; background-image: radial-gradient(120% 90% at 100% 0%, #2a2520 0%, var(--ink) 60%); }
.refs-main .card-no { color: rgba(255,255,255,.55); }
.refs-main h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 14ch; }
.refs-main > p:not(.card-no) { color: rgba(255,255,255,.72); max-width: 46ch; }
.refs-main .btn-ink { background: #fff; color: var(--ink); }
.refs-main .btn-line { color: #fff; border-color: rgba(255,255,255,.4); }
.refs-main .btn-line:hover { border-color: #fff; }
.refs-side { background: var(--panel); border: 1px solid var(--line); }
.refs-side > p:not(.card-no) { color: var(--grey); }

/* FAQ page */
.faq-page { display: grid; gap: 56px; max-width: 980px; }
.faq-group { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.faq-h { font-size: 22px; letter-spacing: -0.01em; padding-top: 22px; }
.faq details a { color: var(--ink); }
.faq .link { color: var(--ink); }

/* Quote page */
.quote-section { padding-top: clamp(48px, 6vw, 80px) !important; }
.quote-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 28px; }
.form fieldset { margin: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 18px; min-width: 0; }
.form legend { font: 600 11px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--grey); padding: 0 10px; margin-left: -10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.req { color: #b3261e; }
.opt { color: var(--grey); font-weight: 400; }
.form input:not([type=checkbox]), .form select, .form textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #dcdcdc; border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex !important; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-block; font-weight: 500; font-size: 14px; border: 1px solid #dcdcdc; border-radius: 999px; padding: 9px 16px; transition: background-color .2s, color .2s, border-color .2s; }
.check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 13px; color: var(--grey); max-width: 44ch; }
.quote-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header) + 24px); }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 8px; justify-items: start; }
.side-card .card-no { margin-bottom: 4px; }
.side-phone { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.side-mail { font-size: 15px; overflow-wrap: anywhere; }
.side-card > p:not(.card-no) { color: var(--grey); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 26px; font-size: 15px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: rgba(255,255,255,.66); font-size: 15px; }
.footer a, .footer .ig-chip { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s; }
.footer a:hover, .footer .ig-chip:hover { color: #fff; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta .label { color: rgba(255,255,255,.5); }
.footer-cta h2 { color: #fff; max-width: 15ch; font-size: clamp(34px, 4.3vw, 58px); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer .footer-cta .btn-white { color: var(--ink); }
.footer .footer-cta .btn-ghost { color: #fff; }
[data-page="quote"] .footer-cta .btn-quote { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr 1.3fr; gap: 40px; padding-block: 56px; }
.footer-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer-brand p { max-width: 34ch; line-height: 1.6; }
.brand-light { color: #fff !important; margin: 0; }
.brand-light em { color: rgba(255,255,255,.55); }
.ig-chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 16px 9px 12px; font: 500 14px/1 var(--sans); cursor: pointer; }
.ig-chip:hover { border-color: rgba(255,255,255,.4); }
.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-h { font: 600 10px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 8px; }
.footer-h-gap { margin-top: 18px; }
.footer-email { overflow-wrap: anywhere; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.45); }
.footer-sheet { display: flex; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; font: 600 10px/1 var(--label); letter-spacing: .25em; text-transform: uppercase; }
.footer-sheet span { padding: 8px 12px; }
.footer-sheet span + span { border-left: 1px solid rgba(255,255,255,.16); }

/* ================= RESPONSIVE (multi-page) ================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .page-hero-grid, .quote-grid, .refs { grid-template-columns: 1fr; gap: 28px; }
  .quote-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .faq-group { grid-template-columns: 1fr; gap: 8px; }
  .faq-h { padding-top: 0; }
  .quotes { grid-template-columns: 1fr 1fr; }

  /* mobile menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-btn { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; margin-left: 4px; }
  .menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s; z-index: 49; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
  .nav > a:not(.btn) { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav > a[aria-current="page"]:not(.btn)::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; margin-top: -4px; }
  .nav .nav-cta { margin: 24px 0 0; min-height: 52px; font-size: 16px; }
  .nav-contact { display: block; margin-top: 20px; color: var(--grey); font-size: 15px; line-height: 1.7; }
}

@media (max-width: 768px) {
  .work:not(.work-page) .work-grid .tile-a, .work:not(.work-page) .work-grid .tile-b { grid-column: auto; }
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service:nth-child(even) .service-img { order: 0; }
  .spec-rows li { grid-template-columns: 1fr; gap: 2px; }
  .quotes { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-cta { align-items: flex-start; }
  .footer-cta-actions, .footer-cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* Reviews */
.rating-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.rating-score { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rating-bar p:not(.rating-score) { color: var(--grey); font-size: 15px; margin-top: 4px; }
.rating-bar .jump { margin: 0 0 0 auto; }
.review-group { scroll-margin-top: calc(var(--header) + 16px); }
.review-group + .review-group { margin-top: 24px; }
.group-h { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 20px; }
.quote-top { display: flex; justify-content: space-between; align-items: center; }
.quote blockquote { font-size: 17px; line-height: 1.55; }
.stars { color: var(--ink); letter-spacing: .12em; font-size: 15px; }
.reviews-preview { background: var(--panel); }
.reviews-preview .quotes { margin-bottom: 0; }
.ink { color: var(--ink); }
@media (max-width: 768px) {
  .rating-bar .jump { margin-left: 0; }
  .rating-score { font-size: 52px; }
}
