/* =============================================================
   Talk Away – landing page styles
   All colors, fonts and spacing are defined at the top (:root).
   Change a variable once and it updates across the whole site.
   ============================================================= */
:root {
  /* Brand palette (from color pallete.jpg) */
  --orange: #DD6827;       /* brand color – buttons & highlights */
  --orange-dark: #C4561A;  /* hover */
  --cream: #FDF3E8;        /* main background */
  --sand: #E8D0BE;         /* secondary background / surfaces */
  --ink: #282019;          /* main text + outlines */
  --ink-soft: #4C463F;     /* secondary text */
  --paper: #F5F5F5;        /* off-white */
  --white: #FFFFFF;

  /* Fonts */
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-script: "Instrument Serif", Georgia, serif;

  /* Shape */
  --radius: 20px;
  --radius-sm: 12px;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);       /* retro 'printed' offset shadow */
  --shadow-sm: 4px 4px 0 var(--ink);

  --container: 1140px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle paper grain for a retro feel */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  color: var(--orange); background: var(--white); border: 2px solid var(--ink);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-light { background: var(--cream); }

/* orange swoosh like the one under the logo */
.hl { position: relative; display: inline-block; white-space: nowrap; color: var(--orange); }
.hl::after {
  content: ""; position: absolute; right: -2%; left: 4%; bottom: -.08em; height: .14em;
  background: var(--orange); border-radius: 999px; transform: rotate(-2deg); opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: var(--line); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-dark); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-lg { padding: 18px 40px; font-size: 1.25rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.main-nav { display: flex; gap: 28px; font-weight: 600; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--orange); font-weight: 900; margin-inline-end: 6px; }

.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.sunburst {
  position: absolute; inset: 0; border-radius: 50%; border: var(--line);
  background: repeating-conic-gradient(var(--sand) 0 10deg, var(--cream) 10deg 20deg);
  box-shadow: var(--shadow);
  animation: spin 80s linear infinite;
}
/* White circle and logo are separate layers: the circle never clips the logo,
   and the logo sits above everything else (sunburst, stickers). */
.hero-badge {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--white); border: var(--line); z-index: 1;
}
.hero-logo { position: relative; z-index: 3; width: 60%; height: auto; }
.sticker {
  position: absolute; z-index: 2; font-weight: 800; font-size: .95rem; padding: 8px 16px; border-radius: 999px;
  border: var(--line); box-shadow: var(--shadow-sm); white-space: nowrap;
}
.sticker-a { top: 4%; right: 0; background: var(--ink); color: var(--cream); transform: rotate(-8deg); font-family: var(--font-display); letter-spacing: .08em; }
.sticker-b { bottom: 4%; left: 0; background: var(--orange); color: var(--white); transform: rotate(6deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--cream); border-block: 3px solid var(--ink); overflow: hidden; direction: ltr; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker-track span { font-family: var(--font-script); font-style: italic; font-size: 1.7rem; padding: 12px 28px; white-space: nowrap; }
.ticker-track span:nth-child(even) { color: var(--orange); }
.ticker-track span::after { content: "✦"; font-style: normal; font-size: 1rem; color: var(--sand); margin-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Process ---------- */
.steps {
  list-style: none; padding: 0; margin: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
/* dashed line connecting the steps */
.steps::before {
  content: ""; position: absolute; top: 92px; right: 10%; left: 10%;
  border-top: 3px dashed var(--orange); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-art {
  background: var(--white); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 14px 10px; margin-bottom: 22px;
  transition: transform .2s ease;
}
.step:hover .step-art { transform: translateY(-4px) rotate(-1deg); }
.step-art img { width: 100%; height: auto; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: var(--white); border: var(--line);
  font-weight: 900; font-size: 1.2rem; margin: -44px auto 10px; position: relative;
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.step-final .step-art { background: var(--orange); }
.step-final .step-num { background: var(--ink); }

/* ---------- Video ---------- */
.video-section { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.video-section::before { /* retro sunburst in the background */
  content: ""; position: absolute; width: 1400px; height: 1400px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); opacity: .035; border-radius: 50%;
  background: repeating-conic-gradient(var(--cream) 0 8deg, transparent 8deg 16deg);
}
.video-grid { position: relative; display: grid; grid-template-columns: minmax(0, 460px) auto; gap: clamp(40px, 8vw, 110px); align-items: center; justify-content: center; }
.video-copy { max-width: 460px; }
.video-copy h2 { color: var(--cream); }
.video-copy p { color: var(--sand); font-size: 1.15rem; margin-bottom: 28px; }
.phone {
  width: min(360px, 82vw); border-radius: 36px; padding: 10px;
  background: var(--orange); border: 3px solid var(--cream); box-shadow: 10px 10px 0 var(--orange-dark);
}
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #000; }

/* ---------- Included ---------- */
.included-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; align-items: center; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.features li {
  display: grid; gap: 2px; padding: 18px 22px 18px 22px; padding-inline-start: 64px; position: relative;
  background: var(--white); border: var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.features li::before {
  content: ""; position: absolute; inset-inline-start: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  background: url("../assets/illustrations/mic.svg") center / contain no-repeat;
}
.features strong { font-size: 1.15rem; }
.features span { color: var(--ink-soft); font-size: 1rem; }

/* Photo collage: tall behind-the-scenes shot + the final look.
   Photos keep their original proportions (no cropping). The 0.56fr column width
   makes the tall photo about as tall as the right-hand stack. */
.photos { display: grid; grid-template-columns: 0.56fr 1fr; gap: 16px; align-items: start; }
.photos-col { display: grid; gap: 16px; }
.photos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shot { margin: 0; display: grid; gap: 10px; }
.photo { margin: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.photo img { width: 100%; height: auto; }
.photo-bts { transform: rotate(-1.2deg); }
.photo-a   { transform: rotate(1deg); }
.photo-b   { transform: rotate(-1deg); }
.photo-tag {
  justify-self: start; font-weight: 800; font-size: .85rem; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--cream); color: var(--ink);
}
.photo-tag-orange { background: var(--orange); color: var(--white); }

/* ---------- Quote form ---------- */
.quote { background: var(--sand); border-top: var(--line); }
.quote-form { display: grid; gap: 22px; }
.card {
  margin: 0; min-width: 0; background: var(--cream); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px clamp(18px, 4vw, 34px) 28px;
}
.card-soft { background: color-mix(in srgb, var(--cream) 60%, var(--sand)); box-shadow: none; border-style: dashed; }
legend {
  float: left; width: 100%; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; padding: 0;
}
legend + * { clear: both; }
legend em { font-style: normal; font-weight: 500; font-size: 1rem; color: var(--ink-soft); }
.q-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--orange); color: var(--white); border: 2px solid var(--ink); font-size: 1rem;
}

.fields-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.when-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.sub-label { margin: 10px 0 10px; font-weight: 700; font-size: .98rem; }
.sub-label em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; min-width: 0; }
.field input[type="date"], .field input[type="time"] {
  -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%;
  min-height: 50px; line-height: 1.3;
}
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 12px 14px;
}
.field input:disabled { background: var(--paper); color: var(--ink-soft); border-style: dashed; }
.field textarea { resize: vertical; }

.hint { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
.field-spaced { margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; font-weight: 600; }
.check input { width: 24px; height: 24px; accent-color: var(--orange); flex: none; }

/* Choice cards */
.choices { display: grid; gap: 12px; }
.choices-4 { grid-template-columns: repeat(4, 1fr); }
.choices-list { grid-template-columns: 1fr; gap: 10px; }
.choices-list .choice-body { padding: 11px 16px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-body {
  display: grid; gap: 2px; height: 100%; padding: 14px 16px; text-align: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.choice-body small { color: var(--ink-soft); font-size: .92rem; line-height: 1.3; }
.choice-body .big { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.choices-list .choice-body { text-align: start; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.choices-list .choice-body::before { /* radio circle */
  content: ""; grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white);
}
.choices-list .choice-body b { font-size: 1.1rem; }
.choice:hover .choice-body { transform: translateY(-2px); }
.choice input:checked + .choice-body { background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.choice input:checked + .choice-body small { color: var(--cream); }
.choices-list .choice input:checked + .choice-body::before { background: var(--white); box-shadow: inset 0 0 0 5px var(--ink); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--orange); outline-offset: 3px; }

.note {
  display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; padding: 14px 16px;
  background: var(--white); border: 2px dashed var(--orange); border-radius: var(--radius-sm); font-size: 1rem;
}
.note img { flex: none; }
.total-time { display: block; margin-top: 4px; font-weight: 800; color: var(--orange); }

.card.is-invalid { border-color: var(--orange); box-shadow: 6px 6px 0 var(--orange); }
.card .error-text { color: var(--orange-dark); font-weight: 700; font-size: .95rem; margin: 12px 0 0; }

.submit-row { text-align: center; padding-top: 10px; }
.form-msg { margin: 16px 0 0; font-weight: 700; min-height: 1.6em; }
.form-msg.ok { color: var(--ink); }
.form-msg.err { color: var(--orange-dark); }

.privacy-note { margin: 6px auto 0; max-width: 520px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Privacy page ---------- */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal .muted { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 0; text-align: center; }
.footer-row { display: grid; justify-items: center; gap: 8px; }
.site-footer img { background: var(--cream); border-radius: 50%; padding: 17px; object-fit: contain; }
.tagline { font-family: var(--font-script); font-style: italic; font-size: 1.6rem; margin: 6px 0 0; }
.small { font-size: .9rem; color: var(--sand); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; max-width: 640px; margin: 0 auto; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .hero-grid, .video-grid, .included-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; width: 100%; margin: 0 auto; grid-row: 1; }
  .video-grid { justify-items: center; text-align: center; gap: 40px; }
  .fields-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .steps { gap: 16px; row-gap: 32px; }
  .choices-4 { grid-template-columns: 1fr 1fr; }
  .fields-2 { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  h1 { font-size: clamp(1.8rem, 8.4vw, 2.6rem); }
  /* Photos stack on phones so each one is big enough to see */
  .photos { grid-template-columns: 1fr; gap: 22px; }
  .photos-col { gap: 22px; }
  .photos-row { gap: 12px; }
  .photo { border-radius: var(--radius-sm); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
