/* Made For You - investor landing page
   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;
  --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: 20px;
  --max: 1240px;
}

*, *::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.55;
  -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; }

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

/* 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, 76px);
}
.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: 14px;
}
.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: 16px var(--gutter);
}
.wordmark {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 15px; letter-spacing: 0.02em; line-height: 1;
}
.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; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 58% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,11,0.92) 0%, rgba(12,12,11,0.35) 45%, rgba(12,12,11,0.25) 100%);
}
.hero-copy { position: relative; z-index: 2; padding: 0 var(--gutter) 44px; width: 100%; max-width: var(--max); margin: 0 auto; }
.kicker { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; }
.title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(76px, 22vw, 230px); line-height: 0.82; letter-spacing: -0.02em;
  color: #d9d6cc;
}
.credits { margin-top: 22px; font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink); }
.credits strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 0.86em; letter-spacing: 0.02em; }

/* Intro */
.intro { padding-top: 88px; padding-bottom: 72px; }
.intro .display { max-width: 16ch; }
.lede {
  margin-top: 28px; font-family: var(--serif); font-size: clamp(26px, 6vw, 46px); line-height: 1.12;
  max-width: 22ch;
}

/* About */
.about { padding-top: 24px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 28px; padding-top: 40px; }
.about-body p + p { margin-top: 18px; }
.about-body { font-size: 18px; max-width: 62ch; }
.pull {
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(23px, 4.6vw, 32px); line-height: 1.2; color: var(--teal);
}

/* Full-bleed still */
.bleed img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bleed figcaption { padding-top: 14px; padding-bottom: 8px; font-size: 14px; color: var(--muted); }

/* Couples */
.couples { padding-top: 88px; padding-bottom: 96px; }
.couples .display { max-width: 18ch; }
.couple-grid { display: grid; gap: 44px; margin-top: 44px; }
.couple img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.couple-name {
  margin-top: 18px; 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: 12px; color: #dcd8cd; }

/* 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: 32px var(--gutter) 64px; max-width: var(--max); margin: 0 auto; }
.quote-copy p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 5.4vw, 40px); line-height: 1.18; max-width: 26ch; }
.quote-copy cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-size: 16px; }

/* Team */
.team { padding-top: 96px; padding-bottom: 104px; }
.team-grid { display: grid; gap: 48px; margin-top: 44px; }
.person img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.15); }
.person h3 { margin-top: 18px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; color: #a8b8a2; }
.role { margin-top: 6px; font-size: 15px; color: var(--muted); }
.person p:last-child { margin-top: 12px; font-size: 16px; color: #dcd8cd; }

/* Contact */
.contact { position: relative; overflow: hidden; padding: 96px 0 104px; }
.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.8); }
.contact-inner { position: relative; z-index: 2; }
.contact-note { margin-top: 20px; max-width: 46ch; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.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: 32px; padding-bottom: 40px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

: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.8s ease, transform 0.8s 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; }
}

/* Tablet */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; }
  .topbar { padding-top: 24px; padding-bottom: 24px; }
  .wordmark { font-size: 17px; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-img { object-position: 70% 50%; }
  .hero::after { background: linear-gradient(to right, rgba(12,12,11,0.9) 0%, rgba(12,12,11,0.55) 38%, rgba(12,12,11,0) 62%); }
  .hero-copy { padding-bottom: 64px; }
  .kicker, .credits { font-size: 21px; }
  .couple-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 64px 40px; }
  .bleed img { aspect-ratio: 16 / 8.5; }
  .contact-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px 64px; }
  .footer { flex-direction: row; justify-content: space-between; align-items: center; }

  .quote-bleed img { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; object-position: 30% 50%; }
  .quote-bleed { min-height: 640px; 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: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: flex-end; }
  .quote-copy p, .quote-copy cite { width: min(100%, 560px); }
}

/* Desktop */
@media (min-width: 1040px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .couple-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .person p:last-child { font-size: 15.5px; }
  .bleed img { aspect-ratio: 16 / 7.5; }
}
.nw { white-space: nowrap; }

/* Hero B layout: keep the phone message clear of the title */
.hero-img { height: 64%; bottom: auto; object-position: 62% 40%; }
.hero::after { background: linear-gradient(to bottom, rgba(12,12,11,0.2) 0%, rgba(12,12,11,0) 30%, rgba(12,12,11,0.9) 60%, #0c0c0b 66%); }
@media (min-width: 760px) {
  .hero-img { left: auto; right: 0; width: 66%; height: 100%; object-position: 67% 50%; }
  .hero::after { background: linear-gradient(to right, #0c0c0b 0%, #0c0c0b 34%, rgba(12,12,11,0.6) 46%, rgba(12,12,11,0) 62%); }
  .title { font-size: clamp(76px, 12.5vw, 180px); }
}
