/* FINLAP page (/finlap). Classes prefixed fp-. Motion hooks from js/motion.js.
   Look: obsidian + midnight sapphire, platinum type, Didone display (Libre Bodoni), hairline rules. */
.fp { --ink: #05060a; --night: #0a1030; --cobalt: #2236c9; --ice: #a9c4ff; --plat: #e6e9ef; --mist: #9aa3b5; --gold: #d8b56a;
      --serif: "Libre Bodoni", Georgia, serif; --sans: Epilogue, Arial, sans-serif;
      background: var(--ink); color: var(--plat); font-family: var(--sans); overflow-x: clip; }
.fp h1, .fp h2, .fp h3 { color: inherit; }
.fp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.fp-kicker { letter-spacing: .42em; text-transform: uppercase; font-size: clamp(.66rem, .8vw, .76rem); color: var(--mist); margin: 0 0 1.6rem; }
.fp-kicker--gold { color: var(--gold); }
.fp-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.06; margin: 0; letter-spacing: -.005em; }
.fp-h2 em, .fp-display em { font-style: italic; color: var(--ice); }
.fp-display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 1.02; margin: 0; }
.fp-lede--center { margin-left: auto; margin-right: auto; }
.fp-lede { color: #c3c9d6; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.75; max-width: 54ch; margin: 1.6rem 0 0; }
.fp-num { font-family: var(--serif); font-size: .95rem; letter-spacing: .3em; color: var(--ice); }
.fp-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 34px; background: var(--plat); color: var(--ink);
          border: 1px solid var(--plat); text-decoration: none; letter-spacing: .26em; text-transform: uppercase; font-size: .72rem;
          transition: background .4s, color .4s; }
.fp-btn:hover { background: transparent; color: var(--plat); }
.fp-btn--ghost { background: transparent; color: var(--plat); }
.fp-btn--ghost:hover { background: var(--plat); color: var(--ink); }
.fp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

/* ── I. Hero ── */
.fp-hero { position: relative; min-height: max(100vh, 700px); display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #0e1a5c 0%, #070a1f 45%, var(--ink) 75%); }
.fp-hero__aura { position: absolute; inset: 0; z-index: -2; opacity: .5;
  background: url("/assets/images/aurora-borealis-69dc6a.webp") center 30% / cover;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%); }
.fp-hero__burst { position: absolute; z-index: -1; width: min(1100px, 95vw); top: 50%; left: 50%; transform: translate(-50%, -46%); opacity: .55;
  mix-blend-mode: screen; animation: fp-burst 3.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fp-burst { from { opacity: 0; transform: translate(-50%, -46%) scale(.7) rotate(-6deg); } to { opacity: .55; transform: translate(-50%, -46%) scale(1); } }
.fp-hero__word { grid-area: 1 / 1; margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: .14em;
  font-size: clamp(5rem, 21vw, 22rem); padding-left: .14em; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #c9d1e3 45%, #6c7894 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fp-word 2.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fp-word { from { opacity: 0; letter-spacing: .4em; filter: blur(14px); } to { opacity: 1; letter-spacing: .14em; filter: none; } }
.fp-hero__bottle { grid-area: 1 / 1; position: relative; height: min(78vh, 760px); aspect-ratio: 921 / 3932; margin-top: 4vh;
  filter: drop-shadow(0 50px 60px rgba(0,0,0,.7)); animation: fp-rise 2s .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fp-rise { from { opacity: 0; transform: translateY(8%); } to { opacity: 1; transform: none; } }
.fp-hero__bottle img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fp-sheen { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("/images/finlap-proposal/bottle-600.webp") center / contain no-repeat; mask: url("/images/finlap-proposal/bottle-600.webp") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 48%, transparent 60%) -150% 0 / 250% 100% no-repeat;
  animation: fp-sheen 6s 2.2s ease-in-out infinite; }
@keyframes fp-sheen { 0% { background-position: -150% 0; } 35%, 100% { background-position: 250% 0; } }
.fp-hero__left, .fp-hero__right { position: absolute; bottom: calc(4vh + 18px); margin: 0; font-family: var(--serif); font-size: clamp(.9rem, 1.2vw, 1.15rem);
  letter-spacing: .32em; text-transform: uppercase; line-height: 1.9; color: var(--plat); }
.fp-hero__left { left: clamp(20px, 6vw, 90px); bottom: calc(4vh + 96px); }
.fp-hero__right { right: clamp(20px, 6vw, 90px); text-align: right; }
.fp-hero__medals { position: absolute; bottom: 4vh; left: clamp(20px, 6vw, 90px); display: flex; align-items: center; gap: 18px; text-decoration: none; }
.fp-hero__medals img { height: 70px; width: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,.6)); }

/* ── II. Ribbon ── */
.fp-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(216,181,106,.35); border-bottom: 1px solid rgba(216,181,106,.35); background: #07080c; }
.fp-ribbon a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.6rem 1rem; text-decoration: none; text-align: center; transition: background .4s; }
.fp-ribbon a + a { border-left: 1px solid rgba(216,181,106,.2); }
.fp-ribbon a:hover { background: rgba(216,181,106,.06); }
.fp-ribbon strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.6rem); color: var(--gold); letter-spacing: .04em; }
.fp-ribbon span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }

/* ── III. Secret ── */
.fp-secret { position: relative; padding: clamp(6rem, 13vw, 11rem) 0; overflow: hidden; isolation: isolate; text-align: center; }
.fp-secret__bg { position: absolute; inset: -12% 0; z-index: -1; }
.fp-secret__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.fp-secret__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,6,10,.35), var(--ink) 75%); }
.fp-pillars { list-style: none; padding: 0; margin: clamp(4rem, 8vw, 6rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.fp-pillars li { padding: 0 clamp(1rem, 3vw, 2.6rem); border-left: 1px solid rgba(230,233,239,.16); }
.fp-pillars h3 { font-family: var(--serif); font-weight: 400; font-style: normal; font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 1rem 0 .8rem; max-width: none; }
.fp-pillars p { color: #b8bfcd; line-height: 1.7; margin: 0; }

/* ── IV. Glacier ── */
.fp-glacier { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-bottom: clamp(4rem, 9vw, 8rem); }
.fp-glacier__media { position: absolute; inset: -12% 0; z-index: -1; }
.fp-glacier__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.fp-glacier__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(5,6,10,0) 25%, rgba(5,6,10,.2) 55%, rgba(5,6,10,.92) 100%); }
.fp-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.8vw, 3.6rem); line-height: 1.2; margin: 0; max-width: 22ch; color: #fff; }

/* ── V. Chapters ── */
.fp-chapters { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); }
.fp-chapters__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.fp-chapters__world { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease, transform 2.4s ease; transform: scale(1.08); }
.fp-chapters__world img { width: 100%; height: 100%; object-fit: cover; }
.fp-chapters__world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,16,48,.15), rgba(10,16,48,.75)); }
.fp-chapters__stage[data-zoom="simple"] .fp-w-simple, .fp-chapters__stage[data-zoom="clean"] .fp-w-clean,
.fp-chapters__stage[data-zoom="unique"] .fp-w-unique { opacity: 1; transform: none; }
.fp-chapters__bottle { position: relative; height: 74vh; width: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.65));
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.fp-chapters__stage[data-zoom="clean"] .fp-chapters__bottle { transform: translateY(-2%) rotate(-3deg); }
.fp-chapters__stage[data-zoom="unique"] .fp-chapters__bottle { transform: scale(1.06) rotate(2deg); }
.fp-chapters__steps { padding: 0 clamp(24px, 6vw, 96px); }
.fp-chapter { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: .25; transition: opacity .8s; }
.fp-chapter.is-active { opacity: 1; }
.fp-chapter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 6rem); margin: .4rem 0 1.4rem; line-height: 1; }
.fp-chapter p { color: #c3c9d6; line-height: 1.8; font-size: 1.08rem; margin: 0 0 1rem; }
.fp-strong { color: #fff !important; font-family: var(--serif); font-size: 1.3rem !important; font-style: italic; }

/* ── VI. Design anatomy ── */
.fp-design { padding: clamp(6rem, 12vw, 10rem) 0 clamp(5rem, 10vw, 8rem); text-align: center;
  background: radial-gradient(ellipse 50% 50% at 50% 60%, #121c55, var(--ink) 70%); }
.fp-anatomy { position: relative; max-width: 1000px; height: min(86vh, 820px); margin: clamp(3rem, 6vw, 5rem) auto 0; }
.fp-anatomy__bottle { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); filter: drop-shadow(0 40px 50px rgba(0,0,0,.7)); }
.fp-callout { position: absolute; width: calc(50% - 170px); text-align: left; }
.fp-callout h3 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 1.35rem; margin: 0 0 .4rem; max-width: none; color: #fff; }
.fp-callout p { margin: 0; color: var(--mist); line-height: 1.6; font-size: .95rem; }
.fp-callout__line { position: absolute; top: .75rem; height: 1px; width: 120px; background: linear-gradient(90deg, rgba(169,196,255,0), var(--ice)); }
.fp-callout--cap, .fp-callout--origin { left: 0; text-align: right; }
.fp-callout--cap .fp-callout__line, .fp-callout--origin .fp-callout__line { right: -140px; }
.fp-callout--logo, .fp-callout--glass { right: 0; }
.fp-callout--logo .fp-callout__line, .fp-callout--glass .fp-callout__line { left: -140px; transform: scaleX(-1); }
.fp-callout--cap { top: 6%; } .fp-callout--logo { top: 34%; } .fp-callout--origin { top: 52%; } .fp-callout--glass { top: 70%; }
.fp-callout--engrave { left: 0; text-align: right; top: 88%; }
.fp-callout--engrave .fp-callout__line { right: -140px; }
.fp-callout--engrave h3 { letter-spacing: .18em; }

/* ── VII. Awards ── */
.fp-awards { padding: clamp(6rem, 12vw, 10rem) 0; text-align: center; background: linear-gradient(180deg, var(--ink), #0b0a07 50%, var(--ink)); }
.fp-awards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(3.5rem, 7vw, 5rem); }
.fp-award { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 3rem 1.5rem 2.4rem; text-decoration: none; color: var(--plat);
  border: 1px solid rgba(216,181,106,.25); background: linear-gradient(180deg, rgba(216,181,106,.06), transparent 60%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), border-color .6s, box-shadow .6s; }
.fp-award:hover { transform: translateY(-8px); border-color: rgba(216,181,106,.6); box-shadow: 0 30px 60px -30px rgba(216,181,106,.35); }
.fp-award img { height: 160px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); margin-bottom: 1.2rem; }
.fp-award strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--gold); }
.fp-award span { color: var(--mist); font-size: .9rem; line-height: 1.6; }
.fp-award em { margin-top: .8rem; font-style: normal; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--plat);
  border-bottom: 1px solid rgba(230,233,239,.4); padding-bottom: 3px; }

/* ── VIII. Ritual ── */
.fp-ritual { padding: clamp(6rem, 12vw, 10rem) 0; }
.fp-ritual__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 340px 340px; gap: 14px; max-width: 1400px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0 clamp(20px, 3vw, 40px); }
.fp-tile { position: relative; margin: 0; overflow: hidden; }
.fp-tile--tall { grid-row: span 2; } .fp-tile--wide { grid-column: span 2; }
.fp-tile--wide img { object-position: 50% 62%; }
.fp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.fp-tile:hover img { transform: scale(1.05); }
.fp-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.2rem; font-family: var(--serif); font-size: 1.2rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5,6,10,.85)); letter-spacing: .04em; }

/* ── IX. Wolf ── */
.fp-wolf { position: relative; padding: clamp(6rem, 12vw, 10rem) 0; overflow: hidden; isolation: isolate; }
.fp-wolf__media { position: absolute; inset: -10% 0; z-index: -1; }
.fp-wolf__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.fp-wolf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,10,.95) 0%, rgba(5,6,10,.7) 45%, rgba(5,6,10,.35) 100%); }
.fp-wolf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fp-sign { font-family: "Birthstone", var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--ice); margin: 2rem 0 0; }
.fp-wolf__render { width: 100%; height: auto; box-shadow: 0 50px 90px -30px rgba(0,0,0,.9); }

/* ── X. Family ── */
.fp-family { padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem); text-align: center;
  background: radial-gradient(ellipse 60% 45% at 50% 85%, #14205f, var(--ink) 70%); }
.fp-family__row { list-style: none; margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 20px; display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(.5rem, 3vw, 3.5rem); height: min(62vh, 560px); }
.fp-family__row li { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.fp-family__row img { height: calc(100% - 2.4rem); width: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.7)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fp-family__row li:hover img { transform: translateY(-12px); }
.fp-family__row span { margin-top: 1.2rem; font-family: var(--serif); letter-spacing: .14em; font-size: clamp(.75rem, 1.2vw, 1rem); white-space: nowrap; }
.fp-family__note { margin: 2.4rem 0 0; letter-spacing: .3em; text-transform: uppercase; font-size: .7rem; color: var(--mist); }

/* ── XI. Close ── */
.fp-close { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.fp-close__media { position: absolute; inset: 0; z-index: -1; }
.fp-close__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.fp-close__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,10,.92), rgba(5,6,10,.55) 50%, rgba(5,6,10,.1)); }

/* ── Tablet & phone ── */
@media (max-width: 991px) {
  .fp-hero__left, .fp-hero__right { top: auto; bottom: calc(4vh + 100px); font-size: .7rem; letter-spacing: .24em; }
  .fp-pillars { grid-template-columns: 1fr; gap: 2.6rem; }
  .fp-pillars li { border-left: 0; border-top: 1px solid rgba(230,233,239,.16); padding: 2rem 0 0; }
  .fp-chapters { grid-template-columns: 1fr; }
  .fp-chapters__stage { position: relative; height: 70vh; }
  .fp-chapters__stage .fp-w-simple { opacity: 1; transform: none; }
  .fp-chapters__bottle { height: 58vh; }
  .fp-chapter { min-height: 0; opacity: 1; padding: 3.5rem 0; max-width: none; border-top: 1px solid rgba(230,233,239,.12); }
  .fp-anatomy { height: auto; display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding: 0 20px; }
  .fp-anatomy__bottle { position: relative; left: auto; transform: none; height: 60vh; margin: 0 auto 1rem; }
  .fp-callout { position: relative; inset: auto !important; width: auto; padding: 0 !important; text-align: center !important; }
  .fp-callout__line { display: none; }
  .fp-awards__grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
  .fp-ribbon { grid-template-columns: repeat(2, 1fr); }
  .fp-ribbon a:nth-child(3) { border-left: 0; }
  .fp-ribbon a:nth-child(n+3) { border-top: 1px solid rgba(216,181,106,.2); }
  .fp-ritual__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; }
  .fp-tile--tall { grid-row: span 2; } .fp-tile--wide { grid-column: span 2; }
  .fp-wolf__grid { grid-template-columns: 1fr; }
  .fp-close__media::after { background: linear-gradient(180deg, rgba(5,6,10,.55), rgba(5,6,10,.88) 45%, rgba(5,6,10,.95)); }
}
@media (max-width: 600px) {
  .fp-hero__word { font-size: 23vw; letter-spacing: .08em; padding-left: .08em; }
  @keyframes fp-word { from { opacity: 0; filter: blur(14px); } to { opacity: 1; filter: none; } }
  .fp-hero__bottle { height: 62vh; }
  .fp-hero__left, .fp-hero__right { display: none; }
  .fp-hero__medals { gap: 8px; } .fp-hero__medals img { height: 50px; }
  .fp-ribbon { grid-template-columns: 1fr; }
  .fp-awards__grid { grid-template-columns: 1fr; max-width: 420px; }
  .fp-ribbon a + a { border-left: 0; border-top: 1px solid rgba(216,181,106,.2); }
  .fp-ritual__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .fp-ritual__grid .fp-tile { height: 300px; grid-row: auto; grid-column: auto; }
  .fp-family__row { height: 300px; gap: .4rem; }
  .fp-family__row span { font-size: .62rem; letter-spacing: .04em; }
  .fp-actions .fp-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-hero__burst, .fp-hero__word, .fp-hero__bottle, .fp-sheen { animation: none; }
}
