:root {
  --pink: #F5D6D6;          /* brand soft pink */
  --pink-wash: #FBECEC;     /* lighter tint for large areas */
  --magenta: #BB3F95;       /* brand orchid magenta — signature accent */
  --magenta-deep: #9C2F7B;  /* hover / emphasis */
  --ink: #1A1A1A;           /* body text (near-black) */
  --ink-strong: #000000;    /* brand black — headings */
  --muted: #6E6A6C;         /* secondary text */
  --line: rgba(0, 0, 0, 0.12);
  --line-pink: rgba(187, 63, 149, 0.22);
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(187, 63, 149, 0.14);
  --display: "Jost", "Century Gothic", sans-serif;
  --sans: "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  color: var(--ink-strong);
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(1.9rem, 4.3vw, 3.1rem); font-weight: 300; }

h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: 0.02em; }

a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- ambient light field ---------- */
.glow-field { position: fixed; inset: 0; z-index: -2; overflow: clip; }

.orb { position: absolute; border-radius: 50%; opacity: 0.55; }

.orb-1 {
  width: 58vmax; height: 58vmax; top: -24vmax; left: -14vmax;
  background: radial-gradient(circle, var(--pink), transparent 66%);
  animation: drift1 48s ease-in-out infinite alternate;
}
.orb-2 {
  width: 48vmax; height: 48vmax; top: 30%; right: -20vmax;
  background: radial-gradient(circle, rgba(187, 63, 149, 0.16), transparent 66%);
  animation: drift2 60s ease-in-out infinite alternate;
}
.orb-3 {
  width: 54vmax; height: 54vmax; bottom: -26vmax; left: 20%;
  background: radial-gradient(circle, var(--pink-wash), transparent 66%);
  animation: drift3 54s ease-in-out infinite alternate;
}

@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vmax, -5vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-6vmax, -7vmax) scale(1.08); } }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- floating capsule nav ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line-pink);
}

.topbar-brand { display: flex; align-items: center; flex-shrink: 0; }
.topbar-brand img { height: 46px; width: auto; display: block; }

.topbar-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); flex-wrap: nowrap; margin-left: auto; }

.topbar-nav a {
  position: relative;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  transition: color 0.25s ease;
}
.topbar-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--magenta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.topbar-nav a:hover { color: var(--magenta); }
.topbar-nav a:hover::after { transform: scaleX(1); }

.topbar .btn-small { margin-left: clamp(0.5rem, 1.5vw, 1.4rem); flex-shrink: 0; }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--magenta);
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}
.btn:hover { background: var(--magenta-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(187, 63, 149, 0.4); }

.btn-small { padding: 0.55rem 1.3rem; font-size: 0.74rem; white-space: nowrap; }

.btn-gold { background: var(--magenta); color: var(--white); }
.btn-gold:hover { background: var(--magenta-deep); }

.pill {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.pill:hover { background: var(--pink-wash); border-color: var(--magenta); color: var(--magenta-deep); transform: translateY(-2px); }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1.3rem;
}
.eyebrow-onink { color: var(--magenta); }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: clamp(7rem, 14vw, 10rem) clamp(1.25rem, 4vw, 3rem) 0;
}

.hero-logo { margin: 0.4rem auto 1.6rem; max-width: 640px; }
.hero-logo img { width: 100%; height: auto; display: block; }

.hero-line {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--ink);
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

/* ---------- placeholder frames = image holders ---------- */
.frame {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pink-wash);
  box-shadow: 0 16px 44px rgba(187, 63, 149, 0.1);
}

.frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.frame-caption { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; text-align: center; }

.frame-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0.45rem;
  align-items: center; text-align: center; padding: 1.5rem; max-width: 36ch;
}
.frame-kicker { font-family: var(--display); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--magenta); }
.frame-note { font-size: 0.84rem; line-height: 1.55; color: var(--muted); }

.frame-hero { aspect-ratio: 21 / 9; max-width: 1200px; margin: 0 auto; border-radius: 30px; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-house { aspect-ratio: 16 / 9; border-radius: 0; border: none; box-shadow: none; }
.frame-portrait { aspect-ratio: 3 / 4; margin-bottom: 1.4rem; }
.frame-culture { aspect-ratio: 4 / 3; margin-bottom: 1.2rem; }
.frame-visit { aspect-ratio: 3 / 2; }
.frame-panorama { aspect-ratio: 2400 / 523; border-radius: 20px; }

/* ---------- ticker ---------- */
.ticker { overflow: clip; padding: clamp(1.8rem, 4vw, 3rem) 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-pink); border-bottom: 1px solid var(--line-pink); }
.ticker-track {
  display: flex; gap: 2.4rem; width: max-content;
  animation: ticker 42s linear infinite;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(187, 63, 149, 0.42); white-space: nowrap;
}
.ticker-track span:nth-child(even) { color: rgba(0,0,0,0.18); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3rem); max-width: 1180px; margin: 0 auto; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }

.section-ink {
  max-width: 1240px;
  border-radius: 40px;
  background: var(--pink-wash);
  color: var(--ink);
  border: 1px solid var(--line-pink);
}
.onink { color: var(--ink-strong); }

.section-rose {
  max-width: 1240px; border-radius: 40px;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}
.section-ivory { max-width: 1180px; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story-text p { margin-bottom: 1.4rem; max-width: 58ch; }

.has-dropcap::first-letter {
  font-family: var(--display); font-weight: 500;
  font-size: 4.2em; line-height: 0.8; float: left;
  padding: 0.06em 0.14em 0 0; color: var(--magenta);
}

.story-pull {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.32;
  color: var(--magenta-deep);
  padding-left: 1.4rem; border-left: 2px solid var(--magenta);
  margin: 2.2rem 0;
}

.story-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ---------- houses / divisions ---------- */
.houses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 2.5rem); }
.house {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; scroll-margin-top: 7rem;
  box-shadow: 0 16px 44px rgba(187, 63, 149, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.house:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(187, 63, 149, 0.18); }
.house-body { padding: 1.6rem 1.8rem 1.9rem; }
.house-tag { font-family: var(--display); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta); margin: 0.5rem 0 0.9rem; }
.house-body p:not(.house-tag) { font-size: 0.96rem; color: var(--muted); margin-bottom: 1.2rem; }
.house-link { font-family: var(--display); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; color: var(--ink-strong); border-bottom: 1px solid var(--magenta); padding-bottom: 2px; transition: color 0.25s ease; }
.house-link:hover { color: var(--magenta); }

/* ---------- strengths ---------- */
.strength-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.strength-lede { font-size: 1.1rem; color: var(--ink); margin: 0 0 2rem; max-width: 52ch; }
.strength-list { display: grid; gap: 0; }
.strength-list div { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.strength-list div:last-child { border-bottom: 1px solid var(--line); }
.strength-list dt { font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-strong); margin-bottom: 0.3rem; }
.strength-list dd { font-size: 0.95rem; color: var(--muted); }
.frame-strength { aspect-ratio: 4 / 5; }
.frame-strength img { object-position: left center; }

/* ---------- careers ---------- */
.careers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.frame-careers { aspect-ratio: 3 / 2; }
.careers-lede { font-size: 1.1rem; color: var(--ink); margin-bottom: 1.2rem; max-width: 46ch; }
.careers-sub { font-size: 1rem; color: var(--muted); margin-bottom: 1.8rem; }

/* ---------- visit ---------- */
.visit-panorama { margin-bottom: clamp(2rem, 4vw, 3rem); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.visit-grid-tight { align-items: start; }
.visit-lede { font-size: 1.15rem; margin-bottom: 1.8rem; }
.visit-details div { border-top: 1px solid var(--line); padding: 0.95rem 0; }
.visit-details dt { font-family: var(--display); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--magenta); margin-bottom: 0.3rem; }
.visit-details dd { font-size: 0.98rem; }
.visit-details a { color: var(--magenta-deep); }
.tbc { font-size: 0.8rem; color: var(--muted); font-style: italic; }

/* ---------- book ---------- */
.book { text-align: center; }
.book-lede { max-width: 48ch; margin: 1rem auto 2rem; color: var(--muted); }
.book-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 2.5rem; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 4rem 1.5rem 3rem; border-top: 1px solid var(--line-pink); }
.footer-brand { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-line { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0.6rem 0 1.6rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.8rem; }
.footer-nav a { font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--magenta); }
.footer-fine { font-size: 0.76rem; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .orb, .ticker-track { animation: none; }
  .btn, .pill, .house { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .topbar { padding: 0.7rem 1.2rem; gap: 1rem; }
  .topbar-brand img { height: 38px; }
  .story-grid, .visit-grid, .houses-grid, .strength-grid, .careers-grid { grid-template-columns: 1fr; }
  .strength-grid .frame-strength { order: -1; aspect-ratio: 3 / 2; }
  .frame-strength img { object-position: center; }
  .section-ink, .section-rose { border-radius: 26px; }
}

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