@font-face { font-family: "Big Shoulders Display"; src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #E7E6E0;
  --ground-2: #DCDBD4;
  --ink: #151B33;
  --muted: #4A4F62;
  --blue: #1D4FB8;
  --blue-ink: #F3F5FB;
  --yellow: #D9B92E;
  --yellow-ink: #151B33;
  --yellow-muted: #3A3622;
  --night: #141A30;
  --night-ink: #E9E8E3;
  --night-muted: #A9ACBA;
  --pad: clamp(18px, 3vw, 32px);
  --gap: clamp(88px, 12vw, 200px);
  --nav-h: 64px;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  --settle: cubic-bezier(.22, 1, .36, 1);
  --inout: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--text); caret-color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--blue); color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(56px, 7vw, 104px); }
p, blockquote, figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -60px; z-index: 30; background: var(--ink); color: var(--ground); padding: 12px 16px; }
.skip:focus { top: 8px; }
.need { background: #F2D34B; color: var(--ink); padding: 0 4px; font-weight: 600; }

/* Buttons: flat, square */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; font: 600 17px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .16s var(--settle); }
.btn:active { transform: scale(.97); }
.btn--call { background: var(--blue); color: var(--blue-ink); }
.btn--quiet { background: rgba(233, 232, 227, .16); color: var(--night-ink); }
.btn--ink { background: var(--ink); color: var(--yellow); }
.btn--line { background: rgba(21, 27, 51, .1); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--call:hover { background: #163F95; }
  .btn--quiet:hover { background: rgba(233, 232, 227, .26); }
  .btn--ink:hover { background: #000; }
  .btn--line:hover { background: rgba(21, 27, 51, .18); }
}

/* Nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 10; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: var(--night-ink); }
.nav__name { font: 800 30px/1 var(--display); text-transform: uppercase; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 0; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { text-decoration: underline; } }
.nav__motion { background: none; border: 0; color: inherit; font: 600 15px/1 var(--text); min-height: 44px; padding: 0 4px; cursor: pointer; transition: transform .16s var(--settle); }
.nav__motion:active { transform: scale(.97); }
.nav__call { min-height: 44px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--night-ink); overflow: hidden; background: var(--night); }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 30%; transform: scale(1); transition: transform 1200ms var(--settle), opacity 1200ms var(--settle); }
.is-loading:not(.still) .hero__photo img { transform: scale(1.04); opacity: .6; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(20, 26, 48, .94) 0%, rgba(20, 26, 48, .72) 45%, rgba(20, 26, 48, 0) 100%); } /* taste-skill-ignore: scrim from the Accord's navy, over the text area only */
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(20, 26, 48, .62), rgba(20, 26, 48, 0)); } /* taste-skill-ignore: navy scrim under the nav only */
.hero__text { position: relative; z-index: 2; padding: 0 var(--pad) clamp(40px, 7vh, 80px); max-width: 1100px; }
.hero__name { font-size: clamp(76px, 12vw, 200px); line-height: .84; letter-spacing: 0; }
.hero__line { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; margin-top: 18px; max-width: 44ch; }
.hero__facts { margin-top: 10px; font-variant-numeric: tabular-nums; }
.hero__rating { color: var(--night-muted); font-size: 16px; margin-top: 4px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__credit { position: absolute; z-index: 2; right: var(--pad); bottom: 18px; font-size: 13px; color: var(--night-muted); max-width: 30ch; text-align: right; }

/* On the lift: picker */
.lift { padding: var(--gap) var(--pad) 0; }
.lift__head { display: grid; grid-template-columns: 36% 1fr; gap: 0 32px; align-items: end; }
.lift__intro { max-width: 46ch; color: var(--muted); }
.lift__body { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); grid-template-rows: auto auto; gap: 24px 32px; }
.lift__jobs { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-start; }
.lift__jobs[hidden] { display: none; }
.lift__jobs button { background: none; border: 0; padding: 4px 0 4px 20px; min-height: 48px; cursor: pointer; font: 800 clamp(40px, 4.6vw, 72px)/1 var(--display); text-transform: uppercase; color: rgba(21, 27, 51, .38); position: relative; transition: color .2s ease, transform .16s var(--settle); }
.lift__jobs button::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 60%; transform: translateY(-50%) scaleY(0); background: var(--yellow); transition: transform .22s var(--settle); }
.lift__jobs button[aria-pressed="true"] { color: var(--blue); }
.lift__jobs button[aria-pressed="true"]::before { transform: translateY(-50%) scaleY(1); }
.lift__jobs button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .lift__jobs button:hover { color: var(--ink); } .lift__jobs button[aria-pressed="true"]:hover { color: var(--blue); } }
.lift__lines { grid-column: 2; display: grid; gap: 48px; }
.job { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: end; background: var(--ground-2); }
.job img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.job[data-line="front"] img { object-position: 70% 50%; }
.job__text { padding: 0 28px 28px 0; }
.job h3 { font-size: clamp(36px, 3.4vw, 52px); margin-bottom: 14px; }
.job__price { margin-top: 14px; color: var(--muted); font-size: 16px; }
.job__who { margin-top: 10px; color: var(--muted); font-size: 16px; }
.job blockquote { font-size: 20px; line-height: 1.45; }
.job__type { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 20px; background: var(--ink); color: var(--yellow); font: 800 clamp(44px, 4.4vw, 72px)/.9 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.js-picker .job { display: none; }
.js-picker .job.is-on { display: grid; }
.js-picker .lift__lines { gap: 0; }
.lift__call { grid-column: 2; justify-self: start; }
.lift__note { margin-top: 32px; color: var(--muted); font-size: 16px; max-width: 70ch; }

/* The floor */
.floor { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; padding-right: var(--pad); align-items: start; }
.floor__big img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.floor__side { padding-top: 8px; }
.floor__side > p { margin-top: 20px; max-width: 36ch; }
.floor__small { margin-top: 40px; max-width: 320px; }
.floor__small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.floor__small figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.js-reveal .floor__big.is-pending img { clip-path: inset(0 0 100% 0); }
.js-reveal .floor__big img { clip-path: inset(0); transition: clip-path 1100ms var(--settle); }

/* In their words */
.words { margin-top: var(--gap); background: var(--night); color: var(--night-ink); padding: clamp(80px, 10vw, 160px) var(--pad); }
.words__name { font: 800 clamp(140px, 26vw, 400px)/.8 var(--display); text-transform: uppercase; color: var(--yellow); }
.words__lead { margin-top: 40px; max-width: 46ch; margin-left: 36%; }
.words__lead blockquote { font-size: clamp(21px, 2vw, 28px); line-height: 1.35; }
.words figcaption { margin-top: 14px; color: var(--night-muted); font-size: 16px; }
.words__more { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-left: 36%; }
.words__more blockquote { font-size: 19px; line-height: 1.5; }
.words__count { margin-top: 64px; margin-left: 36%; color: var(--night-muted); font-size: 16px; }
.words__count a { color: var(--night-ink); }

/* Visit */
.visit { background: var(--yellow); color: var(--yellow-ink); padding: clamp(80px, 10vw, 160px) var(--pad) clamp(72px, 8vw, 120px); }
.visit__h { font-size: clamp(56px, 7vw, 104px); }
.visit__street { margin-top: 24px; font: 800 clamp(64px, 13.4vw, 236px)/.86 var(--display); text-transform: uppercase; white-space: nowrap; }
.visit__grid { margin-top: 48px; display: grid; grid-template-columns: 36% 1fr; gap: 32px; align-items: start; }
.visit__facts p + p { margin-top: 8px; }
.visit__where { font-weight: 600; font-size: 20px; max-width: 30ch; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__note { margin-top: 40px; color: var(--yellow-muted); font-size: 16px; }

/* Footer */
.foot { background: var(--ink); color: var(--night-ink); padding: 80px var(--pad) 120px; }
.foot__name { font: 800 clamp(72px, 17vw, 300px)/.84 var(--display); text-transform: uppercase; white-space: nowrap; }
.foot__row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot__concept { margin-top: 32px; color: var(--night-muted); font-size: 14px; max-width: 80ch; }

/* Phone call bar */
.bar { display: none; }

/* Rise for headings and text blocks (staggered by --d) */
.js-reveal [data-rise].is-pending { opacity: 0; transform: translateY(16px); }
.js-reveal [data-rise] { transition: opacity 900ms var(--settle), transform 900ms var(--settle); transition-delay: var(--d, 0ms); }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { gap: 12px; }
  .nav__name { font-size: 26px; }
  .nav__call { display: none; }
  .hero__photo img { object-position: 50% 30%; }
  .hero::after { height: 72%; }
  .hero__text { padding-bottom: 72px; }
  .hero__name { font-size: clamp(72px, 22vw, 110px); }
  .hero__credit { left: var(--pad); right: auto; bottom: 18px; text-align: left; max-width: none; }
  .lift__head { grid-template-columns: 1fr; gap: 16px; }
  .lift__body { grid-template-columns: 1fr; margin-top: 32px; }
  .lift__jobs { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .lift__jobs button { font-size: 34px; padding-left: 14px; }
  .lift__jobs button::before { width: 6px; }
  .lift__lines, .lift__call { grid-column: 1; }
  .job { grid-template-columns: 1fr; gap: 20px; }
  .job__text { padding: 0 20px 24px; }
  .lift__call { white-space: normal; text-align: left; line-height: 1.25; padding: 12px 18px; }
  .floor { grid-template-columns: 1fr; padding: 0; }
  .floor__side { padding: 0 var(--pad); }
  .floor__small { max-width: none; width: 70%; margin-left: auto; }
  .words__lead, .words__more, .words__count { margin-left: 0; }
  .words__more { grid-template-columns: 1fr; gap: 40px; }
  .words__name { font-size: 42vw; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__street { font-size: 15.2vw; }
  .foot__name { font-size: 18.5vw; }
  .bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; min-height: 52px; align-items: center; justify-content: center; background: var(--blue); color: var(--blue-ink); font: 600 18px/1 var(--text); text-decoration: none; transition: transform .25s var(--settle), opacity .25s var(--settle); }
  .bar:active { transform: scale(.97); }
  .bar.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo img, .js-reveal [data-rise], .js-reveal .floor__big img, .bar, .lift__jobs button::before { transition: opacity .4s ease; transform: none; }
  .js-reveal [data-rise].is-pending { transform: none; }
  .js-reveal .floor__big.is-pending img { clip-path: inset(0); }
}
.still .hero__photo img, .still [data-rise], .still .floor__big img { transition: none; transform: none; }
.still .floor__big.is-pending img { clip-path: inset(0); }
.still [data-rise].is-pending { opacity: 1; }
