@font-face { font-family: "Utendo"; src: url(../../assets/fonts/Utendo-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Utendo"; src: url(../../assets/fonts/Utendo-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #222B4A;
  --stone: #9B938B;
  --stone-20: #EFEDEA;
  --charcoal: #4F4E54;
  --mist: #AEB4C7;
  --bg: #FFFFFF;
  --fg: var(--navy);
  --fg2: #565D74;
  --line: rgba(34, 43, 74, .14);
  --surface: var(--stone-20);
  --accent: var(--navy);
  --invert-bg: var(--navy);
  --invert-fg: #FFFFFF;
  --display: "Marcellus", "Times New Roman", serif;
  --display-weight: 400;
  --display-track: 0;
  --text: "Utendo", system-ui, sans-serif;
  --radius: 0px;
  --serif: "Marcellus", "Times New Roman", serif;
  --lw: min(74vw, 1000px);
  --top-fg: #FFFFFF;
  --top-solid: rgba(255, 255, 255, .95);
  --top-solid-fg: var(--navy);
}
.serif { font-family: var(--serif); }

/* chapter motif: the two rules open outward from the middle, like the logo */
.ch-open .motif { background: none; height: 1px; transform: none; position: relative; }
.ch-open .motif::before, .ch-open .motif::after { content: ""; position: absolute; top: 0; height: 1px; width: 50%; background: var(--navy); transform: scaleX(0); transition: transform 1.3s cubic-bezier(.6, .05, .25, 1); }
.ch-open .motif::before { right: 50%; transform-origin: right center; }
.ch-open .motif::after { left: 50%; transform-origin: left center; }
.ch-open.in .motif::before, .ch-open.in .motif::after { transform: scaleX(1); }
.ch.tight { padding-top: 10vh; }
.stage.card { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stage.card.navy { background: var(--navy); box-shadow: none; }
.anatomy .stage, .measure, .minsize .stage, .wrong .stage { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- cover: the name becomes a window ---------- */
.hero-pin { height: 100vh; height: 100svh; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--navy); }
.room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0; background: var(--navy); transform-origin: 50% 50%; }
.veil.cut {
  -webkit-mask: url(../../assets/logos/house-white.svg) center / var(--lw) auto no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url(../../assets/logos/house-white.svg) center / var(--lw) auto no-repeat exclude, linear-gradient(#000 0 0);
}
.lockup { position: relative; width: var(--lw); height: auto; overflow: visible; }
.shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 29, 51, .78), rgba(23, 29, 51, .1) 55%); opacity: 0; pointer-events: none; }
.welcome { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14vh; text-align: center; font-family: var(--serif); font-size: clamp(38px, 5.6vw, 92px); line-height: 1; color: #fff; opacity: 0; }
.cover-tag { color: #fff; }
.cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--mist); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 01 ---------- */
.lead { font-family: var(--serif); letter-spacing: 0; line-height: 1.16; }
.essence { margin-top: 18px; font-family: var(--serif); font-size: clamp(44px, 6vw, 96px); line-height: 1; }

/* ---------- 05: navy opens from the center ---------- */
.colour-pin { height: 100vh; height: 100svh; position: relative; overflow: hidden; }
.panel { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 110px var(--gutter) 8vh; }
.panel > img { align-self: center; justify-self: center; width: min(58vw, 760px); height: auto; }
.p-white { background: #fff; color: var(--navy); box-shadow: inset 0 1px 0 var(--line); }
.p-navy { background: var(--navy); color: #fff; clip-path: inset(0% 50% 0% 50%); }
.info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 4vw; align-items: end; }
.info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8vw, 132px); line-height: .9; }
.info p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; opacity: .85; max-width: 30ch; }
.vals div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: clamp(17px, 1.4vw, 20px); }
.vals dt { opacity: .7; }
.vals dd { font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 16px; }
.vals button { font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 06 ---------- */
.type-head { align-items: end; }
.aa { font-family: var(--serif); font-size: clamp(160px, 24vw, 400px); line-height: .8; }
.alphabet { margin-top: 24px; font-size: clamp(20px, 2vw, 30px); line-height: 1.35; word-break: break-all; }
.alphabet.sans { font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .08em; color: var(--fg2); margin-top: 14px; }
.tester-out { font-family: var(--serif); }
.tester-out[data-weight="sans"] { font-family: "Utendo", sans-serif; font-weight: 700; letter-spacing: -.02em; }

/* ---------- 07 ---------- */
.mono { display: block; width: 70%; aspect-ratio: 859 / 191; background: var(--c); -webkit-mask: url(../../assets/logos/house-white.svg) center / contain no-repeat; mask: url(../../assets/logos/house-white.svg) center / contain no-repeat; }
.retyped { font-family: "Bodoni Moda", Didot, "Times New Roman", serif; font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .02em; }

/* ---------- 08 ---------- */
.frame-demo { min-height: 320px; background: var(--navy); color: #fff; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.frame-demo::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.6); }
.frame-demo span { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.frame-demo small { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.open-demo { display: block; width: 100%; min-height: 320px; position: relative; background: var(--navy); overflow: hidden; }
.open-demo .door { position: absolute; inset: 0; clip-path: inset(0% 50% 0% 50%); }
.open-demo .door img { width: 100%; height: 100%; object-fit: cover; }
.open-demo em { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-style: normal; font-size: 13px; color: #fff; background: rgba(34,43,74,.7); padding: 4px 10px; }
.ic { display: block; width: 56px; height: 56px; background: var(--navy); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- 09: rooms open like doors ---------- */
.look-pin { height: 100vh; height: 100svh; position: relative; overflow: hidden; background: var(--navy); }
.shot { position: absolute; inset: 0; isolation: isolate; }
.s1 { z-index: 1; } .s2 { z-index: 2; } .s3 { z-index: 3; } .s4 { z-index: 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 29, 51, .7), transparent 38%); }
.shot figcaption { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 6vh; color: #fff; font-family: var(--serif); font-size: clamp(26px, 3vw, 46px); line-height: 1.15; max-width: 22ch; }
.shot figcaption span { display: block; margin-bottom: 12px; font-family: "Utendo", sans-serif; font-size: 15px; color: var(--mist); }
.shot.s2, .shot.s3, .shot.s4 { clip-path: inset(0% 50% 0% 50%); }

/* ---------- 10: content applied onto the photos ---------- */
.invite { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; color: #fff; padding: 40px; }
.invite img { width: 52%; margin-bottom: 26px; }
.invite p { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.invite h5 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.05; }
.invite small { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--mist); }
.easel { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--navy); }
.easel::before { content: ""; position: absolute; inset: 18px; border: 2px solid var(--navy); }
.easel img { width: 46%; margin-bottom: 14px; }
.easel p { font-family: var(--serif); font-size: 84px; line-height: 1; }
.easel small { font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: #565D74; }
.frost { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.frost img { width: 100%; }
.frost span { color: #fff; font-size: 22px; letter-spacing: .3em; }
.booking { width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 40px 30px; color: #565D74; font-size: 17px; }
.booking img { width: 78%; margin-bottom: 40px; }
.booking .lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--navy); }
.booking b { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--navy); }
.booking i { margin-top: 26px; font-style: normal; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; padding: 14px 22px; }

/* ---------- close ---------- */
.close { min-height: 100vh; min-height: 100svh; padding: 18vh var(--gutter) 10vh; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--navy); color: #fff; }
.lockup-close { width: min(78vw, 760px); height: auto; overflow: visible; }
.close h2 { margin-top: 10vh; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 88px); line-height: 1.05; max-width: 16ch; }
.close .button { margin-top: 44px; background: #fff; color: var(--navy); }
.foot { background: var(--navy); color: var(--mist); --fg: #fff; --fg2: var(--mist); --line: rgba(255,255,255,.18); }
.kit-meta { margin-top: 14px; font-size: 16px; color: var(--mist); }
.contact { margin-top: 30px; font-size: 16px; color: var(--mist); }
.contact a { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  :root { --lw: 88vw; }
  .panel { padding-top: 90px; }
  .info { grid-template-columns: 1fr; gap: 18px; }
  .cover-tag { bottom: 96px; }
}

/* ---------- reduced motion ---------- */
.static .hero-pin { height: auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px var(--gutter) 120px; }
.static .room, .static .veil, .static .shade { display: none; }
.static .welcome { position: static; opacity: 1; margin-top: 8vh; }
.static .look-pin { height: auto; }
.static .shot { position: relative; height: 80vh; clip-path: none; }
.static .colour-pin { height: auto; }
.static .panel { position: relative; min-height: 90vh; clip-path: none; }
.static .open-demo .door { clip-path: none; }
.static .cue::after { animation: none; }
.static .ch-open .motif::before, .static .ch-open .motif::after { transform: none; }
