/* ==========================================================================
   Pinxaura — "The Bright Canvas"
   Warm paper white, ink type, ultramarine + violet accents from the logo.
   Instrument Serif for display, Archivo for everything functional.
   ========================================================================== */

:root {
  --bg: #f7f4ee;
  --bg-2: #ffffff;
  --bg-3: #efebe1;
  --ink: #1b1e28;
  --ink-2: #454a5c;
  --muted: #7b8095;
  --rule: #e6e2d7;
  --rule-strong: #cdc8ba;
  --hairline: color-mix(in srgb, var(--ink) 55%, transparent);
  --accent: #4453e6;
  --accent-2: #8b5cf0;
  --sage: #3e8a55;
  --glow-accent: color-mix(in srgb, var(--accent) 38%, transparent);
  --glow-violet: color-mix(in srgb, var(--accent-2) 34%, transparent);

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --container: 1240px;
  --gutter: 16px;
  --section: clamp(76px, 9vw, 132px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* faint studio grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); color: #ffffff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d5d0c2; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #c2bcab; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.display { font-family: var(--font-display); font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.015em; }
.h2 { font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1.35; }
em { font-style: italic; }
.display em, .h2 em, .page-hero h1 em { color: var(--accent-2); }
.label {
  display: inline-block; font-family: var(--font-label); font-size: 11.5px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
  .section-head--split .label { padding-top: 16px; }
}

/* The painted word */
.stroke { position: relative; white-space: nowrap; z-index: 0; font-style: italic; }
.stroke::before {
  content: ""; position: absolute; z-index: -1; left: -0.1em; right: -0.12em; bottom: 0.05em; height: 0.34em;
  background: url("../img/stroke-violet.svg") center / 100% 100% no-repeat; opacity: 0.75;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-label); font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: #fff; box-shadow: 0 12px 40px -12px var(--glow-accent); }
.btn--ghost { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn--paper { background: var(--ink); color: var(--bg); }
.btn--paper:hover { background: var(--accent-2); color: #fff; box-shadow: 0 12px 40px -12px var(--glow-violet); }
.btn--line-paper { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--line-paper:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px; transition: color 0.2s, border-color 0.2s; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--accent-2); border-color: var(--accent-2); }
.link-arrow:hover svg { transform: translateX(4px); }
.text-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo .logo-mark { height: 38px; width: auto; }
.logo .logo-word { height: 17px; width: auto; margin-top: 4px; }
.footer-logo { width: 170px; height: auto; opacity: 0.95; }
.nav-links { display: none; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav-links a:hover { color: var(--ink); border-color: var(--rule-strong); }
.nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--accent-2); }
.nav-cta { display: none; }
.nav-toggle { height: 42px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: transparent; cursor: pointer; font-family: var(--font-label); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.mobile-menu { display: none; padding: 8px var(--gutter) 28px; border-top: 1px solid var(--rule); }
.is-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-menu a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 27px; border-bottom: 1px solid var(--rule); }
.mobile-menu .btn { width: 100%; }
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .mobile-menu, .is-open .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 0; position: relative; overflow: hidden; }
/* the old aura glows are gone — bright pages stay clean */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.hero h1 { margin: 22px 0 26px; max-width: 900px; }
.hero .lead { margin: 0 0 34px; }
.hero-art { margin: 0; position: relative; }
.hero-art .art-frame {
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--bg-2);
  box-shadow: 0 30px 70px -35px rgba(27, 30, 40, 0.35);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { margin-top: 12px; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hairline); margin-top: clamp(56px, 7vw, 92px); }
@media (min-width: 800px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.hero-facts div { padding: 18px 16px 22px 0; border-bottom: 1px solid var(--rule); }
.hero-facts .label { display: block; margin-bottom: 6px; }
.hero-facts strong { font-weight: 600; font-size: 15.5px; }

.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-display); line-height: 1.04; margin: 18px 0 20px; font-size: clamp(40px, 6.2vw, 84px); max-width: 1000px; letter-spacing: -0.015em; }

/* ---------- Statement ---------- */
.statement p { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.28; margin: 0; max-width: 1000px; }
.statement em { color: var(--accent-2); }

/* ---------- Service list (home) ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.service-list a {
  display: grid; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
  transition: padding 0.3s var(--ease);
}
@media (min-width: 800px) { .service-list a { grid-template-columns: 70px 1.1fr 1.6fr 28px; } }
.service-list .num { font-family: var(--font-label); font-size: 13px; color: var(--muted); }
.service-list h3 { font-family: var(--font-display); font-size: clamp(23px, 2.5vw, 32px); transition: color 0.2s; }
.service-list p { margin: 0; color: var(--muted); font-size: 15.5px; }
.service-list svg { width: 22px; height: 22px; display: none; }
@media (min-width: 800px) { .service-list svg { display: block; } }
.service-list a:hover { padding-left: 12px; }
.service-list a:hover h3 { color: var(--accent-2); }
.service-list a:hover svg { color: var(--accent-2); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.process li { display: grid; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .process li { grid-template-columns: 70px 1fr 1.6fr; align-items: baseline; } }
.process .step { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-2); }
.process h3 { font-family: var(--font-display); font-size: 25px; }
.process p { margin: 0; color: var(--ink-2); }

/* ---------- Columns ---------- */
.grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.col { border-top: 1px solid var(--hairline); padding-top: 18px; }
.col .label { display: block; margin-bottom: 20px; color: var(--accent-2); }
.col h3 { margin-bottom: 10px; }
.col p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Name story ---------- */
.name-story {
  background:
    radial-gradient(120% 160% at 85% 10%, color-mix(in srgb, var(--accent-2) 7%, transparent), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--rule); border-radius: calc(var(--radius) * 2);
  padding: clamp(32px, 6vw, 80px); display: grid; gap: 40px;
}
@media (min-width: 1000px) { .name-story { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.equation { font-family: var(--font-display); font-size: clamp(48px, 7vw, 100px); line-height: 1; margin-top: 14px; }
.equation .op { color: var(--muted); font-size: 0.55em; padding: 0 0.15em; vertical-align: 0.2em; }
.equation .stroke { color: var(--accent-2); }
.defs { display: grid; gap: 22px; margin: 0; }
.defs div { border-top: 1px solid var(--rule-strong); padding-top: 14px; }
.defs dt { font-family: var(--font-display); font-size: 21px; margin-bottom: 4px; }
.defs dt em { color: var(--accent-2); }
.defs dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Tool list ---------- */
.tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 28px); }
.tool-list li::after { content: "/"; color: var(--rule-strong); padding: 0 14px; }
.tool-list li:last-child::after { content: ""; }

/* ---------- Chips (filters, tags) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { padding: 7px 13px; border-radius: 100px; border: 1px solid var(--rule-strong); font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: transparent; }
.chip--btn { cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip--btn:hover { border-color: var(--ink); color: var(--ink); }
.chip--btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 56px 32px; }
@media (min-width: 800px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.project-card { display: block; }
.project-card .cover { aspect-ratio: 4 / 3; transition: box-shadow 0.4s var(--ease), border-color 0.3s; border: 1px solid var(--rule); }
.project-card:hover .cover { border-color: var(--rule-strong); box-shadow: 0 24px 60px -28px rgba(27, 30, 40, 0.28); }
.project-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 20px 0 6px; }
.project-card h3 { font-family: var(--font-display); font-size: 27px; transition: color 0.2s; }
.project-card .year { font-family: var(--font-label); font-size: 13px; color: var(--muted); }
.project-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 520px; }
.project-card .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-family: var(--font-label); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.project-card .status { color: var(--accent-2); }
.project-card .status--live { color: var(--sage); }
.project-card:hover h3 { color: var(--accent-2); }
.project-card:hover .cover-inner { transform: scale(1.03); }

.cover { position: relative; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--c2, #5a6cff) 10%, var(--bg-2)); }
.cover-inner { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.7s var(--ease); }
.cover-inner img.cover-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cover-panel { position: absolute; right: 0; bottom: 0; width: 46%; height: 62%; background: color-mix(in srgb, var(--c2) 22%, var(--bg-3)); }

/* Flat device mockups */
.device { position: relative; z-index: 2; background: #171b2e; box-shadow: 0 24px 50px -22px rgba(27, 30, 40, 0.4); }
.device--phone { height: 84%; aspect-ratio: 9 / 19; border-radius: 24px; border: 5px solid #2a3155; padding: 14px 10px; display: flex; flex-direction: column; gap: 7px; }
.device--phone::before { content: ""; width: 30%; height: 6px; border-radius: 6px; background: #2a3155; align-self: center; margin-bottom: 6px; }
.device--browser { width: 74%; aspect-ratio: 16 / 10; border-radius: 8px; border: 1.5px solid #2a3155; padding: 26px 12px 12px; display: grid; grid-template-columns: 22% 1fr; gap: 10px; }
.device--browser::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; border-bottom: 1.5px solid #2a3155; }
.ui-col { display: flex; flex-direction: column; gap: 7px; }
.ui { border-radius: 2px; background: #1d2444; height: 9px; }
.ui--accent { background: var(--c2); }
.ui--tall { height: 44px; }
.ui--card { height: 32px; background: transparent; border: 1px solid #2a3155; }
.ui--w60 { width: 60%; } .ui--w40 { width: 40%; } .ui--w80 { width: 80%; }
.ui--fill { flex: 1; }

/* ---------- Project detail ---------- */
.project-hero .cover { aspect-ratio: 16 / 9; margin-top: 48px; }
.back-link { font-family: var(--font-label); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.back-link:hover { color: var(--ink); }
.project-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px 0; border-block: 1px solid var(--hairline); margin: 56px 0; }
@media (min-width: 700px) { .project-facts { grid-template-columns: repeat(4, 1fr); } }
.project-facts dt { font-family: var(--font-label); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.project-facts dd { margin: 0; font-weight: 600; }
.prose { display: grid; gap: 48px; }
@media (min-width: 900px) { .prose-row { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; } }
.prose-row h2 { font-family: var(--font-display); font-size: 27px; margin-bottom: 14px; }
.prose-row p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; }
.dash-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dash-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent-2); }
.gallery { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--rule); }
.project-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--hairline); }

/* ---------- Services page ---------- */
.service-nav { position: sticky; top: 72px; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.service-nav ul { display: flex; gap: 28px; overflow-x: auto; list-style: none; margin: 0; padding: 14px 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a { display: block; white-space: nowrap; color: var(--muted); font-size: 15px; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.service-nav a:hover { color: var(--ink); }
.service-nav a.is-active { color: var(--ink); border-color: var(--accent-2); }
.service-block { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 130px; }
.service-block .top { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 900px) { .service-block .top { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; } }
.service-block h2 { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -0.01em; margin-top: 8px; }
.service-block .lead { margin-bottom: 18px; }
.service-detail { display: grid; gap: 32px; }
@media (min-width: 900px) { .service-detail { grid-template-columns: repeat(3, 1fr); } }
.service-detail h3 { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); padding-top: 14px; border-top: 1px solid var(--hairline); margin-bottom: 4px; }
.service-detail ul { margin: 0; padding: 0; list-style: none; }
.service-detail li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }

.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 32px 30px; border: 1px solid var(--rule-strong); border-radius: calc(var(--radius) * 1.5); background: var(--bg-2); transition: border-color 0.3s, box-shadow 0.3s; }
.plan:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--rule-strong)); }
.plan h3 { font-family: var(--font-display); font-size: 31px; }
.plan p { margin: 0; color: var(--ink-2); }
.plan .dash-list { margin-top: 4px; }
.plan .btn { margin-top: auto; }
.plan--featured { border-color: var(--accent); background:
  linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg-2)), var(--bg-2)); }
.plan--featured .label { color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 26px; font-weight: 300; color: var(--muted); transition: transform 0.25s var(--ease), color 0.2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-2); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 720px; }
@media (min-width: 900px) { .faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; } }

/* ---------- CTA (the second canvas) ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 2); border: 1px solid var(--rule);
  background: #151a31;
  color: #f2f3fa;
  padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px); display: grid; gap: 32px;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta-band .label { color: color-mix(in srgb, #f2f3fa 60%, transparent); }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(36px, 5.2vw, 72px); line-height: 1.04; margin-top: 14px; }
.cta-band p { margin: 0 0 24px; color: color-mix(in srgb, #f2f3fa 82%, transparent); max-width: 440px; }
.cta-band .stroke::before { opacity: 0.95; }
.cta-band .btn--paper { background: #f2f3fa; color: #151a31; }
.cta-band .btn--paper:hover { background: var(--accent-2); color: #fff; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 72px; } }
.form { display: grid; gap: 24px; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--accent-2); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--rule-strong);
  background: var(--bg-2); color: var(--ink); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 170px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238d93b2' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.input::placeholder, .textarea::placeholder { color: #9aa0b2; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.option-chips input { position: absolute; opacity: 0; pointer-events: none; }
.option-chips label { padding: 9px 14px; border-radius: 100px; border: 1px solid var(--rule-strong); cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--ink-2); background: var(--bg-2); transition: all 0.2s; }
.option-chips label:hover { border-color: var(--ink); color: var(--ink); }
.option-chips input:checked + label { background: var(--accent-2); color: #ffffff; border-color: var(--accent-2); }
.option-chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: rgba(127, 176, 138, 0.12); border: 1px solid var(--sage); }
.form-status.is-error { display: block; background: rgba(255, 120, 120, 0.1); border: 1px solid #e07a7a; }
.contact-aside { display: grid; gap: 36px; align-content: start; }
.aside-block { border-top: 1px solid var(--hairline); padding-top: 16px; }
.aside-block .label { display: block; margin-bottom: 12px; }
.aside-block .big-link { font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 27px); word-break: break-word; border-bottom: 1px solid var(--rule-strong); transition: color 0.2s, border-color 0.2s; }
.aside-block .big-link:hover { color: var(--accent-2); border-color: var(--accent-2); }
.aside-block p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.steps li::before { content: "0" counter(s); font-family: var(--font-label); font-size: 13px; font-weight: 600; color: var(--accent-2); padding-top: 3px; }
.steps strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-top h4 { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { color: var(--ink-2); transition: color 0.2s; }
.footer-top a:hover { color: var(--accent-2); }
.footer-tag { color: var(--ink-2); max-width: 340px; margin: 16px 0 0; font-size: 15.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; padding-top: 22px; margin-top: 56px; border-top: 1px solid var(--rule); position: relative; }

/* ---------- 404 ---------- */
.notfound { min-height: 80svh; display: grid; align-items: center; padding: 80px 0; }
.notfound .display { font-size: clamp(96px, 20vw, 220px); }

/* ---------- Photos ---------- */
.photo { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--rule); }
.photo figcaption { margin-top: 10px; font-family: var(--font-label); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.photo figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.photo figcaption a:hover { color: var(--accent-2); }
.photo--hero { aspect-ratio: 4 / 5; }
.photo--hero img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 21 / 9; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--square img { aspect-ratio: 1 / 1; }
.photo-pair { display: grid; gap: 24px; }
@media (min-width: 800px) { .photo-pair { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.photo-pair .photo:first-child img { aspect-ratio: 4 / 3; }
.photo-pair .photo:last-child img { aspect-ratio: 4 / 5; }
.photo-pair figcaption strong { color: var(--ink); font-weight: 600; }
.hero-photo { width: 100%; max-width: 440px; justify-self: end; }
@media (max-width: 999px) { .hero-photo { justify-self: start; max-width: 520px; } }

/* ---------- Gentle reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
