/* ==========================================================================
   FLOWW Media — corporate site
   Same warm cream canvas / near-black ink / deep amber accent as Media Day,
   so the two sites read as one brand.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2-variations');
}

:root {
  --bg:            #faf8f4;
  --bg-raised:     #ffffff;
  --bg-sunken:     #f2eee7;
  --ink:           #12100e;
  --ink-soft:      #3a352e;
  --muted:         #6b655c;
  --muted-light:   #948d82;
  --accent:        #b45309;
  --accent-hover:  #92400e;
  --accent-soft:   #fdf3e7;
  --border:        #e5dfd5;
  --border-strong: #d5cdbf;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 16, 14, .05);
  --shadow:    0 4px 16px rgba(18, 16, 14, .06);
  --shadow-lg: 0 18px 45px rgba(18, 16, 14, .10);

  --wrap:    1200px;
  --wrap-sm: 760px;
  --nav-h:   72px;
  --ease:    cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

h1, h2, h3, h4 { font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 .6em;
}
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-sm { max-width: var(--wrap-sm); margin-inline: auto; padding-inline: 24px; }

.section { padding: 72px 0; }
.section-tight { padding: 36px 0; }

/* -- nav --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-brand:hover { text-decoration: none; }
.nav-mark { width: 32px; height: 32px; }
.nav-wordmark { font-size: .95rem; letter-spacing: .02em; line-height: 1; }
.nav-wordmark strong { font-weight: 700; }
.nav-wordmark span { font-weight: 400; color: var(--muted); margin-left: .3em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-soft); font-weight: 550; font-size: .94rem; }
.nav-link:hover { color: var(--accent); text-decoration: none; }
.nav-link.is-active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-drawer-actions { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 auto; width: min(78vw, 320px);
    background: var(--bg-raised); border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px;
    transform: translateX(100%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-link { padding: 12px 8px; border-radius: var(--radius-sm); }
  .nav-drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* -- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg-sunken); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f4f1ea; color: var(--ink); }
.btn-hero-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-arrow::after { content: '→'; transition: transform .18s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* -- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1c1712 0%, #12100e 60%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-block: 88px 72px;
}
.hero-eyebrow { color: var(--accent-soft); opacity: .9; }
.hero-title { color: #fff; }
.hero-sub { color: rgba(255,255,255,.72); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12); aspect-ratio: 4/5; margin: 0;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 56px 40px; }
  .hero-card { max-width: 340px; margin-inline: auto; }
}

/* -- grid / cards ------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-eyebrow { font-size: .78rem; font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.card-status {
  display: inline-block; font-size: .74rem; font-weight: 650; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--bg-sunken); color: var(--muted); margin-left: 8px; vertical-align: middle;
}

.step-card { text-align: left; }
.step-number { display: block; font-size: 2.2rem; font-weight: 700; color: var(--border-strong); margin-bottom: 10px; }

.row-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.value-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--bg-sunken); border-radius: var(--radius-lg); padding: 36px;
}
.value-item { text-align: center; }
.value-figure { display: block; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.value-label { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 700px) { .value-band { grid-template-columns: repeat(2, 1fr); } }

.cta-band {
  background: var(--ink); border-radius: var(--radius-xl); padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
@media (max-width: 700px) { .cta-band { text-align: center; justify-content: center; } }

/* -- forms --------------------------------------------------------------- */
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: #fff; font-size: .96rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* -- contact / info blocks ------------------------------------------------ */
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row .card-icon { flex: none; margin-bottom: 0; }

/* -- footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { font-size: .88rem; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 22px; font-size: .84rem; color: var(--muted-light);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -- page header (interior pages) ----------------------------------------- */
.page-head { padding: 64px 0 8px; text-align: center; }
.page-head .wrap-sm { max-width: 640px; }
