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

:root {
  --wall: #e6e0d8;
  --white: #ffffff;
  --ink: #1a1a1a;
  --accent: #a89580;
  --muted: #7a7268;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wall); font-family: var(--serif); }
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(--white); 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(5rem, 9vh, 8rem) clamp(1rem, 8vw, 9rem); isolation: isolate; }
.quiet-nav { position: absolute; z-index: 6; top: 1.6rem; left: clamp(1rem, 4vw, 4rem); right: clamp(1rem, 4vw, 4rem); display: flex; justify-content: space-between; align-items: center; }
.nav-mark { font-size: 1.15rem; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: .72rem; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--muted); }
.ambient-crop { position: absolute; z-index: -1; width: clamp(14rem, 27vw, 30rem); height: clamp(19rem, 36vw, 40rem); overflow: hidden; opacity: .16; filter: sepia(.7) grayscale(.5); }
.ambient-crop img { width: 100%; height: 100%; object-fit: cover; }
.ambient-left { left: -8rem; bottom: 4%; transform: rotate(-5deg); }
.ambient-right { top: -6rem; right: -7rem; transform: rotate(7deg); }

.museum-card { position: relative; min-height: min(74svh, 50rem); padding: clamp(2rem, 4vw, 4rem); overflow: hidden; background: var(--white); box-shadow: 0 2rem 5rem rgba(77,66,55,.13); isolation: isolate; }
.card-counter { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; width: 2.2rem; height: 2.2rem; border: 1px solid var(--ink); font-size: .75rem; place-items: center; }
.card-mark { margin: 0; text-align: center; font-size: 1.05rem; }
.arc-title { position: absolute; inset: 50% 3.5rem auto; z-index: 1; display: flex; justify-content: space-between; margin: 0; font-size: clamp(2.6rem, 4.2vw, 4.8rem); font-weight: 400; letter-spacing: .02em; transform: translateY(-50%); }
.hero-manifest { position: absolute; z-index: 3; left: 50%; bottom: 2rem; width: min(38rem, 65%); margin: 0; padding: .7rem 1rem; background: rgba(255,255,255,.86); font-size: .75rem; line-height: 1.5; text-align: center; transform: translateX(-50%); }
.size-arc { position: absolute; z-index: 2; inset: 8rem 7% 7rem; margin: 0; padding: 0; list-style: none; }
.subject-item { position: absolute; width: clamp(8.5rem, 13vw, 14rem); }
.subject-micro { left: 3%; bottom: 7%; transform: rotate(-11deg); }
.subject-classic { left: 20%; top: 21%; transform: rotate(6deg); }
.subject-designer { left: 43%; top: 4%; transform: rotate(-3deg); }
.subject-mega { right: 19%; top: 28%; transform: rotate(8deg); }
.subject-architect { right: 1%; bottom: 2%; transform: rotate(-7deg); }
.subject-card { display: grid; width: 100%; padding: 0; border: 0; background: var(--white); box-shadow: 0 .8rem 2rem rgba(26,26,26,.17); text-align: left; cursor: pointer; transition: transform 260ms ease, box-shadow 260ms ease; }
.subject-card:hover, .subject-card:focus-visible, .subject-card.is-active { z-index: 5; outline: 1px solid var(--ink); outline-offset: .35rem; box-shadow: 0 1.4rem 3rem rgba(26,26,26,.25); transform: translateY(-.75rem) scale(1.07); }
.subject-frame { height: clamp(7rem, 11vw, 12rem); overflow: hidden; }
.subject-image { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) sepia(.12); transition: filter 220ms ease, transform 320ms ease; }
.subject-card:hover .subject-image, .subject-card:focus-visible .subject-image { filter: saturate(1); transform: scale(1.05); }
.subject-copy { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .25rem .4rem; padding: .55rem; }
.subject-line { font-size: .95rem; font-weight: 400; }
.subject-size, .subject-price { font-size: .57rem; }
.subject-compare, .subject-delivery { color: var(--muted); font-size: .5rem; }
.subject-tooltip { grid-column: 1 / -1; width: max-content; max-width: 100%; padding: .2rem .35rem; border: 1px solid var(--accent); font-size: .48rem; }
.arc-guide { position: absolute; z-index: 0; top: 24%; left: 8%; width: 84%; height: 54%; border: 1px solid transparent; border-top-color: rgba(168,149,128,.55); border-bottom-color: rgba(168,149,128,.55); border-radius: 50%; transform: rotate(8deg); }
.arc-guide::after { position: absolute; right: 7%; bottom: -15%; width: 50%; height: 70%; content: ""; border-top: 1px solid rgba(168,149,128,.55); border-radius: 50%; transform: rotate(-30deg); }
.card-scroll { position: absolute; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: .5rem; font-size: .65rem; text-decoration: none; }
.card-scroll span { font-size: 1.2rem; }
.card-scroll:hover, .card-scroll:focus-visible { color: var(--muted); }
.utility-rail { position: absolute; z-index: 7; right: clamp(1rem, 2vw, 2rem); bottom: 1rem; display: flex; gap: .45rem; transform: translateY(100%); }
.share-pill, .settings-pill { border: 1px solid var(--ink); color: var(--ink); background: rgba(255,255,255,.72); backdrop-filter: blur(8px); cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.share-pill { padding: .6rem .9rem; border-radius: 999px; font-size: .62rem; }
.settings-pill { display: grid; width: 2.35rem; height: 2.35rem; padding: 0; place-items: center; }
.settings-icon { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.1; }
.share-pill:hover, .share-pill:focus-visible, .settings-pill:hover, .settings-pill:focus-visible { color: var(--white); background: var(--ink); }

.production { padding: clamp(7rem, 12vw, 13rem) clamp(1rem, 7vw, 8rem); background: var(--white); }
.editorial-head { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; margin-bottom: 5rem; }
.editorial-head p { margin: .5rem 0 0; font-size: .72rem; }
.editorial-head h2 { max-width: 15ch; margin: 0; font-size: clamp(3.4rem, 6vw, 7rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.production-stage { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(2rem, 5vw, 6rem); }
.production-image { margin: 0; }
.production-image img { width: 100%; height: 42rem; object-fit: cover; filter: sepia(.5) saturate(.45) contrast(.9); }
.production-image figcaption { margin-top: .7rem; font-size: .7rem; }
.production-notes { align-self: end; }
.production-notes article { display: grid; grid-template-columns: 2rem 1fr; gap: .4rem 1rem; padding: 1.2rem 0; border-top: 1px solid var(--ink); }
.production-notes article:last-child { border-bottom: 1px solid var(--ink); }
.production-notes span { grid-row: 1 / 3; color: var(--accent); font-size: .72rem; }
.production-notes h3, .production-notes p { margin: 0; }
.production-notes h3 { font-size: 1.05rem; font-weight: 400; }
.production-notes p { color: var(--muted); font-size: .7rem; line-height: 1.5; }

.custom { position: relative; display: grid; grid-template-columns: .35fr 1.4fr .65fr; gap: clamp(2rem, 5vw, 6rem); padding: clamp(7rem, 12vw, 13rem) clamp(1rem, 7vw, 8rem); background: var(--wall); }
.custom-counter { display: grid; width: 2.2rem; height: 2.2rem; border: 1px solid var(--ink); font-size: .75rem; place-items: center; }
.custom-copy h2 { max-width: 14ch; margin: 1rem 0 2rem; font-size: clamp(3.5rem, 6vw, 7rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.custom-copy > p { max-width: 40rem; margin: 0 0 1.5rem; font-size: .8rem; line-height: 1.55; }
.custom-copy a { display: inline-block; padding: .65rem 1rem; border: 1px solid var(--ink); font-size: .7rem; text-decoration: none; }
.custom-copy a:hover, .custom-copy a:focus-visible { color: var(--white); background: var(--ink); }
.custom-details { align-self: end; margin: 0; }
.custom-details div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--ink); }
.custom-details div:last-child { border-bottom: 1px solid var(--ink); }
.custom-details dt, .custom-details dd { margin: 0; font-size: .65rem; }
.custom-details dd { text-align: right; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 3rem; padding: 4rem clamp(1rem, 5vw, 6rem); color: var(--white); background: var(--ink); }
.footer-mark { font-size: clamp(4rem, 10vw, 11rem); letter-spacing: -.06em; line-height: .8; text-decoration: none; }
.footer-links { display: grid; align-content: start; justify-items: end; gap: .6rem; }
.footer-links a { font-size: .7rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.footer-meta { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.35); font-size: .62rem; }

.product-modal { width: min(68rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; color: var(--ink); background: var(--white); box-shadow: 0 2rem 6rem rgba(26,26,26,.35); }
.product-modal::backdrop { background: rgba(74,68,61,.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); color: var(--ink); background: var(--white); font-size: 1.35rem; cursor: pointer; place-items: center; }
.modal-close:hover, .modal-close:focus-visible { color: var(--white); background: var(--ink); }
.modal-visual { min-height: 38rem; overflow: hidden; background: var(--wall); }
.modal-image { width: 100%; height: 100%; object-fit: cover; filter: sepia(.22) saturate(.7); }
.modal-content { display: flex; flex-direction: column; padding: clamp(2.5rem, 5vw, 5rem); }
.modal-line { margin: 0 0 auto; color: var(--muted); font-size: .68rem; }
.modal-title { margin: 3rem 0 1rem; font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; letter-spacing: -.06em; line-height: .82; }
.modal-description { margin: 0 0 2rem; font-size: .9rem; line-height: 1.5; }
.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: .62rem; }
.modal-size, .modal-price { font-size: 1.7rem; font-weight: 400; }
.modal-price-note, .modal-compliance { color: var(--muted); font-size: .58rem; line-height: 1.4; }
.modal-delivery { margin: 1rem 0 .3rem; font-size: .7rem; }
.modal-compliance { margin: 0; }
.site-shell.is-quiet .ambient-crop, .site-shell.is-quiet .arc-guide { display: none; }

@media (max-width: 980px) {
  .hero { padding-inline: 2rem; }
  .size-arc { inset-inline: 3%; }
  .subject-item { width: 11rem; }
  .subject-micro { left: 0; }
  .subject-architect { right: 0; }
  .custom { grid-template-columns: .25fr 1.2fr .75fr; }
}

@media (max-width: 720px) {
  .hero { padding: 5rem 1rem 4rem; }
  .nav-links { display: none; }
  .museum-card { min-height: auto; padding: 4rem 1rem 2rem; }
  .arc-title { position: static; display: block; margin: 1.5rem 0; font-size: 3rem; transform: none; }
  .arc-title span { display: block; }
  .hero-manifest { position: static; width: 100%; padding: 0; transform: none; text-align: left; }
  .size-arc { position: static; display: grid; gap: 1rem; margin-top: 2rem; }
  .subject-item { position: static; width: 100%; transform: none; }
  .subject-card { grid-template-columns: 9rem 1fr; }
  .subject-frame { height: 8rem; }
  .arc-guide, .card-scroll { display: none; }
  .utility-rail { right: 1rem; bottom: 1rem; transform: none; }
  .editorial-head { display: block; }
  .editorial-head h2 { margin-top: 1.5rem; }
  .production-stage { grid-template-columns: 1fr; }
  .production-image img { height: 25rem; }
  .custom { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
  .footer-meta { grid-column: auto; }
  .modal-shell { grid-template-columns: 1fr; }
  .modal-visual { min-height: 18rem; }
  .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; }
}
