/* ============================================
   Highstreet Signal — main stylesheet  v2
   Rich, layered, animated.
   ============================================ */

/* ---- Self-hosted fonts ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-600-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
}

:root {
  --ink: #0e1116;
  --ink-2: #171c23;
  --ink-soft: #4a545e;
  --paper: #faf7f2;
  --white: #ffffff;
  --line: #e7e1d6;
  --line-dark: rgba(255,255,255,0.1);
  --accent: #e8632c;       /* signal orange */
  --accent-dark: #c74e1d;
  --accent-glow: rgba(232, 99, 44, 0.35);
  --gold: #e8b64c;
  --cream-text: #f4efe7;
  --muted-on-dark: #99a1ab;
  --radius: 18px;
  --max: 1140px;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

em.sig {
  font-style: italic;
  color: var(--accent);
}

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.65,.3,1), transform 0.7s cubic-bezier(.2,.65,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  z-index: 100;
}

header.on-light {
  background: rgba(250, 247, 242, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--cream-text);
  letter-spacing: -0.01em;
}
header.on-light .logo, footer .logo { color: var(--ink); }
.logo:hover { text-decoration: none; }

.logo-dot {
  position: relative;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.logo-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.55;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(0.6); opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

nav.menu { display: flex; gap: 30px; align-items: center; }

nav.menu a {
  color: var(--muted-on-dark);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}
header.on-light nav.menu a { color: var(--ink-soft); }
nav.menu a:hover { color: var(--cream-text); text-decoration: none; }
header.on-light nav.menu a:hover { color: var(--ink); }
nav.menu a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--cream-text); }
header.on-light .nav-toggle { color: var(--ink); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
  }
  header.on-light nav.menu { background: var(--paper); border-color: var(--line); }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 13px 28px; }
  .nav-cta { margin: 10px 28px 0; text-align: center; }
}

/* ---------- Hero (dark, animated signal) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(232,99,44,0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(232,182,76,0.08), transparent 60%),
    var(--ink);
  color: var(--cream-text);
  padding: 110px 0 130px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, black, transparent 75%);
}

.signal-rings {
  position: absolute;
  top: 50%; right: -160px;
  width: 720px; height: 720px;
  transform: translateY(-50%);
  pointer-events: none;
}
.signal-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232,99,44,0.5);
  animation: ringPulse 5.5s ease-out infinite;
}
.signal-rings span:nth-child(2) { animation-delay: 1.35s; }
.signal-rings span:nth-child(3) { animation-delay: 2.7s; }
.signal-rings span:nth-child(4) { animation-delay: 4.05s; }
@keyframes ringPulse {
  0%   { transform: scale(0.12); opacity: 0.9; }
  100% { transform: scale(1);    opacity: 0; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.kicker::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.3rem);
  margin-bottom: 26px;
  color: #fff;
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--muted-on-dark);
  max-width: 32em;
  margin-bottom: 38px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.28); color: var(--cream-text); }
.btn-ghost:hover { border-color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-ghost.on-light { border-color: #cdc5b6; color: var(--ink); }
.btn-ghost.on-light:hover { border-color: var(--ink); }

/* Floating browser mockups in hero */
.hero-stack {
  position: relative;
  height: 460px;
}
.hero-stack .mock {
  position: absolute;
  width: 300px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  transition: transform 0.35s ease;
}
.hero-stack .mock:nth-child(1) { top: 0; right: 0; z-index: 3; }
.hero-stack .mock:nth-child(2) { top: 145px; right: 130px; z-index: 2; }
.hero-stack .mock:nth-child(3) { top: 290px; right: 0; z-index: 1; }
.hero-stack .mock:hover { transform: translateY(-6px); z-index: 4; }
@media (max-width: 960px) {
  .hero-stack { display: none; }
}

/* ---------- Browser mockup component ---------- */
.mock {
  border-radius: 12px;
  overflow: hidden;
  background: var(--m-bg, #fff);
  border: 1px solid rgba(0,0,0,0.08);
}
.mock-bar {
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  background: rgba(0,0,0,0.22);
}
.mock-bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.mock-page { padding: 14px; }

.m-nav {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.m-nav b {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--m-ink, #222);
  letter-spacing: 0.02em;
  margin-right: auto;
}
.m-nav i { width: 16px; height: 3px; border-radius: 2px; background: var(--m-soft, #ccc); }

.m-hero {
  border-radius: 8px;
  background: var(--m-accent, #888);
  height: 84px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.m-hero::after {
  content: "";
  position: absolute;
  left: 10px; bottom: 10px;
  width: 55%; height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);
}
.m-hero::before {
  content: "";
  position: absolute;
  left: 10px; bottom: 24px;
  width: 35%; height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.55);
}

.m-row { display: flex; gap: 8px; }
.m-card {
  flex: 1;
  height: 44px;
  border-radius: 6px;
  background: var(--m-tint, #eee);
  position: relative;
  overflow: hidden;
}
.m-card::after {
  content: "";
  position: absolute;
  left: 6px; bottom: 6px;
  width: 60%; height: 4px;
  border-radius: 2px;
  background: var(--m-soft, #ccc);
}
.m-card:first-child { background: var(--m-accent2, var(--m-tint, #eee)); }

.m-foot {
  margin-top: 10px;
  height: 8px;
  border-radius: 4px;
  width: 40%;
  background: var(--m-soft, #ddd);
}

/* mock brand themes */
.mock-chatchaya { --m-bg: #f7f4ec; --m-ink: #33402e; --m-accent: #7d9b76; --m-accent2: #d8c791; --m-tint: #e7e3d3; --m-soft: #b9b29c; }
.mock-beautybox { --m-bg: #f8f5f0; --m-ink: #1a2332; --m-accent: #1a2332; --m-accent2: #c4a265; --m-tint: #e8e3d9; --m-soft: #bfb5a0; }
.mock-j1        { --m-bg: #171c24; --m-ink: #f0f2f5; --m-accent: #303a48; --m-accent2: #48d0a8; --m-tint: #232a35; --m-soft: #4a5666; }
.mock-a64       { --m-bg: #f7f3ee; --m-ink: #2a4058; --m-accent: #3b5876; --m-accent2: #c75a5a; --m-tint: #ede7df; --m-soft: #b8c4d2; }
.mock-onzon     { --m-bg: #fbf6ee; --m-ink: #191613; --m-accent: #f29c47; --m-accent2: #3fc2dd; --m-tint: #f1e6d2; --m-soft: #d4bd93; }
.mock-hss       { --m-bg: #0e1116; --m-ink: #f4efe7; --m-accent: #e8632c; --m-accent2: #e8b64c; --m-tint: #1c222b; --m-soft: #3a434f; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee .track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 30s linear infinite;
}
.marquee span {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(244,239,231,0.6);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after { content: "✦"; color: var(--accent); font-style: normal; font-size: 0.8rem; }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
section.alt { background: var(--white); }
section.dark {
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(232,99,44,0.12), transparent 60%),
    var(--ink);
  color: var(--cream-text);
}
section.dark .section-head p { color: var(--muted-on-dark); }
section.dark h2, section.dark h3 { color: #fff; }

.section-head { max-width: 40em; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.cols-4 .card { padding: 30px 24px 26px; }
.grid.cols-4 .price { font-size: 2rem; }
@media (max-width: 1100px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(14,17,22,0.09);
  border-color: transparent;
}
.card .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
}
.card .card-link::after { content: " →"; transition: margin 0.2s; }
.card:hover .card-link::after { margin-left: 4px; }

/* ---------- Featured work rows ---------- */
.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.work-row:last-of-type { border-bottom: 0; }
.work-row.flip .work-visual { order: 2; }
@media (max-width: 900px) {
  .work-row { grid-template-columns: 1fr; gap: 32px; }
  .work-row.flip .work-visual { order: 0; }
}

.work-visual {
  position: relative;
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.work-visual .mock {
  width: min(360px, 100%);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  transform: rotate(-2deg);
  transition: transform 0.35s;
}
.work-row:hover .work-visual .mock { transform: rotate(0deg) scale(1.02); }

.wv-sage     { background: linear-gradient(140deg, #86a37e, #4d6847); }
.wv-cream    { background: linear-gradient(140deg, #c4a265, #8a6f3e); }
.wv-night    { background: linear-gradient(140deg, #39424f, #10151d); }
.wv-plum     { background: linear-gradient(140deg, #97799f, #57425f); }
.wv-navy     { background: linear-gradient(140deg, #4c6d92, #24384f); }
.wv-festival { background: linear-gradient(140deg, #e0713f, #96341c); }
.wv-ocean    { background: linear-gradient(140deg, #55809c, #2c4b60); }

.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at 30% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, black, transparent 70%);
}

.work-info .kicker { margin-bottom: 14px; }
.work-info h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.work-info p { color: var(--ink-soft); margin-bottom: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
section.dark .tag { background: transparent; color: var(--muted-on-dark); border-color: var(--line-dark); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-style: italic;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted-on-dark); font-size: 0.94rem; }

/* ---------- Quote ---------- */
.quote {
  max-width: 46em;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 22px;
}
.quote blockquote::before { content: "“"; color: var(--accent); }
.quote blockquote::after { content: "”"; color: var(--accent); }
.quote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 20px 30px;
  background: var(--white);
}
section.dark .stat { background: rgba(255,255,255,0.045); border-color: var(--line-dark); }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
section.dark .stat b { color: #fff; }
.stat b i { font-style: italic; color: var(--accent); }
.stat span { color: var(--ink-soft); font-size: 0.95rem; }
section.dark .stat span { color: var(--muted-on-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(232,182,76,0.22), transparent 55%),
    linear-gradient(140deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 76px 52px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 0 0 90px rgba(255,255,255,0.05), 0 0 0 200px rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 34em; margin: 0 auto 32px; position: relative; }
.cta-band .btn {
  background: #fff;
  color: var(--accent-dark);
  position: relative;
}
.cta-band .btn:hover { transform: translateY(-2px); text-decoration: none; }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--ink);
  color: var(--cream-text);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(232,99,44,0.4);
  box-shadow: 0 0 0 40px rgba(232,99,44,0.07), 0 0 0 90px rgba(232,99,44,0.05);
}
.contact-panel .row { margin-bottom: 24px; position: relative; }
.contact-panel .row b { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--gold); margin-bottom: 5px; }
.contact-panel .row a, .contact-panel .row span { font-size: 1.05rem; font-weight: 500; color: #fff; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
form input, form textarea, form select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,99,44,0.12);
}

/* ---------- Prose ---------- */
.prose { max-width: 44em; }
.prose p { margin-bottom: 1.25em; color: var(--ink-soft); font-size: 1.05rem; }
.prose p strong { color: var(--ink); }
.prose h2 { font-size: 1.7rem; margin: 1.7em 0 0.6em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 70% at 80% 0%, rgba(232,99,44,0.13), transparent 60%),
    var(--ink);
  color: var(--cream-text);
  padding: 90px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 90% at 70% 10%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 70% 10%, black, transparent 75%);
}
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}
.page-hero p.lead {
  font-size: 1.15rem;
  color: var(--muted-on-dark);
  max-width: 36em;
  position: relative;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 56px 0 44px;
}
footer .logo { color: #fff; }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--muted-on-dark); font-size: 0.9rem; }
.foot-links a:hover { color: #fff; text-decoration: none; }
.foot small { display: block; margin-top: 30px; color: #5b636d; font-size: 0.82rem; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price {
  font-family: var(--display);
  font-size: 2.3rem;
  line-height: 1;
  margin: 10px 0 4px;
}
.price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-from {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.card.featured { border-color: var(--accent); box-shadow: 0 18px 40px rgba(232,99,44,0.14); }
.plan-list { list-style: none; margin: 16px 0 6px; }
.plan-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--line);
}
.plan-list li:last-child { border-bottom: 0; }
.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-note {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Client logo band (grey → brand colour on hover) ---------- */
.client-band {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 34px 0 30px;
}
.client-band .cb-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b636d;
  margin-bottom: 22px;
}
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 4.5vw, 56px);
  flex-wrap: wrap;
}
.clogo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #6a7280;
  filter: grayscale(1);
  opacity: 0.75;
  transition: color 0.35s, filter 0.35s, opacity 0.35s, transform 0.35s;
  text-align: center;
  line-height: 1.1;
}
.clogo:hover { text-decoration: none; filter: grayscale(0); opacity: 1; transform: translateY(-3px); }
.clogo b { display: block; }
.clogo small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.clogo-chatchaya b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}
.clogo-chatchaya:hover { color: #8fae87; }
.clogo-chatchaya:hover small { color: #d8c791; }

.clogo-beautybox b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
}
.clogo-beautybox:hover { color: #ffffff; }
.clogo-beautybox:hover small { color: #d4886e; }

.clogo-a64 b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}
.clogo-a64:hover { color: #82a6cc; }
.clogo-a64:hover small { color: #d4716e; }

.clogo-onzon b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.clogo-onzon:hover { color: #f29c47; }
.clogo-onzon:hover small { color: #3fc2dd; }

@media (hover: none) {
  /* On touch devices show the colours by default — there is no hover */
  .clogo { filter: grayscale(0); opacity: 1; }
  .clogo-chatchaya { color: #8fae87; }
  .clogo-chatchaya small { color: #d8c791; }
  .clogo-beautybox { color: #ffffff; }
  .clogo-beautybox small { color: #d4886e; }
  .clogo-a64 { color: #82a6cc; }
  .clogo-a64 small { color: #d4716e; }
  .clogo-onzon { color: #f29c47; }
  .clogo-onzon small { color: #3fc2dd; }
}

/* ---------- Footer v2 ---------- */
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 34px; } }

.foot-brand p {
  margin-top: 16px;
  font-size: 0.93rem;
  color: var(--muted-on-dark);
  max-width: 28em;
}

.foot-col > b {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.foot-col a, .foot-col span {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.93rem;
  padding: 4px 0;
}
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-col .foot-cta { color: var(--accent); font-weight: 600; }
.foot-col .foot-cta:hover { color: #fff; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}
.foot-bottom small { color: #5b636d; font-size: 0.82rem; }
.foot-made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-made i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping-soft 2.4s ease-in-out infinite;
}
@keyframes ping-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Logo mark ---------- */
.logo-mark { width: 22px; height: 22px; flex-shrink: 0; }
.foot-brand .logo-mark, footer .logo-mark { width: 20px; height: 20px; }
