/* ==========================================================
   Amplified Visions — styles
   Tweak the look from the variables in :root
   ========================================================== */

:root {
  /* Colors */
  --bg: #f2ede4;          /* warm cream */
  --bg-alt: #e8e0d2;      /* deeper sand */
  --surface: #fbf9f5;
  --ink: #141312;         /* near-black */
  --ink-soft: #55504a;    /* body text */
  --ink-muted: #8a837a;
  --line: rgba(20, 19, 18, 0.12);
  --dark: #121110;        /* dark sections */
  --dark-2: #1c1a18;
  --on-dark: #f3eee6;
  --on-dark-soft: rgba(243, 238, 230, 0.66);
  --accent: #a8834f;      /* muted champagne gold */
  --accent-light: #c9a877;
  --header-bg: rgba(242, 237, 228, 0.85);
  --field-line: rgba(20, 19, 18, 0.22);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 160px);
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(20, 19, 18, 0.35), 0 12px 24px -16px rgba(20, 19, 18, 0.18);
}

/* Dark scope: flips the palette for any section with .theme-dark */
.theme-dark {
  --bg: #121110;
  --bg-alt: #23201d;
  --surface: #1a1816;
  --ink: #f3eee6;
  --ink-soft: rgba(243, 238, 230, 0.7);
  --ink-muted: rgba(243, 238, 230, 0.48);
  --line: rgba(243, 238, 230, 0.12);
  --accent: #c9a877;
  --header-bg: rgba(18, 17, 16, 0.95);
  --field-line: rgba(243, 238, 230, 0.22);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 16px 32px -16px rgba(0, 0, 0, 0.5);
  background-color: var(--bg);
  color: var(--ink);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; } /* matches the header height */

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow,
.section .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section { padding: var(--section-y) 0; }

.section__head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 300;
  text-wrap: balance;
}
.section__title em,
.hero__title em,
.contact__title em { color: var(--accent); font-weight: 300; }

/* Stays on one line on wide screens; on phones it breaks between the two phrases */
.section__head:has(.section__title--oneline) { max-width: none; }
.section__title--oneline > * { white-space: nowrap; }

.nowrap { white-space: nowrap; }

.section__intro { margin: 24px auto 0; font-size: 18px; color: var(--ink-soft); max-width: 560px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn span[aria-hidden] { transition: transform 0.3s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); }

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { background: var(--header-bg); border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__mark { height: 42px; width: auto; }
.wordmark__text { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.01em; }
.wordmark__text em { color: var(--accent); }

/* Links sit in a slim capsule; the current section stays highlighted */
.nav__links {
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(243, 238, 230, 0.03);
}
.nav__links a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(243, 238, 230, 0.06); }
.nav__links a[aria-current="true"] { color: var(--ink); background: rgba(243, 238, 230, 0.1); }

.nav__cta { min-height: 44px; padding: 0 22px; font-size: 14px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 80px 0 0 0; z-index: 99;
  background: var(--bg);
  overflow-y: auto;
  padding: 32px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 40px; font-weight: 300;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 144px) 0 0;
  overflow: hidden;
  text-align: center;
}
/* Soft gold glow behind the headline */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 18%, rgba(201, 168, 119, 0.16), transparent 70%),
    radial-gradient(40% 35% at 50% 100%, rgba(201, 168, 119, 0.08), transparent 70%);
}
.hero > .container { position: relative; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 8.2vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 12em;
  margin: 0 auto;
  text-wrap: balance;
}
.hero__title em { display: block; }

.hero__bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hero__sub { text-wrap: balance; max-width: 540px; font-size: 18px; color: var(--ink-soft); margin: 0; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Client sites drifting slowly across, faded at the edges */
.showcase {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.showcase__track {
  --gap: 28px;
  display: flex; gap: var(--gap);
  width: max-content;
  padding: 8px 0 40px;
  animation: marquee 60s linear infinite;
}
.showcase:hover .showcase__track { animation-play-state: paused; }
.showcase .frame { flex: none; width: clamp(280px, 34vw, 500px); }
/* Play badge on the video item */
.frame__screen--video::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(243, 238, 230, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23141312'/%3E%3C/svg%3E") no-repeat 55% center / 20px;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.trusted {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 96px);
}
.trusted__label { margin: 0; text-align: center; text-wrap: balance; line-height: 1.7; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
/* Client logos in one cream tone, softly dimmed until hovered */
.trusted__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px clamp(40px, 6vw, 96px);
}
.trusted__logos li { opacity: 0.6; transition: opacity 0.4s var(--ease); }
.trusted__logos li:hover { opacity: 1; }
.trusted__logos img { width: auto; height: 44px; }
.trusted__logos img[src*="belmont"] { height: 64px; }
.trusted__logos .logo-arendsen { color: var(--ink); }

/* Google rating badge under the hero buttons */
.rating {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 4px; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.rating:hover { border-color: var(--accent); color: var(--ink); }
.rating strong { font-weight: 700; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { display: block; }

/* ---------- Browser frame (portfolio screenshots) ---------- */
.frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame__bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(20, 19, 18, 0.16); }
.frame__bar span {
  margin-left: 12px; font-size: 11px; color: var(--ink-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.frame__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e7dfd1, #d8ccb8);
}

/* Fallback label shown if the screenshot is missing */
.frame__screen::before,
.about__photo::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 20px; text-align: center;
  font-family: var(--font-display); font-size: clamp(16px, 2vw, 26px);
  color: rgba(20, 19, 18, 0.4);
}
.frame__screen img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 1.2s var(--ease);
}
.img-missing { visibility: hidden; }

/* ---------- Work ---------- */
/* Project cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1080px; margin: 0 auto; gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(20, 19, 18, 0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 36px 64px -32px rgba(20, 19, 18, 0.4); }

/* Screenshot sits in a browser frame on a sand backdrop, like a mockup */
.card__media {
  display: block;
  padding: 28px 28px 0;
  background: linear-gradient(160deg, var(--bg-alt), #ddd3c2);
  overflow: hidden;
}
.card__media .frame { border-radius: 10px 10px 0 0; border-bottom: 0; box-shadow: 0 20px 40px -20px rgba(20, 19, 18, 0.45); }
.card__media .frame__bar { height: 26px; }
.card__media .frame__bar i { width: 7px; height: 7px; }
.card__media .frame__bar span { font-size: 10px; }
.card:hover .frame__screen img { transform: scale(1.04); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 32px clamp(24px, 2.4vw, 36px) 32px; }

.card__logo { height: 84px; display: flex; align-items: center; margin-bottom: 20px; }
.card__logo img { height: 56px; width: auto; }
.card__logo img.card__logo-badge { height: 84px; }
.logo-arendsen {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: var(--font-display); font-size: 26px; line-height: 1;
  letter-spacing: 0.22em; text-transform: uppercase; color: #3d1119;
}
.logo-arendsen small {
  margin-top: 6px; padding-top: 5px; border-top: 1px solid currentColor;
  font-family: var(--font-body); font-size: 8.5px; font-weight: 600; letter-spacing: 0.28em;
}

.card__text { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }

.card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.card__list li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.card__list svg {
  flex: none; width: 22px; height: 22px; padding: 3px;
  border-radius: 50%; background: var(--accent); color: var(--surface);
}

.card__link {
  margin-top: auto; align-self: flex-start;
  font-size: 15px; font-weight: 600; color: var(--ink-muted);
  transition: color 0.3s var(--ease);
}
.card__link:hover { color: var(--accent); }

/* Client review */
.review {
  max-width: 760px; margin: clamp(72px, 9vw, 120px) auto 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.review__quote { margin: 0; }
.review__quote p {
  margin: 0;
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.015em;
  text-wrap: balance;
}
.review__by { display: flex; align-items: center; gap: 14px; text-align: left; }
.review__by strong { display: block; font-weight: 600; font-size: 16px; }
.review__by span span { font-size: 14px; color: var(--ink-muted); }
.review__avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--surface);
  font-family: var(--font-display); font-size: 20px;
}
.review__link {
  font-size: 14px; font-weight: 600; color: var(--ink-muted);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.review__link:hover { color: var(--accent); }

.logo-reflections {
  display: inline-flex; flex-direction: column;
  font-family: var(--font-display); font-style: italic; font-size: 30px; line-height: 1;
  letter-spacing: -0.01em; color: var(--ink);
}
.logo-reflections small {
  margin-top: 6px;
  font-family: var(--font-body); font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-muted);
}

.video {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.4s var(--ease), transform 1.2s var(--ease); }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(246, 242, 234, 0.92); color: var(--ink);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.video__play svg { margin-left: 3px; }
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.08); background: var(--bg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card .video { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }
.card .video__play { width: 60px; height: 60px; }

/* ---------- Services (dark) ---------- */
.services { background: var(--dark); color: var(--on-dark); }
.services .section__title em { color: var(--accent-light); }
.services .eyebrow { color: var(--accent-light); }

.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.service {
  padding: clamp(32px, 3.4vw, 48px);
  background: var(--dark-2);
  border: 1px solid rgba(243, 238, 230, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service:hover { border-color: rgba(201, 168, 119, 0.4); transform: translateY(-4px); }
.service__num { font-family: var(--font-display); font-size: 15px; color: var(--accent-light); }
.service__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.05vw, 30px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 28px 0 18px;
  white-space: nowrap;
}
.service p { color: var(--on-dark-soft); }

.checklist { margin-top: 28px; border-top: 1px solid rgba(243, 238, 230, 0.1); }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 238, 230, 0.1);
  font-size: 15px;
}
.checklist li::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light);
}

.addon {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  margin-top: 24px;
  padding: 28px clamp(28px, 4vw, 56px);
  border: 1px dashed rgba(243, 238, 230, 0.22);
  border-radius: var(--radius);
}
.addon__badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(201, 168, 119, 0.14); color: var(--accent-light);
}
.addon__title { font-family: var(--font-display); font-size: 24px; margin-bottom: 4px; }
.addon p { margin: 0; color: var(--on-dark-soft); font-size: 15px; }
.addon .link-arrow { white-space: nowrap; }
.addon .link-arrow:hover { color: var(--accent-light); }

/* ---------- Process ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 40px 20px 0;
  text-align: center;
}
.step::before {
  content: ""; position: absolute; top: -5px; left: 50%; margin-left: -4.5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
}
.step__num {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 5vw, 72px); line-height: 1;
  color: var(--accent);
  margin-bottom: 28px;
}
.step__title { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #e2d8c6, #cdbfa6);
}
.about__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.about__body .section__title { margin-bottom: 32px; }
.about__body p { color: var(--ink-soft); font-size: 18px; }
.about__founder { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.about__name { font-family: var(--font-display); font-size: 24px; }
.about__role { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 300;
  margin-bottom: 28px;
  text-wrap: balance;
}
/* Keep the gold phrase together on its own line */
.contact__title em { display: block; white-space: nowrap; }
.contact__intro > p { font-size: 18px; color: var(--ink-soft); max-width: 440px; }

.contact__details { margin-top: 48px; border-top: 1px solid var(--line); }
.contact__details li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.contact__details span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.contact__details a,
.contact__details p { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); margin: 0; word-break: break-word; text-align: right; }
.contact__details a:hover { color: var(--accent); }
.contact__details small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13px; color: var(--ink-muted); }

.form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--field-line);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input.is-invalid { border-bottom-color: #b5452f; }

/* "What do you need?" as selectable pills */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.choice__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip:last-child { grid-column: span 2; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--field-line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover span { border-color: var(--ink-muted); color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #121110; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--ink-soft); min-height: 44px; }
.checkbox input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; margin: 0;
  border: 1px solid var(--field-line); border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.checkbox:hover input { border-color: var(--ink-muted); }
.checkbox input:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23121110' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px;
  border-color: var(--accent);
}

.form__status { margin: 0; font-size: 14px; color: var(--ink-soft); min-height: 1.4em; text-align: center; }

/* Sending state: spinner in the button */
.btn.is-loading { pointer-events: none; }
.btn.is-loading span[aria-hidden] { display: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state: the form fields step aside for a drawn check mark */
.form__success { display: none; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent { justify-content: center; }
.form.is-sent .form__success {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.form__check { width: 84px; height: 84px; margin-bottom: 10px; overflow: visible; }
.form__check circle,
.form__check path {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.form__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.form__check path { stroke-width: 2.6; stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent .form__check { animation: check-glow 1.8s var(--ease) 0.9s both; }
.form.is-sent .form__check circle { animation: draw 0.7s var(--ease) forwards; }
.form.is-sent .form__check path { animation: draw 0.45s var(--ease) 0.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes check-glow {
  0% { filter: drop-shadow(0 0 0 rgba(201, 168, 119, 0)); }
  40% { filter: drop-shadow(0 0 18px rgba(201, 168, 119, 0.55)); }
  100% { filter: drop-shadow(0 0 6px rgba(201, 168, 119, 0.2)); }
}
.form__success-title { font-family: var(--font-display); font-size: 34px; font-weight: 300; outline: none; }
.form__success-text { max-width: 300px; margin: 0; color: var(--ink-soft); }
.form.is-sent .form__success-title,
.form.is-sent .form__success-text,
.form.is-sent .form__again { animation: rise 0.7s var(--ease) both; }
.form.is-sent .form__success-title { animation-delay: 0.85s; }
.form.is-sent .form__success-text { animation-delay: 1s; }
.form.is-sent .form__again { animation-delay: 1.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.form__again {
  margin-top: 14px; padding: 0 0 2px;
  background: none; border: 0; border-bottom: 1px solid currentColor;
  font: 600 14px/1.4 var(--font-body); color: var(--ink-muted); cursor: pointer;
  transition: color 0.3s var(--ease);
}
.form__again:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0c0b0a; padding: clamp(72px, 9vw, 112px) 0 32px; overflow: hidden; }

.footer__top {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px;
}
.footer__tagline { margin: 20px 0 28px; max-width: 320px; color: var(--ink-soft); font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink); color: #121110;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { background: var(--accent); transform: translateY(-2px); }

.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__heading {
  margin-bottom: 10px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.footer__col a { padding: 4px 0; font-size: 15px; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__col p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

/* Oversized faded wordmark */
.footer__mark {
  margin: clamp(56px, 8vw, 104px) 0 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(52px, 12.5vw, 196px); line-height: 0.85; letter-spacing: -0.04em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(243, 238, 230, 0.16) 10%, rgba(243, 238, 230, 0) 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__mark em { font-weight: 300; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-muted);
}
.footer__bottom p { margin: 0; }
.footer__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.footer__back:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links a { padding: 9px 14px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; border-top: 0; }
  .step { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .services__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: 40px; }

  .addon { grid-template-columns: 1fr; gap: 16px; }
  .addon__badge { justify-self: start; }

  .about__body p { font-size: 17px; }
}

@media (max-width: 600px) {
  .trusted__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; justify-items: center; width: 100%; }
  .trusted__logos .logo-arendsen { font-size: 19px; }
  .trusted__logos .logo-reflections { font-size: 24px; }
  .trusted__logos small { font-size: 7.5px; }
  body { font-size: 16px; }
  .nav { height: 68px; }
  .mobile-menu { inset: 68px 0 0 0; }
  html { scroll-padding-top: 68px; }

  .wordmark__text { font-size: 19px; }
  .wordmark__mark { height: 36px; }

  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }

  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); row-gap: 48px; padding-left: 28px; }
  .step { padding: 0; text-align: left; border-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; }
  .step::before { top: 8px; left: -33px; margin-left: 0; }
  .step__num { margin-bottom: 16px; }

  .form__row { grid-template-columns: 1fr; }
  .choice__options { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 32px 26px; }
  .service__title { font-size: 26px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__top > .footer__col:last-child { grid-column: 1 / -1; }
  .contact__details li { flex-direction: column; gap: 4px; }
  .contact__details a,
  .contact__details p { text-align: left; }

  /* Hero: location on its own line */
  .eyebrow__sep { display: none; }
  .eyebrow__place { display: block; margin-top: 6px; }

  /* Project cards: less padding so screenshots get more room */
  .card__media { padding: 16px 16px 0; }
  .card__body { padding: 26px 22px 28px; }

  /* Process: number and title share a line to cut scrolling */
  .step { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; }
  .step__num { font-size: 40px; margin-bottom: 0; }
  .step__title { margin: 0; }
  .step p { grid-column: 1 / -1; margin-top: 10px; }
  .steps { row-gap: 36px; }

  .about__actions .btn { flex: 1 1 100%; }
}

/* Touch screens: don't leave hover lifts or a paused marquee stuck after a tap */
@media (hover: none) {
  .card:hover,
  .service:hover,
  .socials a:hover { transform: none; }
  .card:hover .frame__screen img,
  .video:hover img { transform: none; }
  .showcase:hover .showcase__track { animation-play-state: running; }
}

@media print {
  .js .reveal { opacity: 1; transform: none; }
  .site-header, .showcase, .form { display: none; }
}

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