:root {
  --rose: #b4506f;
  --rose-2: #9c4360;
  --rose-soft: #f8e1e8;
  --ink: #3a2a2e;
  --muted: #85706f;
  --line: #ecdccf;
  --white: #ffffff;
  --cream: #fffaf4;
  --paper: #f6ece1;
  --accent: #fde4cc;
  --radius: 18px;
  --max: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(180, 80, 111, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { font-weight: 800; text-decoration: none; white-space: nowrap; font-size: 16px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; color: rgba(255,255,255,0.8);
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.14); color: var(--white); }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 0; border-radius: 12px; background: rgba(255,255,255,0.12);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform 0.2s, opacity 0.2s; }
.site-header.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 859px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 8px var(--gutter) 16px;
    background: var(--rose); border-top: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 18px 30px rgba(90, 30, 50, 0.25);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--rose); color: var(--white); padding: 64px 0 80px; overflow: hidden; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(44px, 11vw, 96px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .serif { display: block; font-size: 0.62em; color: var(--accent); margin-top: 6px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 56px; } }
.hero-photo { margin: 0; justify-self: center; width: min(100%, 360px); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); border: 6px solid rgba(255, 255, 255, 0.9); box-shadow: 0 24px 50px rgba(90, 30, 50, 0.3); }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); max-width: 620px; color: rgba(255,255,255,0.82); margin: 24px 0 32px; }
.hero-facts { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); }
.hero-facts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.9);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn-light { background: var(--white); color: var(--rose); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn:hover { filter: brightness(0.95); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--paper); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 18px; }
.section-head .company { margin-top: 8px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(22px, 3vw, 28px); color: var(--rose); line-height: 1.2; }

.grid-2 { display: grid; gap: 24px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card + .card { margin-top: 16px; }
.card h3 { margin-bottom: 12px; }
.card .sub { color: var(--muted); font-size: 15px; margin: 0; }

.about-text p { font-size: 19px; margin: 0 0 18px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 14px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: var(--rose-soft); color: var(--rose-2);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* ---------- Project ---------- */
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.project-meta .pill { border-color: var(--line); color: var(--ink); background: var(--white); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 10px; border-left: 2.5px solid var(--rose); border-bottom: 2.5px solid var(--rose);
  transform: rotate(-45deg);
}

.role-box {
  background: var(--rose); color: var(--white); border-radius: var(--radius); padding: 26px;
}
.role-box .eyebrow { color: var(--accent); margin-bottom: 8px; }
.role-box h3 { font-size: 22px; margin-bottom: 16px; }
.role-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.role-list li {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 4px 14px;
  padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.12);
  font-size: 16px; line-height: 1.4;
}
.role-list .tag {
  position: relative; padding-left: 16px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.role-list .tag::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--accent);
}
.role-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0; padding: 14px 16px; border-radius: 14px;
  background: rgba(60, 20, 35, 0.22); font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.92);
}
.role-note::before {
  content: "i"; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--rose-2);
  font: italic 700 13px/1 Georgia, serif;
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.stat { background: var(--rose); color: var(--white); border-radius: 14px; padding: 20px; }
.stat strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 14px; color: rgba(255,255,255,0.75); }

.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 56px 0 18px; }
.subhead h3 { font-size: 22px; }
.subhead span { color: var(--muted); font-size: 14px; }

.scroll-btns { display: flex; gap: 8px; flex: none; }
.scroll-btns[hidden] { display: none; }
.scroll-btn {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--rose);
  font: inherit; font-size: 18px; font-weight: 700; line-height: 1;
}
.scroll-btn:hover:not(:disabled) { background: var(--rose); color: var(--white); border-color: var(--rose); }
.scroll-btn:disabled { opacity: 0.35; cursor: default; }

/* horizontal scroller (mobile) -> grid (desktop) */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
  scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
@media (min-width: 700px) { .scroller { grid-auto-columns: 40%; } }
@media (min-width: 1000px) {
  .scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .scroll-btns { display: none; }
}

.post { margin: 0; }
.post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1000px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.photo img { aspect-ratio: 3 / 4; }
@media (min-width: 1000px) { .video-grid.five { grid-template-columns: repeat(5, 1fr); } }
.video-grid.wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .video-grid.wide { grid-template-columns: repeat(3, 1fr); } }

.clip {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--ink);
}
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.clip.portrait45 video { aspect-ratio: 4 / 5; }
.clip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* Custom video controls: no dark overlay on the picture */
.js-video { cursor: pointer; }
.play-btn {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, opacity 0.2s;
}
.play-btn::before {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--rose);
}
.js-video:hover .play-btn { transform: scale(1.06); }
.is-playing .play-btn { opacity: 0; pointer-events: none; }
.is-loading .play-btn { opacity: 1; background: rgba(255, 255, 255, 0.6); }
.is-loading .play-btn::before {
  margin: -11px 0 0 -11px; width: 22px; height: 22px; border: 3px solid var(--rose); border-right-color: transparent;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fs-btn {
  position: absolute; right: 8px; bottom: 12px; width: 34px; height: 34px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E");
  background-size: 18px; background-position: center; background-repeat: no-repeat;
}
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

.video-grid .is-hidden { display: none; }
.more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps .card { height: 100%; }
.steps .card::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-size: 40px; line-height: 1; color: var(--rose); margin-bottom: 14px;
}
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.tools { margin-top: 40px; }
.tools h3 { margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact { background: var(--rose); color: var(--white); }
.contact .eyebrow { color: var(--accent); }
.contact h2 { margin-bottom: 14px; }
.contact p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 0 32px; font-size: 18px; }
.contact-list { display: grid; gap: 12px; max-width: 560px; }
.contact-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  font-weight: 700; font-size: 17px; overflow-wrap: anywhere;
}
.contact-link small { display: block; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.contact-link:hover { background: rgba(255,255,255,0.14); }
.contact-link .arrow { flex: none; font-size: 20px; }

footer { background: var(--rose-2); color: rgba(255,255,255,0.55); font-size: 14px; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .about-text p { font-size: 17px; }
  .role-list li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
