/* site.css — marketing-site-only additions. Loads AFTER ffs.css.

   Self-contained token block below: the marketing site defines its own copy of
   the Studio Warm design tokens so it never depends on a cross-origin fetch of
   ffs.css to render correctly. When ffs.css loads first, these are identical and
   harmless; if it's blocked or slow, the marketing site still renders on-brand. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&family=DM+Sans:wght@400;500&family=DM+Mono:wght@400;500&display=swap');

:root {
  --color-background:     #F7F0E6;
  --color-surface:        #FFFFFF;
  --color-surface-warm:   #F0E8DA;
  --color-primary:        #C4522A;
  --color-primary-hover:  #A8451F;
  --color-primary-light:  rgba(196, 82, 42, 0.1);
  --color-accent:         #D4924C;
  --color-accent-hover:   #BA7C3B;
  --color-clay-blue:      #4A7E99;
  --color-earth:          #7A6B52;
  --color-text:           #2C1F12;
  --color-text-muted:     #7A6B52;
  --color-text-hint:      #9A8A78;
  --color-border:         #E8DDD0;
  --color-border-strong:  #C9BAA8;
  --color-error:          #B83232;
  --color-success:        #3D7A50;
  --font-display:  'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
}

/* Marketing base — restated so the site renders even without ffs.css.
   (ffs.css sets these too; identical values, so no conflict.) */
.site-body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  margin: 0;
}
.site-body h1, .site-body h2, .site-body h3,
.site-body h4, .site-body h5, .site-body h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.site-body h1 em, .site-body h2 em, .site-body h3 em {
  font-style: italic; font-weight: 400; color: var(--color-primary);
}
.site-body p {
  color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1rem;
}
.site-body a { color: var(--color-primary); text-decoration: none; }
.site-body a:hover { text-decoration: underline; }

/* -------------------------
   Site shell
   ------------------------- */

.site-body {
  display: block;               /* override ffs.css body flex for marketing flow */
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 820px;
}

/* -------------------------
   Top navigation
   ------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(247, 240, 230, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-word em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--color-primary);
}

/* Industries dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  transform: none;
  box-shadow: none;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.7em;
  color: var(--color-text-hint);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 230px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 12px 32px rgba(44, 31, 18, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  text-decoration: none;
}

.nav-dropdown-menu a .count {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--color-text-hint);
  font-weight: 400;
}

.nav-cta {
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nav-cta a {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-cta a:hover {
  background-color: var(--color-primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 82, 42, 0.25);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-left: auto;
}

/* -------------------------
   Hero
   ------------------------- */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.25rem;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Marketing CTA buttons — own class to avoid any collision with ffs.css .button.
   Use .cta-btn on marketing anchors; .cta-btn--outline / --lg as modifiers. */
.cta-btn,
a.cta-btn,
.site-body a.cta-btn {
  display: inline-block;
  background-color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  padding: 0.6875rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn:hover,
a.cta-btn:hover,
.site-body a.cta-btn:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 82, 42, 0.25);
}

.cta-btn--outline,
a.cta-btn--outline,
.site-body a.cta-btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.cta-btn--outline:hover,
a.cta-btn--outline:hover,
.site-body a.cta-btn--outline:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.cta-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Hero visual — claymation frame with burned-in watermark strip */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(44, 31, 18, 0.18);
  border: 1px solid var(--color-border);
}

.hero-frame img,
.hero-frame video,
.hero-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* Placeholder clay scene if no image supplied */
.hero-frame-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, #C8A882 0%, transparent 55%),
    linear-gradient(150deg, #7A9E6A 0%, #4A7E99 60%, #C4522A 130%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 31, 18, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.5rem;
}

.hero-watermark span {
  font-family: 'DM Mono', monospace;
  font-size: 0.9375rem;
  color: #F0EBE1;
  letter-spacing: 0.01em;
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(44, 31, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F0EBE1;
  font-size: 26px;
  padding-left: 5px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-frame:hover .hero-play {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.06);
}

/* -------------------------
   Section scaffolding
   ------------------------- */

.section {
  padding: 4rem 0;
}

.section-warm {
  background-color: var(--color-surface-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-ink {
  background-color: var(--color-text);
  border-top: 1px solid var(--color-text);
}

.section-ink h2,
.section-ink h3 { color: #F0EBE1; }
.section-ink h2 em { color: var(--color-accent); }
.section-ink p { color: #C9BAA8; }

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-head p {
  font-size: 1.0625rem;
  margin-bottom: 0;
}

/* -------------------------
   Value columns
   ------------------------- */

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.col-grid.two { grid-template-columns: repeat(2, 1fr); }

.value-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.section-ink .value-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.value-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.section-ink .value-card h3 { color: #F0EBE1; }

.value-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.value-card .kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
  font-size: 1.0625rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-ink .value-card .kicker { color: var(--color-accent); }

/* -------------------------
   Library table (verticals)
   ------------------------- */

.lib-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lib-table th {
  background-color: var(--color-text);
  color: #F0EBE1;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 0.875rem 1.25rem;
}

.lib-table th:last-child { text-align: right; }

.lib-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1rem;
}

.lib-table tr:last-child td { border-bottom: none; }
.lib-table tr:nth-child(even) td { background-color: var(--color-surface-warm); }

.lib-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.125rem;
}

.lib-table a { font-weight: 500; }

/* -------------------------
   Pricing table
   ------------------------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-table th {
  background-color: var(--color-text);
  color: #F0EBE1;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 0.875rem 1.5rem;
}

.price-table th:last-child { text-align: right; }

.price-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.0625rem;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.price-table td.note-cell {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* -------------------------
   Pull quote
   ------------------------- */

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 40ch;
  margin: 0 auto;
  text-align: center;
}

.pull-quote .attrib {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-hint);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* -------------------------
   Booking / CTA band
   ------------------------- */

.cta-band {
  text-align: center;
}

.cta-band h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }

.booking-embed {
  max-width: 720px;
  margin: 2rem auto 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  min-height: 200px;
}

/* -------------------------
   Footer
   ------------------------- */

.site-footer {
  background-color: var(--color-text);
  color: #C9BAA8;
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand .brand-word { color: #F0EBE1; }
.footer-brand .brand-word em { color: var(--color-accent); }

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-hint);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: #C9BAA8;
  font-size: 0.9375rem;
}

.footer-col a:hover { color: #F0EBE1; text-decoration: none; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--color-text-hint);
}

.footer-bottom a { color: var(--color-text-hint); }
.footer-bottom a:hover { color: #C9BAA8; text-decoration: none; }

/* -------------------------
   Responsive
   ------------------------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-visual { max-width: 440px; }
  .col-grid { grid-template-columns: 1fr; }
  .col-grid.two { grid-template-columns: 1fr; }

  .nav-links,
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem;
    gap: 0.25rem;
  }
  .nav-toggle { display: block; }
}
