/* Event Media Advisors — site styles (T2 split layout, approved copy v3)
   Phone < 600px · Tablet 600–1023px · Desktop >= 1024px */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #0F1115;
  --body: #1B1D22;
  --body-2: #3E4148;
  --muted: #5A5E66;
  --line: #E2E2DD;
  --panel: #F4F4F2;
  --field-line: #84847E;
  --accent: #C84B1E;
  --accent-dark: #A63D17;
  --white: #FFFFFF;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 20px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site-header, .mobile-cta { transition: none !important; } }
body { margin: 0; font-family: var(--text); color: var(--body); background: var(--white); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--body); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- layout ---------- */
.layout { display: block; }
.hero, .main { padding: 0 var(--pad); }
.hero { padding-top: 4px; padding-bottom: 28px; }
.main { padding-bottom: 28px; }

/* ---------- site header ---------- */
:root { --header-h: 64px; }
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); padding: 6px var(--pad); padding-top: max(6px, env(safe-area-inset-top)); max-width: 1440px; margin: 0 auto; }
.header-right { display: flex; align-items: center; gap: 6px 18px; }
.nav-link { display: none; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent-dark); text-decoration: underline; }
.site-header .nav-cta { display: none; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--body); text-decoration: none; }
.social { display: flex; align-items: center; gap: 6px; }
.social a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-size: 13px; color: var(--body); text-decoration: none; }
.social a:hover { color: var(--accent-dark); }
.social svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- hero ---------- */
.hero h1 { margin: 28px 0 14px; font-family: var(--display); font-size: 31px; line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); max-width: 18ch; }
.hero .sub { margin: 0 0 22px; font-size: 16px; line-height: 1.55; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; background: var(--ink); color: var(--white); font: 600 15px/1.2 var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { background: #2A2D33; color: var(--white); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--accent-dark); text-decoration: underline; }

/* ---------- mosaic ---------- */
.mosaic { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 2px; height: 520px; background: var(--ink); overflow: hidden; }
.mosaic picture, .mosaic img { width: 100%; height: 100%; }
.mosaic img { object-fit: cover; filter: saturate(0.85); }
.mosaic::after { content: ""; position: absolute; inset: 0; background: rgba(15, 17, 21, 0.25); pointer-events: none; }

/* ---------- sections ---------- */
.section { padding-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.rule { width: 40px; height: 3px; background: var(--accent); }
h2 { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; max-width: 38em; }
.lead-strong { font-weight: 600; color: var(--ink); }
.caption { font-size: 14px; color: var(--muted); }

/* ---------- calendar preview ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.preview { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
.preview th, .preview td { padding: 10px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.preview tr:last-child td { border-bottom: 0; }
.preview th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.preview td:first-child { font-weight: 600; white-space: nowrap; }
.preview td:last-child { color: var(--muted); }

/* ---------- tools ---------- */
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tool { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tool-num { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1; color: var(--accent); width: 22px; flex-shrink: 0; }
.tool-name { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.tool-desc { display: block; font-size: 14px; line-height: 1.5; color: var(--body-2); }

/* ---------- forms ---------- */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field .hint { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--field-line); border-radius: 4px; background: var(--white); padding: 10px 12px; font: 16px/1.4 var(--text); color: var(--body); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--accent); outline-offset: 1px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin-top: 4px; }
.field .check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; }
.field .check input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-note a { color: var(--muted); }
.form-alt { font-size: 15px; }
.honey { display: none; }

/* ---------- inner pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 4px var(--pad) 0; }
.page h1 { margin: 26px 0 8px; font-family: var(--display); font-size: 31px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.page .intro { font-size: 16px; font-style: italic; color: var(--muted); margin-bottom: 20px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.legal { display: flex; flex-direction: column; gap: 22px; padding-bottom: 32px; }
.legal section { display: flex; flex-direction: column; gap: 8px; }
.legal h2 { font-size: 18px; }
.legal p { font-size: 15px; line-height: 1.65; }
.updated { font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin-top: 36px; padding: 18px 0 8px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.footer .brand { font-size: 11px; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.footer nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); }
.footer nav svg { width: 20px; height: 20px; }
.page .footer { margin-bottom: 0; }

/* ---------- small phones: keep the top bar on one line ---------- */
.mobile-cta { display: none; }

@media (max-width: 599px) {
  .site-header .brand { font-size: 10.5px; letter-spacing: 0.1em; max-width: 9.5em; line-height: 1.35; }
  .header-right { gap: 0; }
  .header-inner { padding-left: 16px; padding-right: 12px; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; min-height: 52px; box-shadow: 0 6px 20px rgba(15, 17, 21, 0.28); transition: transform 0.2s ease, opacity 0.2s ease; }
  .mobile-cta.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
  body:has(.mobile-cta) .main { padding-bottom: 96px; }
  .social a { font-size: 12px; padding: 0 4px; }
  .social svg { width: 20px; height: 20px; }
  .preview { font-size: 13px; }
}

/* narrow phones (most Androids are 360px): X icon only in the header; the footer keeps the words */
@media (max-width: 389px) { .site-header .social a span:not(.visually-hidden) { display: none; } }

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  :root { --pad: 36px; }
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  .site-header { position: sticky; top: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
  .site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 10px rgba(15, 17, 21, 0.06); }
  .site-header .nav-cta { display: inline-flex; }
  .social a span:not(.visually-hidden) { display: none; }
  .hero h1 { font-size: 38px; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 320px; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px; }
  .form .span-2 { grid-column: span 2; }
  .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page h1 { font-size: 36px; }
}

/* header labels come back as soon as there's room */
@media (min-width: 720px) { .social a span:not(.visually-hidden) { display: inline; } }
@media (min-width: 900px) { .nav-link { display: inline-flex; } }

/* ---------- desktop: the T2 split ---------- */
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "hero mosaic" "main mosaic"; }
  .hero { grid-area: hero; padding: 24px 56px 0; max-width: 760px; }
  .main { grid-area: main; padding: 0 56px 28px; max-width: 760px; }
  .nav-link { display: inline-flex; }
  .social a span:not(.visually-hidden) { display: inline; }
  .mosaic { grid-area: mosaic; position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); min-height: 600px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: 44px; margin-top: 40px; }
  .hero .sub { font-size: 17px; }
}

@media print {
  .mosaic, .skip, .form, .cta-row { display: none; }
}

/* booking step */
.step { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); margin-top: 24px; }
.step + h1 { margin-top: 6px; }
