/* Made For You - investor site
   Mobile-first. Fonts self-hosted from /fonts (deck typefaces). */

@font-face { font-family: "Bugrino"; src: url("../fonts/bugrino-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bugrino"; src: url("../fonts/bugrino-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Riviera"; src: url("../fonts/riviera-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Prensa"; src: url("../fonts/prensa-book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Prensa"; src: url("../fonts/prensa-bookitalic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0c0c0b;
  --bg-2: #161614;
  --ink: #f2efe6;
  --body: #dcd8cd;
  --muted: #b3ae9f;
  --line: rgba(242, 239, 230, 0.16);
  --olive: #a9a97a;
  --teal: #7fbcae;
  --green: #8db27f;
  --tan: #d6b98f;
  --lavender: #b29cc2;

  --display: "Bugrino", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --serif: "Prensa", Georgia, "Times New Roman", serif;
  --sans: "Riviera", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 24px;
  --max: 1180px;
  --section: 112px;
}

*, *::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(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }

/* Type */
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
  font-size: clamp(34px, 8.4vw, 72px);
}
.display em { font-family: var(--display); font-style: normal; }
.eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 14px; color: var(--olive); margin-bottom: 18px;
}
.olive { color: var(--olive); } .teal { color: var(--teal); } .green { color: var(--green); }
.tan { color: var(--tan); } .lavender { color: var(--lavender); }

/* Top bar */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
}
.wordmark { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 0.02em; line-height: 1; text-decoration: none; }
.wordmark span { font-weight: 400; opacity: 0.75; }
.topbar-link {
  font-family: var(--display); text-transform: uppercase; font-size: 14px; letter-spacing: 0.06em;
  text-decoration: none; padding: 12px 0 12px 12px; min-height: 44px; display: inline-flex; align-items: center;
}
.topbar-link:hover { color: var(--teal); }

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 46%; object-fit: cover; object-position: 62% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,12,11,0.2) 0%, rgba(12,12,11,0) 22%, rgba(12,12,11,0.92) 42%, #0c0c0b 47%); }
.hero-copy { position: relative; z-index: 2; padding: 0 var(--gutter) 56px; width: 100%; max-width: var(--max); margin: 0 auto; }
.kicker { font-family: var(--serif); font-size: 19px; margin-bottom: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--teal);
  border: 1px solid rgba(127,188,174,0.45); border-radius: 999px; padding: 8px 14px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(76px, 22vw, 180px); line-height: 0.82; letter-spacing: -0.02em; color: #d9d6cc; }
.credits { margin-top: 26px; font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.credits strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 0.86em; letter-spacing: 0.02em; }

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section + .section.ruled { border-top: 1px solid var(--line); }
.intro .display { max-width: 16ch; }
.lede { margin-top: 36px; font-family: var(--serif); font-size: clamp(26px, 6vw, 46px); line-height: 1.14; max-width: 22ch; }

/* Full-bleed quote */
.bleed-quote { position: relative; min-height: 82vh; min-height: 82svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.bleed-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.bleed-quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(12,12,11,0.88) 0%, rgba(12,12,11,0.35) 50%, rgba(12,12,11,0.1) 100%); }
.bleed-quote .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 72px; }
.bleed-quote blockquote p { font-family: var(--serif); font-size: clamp(30px, 7vw, 64px); line-height: 1.08; max-width: 17ch; }
.bleed-quote blockquote em { color: var(--teal); }

/* About */
.about-grid { display: grid; gap: 36px; }
.about-body { font-size: 18px; max-width: 62ch; color: var(--body); }
.about-body p + p { margin-top: 22px; }

/* Couples */
.couples .display { max-width: 18ch; }
.couple-grid { display: grid; gap: 64px; margin-top: 56px; }
.couple-link { text-decoration: none; display: block; }
.thumb { position: relative; overflow: hidden; background: var(--bg-2); }
.thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.8s ease, filter 0.8s ease; }
.thumb::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,11,0.22); transition: background 0.4s ease; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: rgba(12,12,11,0.45); border: 1.5px solid rgba(242,239,230,0.9);
  display: grid; place-items: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform 0.4s ease, background 0.4s ease;
}
.play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--ink); }
.play::before, .play::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(242,239,230,0.7);
  animation: ring 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.play::after { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.couple-link:hover .thumb img, .couple-link:focus-visible .thumb img { transform: scale(1.04); }
.couple-link:hover .thumb::after { background: rgba(12,12,11,0.08); }
.couple-link:hover .play { transform: scale(1.08); background: rgba(127,188,174,0.35); }
.couple-name { margin-top: 22px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; }
.couple-name span { opacity: 0.7; }
.couple p { margin-top: 14px; color: var(--body); }
.more { margin-top: 16px; display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--teal); }
.couple-link:hover .more, .person-link:hover .more { text-decoration: underline; text-underline-offset: 4px; }

/* Quote over still */
.quote-bleed { position: relative; background: var(--bg-2); }
.quote-bleed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 25% 50%; }
.quote-copy { padding: 40px var(--gutter) 80px; max-width: var(--max); margin: 0 auto; }
.quote-copy p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 4vw, 30px); line-height: 1.12; max-width: 28ch; }
.quote-copy cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-size: 16px; }

/* Team */
.team-grid { display: grid; gap: 64px; margin-top: 56px; }
.person-link { text-decoration: none; display: block; }
.person .photo { overflow: hidden; max-width: 420px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.15); transition: transform 0.8s ease, filter 0.6s ease; }
.person-link:hover img { transform: scale(1.04); filter: none; }
.person h3 { margin-top: 22px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; color: #a8b8a2; }
.role { margin-top: 8px; font-size: 15px; color: var(--muted); }
.person .blurb { margin-top: 14px; font-size: 16px; color: var(--body); }

/* Director's statement */
.statement { background: var(--bg-2); }
.statement-body { margin-top: 48px; font-family: var(--serif); font-size: clamp(19px, 2.4vw, 23px); line-height: 1.55; color: var(--body); }
.statement-body p + p { margin-top: 26px; }
.statement-body .first { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.3; color: var(--ink); }
.signoff { margin-top: 40px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; color: var(--olive); }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12,12,11,0.82); }
.contact-inner { position: relative; z-index: 2; }
.contact-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.on-request { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--teal); }
.contact-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 36px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.c-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.c-role { font-size: 15px; color: var(--muted); }
.contact-list a {
  margin-top: 6px; font-size: 18px; color: var(--teal); text-decoration: none; word-break: break-all;
  min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; width: fit-content;
}
.contact-list a:hover, .contact-list a:focus-visible { border-bottom-color: currentColor; }

/* Footer */
.footer { display: flex; flex-direction: column; gap: 10px; padding-top: 36px; padding-bottom: 96px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* Floating mailing list button */
.float-cta {
  position: fixed; z-index: 20; right: 16px; bottom: 16px;
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: transform 0.3s ease, background 0.3s ease;
}
.float-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.float-cta:hover, .float-cta:focus-visible { background: var(--teal); transform: translateY(-2px); }

/* Subpages: shared */
.sub-hero { position: relative; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; }
.sub-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0c0c0b 0%, rgba(12,12,11,0.55) 45%, rgba(12,12,11,0.2) 100%); }
.sub-hero .wrap { position: relative; z-index: 2; padding-bottom: 56px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; text-decoration: none; }
.back:hover { color: var(--teal); }
.sub-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 13vw, 120px); line-height: 0.88; letter-spacing: -0.02em; }
.sub-title span { opacity: 0.6; }
.sub-lede { margin-top: 24px; font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); line-height: 1.3; max-width: 30ch; color: var(--ink); }

.scenes { display: grid; gap: 88px; }
.scene-media { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.scene-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.scene-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scene-media .soon {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: var(--display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 12px; color: var(--ink); background: rgba(12,12,11,0.7); padding: 6px 10px; border-radius: 4px;
}
.scene-meta { margin-top: 26px; display: grid; gap: 14px; }
.scene-num { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--muted); }
.scene-meta h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 4vw, 36px); line-height: 1; }
.scene-meta p { color: var(--body); max-width: 62ch; }
.pw-note { margin-top: 48px; font-size: 15px; color: var(--muted); max-width: 62ch; }

.next-nav { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.next-nav a { display: block; background: var(--bg); padding: 40px var(--gutter); text-decoration: none; }
.next-nav a:hover { background: var(--bg-2); }
.next-nav small { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--muted); }
.next-nav strong { display: block; margin-top: 8px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; }

.bio-grid { display: grid; gap: 48px; }
.bio-photo img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; }
.bio-body { font-size: 18px; color: var(--body); max-width: 62ch; }
.bio-body p + p { margin-top: 22px; }
.bio-body .first { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; color: var(--ink); }
.bio-role { margin-top: 12px; font-family: var(--serif); font-size: 22px; color: var(--muted); }

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

/* Reveal on scroll (enabled by JS only) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .play::before, .play::after { animation: none; opacity: 0; }
  .thumb img, .person img { transition: none; }
}

/* Tablet */
@media (min-width: 760px) {
  :root { --gutter: 56px; --section: 160px; }
  body { font-size: 18px; }
  .topbar { padding-top: 28px; padding-bottom: 28px; }
  .wordmark { font-size: 17px; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-img { left: auto; right: 0; width: 60%; height: 100%; object-position: 70% 50%; }
  .hero::after { background: linear-gradient(to right, #0c0c0b 0%, #0c0c0b 40%, rgba(12,12,11,0.6) 50%, rgba(12,12,11,0) 64%); }
  .hero { align-items: center; }
  .hero-copy { padding-top: 96px; padding-bottom: 96px; }
  .kicker, .credits { font-size: 21px; }
  .title { font-size: clamp(76px, 10.5vw, 150px); }

  .bleed-quote { min-height: 100vh; min-height: 100svh; align-items: center; }
  .bleed-quote::before { background: linear-gradient(to right, rgba(12,12,11,0) 30%, rgba(12,12,11,0.55) 55%, rgba(12,12,11,0.85) 100%); }
  .bleed-quote .wrap { display: flex; justify-content: flex-end; }
  .bleed-quote blockquote { width: min(100%, 620px); }

  .couple-grid { grid-template-columns: 1fr 1fr; gap: 72px 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 80px 48px; }
  .contact-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px 80px; }
  .footer { flex-direction: row; justify-content: space-between; align-items: center; padding-bottom: 48px; }

  .quote-bleed img { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; object-position: 30% 50%; }
  .quote-bleed { min-height: 720px; display: flex; align-items: center; }
  .quote-bleed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(12,12,11,0) 30%, rgba(12,12,11,0.78) 62%); }
  .quote-copy { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: flex-end; }
  .quote-copy p, .quote-copy cite { width: min(100%, 560px); }

  .float-cta { right: 28px; bottom: 28px; }
  .sub-hero .wrap { padding-bottom: 80px; }
  .next-nav { grid-template-columns: 1fr 1fr; }
  .next-nav a { padding: 48px var(--gutter); }
}

/* Desktop */
@media (min-width: 1040px) {
  :root { --gutter: 72px; --section: 200px; }
  .about-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .couple-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
  .person .blurb { font-size: 15.5px; }
  .bio-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .scenes { gap: 120px; }
}
