@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Italiana&display=swap");

:root {
  --paper: #f1f1f1;
  --ink: #111111;
  --red: #e5202a;
  --muted: #767676;
  --surface: #e8e8e8;
  --serif: "Italiana", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed; z-index: 100; top: 1rem; left: 1rem;
  padding: .75rem 1rem; color: var(--paper); background: var(--ink);
  transform: translateY(-180%); transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.site-shell { overflow: clip; }
.timeline-node { touch-action: manipulation; }

.hero {
  position: relative; min-height: 100svh; padding: clamp(1rem, 3vw, 3rem) clamp(1.25rem, 6vw, 7rem);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto;
  column-gap: 1rem; isolation: isolate;
}
.site-header {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: start; gap: 2rem; z-index: 5;
}
.wordmark { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; }
.header-meta { display: flex; align-items: center; gap: .5rem; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.meta-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--red); }
.meta-copy { white-space: nowrap; }
.header-cluster { justify-self: end; display: grid; justify-items: end; gap: .8rem; }
.language-pill { padding: .3rem .48rem; border: 1px solid var(--ink); border-radius: .55rem; font-size: .6rem; font-weight: 600; }
.stacked-nav { display: grid; justify-items: end; }
.nav-link { font-size: .62rem; font-weight: 600; letter-spacing: .06em; line-height: 1.3; text-decoration: none; text-transform: uppercase; }
.nav-link:hover, .nav-link:focus-visible { color: var(--red); }

.hero-type { grid-column: 2 / 10; align-self: center; padding: 7rem 0 5rem; z-index: 2; }
.hero-kicker { margin: 0 0 2rem; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-title { margin: 0; font-family: var(--serif); font-size: clamp(4.4rem, 10.3vw, 11.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .72; text-transform: uppercase; }
.title-line { display: block; white-space: nowrap; }
.title-indent { margin-left: clamp(1rem, 8vw, 8rem); }
.title-accent { position: relative; width: max-content; }
.red-dot { position: absolute; top: 14%; right: -1.2rem; width: clamp(.55rem, 1vw, .9rem); aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.hero-note { grid-column: 8 / 11; grid-row: 2; align-self: center; z-index: 4; margin-top: 18rem; }
.hero-note p { margin: 0 0 1rem; font-size: .67rem; line-height: 1.5; text-transform: uppercase; }
.hero-link { display: inline-block; padding-bottom: .2rem; border-bottom: 1px solid var(--ink); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-link:hover, .hero-link:focus-visible { color: var(--red); border-color: var(--red); }

.arch-portrait {
  position: absolute; right: -2vw; bottom: 0; z-index: -1;
  width: clamp(14rem, 27vw, 31rem); height: clamp(24rem, 58vh, 44rem); margin: 0;
  overflow: hidden; border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: var(--surface);
}
.arch-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.78) contrast(.82) brightness(.92); }
.arch-caption { position: absolute; right: 1.5rem; bottom: 1.2rem; padding: .45rem .65rem; color: var(--paper); background: var(--ink); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-pagination { grid-column: 1 / 4; grid-row: 3; display: flex; gap: 3rem; align-items: center; font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-pagination a { text-decoration: none; }
.hero-pagination a:hover, .hero-pagination a:focus-visible { color: var(--red); }
.utility-rail { position: absolute; right: clamp(1rem, 3vw, 3rem); bottom: 1.25rem; z-index: 6; display: flex; gap: .45rem; }
.share-pill, .settings-pill { border: 1px solid var(--ink); color: var(--ink); background: rgba(241,241,241,.72); backdrop-filter: blur(10px); cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.share-pill { padding: .65rem .9rem; border-radius: 999px; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }
.settings-pill { display: grid; width: 2.35rem; height: 2.35rem; padding: 0; border-radius: 50%; place-items: center; }
.settings-icon { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.2; }
.share-pill:hover, .share-pill:focus-visible, .settings-pill:hover, .settings-pill:focus-visible { color: var(--paper); background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.taxonomy { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); border-top: 1px solid var(--ink); }
.section-head { display: grid; grid-template-columns: 1fr 4fr 2fr; align-items: end; gap: 2rem; margin-bottom: 5rem; }
.section-index { margin: 0; font-size: .62rem; letter-spacing: .08em; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(5rem, 10vw, 11rem); font-weight: 400; letter-spacing: -.055em; line-height: .75; text-transform: uppercase; }
.section-lead { margin: 0; font-size: .72rem; line-height: 1.55; text-transform: uppercase; }
.size-sequence { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); list-style: none; }
.subject-item { min-width: 0; border-right: 1px solid var(--ink); }
.subject-item:last-child { border-right: 0; }
.subject-card { display: grid; grid-template-rows: auto 1fr auto; width: 100%; min-height: 34rem; padding: .8rem; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.subject-number { font-size: .6rem; }
.subject-frame { align-self: end; height: 15rem; margin: 1rem -.8rem 1.4rem; overflow: hidden; background: var(--surface); }
.subject-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.9); transition: filter 240ms ease, transform 360ms ease; }
.subject-card:hover, .subject-card:focus-visible, .subject-card.is-active { color: var(--paper); background: var(--ink); outline: 0; }
.subject-card:hover .subject-image, .subject-card:focus-visible .subject-image, .subject-card.is-active .subject-image { filter: grayscale(.3) contrast(1); transform: scale(1.04); }
.subject-copy { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .42rem .5rem; }
.subject-line { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 400; }
.subject-size, .subject-price { font-size: .66rem; font-weight: 600; }
.subject-compare, .subject-delivery { color: var(--muted); font-size: .58rem; }
.subject-tooltip { grid-column: 1 / -1; width: max-content; max-width: 100%; padding: .3rem .45rem; border: 1px solid currentColor; border-radius: .55rem; font-size: .55rem; text-transform: uppercase; }
.subject-card:hover .subject-tooltip, .subject-card:focus-visible .subject-tooltip { color: var(--paper); border-color: var(--red); background: var(--red); }

.production { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: clamp(2rem, 5vw, 6rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); background: var(--surface); }
.production-copy { display: grid; align-content: start; }
.section-label { margin: 4rem 0 1.5rem; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.production-title { max-width: 12ch; margin: 0; font-family: var(--serif); font-size: clamp(3.7rem, 6vw, 7rem); font-weight: 400; letter-spacing: -.045em; line-height: .9; }
.production-text { max-width: 32rem; margin: 2rem 0 0; font-size: .74rem; line-height: 1.6; text-transform: uppercase; }
.production-arch { align-self: center; margin: 0; }
.production-arch img { width: 100%; height: 28rem; object-fit: cover; border-radius: 50% 50% 0 0 / 25% 25% 0 0; filter: grayscale(.65); }
.production-arch figcaption { margin-top: .7rem; font-size: .6rem; text-transform: uppercase; }
.checks-list { align-self: end; margin: 0; }
.checks-list div { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--ink); }
.checks-list div:last-child { border-bottom: 1px solid var(--ink); }
.checks-list dt, .checks-list dd { margin: 0; font-size: .65rem; }
.checks-list dt { color: var(--red); }

.custom { display: grid; grid-template-columns: .6fr 2fr 1fr; gap: clamp(2rem, 5vw, 6rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); color: var(--paper); background: var(--ink); }
.custom-copy { max-width: 60rem; }
.custom-title { margin: 1.5rem 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 8rem); font-weight: 400; letter-spacing: -.05em; line-height: .9; }
.custom-text { max-width: 40rem; margin: 0 0 2rem; font-size: .75rem; line-height: 1.6; text-transform: uppercase; }
.custom-link { display: inline-block; padding: .65rem 1rem; border: 1px solid var(--paper); border-radius: .55rem; font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.custom-link:hover, .custom-link:focus-visible { color: var(--paper); background: var(--red); border-color: var(--red); }
.custom-facts { align-self: end; }
.custom-facts p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 1rem 0; border-top: 1px solid rgba(241,241,241,.35); font-size: .65rem; }
.custom-facts p:last-child { border-bottom: 1px solid rgba(241,241,241,.35); }
.custom-facts strong { text-align: right; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 3rem; padding: 3rem clamp(1.25rem, 6vw, 7rem); border-top: 1px solid var(--ink); }
.footer-mark { font-family: var(--serif); font-size: clamp(4rem, 10vw, 11rem); letter-spacing: -.06em; line-height: .75; text-decoration: none; }
.footer-nav { display: grid; align-content: start; justify-items: end; gap: .5rem; }
.footer-nav a { font-size: .65rem; text-decoration: none; text-transform: uppercase; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--red); }
.footer-meta { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }

.product-modal { width: min(70rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; overflow: auto; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); }
.product-modal::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(8px); }
.modal-shell { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 38rem; }
.modal-close { position: absolute; z-index: 3; top: 1rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--ink); border-radius: .55rem; color: var(--ink); background: var(--paper); font-size: 1.4rem; cursor: pointer; place-items: center; }
.modal-close:hover, .modal-close:focus-visible { color: var(--paper); background: var(--red); border-color: var(--red); }
.modal-visual { min-height: 38rem; overflow: hidden; background: var(--surface); }
.modal-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7); }
.modal-content { display: flex; flex-direction: column; padding: clamp(2.5rem, 5vw, 5rem); }
.modal-line { margin: 0 0 auto; color: var(--red); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.modal-title { margin: 3rem 0 1rem; font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; letter-spacing: -.06em; line-height: .8; }
.modal-description { margin: 0 0 2rem; font-size: .75rem; line-height: 1.55; text-transform: uppercase; }
.modal-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.modal-size-block, .modal-price-block { display: grid; gap: .35rem; padding: 1rem 0; }
.modal-label { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.modal-size, .modal-price { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.modal-price-note, .modal-compliance { font-size: .58rem; line-height: 1.4; }
.modal-delivery { margin: 1rem 0 .3rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; }
.modal-compliance { margin: 0; }
.site-shell.is-quiet .arch-image, .site-shell.is-quiet .subject-image { filter: grayscale(1); }

@media (max-width: 980px) {
  .hero-type { grid-column: 1 / 10; }
  .hero-note { grid-column: 7 / 10; }
  .section-head { grid-template-columns: .5fr 2fr; }
  .section-lead { grid-column: 2; }
  .size-sequence { grid-template-columns: repeat(2, 1fr); }
  .subject-item:nth-child(even) { border-right: 0; }
  .subject-item:last-child { grid-column: 1 / -1; }
  .production { grid-template-columns: 1.2fr .8fr; }
  .checks-list { grid-column: 1 / -1; }
  .custom { grid-template-columns: .5fr 2fr; }
  .custom-facts { grid-column: 2; }
}

@media (max-width: 720px) {
  .hero { min-height: 50rem; display: block; padding: 1rem; }
  .site-header { display: flex; justify-content: space-between; }
  .header-meta { display: none; }
  .stacked-nav { display: none; }
  .hero-type { padding: 9rem 0 0; }
  .hero-title { font-size: clamp(3.6rem, 18vw, 6rem); line-height: .83; }
  .title-indent { margin-left: 0; }
  .hero-note { width: 58%; margin: 4rem 0 0; }
  .arch-portrait { right: -5rem; width: 13rem; height: 25rem; }
  .hero-pagination { position: absolute; left: 1rem; bottom: 1rem; }
  .utility-rail { right: 1rem; bottom: 1rem; }
  .section-head { display: block; }
  .section-title { margin: 1rem 0 2rem; }
  .size-sequence { grid-template-columns: 1fr; }
  .subject-item, .subject-item:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .subject-item:last-child { grid-column: auto; }
  .production, .custom { grid-template-columns: 1fr; }
  .production-arch, .checks-list, .custom-facts { grid-column: auto; }
  .production-arch img { height: 23rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-nav { justify-items: start; }
  .footer-meta { grid-column: auto; }
  .modal-shell { grid-template-columns: 1fr; }
  .modal-visual { min-height: 19rem; }
  .modal-content { padding: 2.5rem 1rem; }
}

::selection {
  color: #fff;
  background: #111;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (hover: hover) {
  .subject-card {
    will-change: transform;
  }

  .subject-image {
    backface-visibility: hidden;
  }

  .share-pill,
  .settings-pill {
    will-change: transform;
  }
}

@supports (backdrop-filter: blur(1px)) {
  .share-pill,
  .settings-pill {
    -webkit-backdrop-filter: blur(8px);
  }

  .product-modal::backdrop {
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (forced-colors: active) {
  .subject-card,
  .modal-close,
  .share-pill,
  .settings-pill {
    border: 1px solid CanvasText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
