/* ==========================================================================
   KELLYRAY / STUDIO — main stylesheet
   Colors and fonts are defined once below in :root.
   ========================================================================== */

:root {
  --ink: #131313;
  --paper: #f0eee7;
  --paper-2: #e5e2d8;
  --paper-3: #d9d6cc;
  --lime: #d8ff3e;
  --orange: #ff6433;        /* decorative fills only */
  --orange-text: #b23a0e;   /* accessible orange for text on light backgrounds */
  --blue: #2f45e8;
  --muted: #4a4943;         /* secondary text on light backgrounds */
  --line: rgba(19, 19, 19, .2);
  --error: #a3240c;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin-top: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.services :focus-visible, .rush :focus-visible, .site-footer :focus-visible, .featured :focus-visible { outline-color: var(--lime); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; background: var(--lime); color: var(--ink); padding: .8rem 1rem; font: 500 14px var(--mono); }
.skip-link:focus { top: 1rem; }

.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
h2 em, h1 em { font-style: italic; color: var(--orange-text); }
.num { font: 500 12px var(--mono); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 48px; padding: .85rem 1.2rem; border: 1px solid var(--ink);
  font: 600 13px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; background: transparent; transition: background .2s, color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark span[aria-hidden] { color: var(--lime); }
.button-dark:hover { background: #000; }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button-accent { background: var(--orange); color: var(--ink); width: 100%; }
.button-accent:hover { background: #ff7a50; }
.link-button { background: none; border: 0; padding: .4rem 0; font: 500 13px var(--mono); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gutter); background: rgba(240, 238, 231, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.brand { font: 500 17px var(--mono); letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 400; }
.brand i { font-style: normal; color: var(--orange-text); margin: 0 .3em; }
.site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; position: relative; padding: .4rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.site-nav a:hover::after { width: 100%; }
.nav-cta-mobile { display: none; }
.header-cta { background: var(--ink); color: #fff; padding: .7rem 1rem; font: 600 13px var(--sans); text-decoration: none; white-space: nowrap; }
.header-cta span { color: var(--lime); }
.menu-button { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; }
.menu-button i { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; }
.menu-button[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(2rem, 4vw, 4rem); }
.kicker { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 100, 51, .18); flex: none; }
.hero h1 { font: 400 clamp(3.1rem, 9.4vw, 9.4rem)/.86 var(--serif); letter-spacing: -.045em; margin: clamp(2rem, 6vh, 4rem) 0 clamp(2rem, 5vh, 3.5rem); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; margin-left: 30%; }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; margin: 0; max-width: 600px; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; }
.hero-facts { list-style: none; padding: 0; margin: clamp(3rem, 7vh, 5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero-facts li { padding: 1.2rem 1rem 1.2rem 0; display: flex; flex-direction: column-reverse; gap: .2rem; }
.hero-facts b { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--serif); }
.hero-facts li > span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero-art { height: clamp(160px, 18vw, 240px); margin-top: 1.5rem; background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.art-word { position: absolute; left: 2%; bottom: -.18em; font: 400 clamp(7rem, 17vw, 16rem)/1 var(--serif); letter-spacing: -.07em; }
.orb { position: absolute; border-radius: 50%; }
.orb-one { width: clamp(140px, 17vw, 240px); aspect-ratio: 1; background: var(--lime); right: 8%; top: -40%; mix-blend-mode: screen; }
.orb-two { width: clamp(70px, 8vw, 110px); aspect-ratio: 1; background: var(--orange); right: 25%; bottom: -25%; }
.art-steps { position: absolute; right: 3%; bottom: 1.1rem; display: flex; gap: .8rem; font: 500 12px var(--mono); }

.proof-strip { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1rem var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 12px var(--mono); text-transform: uppercase; }

/* ---------- Shared section layout ---------- */
.section-pad { padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-heading > p { max-width: 400px; margin: 0; font-size: 15px; line-height: 1.6; }
h2 { font: 400 clamp(2.6rem, 6vw, 5.6rem)/.92 var(--serif); letter-spacing: -.035em; margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--ink); color: var(--paper); }
.services .eyebrow, .services .num { color: var(--lime); }
.services h2 em { color: var(--lime); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #444; }
.service-list article { padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 1rem 0; border-right: 1px solid #444; }
.service-list article + article { padding-left: clamp(1rem, 3vw, 2.5rem); }
.service-list article:last-child { border-right: 0; }
.service-list h3 { font: 400 clamp(2rem, 3vw, 2.6rem)/1 var(--serif); margin: 3.5rem 0 1rem; }
.service-list p { color: #c9c7bf; font-size: 15px; }
.service-list ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.service-list li { font: 400 13px var(--mono); padding: .7rem 0; border-top: 1px solid #333; }

/* ---------- Packages ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.price-card { border: 1px solid var(--line); padding: clamp(1.5rem, 2.5vw, 2.5rem); display: flex; flex-direction: column; background: var(--paper); }
.price-card.featured { background: var(--blue); color: #fff; border-color: var(--blue); }
.card-label { font: 500 12px var(--mono); letter-spacing: .08em; margin: 0; }
.price-card h3 { font: 400 clamp(2rem, 3vw, 2.5rem)/1 var(--serif); margin: 2.5rem 0 .75rem; }
.price { font-size: 14px; margin: 0; }
.price b { font: 400 clamp(2.4rem, 3.4vw, 3rem)/1 var(--serif); margin-left: .35rem; }
.price-desc { font-size: 15px; margin: 1rem 0 0; }
.scope { list-style: none; padding: 0; margin: 1.75rem 0; border-top: 1px solid var(--line); }
.featured .scope, .featured .turnaround div { border-color: rgba(255, 255, 255, .35); }
.scope li { padding: .75rem 0 .75rem 1.5rem; border-bottom: 1px solid var(--line); font-size: 14px; position: relative; }
.featured .scope li { border-color: rgba(255, 255, 255, .35); }
.scope li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.turnaround { margin: 0 0 1.75rem; }
.turnaround div { display: grid; gap: .25rem; }
.turnaround dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.turnaround dd { margin: 0; font-size: 14px; font-weight: 600; }
.price-card .button { margin-top: auto; }
.exclusions { margin-top: 2.5rem; padding: 1.5rem; border: 1px dashed var(--ink); }
.exclusions ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.exclusions li { font: 400 13px var(--mono); padding: .4rem .7rem; background: var(--paper-2); }

/* ---------- Rush ---------- */
.rush { background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rush .eyebrow { color: var(--lime); }
.rush h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.rush-pct { display: block; color: var(--lime); font-size: 1.6em; line-height: .9; margin-bottom: .2em; }
.rush-intro > p:last-child { color: #d6d4cc; margin: 1.5rem 0 0; max-width: 460px; }
.rush-table { border-top: 1px solid #555; }
.rush-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #555; font-size: 15px; }
.rush-row span:last-child { font-weight: 700; color: var(--lime); }
.rush-head { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #bdbbb3; }
.rush-head span:last-child { color: #bdbbb3; font-weight: 500; }
.rush-rules { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
.rush-rules li { padding: 1rem 1.2rem; background: #222; font-size: 14px; color: #d6d4cc; }
.rush-rules b { color: #fff; }

/* ---------- Ready-made ---------- */
.ready-made { background: var(--paper-2); }
.ready-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ready-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ready-visual { display: block; aspect-ratio: 4 / 3.4; position: relative; overflow: hidden; padding: 1.5rem; text-decoration: none; }
.rv-tag { font: 500 12px var(--mono); letter-spacing: .06em; position: relative; z-index: 2; }
.ready-visual strong { display: block; position: relative; z-index: 2; margin-top: 18%; font: 400 clamp(2.2rem, 3.6vw, 3.6rem)/.88 var(--serif); letter-spacing: -.03em; }
.signal-visual { background: var(--lime); color: var(--ink); }
.signal-visual::after { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border: 2.4rem solid var(--orange); border-radius: 50%; right: -18%; bottom: -22%; }
.rv-cta { position: absolute; left: 1.5rem; bottom: 1.5rem; font: 500 12px var(--mono); z-index: 2; border-bottom: 1px solid; }
.matter-visual { background: #22294a; color: #d4dcff; }
.matter-visual strong i { font-weight: 400; }
.rv-grid { position: absolute; width: 60%; aspect-ratio: 1; right: -8%; bottom: -14%; transform: rotate(12deg); background: repeating-linear-gradient(90deg, transparent 0 34px, #899cff 34px 35px), repeating-linear-gradient(0deg, transparent 0 34px, #899cff 34px 35px); }
.north-visual { background: #a04a25; color: #fbe6c6; }
.rv-pot { position: absolute; width: 42%; aspect-ratio: 3 / 4; right: -2%; bottom: -14%; border-radius: 48% 48% 40% 40%; background: #7d301e; transform: rotate(12deg); }
.rv-pot.small { width: 22%; right: 38%; bottom: -10%; background: #e3b982; transform: rotate(-6deg); }
.ready-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sample-label { display: inline-block; align-self: flex-start; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .6rem; border: 1px solid var(--ink); margin-bottom: 1rem; }
.ready-body h3 { font: 400 2.3rem/1 var(--serif); margin: 0 0 .75rem; }
.ready-body > p:not(.sample-label) { font-size: 15px; }
.ready-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: auto 0 1.25rem; }
.ready-facts dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ready-facts dd { margin: .2rem 0 0; font-weight: 700; }
.ready-facts div:first-child dd { font: 400 2rem/1 var(--serif); }
.ready-actions { display: grid; gap: .6rem; }
.ready-note { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; font-size: 14px; }
.ready-note p { margin: 0; }

/* ---------- Featured project ---------- */
.featured-project { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--paper-3); }
.project-visual { display: flex; flex-direction: column; }
.project-visual .vennix-screen { flex: 1; aspect-ratio: auto; min-height: 420px; }
.browser-bar { height: 34px; background: #2b2b2b; color: #fff; display: flex; align-items: center; gap: 6px; padding: 0 12px; font: 11px var(--mono); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #777; }
.browser-bar span { margin: auto; }
.vennix-screen, .case-visual { aspect-ratio: 16 / 11; background: #b7c0bd; position: relative; overflow: hidden; }
.v-nav { padding: 1.4rem 1.8rem; font: 700 20px var(--sans); position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.v-nav span { font: 400 11px var(--mono); }
.v-copy { position: absolute; left: 6%; top: 22%; z-index: 2; }
.v-copy > * { display: block; }
.v-copy small { font: 500 11px var(--mono); margin-bottom: 1.5rem; }
.v-copy b { font: 700 clamp(2.4rem, 5.4vw, 5.6rem)/.84 var(--sans); letter-spacing: -.07em; }
.v-copy u { font: 500 11px var(--mono); margin-top: 1.5rem; }
.v-shape { position: absolute; width: 50%; height: 88%; right: 6%; bottom: -10%; background: linear-gradient(150deg, #e7d5c4 0 30%, #43342c 31% 60%, #111 61%); border-radius: 46% 46% 5% 5%; transform: rotate(7deg); }
.project-info { padding: clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.project-top { display: flex; justify-content: space-between; align-items: center; }
.badge { font: 500 12px var(--mono); border: 1px solid; padding: .4rem .6rem; letter-spacing: .06em; }
.project-info h3 { font: 400 clamp(2.8rem, 4.5vw, 4.4rem)/1 var(--serif); margin: 2rem 0 1rem; }
.project-info p { font-size: 15px; }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.tags li { padding: .7rem 0; border-bottom: 1px solid var(--line); font: 400 13px var(--mono); text-transform: uppercase; }
.project-info .button { align-self: flex-start; }

/* ---------- Process ---------- */
.process { background: var(--paper-2); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 8vw, 8rem); }
.process-lede { margin-top: 2rem; max-width: 380px; }
.process ol { list-style: none; padding: 0; margin: 0; }
.process li { display: flex; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li b { font: 500 13px var(--mono); color: var(--orange-text); padding-top: .4rem; }
.process li strong { font: 400 1.9rem/1.1 var(--serif); }
.process li p { font-size: 15px; margin: .4rem 0 0; }

/* ---------- Fit ---------- */
.fit { background: var(--lime); }
.fit h2 em { color: var(--ink); }
.fit-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); }
.fit-col h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: 1rem; }
.fit-col ul { list-style: none; padding: 0; margin: 0; }
.fit-col li { padding: 1rem 0 1rem 2rem; border-top: 1px solid rgba(0, 0, 0, .3); position: relative; font-size: 16px; }
.fit-col li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.fit-col.not li::before { content: "✕"; }

/* ---------- FAQ ---------- */
.faq-list { margin-left: 30%; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; cursor: pointer; font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.2 var(--serif); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.6rem var(--mono); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 3rem 1.5rem 0; font-size: 16px; margin: 0; }

/* ---------- Inquiry ---------- */
.inquiry { background: var(--paper-3); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.inquiry-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 2rem; }
.honest-note { margin-top: 2.5rem; padding: 1.25rem; background: var(--paper); border-left: 4px solid var(--orange); }
.honest-note p:last-child { margin: 0; font-size: 15px; }
.email-direct { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; justify-items: start; }
.email-direct .eyebrow { margin: 0; }
.email-big { font: 500 clamp(1rem, 2.2vw, 1.3rem) var(--mono); text-underline-offset: 5px; overflow-wrap: anywhere; }
.inquiry-form { background: var(--paper); padding: clamp(1.25rem, 3vw, 2.75rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.4rem; min-width: 0; }
.field label { display: block; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.req { color: var(--error); }
.opt { text-transform: none; color: var(--muted); }
input:not([type="checkbox"]), select, textarea {
  width: 100%; margin-top: .4rem; padding: .75rem .1rem; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; font: 400 16px var(--sans); color: var(--ink);
}
select { appearance: none; -webkit-appearance: none; padding-right: 1.6rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131313' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .2rem center; }
textarea { resize: vertical; min-height: 130px; }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
[aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 2px 0 var(--error) !important; }
.field-error { color: var(--error); font-size: 14px; font-weight: 600; margin: .4rem 0 0; }
.field-error:empty { display: none; }
.field-help { font-size: 13px; color: var(--muted); margin: .4rem 0 0; }
.rush-check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-items: center; border: 1px solid var(--ink); padding: 1rem; }
.rush-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--orange-text); cursor: pointer; }
.rush-check label { text-transform: none; cursor: pointer; font-size: 14px; }
.rush-help { grid-column: 2; margin: 0; font-size: 13px; color: var(--muted); }
.rush-check.is-disabled { opacity: .6; }
.rush-check.is-disabled label, .rush-check.is-disabled input { cursor: not-allowed; }
.form-legend { font-size: 13px; color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); margin: .9rem 0 0; }
.form-result { margin-top: 1.5rem; padding: 1.25rem; border: 2px solid var(--ink); background: #fff; }
.form-result:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.result-title { font-weight: 700; font-size: 17px; margin-bottom: .5rem; }
.form-result p { font-size: 15px; }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.result-preview { margin-top: 1rem; }
.result-preview summary { cursor: pointer; font: 500 13px var(--mono); text-transform: uppercase; }
.result-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 var(--mono); background: var(--paper); padding: 1rem; margin: .75rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 2rem; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.footer-top p { color: #c4c2ba; font-size: 14px; max-width: 380px; margin-top: 1rem; }
.site-footer .brand i { color: var(--orange); }
.footer-contact { display: grid; justify-items: start; gap: .3rem; }
.footer-contact .eyebrow { color: var(--lime); margin: 0; }
.footer-contact a { font: 500 15px var(--mono); overflow-wrap: anywhere; }
.footer-contact .link-button { color: #c4c2ba; font-size: 12px; }
.footer-word { font: 400 clamp(5rem, 22vw, 22rem)/.8 var(--serif); letter-spacing: -.06em; color: var(--lime); margin: clamp(3rem, 6vw, 5rem) 0 2rem; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font: 400 12px var(--mono); color: #b5b3ab; border-top: 1px solid #333; padding-top: 1.2rem; }

/* ---------- Dialog ---------- */
.case-dialog { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); overflow: auto; }
.case-dialog::backdrop { background: rgba(17, 17, 17, .78); }
.dialog-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1.25rem, 4vw, 2.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.dialog-head .eyebrow { margin: 0; color: var(--orange-text); }
.dialog-close { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: #fff; }
.dialog-body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.dialog-body h2 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 1.25rem; }
.dialog-lede { font-size: 18px; max-width: 640px; }
.case-visual { margin: 2rem 0; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 2rem; }
.case-facts div { padding: 1rem 1rem 1rem 0; }
.case-facts dt { font: 500 12px var(--mono); text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: .2rem 0 0; font-weight: 600; }
.dialog-body h3 { font: 400 1.8rem/1.1 var(--serif); margin: 2rem 0 .75rem; }
.dialog-body ul { padding-left: 1.2rem; }
.dialog-body li { margin-bottom: .6rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 300; transform: translate(-50%, 200%); max-width: calc(100vw - 32px); background: var(--lime); color: var(--ink); padding: .8rem 1.2rem; font: 500 14px var(--mono); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Entrance animation ---------- */
.reveal { animation: rise .7s both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Tablet & mobile
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav { gap: 1.1rem; font-size: 13px; }
  .hero-bottom { margin-left: 0; }
  .ready-grid { grid-template-columns: 1fr 1fr; }
  .ready-card:last-child { grid-column: 1 / -1; }
  .ready-card:last-child .ready-visual { aspect-ratio: 16 / 7; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-button { display: block; }
  .header-cta { display: none; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
    font-size: 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-cta-mobile { display: block; margin-top: 1rem; border: 0 !important; background: var(--ink); color: #fff; text-align: center; font-weight: 600; }

  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .art-steps { display: none; }
  .section-heading { flex-direction: column; align-items: start; }
  .service-list, .price-grid { grid-template-columns: 1fr; }
  .service-list article, .service-list article + article { border-right: 0; border-bottom: 1px solid #444; padding: 2rem 0; }
  .service-list h3 { margin-top: 1.5rem; }
  .rush { grid-template-columns: 1fr; }
  .featured-project, .process-grid, .inquiry { grid-template-columns: 1fr; }
  .faq-list { margin-left: 0; }
  .ready-note { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top .button { justify-self: start; }
}

@media (max-width: 640px) {
  .hero-actions .button { width: 100%; }
  .proof-strip { flex-direction: column; gap: .4rem; }
  .ready-grid { grid-template-columns: 1fr; }
  .ready-card:last-child .ready-visual { aspect-ratio: 4 / 3.4; }
  .fit-cols, .field-row { grid-template-columns: 1fr; }
  .rush-row { grid-template-columns: 1fr 1fr; }
  .rush-row span:first-child { grid-column: 1 / -1; font-weight: 700; }
  .rush-head { display: none; }
  .rush-row span[data-pkg-rush]::before { content: "Turnaround: "; display: block; font: 500 11px var(--mono); color: #bdbbb3; text-transform: uppercase; }
  .rush-row span[data-pkg-rush-price]::before { content: "From: "; display: block; font: 500 11px var(--mono); color: #bdbbb3; text-transform: uppercase; }
  .case-facts { grid-template-columns: 1fr; }
  .case-facts div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .case-facts div:last-child { border-bottom: 0; }
  .faq-list details p { padding-right: 0; }
  .v-nav span { display: none; }
}

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