/* Brand Foundry Manufacturing Corporation — public website
   Colours follow the inventory app: maroon + gold on cream. */

:root {
  --maroon-900: #2a0a10;
  --maroon-800: #4a0f18;
  --maroon-600: #7c1d2a;
  --gold-600: #9a7b1e;
  --gold-500: #c0912f;
  --gold-400: #d6ac4e;
  --gold-300: #e8ce8a;
  --cream-100: #fbf6ee;
  --cream-200: #f4ede4;
  --cream-300: #ece3da;
  --line: #d9cec4;
  --ink: #221a1c;
  --ink-soft: #594e51;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(60, 28, 20, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream-100); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; text-wrap: balance; }
a { color: var(--maroon-600); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--maroon-800); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; }
.icon { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 28px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-maroon { background: var(--maroon-600); color: #fff; }
.btn-maroon:hover { background: var(--maroon-800); }
.btn-gold { background: var(--gold-400); color: var(--maroon-900); }
.btn-gold:hover { background: var(--gold-300); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 238, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon-800); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 19px var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.site-nav a:not(.btn):hover { background: var(--cream-300); color: var(--maroon-600); }
.nav-login { margin-left: 8px; min-height: 42px; padding: 8px 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--maroon-800); border-radius: 2px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  color: #fff; text-align: center;
  background:
    radial-gradient(720px 420px at 22% 18%, rgba(154, 44, 58, 0.65), transparent 70%),
    radial-gradient(620px 380px at 85% 95%, rgba(192, 145, 47, 0.22), transparent 70%),
    linear-gradient(160deg, #3a0c14, #1b0a0e);
}
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -6%; top: 50%; width: min(620px, 70vw); aspect-ratio: 1; transform: translateY(-50%); background: url(assets/mark-white.png) center / contain no-repeat; opacity: .05; pointer-events: none; }
/* The hero fills exactly one screen (header + hero + the white strip), so
   sizes follow the screen height as well as its width. */
.hero-inner {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 69px - 52px); min-height: calc(100svh - 69px - 52px);
  padding-block: clamp(10px, 4vh, 56px) calc(52px + clamp(10px, 4vh, 56px));
}
.hero-mark { width: clamp(72px, min(22vw, 17vh), 230px); height: auto; aspect-ratio: 1; object-fit: contain; }
.hero h1 { font-size: clamp(40px, min(9.5vw, 12.5vh), 116px); letter-spacing: -.015em; margin-top: clamp(6px, 2vh, 22px); }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-tag { font: italic 400 clamp(20px, min(3.4vw, 4.6vh), 34px) var(--serif); color: var(--gold-300); margin-top: clamp(2px, 1vh, 10px); }
.hero-line { margin-top: clamp(10px, 2.6vh, 26px); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #e2d6c6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(14px, 3.4vh, 34px); }
.strip-wrap { position: relative; z-index: 2; margin-top: -52px; margin-bottom: -52px; }
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 20px; border-bottom: 4px solid var(--gold-400); box-shadow: 0 18px 44px rgba(42, 10, 16, 0.22); overflow: hidden; }
.hero-strip li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 18px; font: 700 clamp(16px, 1.9vw, 20px)/1.2 var(--serif); color: var(--maroon-900); }
.hero-strip li + li { border-left: 1px solid var(--cream-300); }
.hero-strip .icon { flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--maroon-800); color: var(--gold-400); }
#about { padding-top: calc(clamp(64px, 9vw, 112px) + 52px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--cream-200); border-block: 1px solid var(--line); }
.kicker { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); }
.title { font-size: clamp(32px, 5vw, 56px); color: var(--maroon-900); margin-top: 10px; }

/* About */
.statement { font-size: clamp(30px, 4.8vw, 52px); color: var(--maroon-900); margin-top: 16px; font-weight: 400; }
.statement em { color: var(--maroon-600); }
#about { background: linear-gradient(rgba(251,246,238,.55), rgba(251,246,238,.55)), url(assets/bg-blueprint.jpg) center / cover no-repeat; }
.quote { margin: 48px auto 0; display: flex; align-items: center; gap: 24px; text-align: left; max-width: 680px; background: #fff; border: 1px solid var(--line); border-radius: 999px 28px 28px 999px; padding: 14px 32px 14px 14px; box-shadow: var(--shadow); }
.quote img { flex: none; width: 116px; height: 116px; border-radius: 50%; object-fit: cover; filter: brightness(1.35); border: 3px solid var(--gold-400); }
.quote blockquote { font: italic 400 clamp(18px, 2.2vw, 22px)/1.55 var(--serif); color: var(--ink-soft); }
.quote blockquote::before { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote figcaption { margin-top: 14px; font-size: 14px; letter-spacing: .08em; color: var(--gold-600); }
.quote figcaption strong { color: var(--maroon-800); text-transform: uppercase; letter-spacing: .14em; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.tiles li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px; color: var(--maroon-600); }
.tiles .icon { flex: none; width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #f6e7e9; }
.tiles li:nth-child(even) { color: var(--gold-600); }
.tiles li:nth-child(even) .icon { background: #f7efd9; }
.tiles h3 { font-size: 21px; color: var(--maroon-900); }

/* Product chips */
.product-groups { display: grid; gap: 40px; margin-top: 40px; }
.group h3 { font: 600 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 18px; }
.photos li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--maroon-900); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.photos img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.55) saturate(1.1); transition: transform .5s; }
.photos li:hover img { transform: scale(1.07); }
.photos li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(42, 10, 16, .88)); }
.photos h4 { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; margin: 0; font: 700 18px/1.2 var(--serif); color: #fff; }
.rounds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.rounds li { text-align: center; }
.rounds img { width: min(170px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold-400); box-shadow: var(--shadow); transition: transform .3s; }
.rounds li:hover img { transform: translateY(-4px); }
.rounds h4 { margin: 14px 0 0; font: 700 19px/1.2 var(--serif); color: var(--maroon-900); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips li { padding: 12px 22px; border-radius: 999px; background: var(--maroon-800); color: #fff; font: 700 clamp(16px, 2vw, 20px) var(--serif); }
.chips-gold li { background: var(--gold-400); color: var(--maroon-900); }

/* Dark band */
.section-dark { background: linear-gradient(160deg, #2a0a10, #1b0a0e); color: #fff; text-align: center; }
.section-dark .kicker { color: var(--gold-400); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.pillars li { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--gold-400); }
.pillars .icon { width: 72px; height: 72px; padding: 17px; border-radius: 50%; border: 1.5px solid rgba(214, 172, 78, 0.55); }
.pillars h3 { font-size: 21px; color: #fff; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 56px; }
.steps li { counter-increment: s; position: relative; text-align: center; padding: 0 8px; font: 700 17px/1.3 var(--serif); color: var(--maroon-900); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; margin: 0 auto 14px;
  width: 52px; height: 52px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--gold-400); color: var(--maroon-900); font: 700 21px var(--serif);
  box-shadow: 0 0 0 6px var(--cream-100);
}
.steps li:last-child::before { background: var(--maroon-600); color: #fff; }
.steps li + li::after { content: ""; position: absolute; top: 25px; right: 50%; width: 100%; height: 2px; background: var(--gold-300); }

/* Company profile slideshow */
.slideshow { max-width: 960px; margin: 36px auto 0; }
.slideshow-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(42, 10, 16, 0.22); background: var(--maroon-900); }
.gallery { position: relative; aspect-ratio: 16 / 9; }
.gallery li { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.gallery li.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s ease; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery li.active img { animation: slide-zoom 5.5s ease-out both; }
@keyframes slide-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.18); z-index: 2; }
.slide-progress span { display: block; height: 100%; width: 0; background: var(--gold-400); }
.slide-progress span.run { animation: slide-bar linear both; }
@keyframes slide-bar { from { width: 0; } to { width: 100%; } }
.slide-arrow { z-index: 3; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--maroon-800); font: 700 28px/1 var(--serif); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); display: grid; place-items: center; padding-bottom: 4px; }
.slide-arrow:hover { background: var(--gold-400); }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }
.slide-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.slide-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background-color .2s, width .2s; }
.slide-dots button[aria-current="true"]::before { background: var(--maroon-600); width: 22px; border-radius: 6px; }

.viewer { border: 0; padding: 0; background: #14080b; border-radius: 12px; width: min(1200px, 96vw); max-height: 94vh; overflow: hidden; }
.viewer::backdrop { background: rgba(20, 8, 11, 0.82); }
.viewer img { width: 100%; max-height: calc(94vh - 64px); object-fit: contain; }
.viewer-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; color: #f3e9dc; flex-wrap: wrap; }
.viewer-bar button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(232,206,138,.4); background: transparent; color: #fff; font: 600 15px var(--sans); cursor: pointer; }
.viewer-bar button:hover { background: rgba(255,255,255,.1); }
#viewer-count { min-width: 64px; text-align: center; font-size: 14px; }

/* Contact */
.contact { background: radial-gradient(640px 360px at 50% 0%, rgba(154, 44, 58, 0.6), transparent 70%), linear-gradient(160deg, #4a0f18, #2a0a10); }
.contact .title { color: #fff; margin-top: 0; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #1b0a0e; color: #cbbfae; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; font-size: 14px; }
.footer-base a { color: var(--gold-300); }

/* ============ Minimal look ============
   Flat surfaces, hairlines instead of boxes and shadows, lighter type. */
body { background: #fdfaf5; }
.site-header { background: rgba(253, 250, 245, 0.9); border-bottom-color: var(--cream-300); }
.title, .statement, .hero h1, .contact .title { font-weight: 400; letter-spacing: -.015em; }
.title { font-size: clamp(30px, 4.2vw, 46px); }
.kicker { font-size: 12px; letter-spacing: .3em; }
.btn { font-weight: 500; }
.nav-login { min-height: 36px; padding: 6px 16px; font-size: 15.5px; font-weight: 500; }
.section { border-top: 1px solid var(--cream-300); }
.section-tint { background: none; border-bottom: 0; }

.hero { background: linear-gradient(170deg, #4a0f18, #22080d); }
.hero::before { display: none; }
.hero-line { opacity: .75; }
.hero-strip { border: 1px solid var(--cream-300); border-radius: 14px; box-shadow: 0 10px 30px rgba(42, 10, 16, 0.08); }
.hero-strip li { font-weight: 400; }
.hero-strip .icon { width: 26px; height: 26px; padding: 0; border-radius: 0; background: none; color: var(--maroon-600); }

#about { background: none; border-top: 0; }
.quote { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 36px 0 0; }
.quote img { width: 88px; height: 88px; border: 0; }

.tiles { gap: 0 40px; border-top: 1px solid var(--line); }
.tiles li, .tiles li:nth-child(even) { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 26px 4px; color: var(--maroon-600); }
.tiles .icon, .tiles li:nth-child(even) .icon { width: 30px; height: 30px; padding: 0; border-radius: 0; background: none; }
.tiles h3 { font-weight: 400; font-size: 20px; }

.photos li { border-radius: 6px; box-shadow: none; }
.photos h4, .rounds h4 { font-weight: 400; }
.rounds img { border: 1px solid var(--gold-400); padding: 6px; box-shadow: none; }

.section-dark { background: none; color: var(--ink); }
.section-dark .kicker { color: var(--gold-600); }
.pillars li { color: var(--maroon-600); gap: 12px; }
.pillars .icon { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 0; }
.pillars h3 { color: var(--maroon-900); font-weight: 400; font-size: 19px; }

.steps li { font-weight: 400; }
.steps li::before { width: 44px; height: 44px; background: #fdfaf5; border: 1px solid var(--gold-500); color: var(--maroon-800); font-weight: 400; font-size: 18px; box-shadow: 0 0 0 8px #fdfaf5; }
.steps li:last-child::before { background: var(--maroon-800); border-color: var(--maroon-800); color: #fff; }
.steps li + li::after { top: 22px; height: 1px; background: var(--line); }

.slideshow-frame { border-radius: 8px; box-shadow: 0 10px 30px rgba(42, 10, 16, 0.10); }
.contact { background: linear-gradient(170deg, #4a0f18, #22080d); border-top: 0; }
.site-footer { background: #22080d; }

/* ============ Polish pass ============ */
/* Header floats over the hero, then turns solid once you scroll */
.site-header { position: fixed; left: 0; right: 0; top: 0; transition: background-color .3s, border-color .3s; }
.brand .mark-light { display: none; }
.js .site-header:not(.scrolled):not(.menu-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.js .site-header:not(.scrolled):not(.menu-open) .brand { color: #fff; }
.js .site-header:not(.scrolled):not(.menu-open) .brand-sub { color: var(--gold-300); }
.js .site-header:not(.scrolled):not(.menu-open) .mark-dark { display: none; }
.js .site-header:not(.scrolled):not(.menu-open) .mark-light { display: block; }
.js .site-header:not(.scrolled):not(.menu-open) .site-nav a:not(.btn) { color: #fff; }
.js .site-header:not(.scrolled):not(.menu-open) .site-nav a:not(.btn):hover { background: none; color: var(--gold-300); }
.js .site-header:not(.scrolled):not(.menu-open) .nav-login { background: var(--gold-400); color: var(--maroon-900); }
.js .site-header:not(.scrolled):not(.menu-open) .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.4); }
.js .site-header:not(.scrolled):not(.menu-open) .nav-toggle-bars,
.js .site-header:not(.scrolled):not(.menu-open) .nav-toggle-bars::before,
.js .site-header:not(.scrolled):not(.menu-open) .nav-toggle-bars::after { background: #fff; }
.hero-inner { min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); padding-top: calc(69px + clamp(10px, 4vh, 56px)); }

/* Menu links: thin gold underline on hover */
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--gold-500); transform: scaleX(0); transition: transform .25s; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav a:not(.btn):hover { background: none; }

/* Hero text rises in when the page opens */
.js .hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.site-header.menu-open { background: #fdfaf5; }
.js .hero-inner > :nth-child(2) { animation-delay: .12s; }
.js .hero-inner > :nth-child(3) { animation-delay: .24s; }
.js .hero-inner > :nth-child(4) { animation-delay: .36s; }
.js .hero-inner > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-tag::after { content: ""; display: block; width: 56px; height: 1px; margin: clamp(10px, 2.4vh, 22px) auto 0; background: var(--gold-500); }
.hero-line { margin-top: clamp(10px, 2.4vh, 22px); }

/* Every section heading is centred, with a short gold rule */
.section > .wrap > .kicker, .section > .wrap > .title { text-align: center; }
.title::after { content: ""; display: block; width: 48px; height: 1px; margin: 20px auto 0; background: var(--gold-500); }
.statement::after { content: none; }
.group h3 { text-align: center; }
.tiles li { transition: padding-left .25s; }
.tiles li:hover { padding-left: 14px; }
.photos li { border-radius: 4px; }

/* ============ Second polish pass ============ */
/* Section labels numbered like the company profile deck */
.kicker { color: var(--ink-soft); }
.kicker span { color: var(--gold-600); }
.kicker span::after { content: "/"; margin: 0 .9em; color: var(--line); }

/* Why Brand Foundry: one slow line of words */
#why { padding-block: clamp(48px, 7vw, 84px); overflow: hidden; }
.marquee { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-row { display: flex; align-items: center; flex: none; }
.marquee-row span { font: italic 400 clamp(40px, 7vw, 92px)/1.15 var(--serif); color: var(--maroon-800); padding-inline: clamp(18px, 3vw, 44px); white-space: nowrap; }
.marquee-row span:nth-of-type(even) { color: var(--gold-500); }
.marquee-row i { font-style: normal; font-size: clamp(14px, 1.6vw, 22px); color: var(--gold-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact band and footer */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(520px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: url(assets/mark-white.png) center / contain no-repeat; opacity: .045; pointer-events: none; }
.contact .wrap { position: relative; }
.contact .title { font-size: clamp(34px, 5.4vw, 60px); }
.site-footer { border-top: 1px solid rgba(232, 206, 138, 0.14); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 36px 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { font: 700 17px var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.footer-brand em { font: italic 15px var(--serif); color: var(--gold-400); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: #e2d6c6; text-decoration: none; font-size: 15px; padding-block: 6px; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-base { border-top: 1px solid rgba(232, 206, 138, 0.14); justify-content: center; color: #9c8f84; font-size: 13px; }

/* Founder portrait: large, with an offset gold ring and a quote badge */
.quote { flex-direction: column; align-items: center; text-align: center; gap: 34px; max-width: 720px; border-top: 0; padding-top: 12px; }
.quote-photo { position: relative; flex: none; width: clamp(190px, 24vw, 250px); aspect-ratio: 1; }
.quote-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: none; border: 0; position: relative; z-index: 1; }
.quote-photo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-400); transform: translate(14px, 14px); }
.quote-photo::after { content: "\201C"; position: absolute; z-index: 2; right: -6px; bottom: 4px; width: 58px; height: 58px; border-radius: 50%; background: var(--maroon-800); color: var(--gold-400); font: 700 44px/74px var(--serif); text-align: center; box-shadow: 0 0 0 5px #fdfaf5; }
.quote blockquote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; color: var(--maroon-900); }
.quote blockquote::before, .quote blockquote::after { content: none; }
.quote figcaption { margin-top: 18px; }

/* Stock photos on the product cards: no brightening needed, softer overlay */
.photos img { filter: none; }
.photos li::after { background: linear-gradient(180deg, transparent 45%, rgba(34, 8, 13, .82)); }

/* Why Brand Foundry: slim maroon ribbon, moderate type */
#why { padding-block: clamp(40px, 5vw, 60px) 0; border-bottom: 0; }
.marquee { margin-top: 22px; padding-block: 20px; background: linear-gradient(90deg, #4a0f18, #2a0a10 50%, #4a0f18); -webkit-mask-image: none; mask-image: none; }
.marquee-track { animation-duration: 60s; }
.marquee-row span, .marquee-row span:nth-of-type(even) { font: italic 400 clamp(20px, 2.4vw, 28px)/1.2 var(--serif); color: #f6ecdf; padding-inline: clamp(18px, 2.6vw, 36px); }
.marquee-row span:nth-of-type(even) { color: var(--gold-300); }
.marquee-row i { font-size: 12px; color: var(--gold-400); }
#why + .section { border-top: 0; }

/* Why Brand Foundry: five quiet cards that fill with maroon on hover */
#why { padding-block: clamp(64px, 9vw, 112px); border-bottom: 0; }
#why + .section { border-top: 1px solid var(--cream-300); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.values li { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--maroon-600); transition: background-color .35s, color .35s, border-color .35s, transform .35s; }
.values-no { position: absolute; top: 16px; left: 18px; font: italic 400 15px var(--serif); color: var(--gold-600); transition: color .35s; }
.values .icon { width: 46px; height: 46px; stroke-width: 1.2; }
.values h3 { font-weight: 400; font-size: clamp(18px, 1.9vw, 23px); color: var(--maroon-900); transition: color .35s; }
.values li::after { content: ""; width: 28px; height: 1px; background: var(--gold-400); }
.values li:hover { background: var(--maroon-800); border-color: var(--maroon-800); color: var(--gold-400); transform: translateY(-6px); }
.values li:hover h3 { color: #fff; }
.values li:hover .values-no { color: var(--gold-300); }
@media (max-width: 860px) {
  .values { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .values li { grid-column: span 2; aspect-ratio: auto; padding: 34px 10px 24px; gap: 14px; }
  .values li:nth-child(4) { grid-column: 2 / span 2; }
  .values .icon { width: 36px; height: 36px; }
}
@media (max-width: 520px) {
  .values li { grid-column: span 3; }
  .values li:nth-child(4) { grid-column: span 3; }
  .values li:nth-child(5) { grid-column: 1 / -1; }
}

/* ============ Third polish pass ============ */
/* Hero: a warm photo under the maroon, drifting very slowly */
.hero { background: #22080d; isolation: isolate; }
.hero::before { display: block; content: ""; position: absolute; inset: 0; right: 0; top: 0; width: auto; aspect-ratio: auto; transform: none; opacity: 1; z-index: -2; background: url(assets/hero.jpg?v=3) center / cover no-repeat; animation: hero-drift 28s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 8, 13, 0.86), rgba(58, 12, 20, 0.80) 45%, rgba(34, 8, 13, 0.94)); }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Gentle rhythm: every other section sits on a slightly warmer cream */
#services, #why, #profile { background: #f8f1e7; }

/* Call to action under the steps */
.steps-cta { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
@media (max-width: 980px) { .steps-cta { text-align: left; } }
@media (max-width: 600px) { .steps-cta .btn { width: 100%; } }

/* Hero background: softly blurred photos that fade from one to the next */
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg span { position: absolute; inset: -16px; background: center / cover no-repeat; filter: blur(3px); opacity: 0; transform: scale(1.02); transition: opacity 2s ease, transform 9s ease-out; }
.hero-bg span.on { opacity: .9; transform: scale(1.08); }
.hero::after { background: linear-gradient(180deg, rgba(34, 8, 13, 0.84), rgba(58, 12, 20, 0.76) 45%, rgba(34, 8, 13, 0.93)); }

/* Founder now has its own section near the bottom */
#founder .founder { margin-top: clamp(40px, 6vw, 64px); }
#founder { overflow: hidden; }

/* ============ Facebook posts strip ============ */
#posts { overflow: hidden; }
.posts { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.posts-track { display: flex; gap: 18px; width: max-content; padding: 8px 20px 26px; will-change: transform; }
.posts-track.moving { transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.posts-track li { flex: none; height: clamp(260px, 30vw, 380px); border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(42, 10, 16, 0.16); background: var(--maroon-900); }
.posts-track a { display: block; height: 100%; }
.posts-track img { height: 100%; width: auto; max-width: none; transition: transform .5s; }
.posts-track li:hover img { transform: scale(1.04); }
.posts-cta { text-align: center; margin-top: 18px; }

/* ============ Contact: details beside a map ============ */
.contact { text-align: left; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact .kicker { color: #e2d6c6; }
.contact .kicker span { color: var(--gold-400); }
.contact .title { text-align: left; font-size: clamp(32px, 4.6vw, 52px); }
.contact .title::after { margin-left: 0; }
.contact-list { margin-top: 30px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; color: var(--gold-400); }
.contact-list .icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(214, 172, 78, 0.5); }
.contact-list strong { display: block; font: 600 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 3px; }
.contact-list a { color: #fff; text-decoration: none; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-300); text-decoration: underline; }
.contact-actions { justify-content: flex-start; margin-top: 34px; }
.contact-map { position: relative; }
.contact-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); background: #2a0a10; }
.map-frame { position: relative; }
.map-frame::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-400); border-radius: 18px; transform: translate(12px, 12px); pointer-events: none; opacity: .6; }
.contact-map iframe { position: relative; }
.map-link { display: inline-block; margin-top: 22px; color: var(--gold-300); font-size: 15px; text-decoration: none; }
.map-link:hover { text-decoration: underline; }
.contact::before { left: 22%; }
.footer-base { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer-base a { color: #cbbfae; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .contact-actions .btn { width: 100%; }
  .posts-track li { height: 250px; }
  .contact-list a { font-size: 15px; }
  .map-frame::before { transform: translate(7px, 7px); }
}

/* Hero: FDA-licensed badge */
.hero-line { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.6vh, 14px); opacity: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 12px; border: 1px solid rgba(214, 172, 78, 0.65); border-radius: 999px; background: rgba(34, 8, 13, 0.45); color: var(--gold-300); font: 600 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hero-badge .icon { width: 17px; height: 17px; stroke-width: 1.8; }
.hero-sub { opacity: .78; }
@media (max-height: 640px) { .hero-sub { display: none; } }

/* Founder block: one white spread, photo flush on the left, letter on the right */
.statement { max-width: 820px; margin-inline: auto; }
.founder { position: relative; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); max-width: 960px; margin-inline: auto; background: #fff; border-radius: 26px; overflow: hidden; text-align: left; box-shadow: 0 30px 70px rgba(42, 10, 16, 0.14); }
.founder-photo { position: relative; min-height: 400px; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.founder-photo::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(34, 8, 13, 0), rgba(34, 8, 13, 0.86)); }
.founder-tag { position: absolute; left: 24px; right: 20px; bottom: 22px; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--gold-400); }
.founder-tag strong { font: 700 20px/1.2 var(--serif); color: #fff; }
.founder-tag span { font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }
.founder-text { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.founder-text::before { content: "\201C"; position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(-10px, 1vw, 18px); font: 700 clamp(150px, 19vw, 240px)/1 var(--serif); color: var(--gold-400); opacity: .16; pointer-events: none; }
.founder-label { position: relative; display: flex; align-items: center; gap: 14px; font: 600 12px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-600); }
.founder-label::before { content: ""; width: 34px; height: 1px; background: var(--gold-500); }
.founder blockquote { position: relative; margin-top: 24px; font: 400 clamp(23px, 2.9vw, 34px)/1.36 var(--serif); letter-spacing: -.01em; color: var(--maroon-900); }
.founder-sign { margin-top: 28px; font: italic 400 clamp(19px, 2.1vw, 24px) var(--serif); color: var(--maroon-600); }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; border-radius: 22px; }
  .founder-photo { min-height: 0; aspect-ratio: 1 / 1.05; }
  .founder-text { padding: 30px 24px 34px; }
  .founder-text::before { font-size: 120px; top: 14px; right: 12px; opacity: .12; }
  .founder-label { font-size: 11px; letter-spacing: .2em; gap: 10px; }
  .founder-label::before { width: 22px; }
}

/* Reveal on scroll (only when script is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .photos { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 18px; max-width: 420px; }
  .steps li { display: flex; align-items: center; gap: 16px; text-align: left; padding: 0; font-size: 19px; }
  .steps li::before { margin: 0; flex: none; }
  .steps li + li::after { top: -18px; left: 22px; right: auto; width: 1px; height: 18px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--cream-100); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: 0 12px 24px rgba(60, 28, 20, 0.12); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 8px; font-size: 17px; border-bottom: 1px solid var(--cream-300); border-radius: 0; }
  .nav-login { margin: 12px 0 0; }
}

@media (max-width: 600px) {
  .slide-dots { gap: 0; }
  .slide-dots button { width: 22px; }
  .slide-dots button::before { width: 8px; height: 8px; }
  .slide-dots button[aria-current="true"]::before { width: 16px; }
  .slide-arrow { width: 40px; height: 40px; font-size: 24px; }
  .slide-arrow.prev { left: 8px; }
  .slide-arrow.next { right: 8px; }
  .photos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rounds { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .quote { flex-direction: column; text-align: center; }
  .brand-sub { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .tiles li, .tiles li:nth-child(even) { padding: 20px 4px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:last-child { grid-column: 1 / -1; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip li { justify-content: flex-start; padding: 14px 20px; }
  .hero-strip li + li { border-left: 0; border-top: 1px solid var(--cream-300); }
  .hero-strip .icon { width: 42px; height: 42px; padding: 10px; }
  .strip-wrap { margin-top: -64px; margin-bottom: -40px; }
  .hero-inner { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); padding-bottom: calc(64px + clamp(16px, 4vh, 40px)); }
  .hero-actions, .contact-actions { width: 100%; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .photos img, .rounds img, .tiles li, .values li { transition: none; }
  .js .hero-inner > * { animation: none; }
  .posts { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .posts-track.moving { transition: none; }
  .hero-bg span { transition: opacity .6s ease; transform: none; }
  .hero-bg span.on { transform: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-row[aria-hidden] { display: none; }
  .marquee-row { flex-wrap: wrap; justify-content: center; flex: 1 1 100%; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .gallery li.active img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
