/* ==========================================================================
   Scarlett Embroidery — design system
   Built from the Figma "ScarlettEmbroidery Website" design.
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.05e62dbd099a.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.1a185d4957d0.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.154a15676f03.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.b57c15104210.woff2") format("woff2"); }

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --ink: #0a0a0a;
  --ink-80: #111111c4;
  --ink-70: #111111c4;
  --ink-60: #111111b3;
  --ink-line: #11111121;
  --ink-line-soft: #11111114;
  --paper: #f4f6f8;
  --card: #ffffff;
  --sand: #eceff2;
  --sand-2: #e4e4e4;
  --gold: #f0a84c;
  --gold-light: #f7c27f;
  --gold-mid: #f99a26;
  --gold-dark: #9a5b0a;
  --gold-wash: #fff3de;
  --night: #f4f6f8;
  --night-deep: #ffffff;
  --night-raised: #eceff2;
  --night-card: #ffffff;
  --bone: #0a0a0a;
  --bone-80: #0a0a0acc;
  --bone-70: #0a0a0a99;
  --bone-55: #0a0a0a9e;
  --night-line: #0a0a0a1a;
  --night-line-strong: #0a0a0a2e;
  --danger: #b3261e;
  --danger-wash: #fbe9e7;
  --ok: #2f6b3a;
  --ok-wash: #e6f2e7;

  --f-display: "Poppins", sans-serif;
  --f-mono: "Poppins", sans-serif;
  --f-body: "Poppins", sans-serif;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-card: 0 2px 10px #1111110f;
  --shadow-raised: 0 4px 16px #11111114;
  --clip-sm: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --clip: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --header-h: 64px;
  --gutter: 32px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body { font-family: var(--f-body); color: var(--ink); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold-mid); }
::selection { background: #f2c87759; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
@keyframes pulseDot { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; }

/* ── Layout helpers ────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: 72px; }
.section-last { padding-bottom: 80px; }
.dark { background: var(--night); color: var(--bone); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; }
.muted { color: var(--ink-70); }
.dark .muted { color: var(--bone-70); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 32px; }
.mb-s { margin-bottom: 12px; } .mb-m { margin-bottom: 20px; } .mb-l { margin-bottom: 32px; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }

/* ── Type ──────────────────────────────────────────────────────────────── */
.kicker { font-family: var(--f-mono); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.dark .kicker, .kicker-gold { color: var(--gold); }
.mono { font-family: var(--f-mono); }
.label { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 6px; }
.dark .label, .console .label { color: var(--bone-55); }
.display { font-family: var(--f-display); font-weight: 700; text-transform: none; letter-spacing: -.02em; line-height: 1.08; }
.d-hero { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 22px; }
.d-xl { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.d-l { font-size: clamp(32px, 3.9vw, 50px); line-height: 1.1; }
.d-m { font-size: clamp(28px, 3.2vw, 42px); }
.d-s { font-size: clamp(25px, 2.7vw, 36px); }
.d-xs { font-size: clamp(21px, 2.1vw, 27px); letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; text-transform: none; line-height: 1.25; }
.h4 { font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: -.005em; text-transform: none; line-height: 1.3; }
.lead { font-size: 17px; color: var(--ink-80); max-width: 58ch; }
.dark .lead { color: #555b61; }
.accent { color: var(--gold); }
.brand-word { font-family: var(--f-display); font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.brand-word span { color: var(--gold); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 11px 18px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-lg { font-size: 14.5px; padding: 15px 26px; }
.btn-md { font-size: 13.5px; padding: 12px 20px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); clip-path: var(--clip-sm); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-lg.btn-gold, .btn-md.btn-gold { clip-path: var(--clip); }
.btn-ink { background: var(--ink); color: #fff; clip-path: var(--clip-sm); }
.btn-ink:hover { background: var(--gold); color: var(--ink); }
.btn-night { background: var(--night); color: var(--gold); clip-path: var(--clip); }
.btn-night:hover { background: #111111; color: var(--gold); }
.btn-outline { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--card); color: var(--ink); font-weight: 600; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-ghost-light { border: 1px solid var(--night-line-strong); border-radius: var(--radius); color: var(--bone); font-weight: 600; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-ink { border: 1px solid #11111159; border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.btn-ghost-ink:hover { background: var(--gold-light); border-color: var(--ink); color: var(--ink); }
.btn-danger { border: 1px solid #b3261e55; border-radius: var(--radius); color: var(--danger); font-weight: 600; background: transparent; }
.btn-danger:hover { background: var(--danger-wash); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-dark); font-weight: 600; }

/* ── Cards, chips, badges ──────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--ink-line-soft); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.card-pad { padding: 24px 22px; }
.card-pad-l { padding: 32px; }
.card-raised { box-shadow: var(--shadow-raised); border-radius: var(--radius-lg); }
.card-accent-top { border-top: 3px solid var(--gold); }
.card-dark { background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--radius-md); }
.pill { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--gold-dark); border: 1px solid #e0a53c66; border-radius: 999px; padding: 6px 12px; display: inline-block; }
.badge { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-sm); border: 1px solid transparent; white-space: nowrap; }
.badge-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.badge-soft { background: var(--gold-wash); color: var(--gold-dark); border-color: var(--gold); }
.badge-muted { background: #f0ece4; color: var(--ink-70); border-color: var(--ink-line); }
.badge-dark { background: #f3dc94; color: var(--bone); }
.badge-light { background: var(--bone); color: var(--ink); }
.badge-danger { background: var(--danger-wash); color: var(--danger); border-color: #b3261e40; }
.placeholder-img { background: var(--sand); background-image: repeating-linear-gradient(135deg, var(--sand-2) 0 6px, var(--sand) 6px 14px); position: relative; overflow: hidden; }
.placeholder-img > img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-note { position: absolute; bottom: 8px; left: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); }
.dot-live { width: 7px; height: 7px; border-radius: 99px; background: var(--gold); display: inline-block; animation: pulseDot 1.6s infinite; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { display: block; min-width: 0; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; padding: 12px; border: 1px solid #11111129; border-radius: var(--radius); background: var(--paper); font-size: 14px; color: var(--ink); }
.field textarea { resize: vertical; }
.on-paper .field input:not([type=checkbox]):not([type=radio]), .on-paper .field select, .on-paper .field textarea { background: var(--card); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #e0a53c33; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--danger); font-size: 12.5px; }
.form-errors { background: var(--danger-wash); color: var(--danger); border: 1px solid #b3261e33; border-radius: var(--radius); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.form-errors ul { margin: 0; padding-left: 18px; }
.help { font-size: 12px; color: var(--ink-60); margin-top: 6px; }
.checkbox { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--gold); }
.code-input { font-family: var(--f-mono) !important; font-size: 30px !important; letter-spacing: .5em; text-align: center; padding: 16px !important; }

/* Selectable option cards (radio / checkbox rendered as tiles) */
.options { display: grid; gap: 12px; }
.options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.options-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option { position: relative; display: block; background: var(--card); border: 1px solid var(--ink-line); border-radius: var(--radius-md); padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:hover { border-color: var(--gold); }
.option:has(input:checked) { background: var(--gold); border-color: var(--gold); }
.option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.option-title { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; line-height: 1.1; }
.option-note { font-family: var(--f-mono); font-size: 11.5px; opacity: .7; }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { position: relative; flex: 1; min-width: 110px; text-align: center; background: var(--card); color: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 12px 8px; font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; line-height: 1.15; }
.seg small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: none; opacity: .75; margin-top: 2px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; background: var(--card); color: var(--ink); border: 1px solid var(--ink-line); border-radius: 999px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 9px 15px; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
a.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
a.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Dropzone */
.dropzone { position: relative; border: 2px dashed #11111140; border-radius: var(--radius-md); background: var(--paper); padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; transition: border-color .15s, background .15s; }
.dropzone.is-over { border-color: var(--gold); background: var(--gold-wash); }
.dropzone input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--ink-line); border-radius: var(--radius-md); padding: 12px 16px; background: var(--paper); margin-top: 10px; }
.file-row .thumb { width: 34px; height: 34px; border-radius: var(--radius-sm); flex: none; }
.file-name { font-weight: 700; font-size: 14px; word-break: break-all; }
.file-meta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-60); }

/* ── Flash messages ────────────────────────────────────────────────────── */
.flash-wrap { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash { display: flex; gap: 12px; align-items: flex-start; background: var(--card); color: var(--ink); border: 1px solid var(--ink-line); border-left: 4px solid var(--gold); border-radius: var(--radius-md); padding: 13px 14px; box-shadow: 0 10px 28px #11111133; font-size: 14px; animation: flashIn .2s ease-out; }
.flash-error { border-left-color: var(--danger); }
.flash-success { border-left-color: var(--ok); }
.flash button { margin-left: auto; background: none; border: 0; font-size: 16px; line-height: 1; color: var(--ink-60); padding: 0 2px; }
@keyframes flashIn { from { transform: translateY(-6px); opacity: 0 } to { transform: none; opacity: 1 } }

/* ── Site header ───────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--night-deep); color: var(--bone); border-bottom: 1px solid var(--night-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); }
.brand:hover { color: var(--bone); }
.brand-logo { background: var(--bone); border-radius: var(--radius-sm); padding: 4px; display: flex; flex: none; }
.brand-logo img { width: 36px; height: 36px; object-fit: contain; }
.brand-text { line-height: 1.05; }
.brand-text .brand-word { display: block; font-size: 23px; color: var(--bone); }
.brand-tag { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-55); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { border-radius: var(--radius-sm); color: var(--bone-80); font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; }
.site-nav a:hover { background: #ffffff14; color: var(--bone); }
.site-nav a.is-active { background: #ffffff1f; color: #b86100; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-family: var(--f-mono); font-size: 11px; color: var(--bone-55); }
.nav-toggle { display: none; background: none; border: 1px solid var(--night-line-strong); border-radius: var(--radius-sm); color: var(--bone); padding: 8px 10px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--night-deep); color: var(--bone); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-block: 56px 28px; }
.footer-logo { background: var(--bone); border-radius: var(--radius-md); padding: 8px; width: fit-content; margin-bottom: 16px; }
.footer-logo img { width: 60px; height: 60px; object-fit: contain; }
.footer-col-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--bone-80); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--night-line); }
.footer-bottom .container { padding-block: 18px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--bone-55); }

/* ── Home ──────────────────────────────────────────────────────────────── */
.hero-grid { padding-block: 80px 72px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-flag { display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: var(--ink); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; margin-bottom: 26px; }
.hero-flag i { width: 6px; height: 6px; background: var(--ink); display: block; animation: pulseDot 1.8s infinite; }
.hero-media { aspect-ratio: 1 / 1.05; border-radius: var(--radius-md); overflow: hidden; background: var(--night-card); background-image: repeating-linear-gradient(45deg, var(--night-raised) 0 5px, var(--night-card) 5px 12px); position: relative; display: flex; align-items: flex-end; padding: 18px; box-shadow: 0 18px 40px #00000059; }
.hero-media .placeholder-note { position: static; color: #0a0a0a80; }
.hero-callout { position: absolute; top: 18px; right: 18px; background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 12px 14px; box-shadow: 0 6px 18px #00000047; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff1f; padding-bottom: 56px; }
.hero-stats > div { padding: 22px 22px 0 0; }
.stat-n { font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--gold); }
.stat-l { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-55); margin-top: 6px; }
.brands-bar { background: var(--card); border-bottom: 1px solid var(--ink-line-soft); }
.brands-bar .container { padding-block: 18px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.brands-bar .brand-name { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .06em; color: #11111159; }
.service-row { display: grid; grid-template-columns: 88px 1.35fr 1fr 200px; gap: 32px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--ink-line); }
.service-row:hover { background: var(--card); }
.service-no { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: .9; color: #11111129; }
.service-title { font-family: var(--f-display); font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
.showcase { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.showcase-main { border-radius: var(--radius-lg); min-height: 440px; display: flex; align-items: flex-end; padding: 22px; }
.showcase-main > img { position: absolute; inset: 0; }
.showcase-tag { position: absolute; top: 20px; left: 20px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--radius-sm); z-index: 1; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ink-line-soft); }
.spec-row .label { margin: 0; }
.spec-row .v { font-size: 14px; font-weight: 600; text-align: right; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb-btn { border: 2px solid var(--ink-line); border-radius: var(--radius); padding: 0; aspect-ratio: 4 / 3; display: block; }
.thumb-btn.is-active { border-color: var(--gold); }
.thumb-btn span { position: absolute; bottom: 0; left: 0; right: 0; background: var(--ink-80); color: var(--bone); font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; text-align: left; }
.thumb-btn.is-active span { background: var(--gold); color: var(--ink); }
.step { display: grid; grid-template-columns: 70px 1fr 130px; gap: 20px; align-items: center; padding: 22px 24px; }
.step-n { font-family: var(--f-display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--gold); }
.step-time { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.price-card { padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.price-card:hover { border-color: var(--gold); }
.price-amount { font-family: var(--f-display); font-weight: 700; font-size: 48px; line-height: 1; }
.quote-card { padding: 28px 26px; display: flex; flex-direction: column; }
.stars { color: var(--gold-mid); font-size: 14px; letter-spacing: .3em; margin-bottom: 18px; }
.quote-text { font-size: 17px; line-height: 1.5; margin: 0 0 22px; text-wrap: pretty; }
.quote-by { margin-top: auto; display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--ink-line-soft); padding-top: 16px; }
.avatar-ph { width: 40px; height: 40px; border-radius: var(--radius); flex: none; }
.faq { overflow: hidden; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper); }
.faq-q { font-family: var(--f-display); font-weight: 600; font-size: 23px; letter-spacing: .02em; line-height: 1.15; }
.faq-sign { font-size: 22px; font-weight: 700; color: var(--gold-mid); line-height: 1; }
.faq-sign::before { content: "+"; }
.faq[open] .faq-sign::before { content: "−"; }
.faq-a { font-size: 15px; color: var(--ink-70); margin: 0; padding: 0 60px 22px 22px; max-width: 74ch; }
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .container { padding-block: 64px; display: flex; justify-content: space-between; align-items: center; gap: 44px; flex-wrap: wrap; }

/* ── Portfolio / about / contact / blog / legal ─────────────────────────── */
.page-hero .container { padding-block: 64px; }
.folio-card { padding: 12px; transition: box-shadow .15s; }
.folio-card:hover { box-shadow: 0 10px 28px var(--ink-line); }
.folio-img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); margin-bottom: 12px; }
.folio-tag { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; padding: 4px 7px; border-radius: 4px; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-media { aspect-ratio: 1 / 1.15; border-radius: var(--radius-lg); background: #e9e3d9; background-image: repeating-linear-gradient(58deg, #e0d9cc 0 6px, #e9e3d9 6px 14px); position: relative; display: flex; align-items: flex-end; padding: 20px; box-shadow: 0 10px 30px #1111111a; }
.about-media .placeholder-note { position: static; }
.about-logo { position: absolute; top: 18px; left: 18px; background: var(--card); border-radius: var(--radius-md); padding: 10px; box-shadow: 0 6px 18px var(--ink-line); }
.about-logo img { width: 88px; height: 88px; object-fit: contain; }
.fact-n { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold-mid); }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 20px; align-items: center; }
.contact-row .label { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.aside-col { display: grid; grid-template-columns: 1fr 2.2fr; gap: 56px; }
.post-card { text-align: left; padding: 18px 20px; display: block; color: var(--ink); transition: box-shadow .15s; }
.post-card:hover { box-shadow: 0 10px 26px var(--ink-line); color: var(--ink); }
.post-featured { padding: 20px; }
.post-hero { aspect-ratio: 16 / 7; border-radius: var(--radius); margin-bottom: 18px; }
.post-meta { display: flex; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.post-title-sm { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: .02em; line-height: 1.08; }
.prose { max-width: 70ch; }
.prose > p:first-child { font-size: 19px; line-height: 1.6; color: var(--ink); }
.prose p, .prose li { font-size: 16px; color: var(--ink-80); }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.25; color: var(--ink); margin: 1.6em 0 .5em; }
.prose h1 { font-size: 34px; } .prose h2 { font-size: 27px; } .prose h3 { font-size: 21px; } .prose h4 { font-size: 18px; } .prose h5 { font-size: 16px; }
.prose p, .prose li { line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li { margin: .3em 0; }
.prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose figure { margin: 26px 0; } .prose figcaption { text-align: center; font-size: 13px; color: var(--ink-60); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; } .prose th, .prose td { border: 1px solid var(--ink-line); padding: 9px 12px; text-align: left; } .prose th { background: var(--gold-wash); }
.prose iframe, .prose video { max-width: 100%; border: 0; border-radius: var(--radius-md); aspect-ratio: 16 / 9; width: 100%; height: auto; margin: 20px 0; }
.prose hr { border: 0; border-top: 1px solid var(--ink-line); margin: 32px 0; }
.prose pre { background: var(--night); color: var(--bone); padding: 16px 18px; border-radius: var(--radius-md); overflow: auto; font-size: 13.5px; }
.prose blockquote { background: var(--card); border: 1px solid var(--ink-line-soft); border-left: 4px solid var(--gold); border-radius: var(--radius-md); padding: 22px 26px; margin: 28px 0; box-shadow: var(--shadow-card); }
.prose blockquote p { font-size: 19px; font-weight: 600; color: var(--ink); margin: 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 20px auto; display: block; }
.prose code { font-family: var(--f-mono); background: #f0ece4; padding: 2px 5px; border-radius: 4px; font-size: .9em; }
.side-tabs { display: flex; flex-direction: column; gap: 8px; }
.side-tab { background: var(--card); color: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius); text-align: left; padding: 14px 16px; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.side-tab:hover { border-color: var(--gold); color: var(--ink); }
.side-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; font-family: var(--f-mono); font-size: 12px; }

/* ── Auth ──────────────────────────────────────────────────────────────── */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-panel { background: var(--night); color: var(--bone); padding: 64px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background-image: repeating-linear-gradient(58deg, var(--night-raised) 0 8px, var(--night) 8px 17px); }
.auth-logo { background: var(--bone); border-radius: var(--radius-md); padding: 10px; width: fit-content; }
.auth-logo img { width: 76px; height: 76px; object-fit: contain; }
.perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.perks li { display: flex; gap: 12px; font-size: 15px; color: var(--bone-80); }
.perks li::before { content: "—"; color: var(--gold); font-weight: 700; }
.auth-form { padding: 64px 52px; display: flex; flex-direction: column; justify-content: center; max-width: 580px; width: 100%; }
.tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.tab { flex: 1; text-align: center; background: var(--card); color: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 12px; font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.tab:hover { color: var(--ink); border-color: var(--gold); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Place order ───────────────────────────────────────────────────────── */
.order-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 24px; align-items: start; }
.order-step { margin-bottom: 32px; }
.order-step:last-child { margin-bottom: 0; }
.order-step-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.order-summary { background: var(--night); color: var(--bone); border-radius: var(--radius-lg); padding: 30px 28px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: 0 8px 26px #11111129; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #ffffff14; }
.summary-row .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-70); }
.summary-row .v { font-size: 14px; font-weight: 600; text-align: right; }
.estimate { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--gold); }
.meta-tile { padding: 13px 18px; }
.meta-tile .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); }
.meta-tile .v { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.patch-panel { border: 1px solid var(--ink-line); border-radius: var(--radius-md); background: var(--paper); padding: 20px; }
.sub-title { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 12px; }

/* ── Account area ──────────────────────────────────────────────────────── */
.account-wrap { background: #ece7de; padding: 32px 0 64px; }
.account { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; min-height: 640px; }
.account-side { background: var(--night); color: var(--bone); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px #11111138; border: 1px solid var(--night-line); }
.account-sticky { padding-bottom: 24px; }
.account-side { position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { padding: 26px 22px 22px; border-bottom: 1px solid var(--night-line); display: flex; gap: 14px; align-items: center; background: linear-gradient(180deg, #e0a53c14, transparent); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-mid)); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; flex: none; box-shadow: 0 0 0 3px #e0a53c33; }
.account-hello { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.account-name { font-weight: 600; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-email { font-size: 12px; color: var(--bone-55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-label { padding: 20px 24px 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-55); font-weight: 600; }
.account-nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px; }
.account-nav a { position: relative; display: flex; align-items: center; gap: 12px; color: var(--bone-80); border-radius: 10px; padding: 11px 14px; font-weight: 500; font-size: 14.5px; transition: background .15s, color .15s; }
.account-nav a .nav-ico { flex: none; opacity: .8; }
.account-nav a:hover { background: var(--night-card); color: var(--bone); }
.account-nav a.is-active { background: linear-gradient(90deg, #e0a53c26, #e0a53c0d); color: var(--gold-light); }
.account-nav a.is-active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.account-nav a.is-active .nav-ico { opacity: 1; color: var(--gold); }
.account-nav-end { margin-top: 10px; border-top: 1px solid var(--night-line); padding-top: 12px; }
.account-promo { margin: 18px 16px 6px; padding: 18px; border-radius: 14px; background: radial-gradient(120% 100% at 0% 0%, #e0a53c2e, var(--night-raised) 70%); border: 1px solid #e0a53c40; }
.account-promo > svg { color: var(--gold); margin-bottom: 8px; width: 24px; height: 24px; }
.account-promo-t { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.account-promo p { font-size: 12.5px; line-height: 1.55; color: var(--bone-70); margin: 0 0 14px; }
.account-since { padding: 14px 24px 0; font-size: 11.5px; color: var(--bone-55); }
.account-main { background: var(--paper); border: 1px solid var(--sand); border-radius: 18px; box-shadow: var(--shadow-card); padding: 34px 36px 44px; min-width: 0; min-height: 640px; }
.account-main { align-self: stretch; }
.account-title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 4px; }
.stat-tile { position: relative; padding: 20px 20px 18px; border-radius: var(--radius-lg); border: 1px solid var(--ink-line-soft); box-shadow: var(--shadow-card); overflow: hidden; }
.stat-tile::after { content: ""; position: absolute; right: -18px; top: -18px; width: 72px; height: 72px; border-radius: 50%; background: var(--gold-wash); }
.stat-tile .stat-ico { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 10px; background: var(--gold-wash); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.stat-tile .label { position: relative; z-index: 1; }
.stat-tile .v { font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 12px 16px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); background: var(--paper); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--ink-line-soft); font-size: 13px; color: var(--ink-70); vertical-align: middle; }
.table tbody tr:hover { background: var(--paper); }
.table .t-strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.table .t-mono { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink); }
.table .t-total { font-size: 14px; font-weight: 700; text-align: right; color: var(--ink); }
.table a.row-link { color: inherit; }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-60); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--ink-line); margin-left: 5px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 99px; background: var(--gold); border: 2px solid var(--paper); }
.timeline .t-head { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); }
.timeline .t-body { font-size: 14px; white-space: pre-line; }
.timeline li.is-internal::before { background: #8a8a8a; }

/* ── Live chat widget ──────────────────────────────────────────────────── */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { display: flex; align-items: center; gap: 10px; background: var(--gold); border: 0; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; padding: 14px 20px; border-radius: 999px; box-shadow: 0 8px 22px #11111140; }
.chat-launch:hover { background: var(--gold-light); }
.chat-launch i { width: 8px; height: 8px; background: var(--ink); border-radius: 99px; display: block; animation: pulseDot 1.6s infinite; }
.chat-launch .unread { background: var(--ink); color: var(--gold); border-radius: 99px; font-family: var(--f-mono); font-size: 11px; padding: 1px 7px; letter-spacing: 0; }
.chat-panel { width: 344px; max-width: calc(100vw - 32px); background: var(--card); border: 1px solid var(--ink-line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px #11111140; display: flex; flex-direction: column; }
.chat-head { background: var(--night); color: var(--bone); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-title { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.chat-sub { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; color: var(--gold); }
.chat-close { background: none; border: 1px solid var(--night-line-strong); border-radius: var(--radius-sm); color: var(--bone); font-size: 14px; line-height: 1; padding: 5px 9px; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; height: 300px; overflow-y: auto; }
.bubble { border-radius: var(--radius-md); padding: 11px 13px; font-size: 13.5px; max-width: 88%; white-space: pre-wrap; word-wrap: break-word; }
.bubble-them { background: var(--paper); border: 1px solid var(--ink-line-soft); align-self: flex-start; }
.bubble-me { background: var(--gold); align-self: flex-end; }
.bubble-meta { display: block; font-family: var(--f-mono); font-size: 9.5px; opacity: .6; margin-top: 4px; }
.chat-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 0; border-top: 1px solid var(--ink-line-soft); }
.chat-identity input, .chat-compose input { width: 100%; padding: 10px; border: 1px solid #11111129; border-radius: var(--radius); background: var(--paper); font-size: 13px; }
.chat-compose { padding: 12px; display: flex; gap: 8px; }
.chat-compose button { background: var(--gold); border: 0; border-radius: var(--radius); color: #111; font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 11px 15px; }
.chat-state { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-60); text-align: center; padding: 4px 12px 0; }

/* ── Errors ────────────────────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .service-row { grid-template-columns: 64px 1fr 1fr; }
  .service-row > :last-child { grid-column: 2 / -1; flex-direction: row !important; align-items: center !important; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--night-deep); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; border-bottom: 1px solid var(--night-line); }
  .site-header.nav-open .site-nav { display: flex; }
  .site-header .container { gap: 12px; position: relative; }
  .header-actions .btn-ghost-light { display: none; }
  .site-header.nav-open .header-actions .btn-ghost-light { display: inline-flex; }
  .hero-grid, .showcase, .about-grid, .two-col, .aside-col, .order-grid, .auth-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 48px 40px; gap: 36px; }
  .hero-stats, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .auth-panel { padding: 40px 24px; }
  .auth-form { padding: 40px 24px; max-width: none; }
  .account { grid-template-columns: 1fr; }
  .account-wrap { padding: 16px 0 40px; }
  .account { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .account-side { position: static; border-radius: 14px; }
  .account-sticky { position: static; }
  .account-nav { flex-direction: row; overflow-x: auto; }
  .account-nav a { white-space: nowrap; }
  .account-nav a.is-active::before { display: none; }
  .account-label, .account-promo, .account-since, .account-user .account-hello { display: none; }
  .account-user { padding: 18px 20px; }
  .account-main { padding: 22px 18px 32px; border-radius: 14px; min-height: 0; }
  .section { padding-top: 52px; }
  .showcase-main { min-height: 300px; }
}

@media (max-width: 640px) {
  .brand-tag { display: none; }
  .brand-text .brand-word { font-size: 19px; }
  .header-actions .btn-gold { padding: 9px 12px; font-size: 13px; }
  .grid-2, .options-3, .options-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row > :last-child { grid-column: auto; }
  .service-no { font-size: 40px; }
  .step { grid-template-columns: 50px 1fr; }
  .step-time { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-pad-l { padding: 22px 18px; }
  .faq-a { padding-right: 22px; }
  .chat-widget { right: 16px; bottom: 16px; }
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ── Notices (inline page banners) ─────────────────────── */
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--ink-line); border-left: 4px solid var(--ink-line); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-card); }
.notice-icon { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: var(--card); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; font-weight: 700; margin-top: 1px; }
.notice-good { border-left-color: var(--gold); }
.notice-good .notice-icon { background: var(--gold); color: var(--ink); }

/* ── Sign-in gate (shown when a guest submits an order) ── */
.gate-backdrop { position: fixed; inset: 0; z-index: 130; background: #111111b8; backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: gateIn .15s ease-out; }
.gate-card { width: 100%; max-width: 520px; background: var(--card); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px #11111159; padding: 32px; animation: gateCardIn .2s ease-out; }
.gate-card h2 { margin: 0 0 12px; }
.gate-card p { margin: 0 0 24px; max-width: 46ch; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gate-actions .btn { flex: 1 1 180px; }
.gate-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-line-soft); font-size: 13px; color: var(--ink-60); }
.saved-files { display: flex; flex-direction: column; }
@keyframes gateIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes gateCardIn { from { transform: translateY(10px); opacity: 0 } to { transform: none; opacity: 1 } }
@media (max-width: 640px) {
  .gate-card { padding: 24px 20px; }
  .gate-actions .btn { flex: 1 1 100%; }
}

/* ── Pricing plans (home page) ─────────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.plan { display: flex; flex-direction: column; }
.plan-label { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--bone); margin-bottom: 12px; }
.plan.is-featured .plan-label { color: var(--gold); }
.plan-card { position: relative; background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; flex: 1; transition: transform .15s, border-color .15s, box-shadow .15s; }
.plan-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.plan.is-featured .plan-card { border-color: var(--gold); box-shadow: 0 16px 40px #00000059; }
.plan.is-featured { margin-top: -18px; }

.plan-head { background: var(--gold); color: var(--ink); padding: 26px 22px 20px; text-align: center; }
.plan-price { font-family: var(--f-display); font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: .01em; }
.plan-currency { font-size: 28px; vertical-align: super; margin-right: 2px; }
.plan-tier { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; color: #111111c4; }

/* Corner flag, cut from the top-right of the card */
.plan-ribbon { position: absolute; top: 15px; right: -34px; z-index: 2; width: 130px; text-align: center; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 5px 0; transform: rotate(45deg); box-shadow: 0 2px 6px #0000004d; }
.plan.is-featured .plan-ribbon { background: var(--bone); color: var(--ink); }

.plan-features { list-style: none; margin: 0; padding: 6px 22px; flex: 1; }
.plan-features li { padding: 15px 0; border-bottom: 1px solid #ffffff14; font-size: 14.5px; color: var(--bone-80); text-align: center; }
.plan-features li:last-child { border-bottom: 0; }
.plan-foot { padding: 6px 22px 24px; display: flex; }
.plan-foot .btn { width: 100%; }

.plan-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.plan-extra { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--radius-md); padding: 18px 22px; }
.plan-extra:hover { border-color: var(--gold); }
.plan-extra .h4 { color: var(--bone); }
.plan-extra-price { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold); white-space: nowrap; }
.plan-extra-price small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-55); margin-top: 4px; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; gap: 26px; }
  .plan.is-featured { margin-top: 0; }
  .plan-extras { grid-template-columns: 1fr; }
}

/* ── Contact map (wide box inside the page width) ──────── */
.map-section { padding-bottom: 80px; }
.map-band { width: 100%; overflow: hidden; border: 1px solid var(--ink-line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); background: var(--sand); }
.map-frame { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 960px) { .map-frame { height: 340px; } }
@media (max-width: 640px) { .map-frame { height: 260px; } }

/* ── Carousel (home page reviews) ──────────────────────── */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--radius-md); }
.carousel-item { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.carousel-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--ink-line); border-radius: 999px; background: var(--card); color: var(--ink); transition: border-color .15s, background .15s, color .15s; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dark); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--ink-line); transition: width .2s, background .2s; }
.carousel-dot.is-active { width: 26px; background: var(--gold); }
@media (max-width: 960px) { .carousel-item { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .carousel-item { flex: 0 0 100%; } .carousel-track { gap: 14px; } }

/* ── Header dropdown menus ─────────────────────────────── */
.site-nav a, .nav-drop-btn { padding: 9px 11px; font-size: 15px; letter-spacing: .08em; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-radius: var(--radius-sm); color: var(--bone-80); font-family: var(--f-display); font-weight: 600; text-transform: uppercase; cursor: pointer; }
.nav-drop-btn svg { transition: transform .15s; }
.nav-drop-btn:hover, .nav-drop.is-open .nav-drop-btn { background: #ffffff14; color: var(--bone); }
.nav-drop.is-active .nav-drop-btn { background: #ffffff1f; color: #b86100; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; z-index: 60; display: none; flex-direction: column; gap: 2px; padding: 8px; background: var(--night-deep); border: 1px solid var(--night-line-strong); border-radius: var(--radius-md); box-shadow: 0 16px 40px #00000066; }
.nav-drop.is-open .nav-drop-menu { display: flex; }
@media (hover: hover) and (min-width: 961px) {
  .nav-drop:hover .nav-drop-menu { display: flex; }
  .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); }
}
.nav-drop-menu a { white-space: nowrap; padding: 10px 12px; font-size: 14px; }
.nav-drop-all { border-top: 1px solid var(--night-line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: 4px; color: var(--gold) !important; }
@media (max-width: 960px) {
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 9px 14px; font-size: 16px; }
  .nav-drop-menu { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--night-line-strong); border-radius: 0; margin: 2px 0 6px 14px; padding: 2px 0 2px 8px; background: transparent; }
}
@media (max-width: 1240px) and (min-width: 961px) { .brand-tag { display: none; } }

/* ── Footer social icons ───────────────────────────────── */
.social-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--night-line-strong); border-radius: 999px; color: var(--bone-80); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }

/* ── Pricing tabs (home) ───────────────────────────────── */
.price-tablist { display: flex; justify-content: center; gap: 6px; margin: 0 auto 38px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--night-line-strong); border-radius: 999px; background: var(--night-card); }
.price-tab { background: none; border: 0; border-radius: 999px; padding: 10px 26px; color: var(--bone-80); font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.price-tab:hover { color: var(--bone); }
.price-tab.is-active { background: var(--gold); color: var(--ink); }
.price-panel[hidden] { display: none; }
.price-panel .plan-grid { justify-content: center; }
.price-cta { display: flex; justify-content: center; margin-top: 28px; }
.price-note { text-align: center; margin: 22px 0 0; font-size: 13px; color: var(--bone-70); }
@media (max-width: 640px) { .price-tab { padding: 9px 16px; font-size: 15px; } }

/* ── Upload progress ───────────────────────────────────── */
.upload-bar { margin: 0 0 14px; }
.upload-bar[hidden] { display: none; }
.upload-bar-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; }
.upload-bar-track { height: 10px; border-radius: 999px; background: #8a847833; overflow: hidden; }
.upload-bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--gold); transition: width .15s linear; }
.upload-bar.is-done .upload-bar-fill { background: #3f9b5b; }
.upload-bar.is-error .upload-bar-top { color: var(--danger); }
.file-progress { height: 4px; margin-top: 6px; border-radius: 99px; background: #8a847833; overflow: hidden; width: min(260px, 100%); }
.file-progress[hidden] { display: none; }
.file-progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .15s linear; }

/* ── Service pages ─────────────────────────────────────── */
.service-card { display: flex; flex-direction: column; gap: 4px; }
.service-card .service-no { font-family: var(--f-display); font-weight: 700; font-size: 40px; color: var(--gold-mid); line-height: 1; }
.service-price { font-size: 12.5px; font-weight: 500; margin: 14px 0 18px; }
.tick-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.tick-list li::before { content: "✓"; color: var(--gold-dark); font-weight: 700; margin-right: 8px; }
.testimonial-grid { align-items: stretch; }
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ── Pictures ──────────────────────────────────────────── */
.pic { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--night); box-shadow: var(--shadow-raised); aspect-ratio: 4 / 3; }
.pic > img { width: 100%; height: 100%; object-fit: cover; }
.pic-art { width: 100%; height: 100%; position: relative; }
.pic-art > img { width: 100%; height: 100%; object-fit: cover; }
.pic figcaption { position: absolute; left: 12px; bottom: 12px; background: #fff8e3cc; color: var(--bone); font-size: 12px; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.pic-tall { aspect-ratio: 4 / 5; }
.pic-hero { aspect-ratio: 4 / 3; }
.pic-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pic-pair .pic:nth-child(2) { margin-top: 36px; }
.pic-pair .pic { aspect-ratio: 3 / 4; }
.about-media-wrap { position: relative; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold-light); }

/* ── Before / after slider ─────────────────────────────── */
.ba-card { background: linear-gradient(180deg, #fffdfa, var(--gold-wash)); border: 1px solid var(--gold-light); border-radius: 22px; padding: 14px; max-width: 440px; margin-inline: auto; box-shadow: 0 28px 64px #00000073, 0 0 0 6px #e0a53c26; }
.ba { position: relative; aspect-ratio: 21 / 25; border-radius: 14px; overflow: hidden; background: #fff; user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; image-rendering: auto; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 0 1px #fff9; pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--ink); color: var(--gold-light); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px #0004; pointer-events: none; transition: transform .15s; }
.ba:hover .ba-handle, .ba:focus-within .ba-handle { transform: scale(1.08); }
.ba-tag { position: absolute; top: 12px; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 12px; pointer-events: none; }
.ba-tag-before { left: 12px; background: var(--ink); color: #fff; }
.ba-tag-after { right: 12px; background: var(--gold); color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Service pages ─────────────────────────────────────── */
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 72px 56px; }
.svc-price { margin-top: 22px; color: var(--gold); font-size: 12.5px; letter-spacing: .06em; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse > :first-child { order: 2; }
.band-dark { background: var(--night); color: var(--bone); margin-top: 72px; }
.step-card { background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: 26px 24px; }
.step-card .step-n { margin-bottom: 14px; }
.feature-card { transition: transform .15s, box-shadow .15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.feature-no { font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--gold-dark); margin-bottom: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline-step { border-top: 3px solid var(--gold); padding-top: 18px; }
.timeline-no { font-family: var(--f-display); font-weight: 700; font-size: 34px; color: var(--gold-mid); line-height: 1; margin-bottom: 10px; }
.fact-dark .fact-n { font-size: 44px; color: var(--gold); }
.fact-dark .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-70); margin-top: 6px; }
.brand-name { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; font-size: 14px; color: var(--ink-60); }
@media (max-width: 960px) {
  .svc-hero-grid, .split-feature { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero-grid { padding-block: 48px 36px; }
  .split-reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pic-pair .pic:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) { .gallery, .timeline { grid-template-columns: 1fr; } }

/* ── Chat launcher: round icon button ──────────────────── */
.chat-launch { position: relative; width: 60px; height: 60px; padding: 0; justify-content: center; border-radius: 50%; clip-path: none; box-shadow: 0 10px 28px #0000004d; transition: transform .15s, background .15s; }
.chat-launch:hover { transform: scale(1.06); }
.chat-launch .chat-ico { display: block; }
.chat-launch .chat-dot { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #3fbf6a; border: 2px solid var(--gold); animation: none; }
.chat-launch .unread { position: absolute; top: -4px; right: -4px; }

/* ── Header fit (Poppins is wider than the old condensed face) ── */
.site-nav a, .nav-drop-btn { white-space: nowrap; font-size: 13.5px; letter-spacing: .02em; text-transform: none; font-weight: 500; padding: 9px 10px; }
.site-nav { gap: 2px; }
.brand-text .brand-word { font-size: 19px; }
.header-actions { gap: 10px; flex: none; }
.site-header .container { gap: 18px; }
.brand { flex: none; }
@media (max-width: 1180px) { .brand-tag { display: none; } }
@media (min-width: 961px) and (max-width: 1180px) { .header-actions .btn-ghost-light { display: none; } .site-nav a, .nav-drop-btn { padding: 9px 8px; } }

/* Missing-image hint (staff only): says what to upload and at what size */
.missing-note { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 20px); padding: 8px 12px; border-radius: 10px; background: #fff8e3e6; color: var(--bone); border: 1px dashed var(--gold); font-size: 11.5px; line-height: 1.35; text-decoration: none; }
.missing-note svg { color: var(--gold); flex: none; width: 14px; height: 14px; }
.missing-note b { color: var(--gold-light); font-weight: 600; }
.missing-note:hover { background: #000; }
.hero-media .missing-note, .placeholder-img .missing-note { position: absolute; }

/* Logo: the full wordmark image only, on a light plate so its black outlines read on the dark header */
.brand-plate { display: flex; align-items: center; background: #fffdfa; border-radius: 10px; padding: 3px 8px; flex: none; box-shadow: 0 2px 10px #0006; }
.brand-plate img { height: 54px; width: auto; display: block; }
.footer-logo { padding: 10px 14px; }
.footer-logo img { width: auto; height: 76px; }
.auth-logo { padding: 12px 18px; }
.auth-logo img { width: auto; height: 96px; }
@media (max-width: 640px) { .brand-plate img { height: 38px; } }

/* Other services cards */
.other-grid { margin-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.other-card { display: grid; grid-template-columns: 150px 1fr; background: var(--card); border: 1px solid var(--ink-line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.other-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: var(--gold); color: var(--ink); }
.other-thumb { background: linear-gradient(160deg, var(--gold-wash), #fff); display: flex; align-items: center; justify-content: center; padding: 10px; min-height: 170px; }
.other-thumb img { width: 100%; height: 100%; object-fit: contain; max-height: 190px; border-radius: 8px; }
.other-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; }
.other-kicker { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.other-title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.other-lead { font-size: 13.5px; color: var(--ink-70); line-height: 1.6; }
.other-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.other-card:hover .other-go svg { transform: translateX(4px); }
.other-go svg { transition: transform .2s; }
@media (max-width: 520px) { .other-card { grid-template-columns: 1fr; } .other-thumb { min-height: 150px; } }

/* ── Mobile hardening (phones and small tablets) ───────────────────────── */
body { overflow-x: clip; }
img, video, svg, iframe, canvas { max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 960px) {
  .aside-col, .hero-grid, .showcase, .about-grid, .two-col, .order-grid, .auth-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 28px; }
  .grid-2, .grid-3, .grid-4 { min-width: 0; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .section { padding-top: 44px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.stat-grid, .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .btn-lg { padding: 14px 22px; }
  .row { flex-wrap: wrap; }
  .cta-band .container, .cta-band .container > div { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band .row, .cta-band .btn { width: 100%; }
  .cta-band .btn { justify-content: center; }
  .svc-hero-grid { gap: 28px; }
  .ba-card { max-width: 100%; padding: 10px; border-radius: 18px; }
  .split-feature { gap: 22px; }
  .timeline, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .pic-pair { gap: 10px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .site-footer .footer-grid > :first-child { grid-column: 1 / -1; }
  .prose { font-size: 15.5px; }
  .prose h1 { font-size: 27px; } .prose h2 { font-size: 23px; } .prose h3 { font-size: 19px; }
  .other-card { grid-template-columns: minmax(0, 1fr); }
  .table th, .table td { padding: 10px 12px; }
  .chat-panel { width: calc(100vw - 20px); right: 10px; bottom: 84px; max-height: calc(100dvh - 110px); }
}
@media (max-width: 560px) {
  input, textarea, select, .input { font-size: 16px; } /* stops iOS zooming into fields */
  .btn { min-height: 44px; }
  .display { word-break: break-word; }
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom, .footer-bar { flex-direction: column; gap: 6px; align-items: flex-start; }
  .account-main { padding: 20px 14px 28px; }
  .account-title { font-size: 25px; }
  .stat-tile .v { font-size: 30px; }
  .dropzone { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 560px) {
  .price-tablist { width: 100%; justify-content: stretch; overflow-x: auto; scrollbar-width: none; }
  .price-tab { flex: 1 1 0; padding: 9px 10px; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
  .faq-q { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
  .faq summary { padding: 16px; gap: 14px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-grid .display { word-break: normal; }
}
@media (max-width: 960px) {
  .account-nav { flex-wrap: wrap; overflow-x: visible; }
  .account-nav a { padding: 9px 12px; font-size: 13.5px; }
}

/* Home hero on phones: tighter, no big empty box, full-width buttons */
@media (max-width: 760px) {
  .hero-grid { padding-block: 28px 22px; gap: 24px; }
  .hero-grid .lead { font-size: 15.5px; line-height: 1.65; margin-bottom: 22px !important; }
  .hero-grid .row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-grid .row .btn { width: 100%; justify-content: center; clip-path: none; border-radius: var(--radius); }
  .hero-flag { font-size: 10.5px; letter-spacing: .08em; padding: 7px 11px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-media.is-empty { aspect-ratio: auto; background: none; box-shadow: none; padding: 0; overflow: visible; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-media.is-empty .hero-callout { position: static; }
  .hero-media.is-empty .missing-note { position: static; }
  .hero-stats { padding-bottom: 32px; }
  .hero-stats > div { padding-top: 16px; }
  .stat-n { font-size: 30px; }
  .brand-plate img { height: 42px; }
  .section { padding-bottom: 8px; }
}

/* ── Colour theme (reference: clean white and cool grey, brand orange #F0A84C, deep gold #C98A3D, black type) ── */
body { background: var(--paper); }
.dark { background: linear-gradient(180deg, #f4f6f8, #ffffff 140%); color: var(--ink); }
.site-header { background: #fff; border-bottom: 1px solid #e4e4e4; box-shadow: 0 4px 20px #0a0a0a0f; color: var(--ink); }
.site-header a { color: #3a3f45; }
.site-header a:hover, .site-header a.is-active, .site-header [aria-current] { color: var(--gold); }
.site-header .btn-ghost-light { border-color: #0a0a0a33; color: var(--ink); }
.site-header .btn-gold, .site-header .btn-gold:hover { color: #fff; }
.site-footer { background: #f7f7f7; color: #3a3f45; border-top: 1px solid #e4e4e4; }
.site-footer a { color: #555b61; } .site-footer a:hover { color: var(--gold-mid); }
.site-footer .footer-col-title { color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.footer-logo { background: transparent; padding: 0; }
.footer-logo img { height: 96px; }
.band-dark { --bone: #fff; --bone-80: #ffffffe6; --bone-70: #ffffffcc; --bone-55: #ffffffb3; --night-line: #ffffff40; background: #c98a3d; color: #fff; }
.band-dark .kicker, .band-dark .fact-n, .band-dark .stat-n { color: #fff; }
.cta-band { background: linear-gradient(120deg, #f0a84c, #f99a26); color: var(--ink); }
.cta-band .btn-ink { background: var(--ink); color: #fff; }
.cta-band .btn-ghost-ink { border-color: #0a0a0a88; color: var(--ink); }
.accent { color: #f89e28; background: none; padding: 0; }
.kicker, .dark .kicker, .kicker-gold { color: var(--gold-dark); }
.hero-flag { background: #fff; color: var(--ink); border: 1px solid #e4e4e4; box-shadow: 0 2px 8px #0a0a0a0f; }
.hero-flag i { background: var(--gold-mid); }
.stat-n, .dark .stat-n { color: var(--ink); }
.hero-stats { border-top-color: #e4e4e4; }
.btn { border-radius: 6px; }
.btn-gold, .btn-ink, .btn-night, .btn-lg.btn-gold, .btn-md.btn-gold { clip-path: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-mid); color: #fff; }
.hero-grid .btn-lg { border-radius: 999px; padding-inline: 32px; }
.btn-ink { background: var(--ink); color: #fff; } .btn-ink:hover { background: var(--gold); color: #fff; }
.btn-night { background: var(--ink); color: #fff; }
.btn-ghost-light, .btn-outline { border-color: #0a0a0a2e; color: var(--ink); background: #fff; }
.btn-ghost-light:hover, .btn-outline:hover { border-color: var(--gold); color: var(--gold-mid); background: #fff; }
.cta-band .btn-gold { background: var(--ink); color: #fff; }
.card { border-color: #e9ecef; box-shadow: 0 2px 14px #0a0a0a0a; }
.card:hover { border-color: #f0a84c99; }
a:hover { color: var(--gold-mid); }
.brands-bar { background: #fff; border-bottom: 1px solid #e9ecef; }
.brand-name { color: #0a0a0a59; }
.pic { background: var(--sand); }
.brand-plate img { height: 60px; }
.price-tablist { background: #fff; border-color: #e4e4e4; }
.price-tab { color: #3a3f45; }
.price-tab.is-active { background: var(--gold); color: #fff; }
.chat-launch { background: var(--gold); color: #fff; box-shadow: 0 8px 24px #f0a84c66; }
.plan.is-featured .plan-label { color: var(--gold-mid); }
.plan-head { background: var(--gold); color: #fff; }
.plan-card { border-color: #e4e4e4; box-shadow: 0 2px 16px #0a0a0a0d; }
.ba-tag-before { background: var(--ink); color: #fff; } .ba-tag-after { background: var(--gold); color: #fff; }
.ba-handle { background: #fff; color: var(--gold-mid); }
.svc-price, .account-hello { color: var(--gold-dark); }
.account-wrap { background: #eef1f4; }
.account-side { background: #fff; color: var(--ink); border: 1px solid #e4e4e4; box-shadow: 0 10px 34px #0a0a0a12; }
.account-user { background: linear-gradient(180deg, #f4f6f8, #fff); }
.account-nav a.is-active { background: var(--gold-wash); color: var(--gold-dark); }
.account-nav a:hover { background: #f4f6f8; color: var(--ink); }
.account-promo { background: linear-gradient(135deg, #f0a84c, #f99a26); border: 0; }
.account-promo-t, .account-promo p, .account-promo > svg { color: #fff; }
.account-promo .btn-gold { background: #fff; color: var(--ink); }
.account-main { background: #fff; border-color: #e4e4e4; }
.stat-tile::after { background: var(--gold-wash); }
.brand-plate { background: transparent; box-shadow: none; padding: 0; }

/* ── Legibility pass: no text may match its background ── */
.btn-gold, .site-header .btn-gold, .site-header .btn-gold:hover, .cta-band .btn-gold { color: var(--ink); }
.btn-gold:hover { color: var(--ink); }
.hero-grid .btn-gold, .btn-gold.btn-lg { color: var(--ink); }
.price-tab.is-active { color: var(--ink); }
.plan-head, .plan-head .plan-price, .plan-head * { color: var(--ink); }
.ba-tag-after { color: var(--ink); }
.chat-launch { color: var(--ink); }
.site-header a:hover, .site-header a.is-active, .site-header [aria-current], .nav-drop-btn.is-active, .nav-drop-btn[aria-expanded="true"] { color: #b86100; }
.site-header .btn-gold, .site-header .btn-gold:hover { color: var(--ink); }
.accent { color: #d97706; }
.plan-label, .plan.is-featured .plan-label, .timeline-no, .stars, .estimate { color: #c26a00; }
.band-dark .step-card .step-n { color: #c26a00; }
.brand-name { color: #0a0a0a80; }
.account-promo .btn-gold { background: #fff; color: var(--ink); }
.account-promo-t, .account-promo p, .account-promo > svg { color: var(--ink); }
.order-summary, .summary { color: var(--ink); }
.cta-band .btn-gold, .cta-band .btn-ink { color: #fff; background: var(--ink); }
.plan-ribbon { color: #fff; }
.thumb-btn span { color: #fff; }
.nav-drop.is-active .nav-drop-btn, .nav-drop-btn:hover { color: #b86100; }
.brands-bar .brand-name { color: #0a0a0a80; }
.accent { color: #cf6f00; }
.order-summary .estimate { color: #c26a00; }
.plan.is-featured .plan-ribbon { background: var(--ink); color: #fff; }
.band-dark .step-card, .band-dark .card, .band-dark .card-dark { --bone: #0a0a0a; --bone-80: #0a0a0acc; --bone-70: #0a0a0a99; --bone-55: #0a0a0a9e; color: var(--ink); }
.band-dark .step-card h3, .band-dark .card h3, .band-dark .step-card .h3, .band-dark .card .h3 { color: var(--ink); }
.band-dark .step-card p, .band-dark .card p { color: var(--ink-70); }
/* Pricing card feature rows: a clear divider line under each row */
.plan-features li { border-bottom: 1px solid #0a0a0a1f; }
.plan-features li:last-child { border-bottom: 0; }
.plan.is-featured .plan-features li { border-bottom-color: #f0a84c80; }

/* ── Home: services list (numbered rows, big titles, circular arrow) ── */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.svc-head .display { max-width: 22ch; margin-bottom: 10px; }
.svc-sub { color: var(--ink-70); max-width: 52ch; margin: 0; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.svc-link:hover { color: var(--gold-mid); border-color: var(--gold-mid); }
.svc-list { display: flex; flex-direction: column; }
.svc-item { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 52px; gap: 20px 32px; align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--ink-line); color: var(--ink); transition: background .2s, padding .2s; }
.svc-item:hover { background: var(--card); padding-inline: 20px; color: var(--ink); }
.svc-no { font-size: 14px; color: var(--ink-60); font-weight: 500; }
.svc-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.svc-info { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.6; }
.svc-body { color: var(--ink-70); }
.svc-points { color: var(--ink-60); font-size: 13.5px; }
.svc-cost { font-weight: 600; font-size: 14px; color: var(--ink); }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; color: var(--ink); justify-self: end; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.svc-item:hover .svc-go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(45deg); }
@media (max-width: 960px) {
  .svc-item { grid-template-columns: 44px minmax(0, 1fr) 48px; gap: 10px 16px; padding: 26px 0; }
  .svc-item:hover { padding-inline: 0; }
  .svc-info { grid-column: 2 / 3; }
  .svc-go { grid-column: 3; grid-row: 1; align-self: start; }
  .svc-title { grid-column: 2; }
}
@media (max-width: 560px) {
  .svc-head { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 22px; }
  .svc-item { grid-template-columns: minmax(0, 1fr) 44px; padding: 22px 0; }
  .svc-no { grid-column: 1; grid-row: 1; }
  .svc-title { grid-column: 1; grid-row: 2; font-size: 26px; }
  .svc-go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; align-self: center; }
  .svc-info { grid-column: 1 / -1; grid-row: 3; font-size: 14px; }
}

/* ── Header dropdowns: steady on hover (no gap, short grace delay), Services is a real link ── */
.nav-drop { display: inline-flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 9px 8px 9px 2px; margin-left: -4px; color: var(--bone-80); border-radius: var(--radius-sm); cursor: pointer; }
.nav-drop-toggle svg { transition: transform .15s; }
.nav-drop:hover .nav-drop-toggle, .nav-drop.is-open .nav-drop-toggle { color: #b86100; }
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-drop-menu { display: flex; visibility: hidden; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .16s ease .22s, transform .16s ease .22s, visibility 0s linear .38s; }
.nav-drop.is-open .nav-drop-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
@media (min-width: 961px) and (hover: hover) {
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav-drop:hover .nav-drop-toggle svg, .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); }
}
.nav-drop.is-open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu a:hover { background: var(--gold-wash); color: #b86100; }

/* Header "Get a quote" */
.btn-quote { background: transparent; color: var(--ink); border: 1.5px solid var(--gold); border-radius: 6px; white-space: nowrap; }
.btn-quote:hover { background: var(--gold-wash); color: var(--ink); }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1260px) { .header-actions .btn-quote { display: none; } }
@media (max-width: 960px) {
  .nav-drop { display: flex; width: 100%; flex-wrap: wrap; }
  .nav-drop > .nav-drop-btn { flex: 1; width: auto; }
  .nav-drop-toggle { width: 48px; margin: 0; justify-content: center; }
  .nav-drop-menu { width: 100%; display: none; visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: none; }
  .nav-drop.is-open .nav-drop-menu { display: flex; }
  .nav-drop-menu::before { display: none; }
}

/* ── Call-to-action band with a photo on the right ── */
.cta-grid { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.cta-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cta-copy .row { gap: 12px; }
.cta-media { display: flex; justify-content: flex-end; }
.cta-pic { position: relative; margin: 0; width: 100%; max-width: 520px; aspect-ratio: 9 / 7; border-radius: 20px; overflow: hidden; border: 6px solid #fff; background: var(--sand); box-shadow: 0 24px 56px #0a0a0a38; transform: rotate(1.5deg); }
.cta-pic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-pic .cta-art { object-fit: contain; padding: 14px; }
@media (max-width: 960px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta-media { justify-content: center; }
  .cta-pic { max-width: 100%; aspect-ratio: 4 / 3; transform: none; }
}

/* ── Blog images: publish date appears bottom-right on hover ── */
.post-hero { position: relative; overflow: hidden; }
.post-date { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: #0a0a0ad9; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.post-card:hover .post-date, .post-hero:hover .post-date, .post-hero:focus-within .post-date { opacity: 1; transform: none; }
@media (hover: none) { .post-date { opacity: 1; transform: none; } }

.chat-compose button:hover { background: var(--gold-mid); }

/* Testimonials: proof strip, sew-out photos, lightbox */
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.proof-strip > div { background: var(--card); border: 1px solid var(--ink-line); border-radius: 14px; padding: 18px 20px; text-align: center; }
.proof-strip strong { display: block; font-family: var(--f-display); font-size: 34px; line-height: 1.1; color: var(--bone); }
.proof-strip strong small { font-size: 16px; color: var(--ink-60); margin-left: 2px; }
.proof-strip span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); }
.quote-photo { display: block; width: calc(100% + 52px); margin: -28px -26px 20px; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; aspect-ratio: 4/3; overflow: hidden; border-radius: 14px 14px 0 0; }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.quote-photo:hover img { transform: scale(1.04); }
.sewout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sewout-card { position: relative; padding: 0; border: 1px solid var(--ink-line); border-radius: 14px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--paper); display: block; }
.sewout-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.sewout-card:hover img, .sewout-card:focus-visible img { transform: scale(1.06); }
.sewout-cap { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; text-align: left; color: #fff; background: linear-gradient(transparent, #000000b3); display: flex; flex-direction: column; gap: 2px; }
.sewout-cap b { font-size: 14px; }
.sewout-cap i { font-style: normal; font-size: 12px; opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: #000000e0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(960px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; margin: 0 auto; background: #fff; }
.lightbox figcaption { color: #fff; font-size: 14px; margin-top: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 18px; cursor: pointer; }
@media (max-width: 640px) {
  .proof-strip { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .proof-strip > div { padding: 12px 6px; }
  .proof-strip strong { font-size: 24px; }
  .proof-strip span { font-size: 10px; letter-spacing: .04em; }
  .sewout-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── Sign-in / sign-up: white logo plate and a boxed form card ─────────── */
.auth-logo { background: var(--card); border: 1px solid var(--ink-line); box-shadow: 0 6px 20px #0a0a0a14; padding: 10px 18px; }
.auth-grid { align-items: stretch; }
.auth-form { align-self: center; margin: 40px auto; max-width: 500px; background: var(--card); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); box-shadow: 0 14px 40px #0a0a0a1a; padding: 36px 36px 32px; }
@media (max-width: 960px) { .auth-form { margin: 28px 16px 40px; max-width: none; width: auto; padding: 26px 20px; } }
.tab { display: flex; align-items: center; justify-content: center; }
