/* =========================================================
   Arvello Studios — production stylesheet
   A note for future-you (or whoever edits this):
   Colors, type scale and spacing all run off the custom
   properties in :root. Change the identity from one place.
   ========================================================= */

:root {
  /* ---- palette ---- */
  --paper: #f3ede2;         /* warm cream */
  --paper-dim: #ece3d3;     /* slightly deeper cream, for panels */
  --ink: #1c1912;           /* near-black, warm */
  --ink-soft: #4a4438;      /* muted body text on paper */
  --accent: #2a6e53;          /* primary accent — for large display text only */
  --accent-deep: #1e513d;     /* accent for small text (AA contrast) */
  --line: rgba(28, 25, 18, 0.14);

  /* ---- type ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Space Grotesk", "Inter", sans-serif;

  /* ---- rhythm ---- */
  --gutter: clamp(1.5rem, 5vw, 4.5rem);
  --section-pad: clamp(3.25rem, 7vw, 6.5rem);
  --radius-sm: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- grain texture (fixed, whole page) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- selection ---------- */
::selection {
  background: var(--accent-deep);
  color: var(--paper);
}

/* ---------- visually hidden (kept for screen readers only) ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  padding: 1.1rem var(--gutter);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cookie-banner__actions {
  display: flex;
  flex: none;
  gap: 0.75rem;
}
.cookie-banner__decline,
.cookie-banner__accept {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

@media (max-width: 560px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__decline,
  .cookie-banner__accept { flex: 1; justify-content: center; }
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(243, 237, 226, 0.86);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  padding-block: 0.9rem;
  box-shadow: 0 1px 0 var(--line);
}

/* thin fill that tracks scroll progress along the bottom edge of the nav */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.nav-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-mark em { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--font-label);
  font-size: 0.92rem;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 22px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5.5rem, 11vh, 7.5rem) var(--gutter) clamp(3rem, 6vh, 4.5rem);
}

.hero-grid {
  width: 100%;
  text-align: center;
}
.hero-main { width: 100%; }

/* gentle entrance — this is above the fold, so it plays on load rather
   than waiting for a scroll trigger */
.hero-eyebrow,
.hero-headline,
.hero-foot {
  opacity: 0;
  animation: hero-in 0.9s var(--ease) forwards;
}
.hero-eyebrow { animation-delay: 0.05s; }
.hero-headline { animation-delay: 0.16s; }
.hero-foot { animation-delay: 0.32s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-headline, .hero-foot, .hero-tab {
    animation: none;
    opacity: 1;
  }
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-inline: auto;
  text-align: center;
}
.hero-headline .accent {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-foot {
  margin-top: clamp(2.25rem, 6vh, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-sub {
  max-width: 34ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  text-align: center;
}

/* ---- lightweight / mobile / ad-ready proof strip, sits under the hero
   statement so the punchy headline stays short while the substance
   lands right underneath it ---- */
.hero-highlights {
  margin-top: clamp(2rem, 5vh, 3rem);
  padding-top: clamp(1.5rem, 3.5vh, 2.25rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem 2.25rem;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
.hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.hero-highlight svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--accent-deep);
}
.hero-highlight span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  --mx: 0px;
  --my: 0px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  transform: translate(var(--mx), var(--my));
  transition: background-color 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn-primary:hover { background: var(--accent); transform: translate(var(--mx), var(--my)) translateY(-2px); }
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translate(3px, -3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.btn-ghost:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
  background: rgba(42, 110, 83, 0.06);
}
.btn-ghost__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover .btn-ghost__arrow { transform: translateX(3px); }

/* ---- "Start a project" tab, sitting beside the hero statement ---- */
.hero-tab {
  flex: none;
  margin-top: clamp(2.25rem, 5vh, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 18px 34px -16px rgba(28, 25, 18, 0.4);
  opacity: 0;
  animation:
    hero-in 0.9s var(--ease) forwards 0.5s,
    hero-tab-float 5s ease-in-out infinite 1.5s;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-tab:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -16px rgba(28, 25, 18, 0.45);
}
.hero-tab svg { transition: transform 0.3s var(--ease); flex: none; }
.hero-tab:hover svg { transform: translate(3px, -3px); }

@keyframes hero-tab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tab { animation: none; opacity: 1; transform: none; }
}

/* ---------- hero visual: decorative wireframe mockups ----------
   Coded entirely in CSS (no image files) to match the browser-chrome
   look already used for the Tence case study further down the page.
   Desktop-only decoration - hidden below 900px, same breakpoint the
   hero grid itself stacks at, so it never competes for space with the
   real content on a phone. */
.hero-visual {
  /* This decorative mockup was positioned to fill empty space beside the
     old left-aligned hero text. Now that the hero is a centered stack,
     that space no longer exists and the graphic overlaps the highlight
     row instead — disabled rather than deleted, in case a future
     redesign finds it a new home. */
  display: none;
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 7vh, 4.5rem);
  width: min(29vw, 360px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  animation: hero-in 1s var(--ease) forwards 0.5s;
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; opacity: 1; transform: none; }
}

.hero-visual__desktop {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(28, 25, 18, 0.4);
  transform: rotate(-2.5deg);
}
.hero-visual__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  background: #ece7dd;
  border-bottom: 1px solid rgba(28, 25, 18, 0.08);
}
.hero-visual__bar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(28, 25, 18, 0.16);
}
.hero-visual__screen { padding: 0.9rem 1rem 1.1rem; }
.hero-visual__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.hero-visual__logo {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--accent);
  margin-right: 0.3rem;
}
.hero-visual__navlink {
  width: 22px; height: 5px;
  border-radius: 3px;
  background: rgba(28, 25, 18, 0.12);
}
.hero-visual__block { margin-bottom: 1rem; }
.hero-visual__line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(28, 25, 18, 0.13);
  margin-bottom: 0.45rem;
}
.hero-visual__line--lg { width: 78%; height: 11px; }
.hero-visual__line--md { width: 55%; }
.hero-visual__cta {
  display: inline-block;
  width: 58px; height: 16px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 0.3rem;
}
.hero-visual__tiles {
  display: flex;
  gap: 0.4rem;
}
.hero-visual__tiles span {
  flex: 1;
  height: 30px;
  border-radius: 6px;
  background: var(--paper-dim);
  border: 1px solid rgba(28, 25, 18, 0.06);
}

.hero-visual__phone {
  position: absolute;
  left: -1.8rem;
  bottom: -1.6rem;
  width: 76px;
  padding: 0.55rem 0.5rem 0.7rem;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 22px 46px -20px rgba(28, 25, 18, 0.5);
  transform: rotate(4deg);
}
.hero-visual__phone-notch {
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(243, 237, 226, 0.35);
  margin: 0 auto 0.5rem;
}
.hero-visual__phone-screen {
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.45rem;
}
.hero-visual__line--sm { width: 85%; height: 5px; }
.hero-visual__line--xs { width: 55%; height: 5px; margin-bottom: 0.55rem; }
.hero-visual__phone-card {
  display: block;
  height: 16px;
  border-radius: 4px;
  background: var(--paper-dim);
  margin-bottom: 0.35rem;
}
.hero-visual__phone-card:last-child { margin-bottom: 0; background: rgba(42, 110, 83, 0.16); }

/* =========================================================
   SHARED SECTION SCAFFOLDING
   ========================================================= */
section { position: relative; }

/* One consistent background runs the full length of the page — no
   section-to-section color shifts, so there's nothing to transition. */

.section-pad { padding-block: var(--section-pad); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.kicker {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

/* words cascade in as their heading's block scrolls into view */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.section-head.is-visible .word-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   WORK / PORTFOLIO
   ========================================================= */
.work { background: var(--paper); }

.work-feature {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-dim);
}

.work-feature__top {
  display: grid;
  grid-template-columns: 1fr;
}

.case-browser {
  padding: clamp(1.5rem, 4vw, 3rem);
  perspective: 1400px;
  opacity: 0;
  transform: translateY(56px) scale(0.94);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.work-feature.is-visible .case-browser {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* scroll-linked parallax layer, kept separate from the frame's own tilt/hover
   transform so the two never fight over the same property */
.case-browser__parallax {
  will-change: transform;
}

.case-browser__frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(28, 25, 18, 0.45);
  background: #fff;
  transform: rotateX(2deg) rotateY(-2deg);
  clip-path: inset(0 100% 0 0);
  transition: transform 0.5s var(--ease), clip-path 0.9s var(--ease) 0.15s;
  will-change: transform;
}
.work-feature.is-visible .case-browser__frame {
  clip-path: inset(0 0% 0 0);
}
@media (hover: hover) {
  .case-browser__frame:hover { transform: rotateX(0deg) rotateY(0deg) scale(1.01); }
}
@media (prefers-reduced-motion: reduce) {
  .case-browser { opacity: 1; transform: none; transition: none; }
  .case-browser__frame { transform: none; clip-path: none; }
}

.case-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: #ece7dd;
  border-bottom: 1px solid rgba(28,25,18,0.08);
}
.case-browser__bar .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(28,25,18,0.16);
}
.case-browser__url {
  margin-inline: auto auto;
  margin-left: 1rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.case-browser__url:hover,
.case-browser__url:focus-visible { color: var(--accent-deep); }
.case-browser__url svg { width: 11px; height: 11px; opacity: 0.6; flex: none; }

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex: none;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(42, 110, 83, 0.45);
  animation: live-pulse 2.2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 110, 83, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(42, 110, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 110, 83, 0); }
}
@media (max-width: 480px) {
  .live-label { display: none; }
}

/* live embed of the real Tence site */
.case-browser__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #fbf9f5;
}
.case-browser__viewport::before {
  content: "Loading live preview…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.case-browser__viewport iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  /* prevent the embedded site from trapping touch-scroll on mobile */
  .case-browser__viewport iframe { pointer-events: none; }
  .case-browser__viewport { aspect-ratio: 9 / 13; }
}

.work-feature__info {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.work-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.5rem;
}
.work-feature__role {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.work-feature__desc p { color: var(--ink-soft); font-size: 0.98rem; }
.work-feature__desc p + p { margin-top: 0.75rem; }

.work-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.work-feature__link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.work-feature__link svg { transition: transform 0.3s var(--ease); }
.work-feature__link:hover svg { transform: translate(3px, -3px); }

.work-more {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-family: var(--font-label);
  font-size: 0.92rem;
}
.work-more strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   OFFER
   ========================================================= */
.offer { background: var(--paper); }

.offer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.offer-statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  max-width: 22ch;
}
.offer-statement em { font-style: italic; color: var(--accent); }

.offer-list {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 3.5rem);
}
.offer-list li {
  break-inside: avoid;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease), border-color 0.25s var(--ease);
}
.offer-list li:hover {
  color: var(--ink);
  border-color: var(--accent-deep);
  padding-left: 0.4rem;
}

/* ---- follow-up: what happens after launch ---- */
.offer-followup {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.offer-followup__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
  max-width: 26ch;
}
.offer-followup__lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 52ch;
}

.offer-paths {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.offer-path {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.offer-path:hover {
  border-color: var(--accent-deep);
  background: rgba(42, 110, 83, 0.04);
}
.offer-path__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.offer-path p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* =========================================================
   APPROACH
   ========================================================= */
.approach { background: var(--paper); }

.approach-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.approach-item {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 220px;
}
.approach-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
}
.approach-item__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.approach-item__desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: auto;
}

.pricing-note {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-left: 2px solid var(--accent);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  max-width: 62ch;
}
.pricing-note p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
}
.pricing-note p + p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--paper); }
.contact-inner { text-align: left; }

.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 1.04;
  max-width: 16ch;
}
.contact-title em { font-style: italic; color: var(--accent); }

.contact-lede {
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 46ch;
}

/* ---- project brief form ---- */
.project-form {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.field label span {
  color: var(--ink-soft);
  font-weight: 400;
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(28, 25, 18, 0.32); }
.field input:hover,
.field textarea:hover { border-color: rgba(28, 25, 18, 0.28); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
}

.form-foot {
  margin-top: clamp(1.75rem, 4vw, 2.25rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact .btn-primary {
  background: var(--accent);
  color: var(--paper);
}
.contact .btn-primary:hover { background: var(--accent-deep); }

.form-privacy {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--ink-soft);
  max-width: 320px;
}

/* honeypot: never shown to real visitors, only unchecked bots would set it */
.hp-checkbox { display: none; }

.form-success {
  margin-top: 1.5rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--accent-deep);
  border-radius: 8px;
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 0.92rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: clamp(2.5rem, 6vw, 3.5rem) var(--gutter);
}
.footer-inner {
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}
.footer-mark em { font-style: italic; color: var(--accent); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: rgba(28, 25, 18, 0.45);
}

/* =========================================================
   custom cursor (fine pointers only)
   ========================================================= */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-big { width: 42px; height: 42px; }

/* hide the native OS pointer while the custom dot is running, so only
   one cursor is ever visible at a time */
html.has-custom-cursor,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input,
html.has-custom-cursor textarea {
  cursor: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .approach-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6.5rem var(--gutter) 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    font-size: 1.4rem;
    font-family: var(--font-display);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding-block: 0.85rem; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }

  .work-feature__info { grid-template-columns: 1fr; }
  .approach-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cursor-dot { display: none; }
}

@media (max-width: 480px) {
  .offer-list { column-gap: 1.25rem; }
}
