@font-face {
  font-family: Oswald;
  src: url('assets/oswald.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url('assets/roboto.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ice: #eff3fa;
  --ink: #172033;
  --graphite: #46536b;
  --blue: #2947c7;
  --blue-hover: #1936a8;
  --line: #d8dfeb;
  font: 17px/1.5 Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: Oswald, Arial, sans-serif; line-height: 1.05; font-weight: 580; }
h1 { font-size: clamp(3rem, 7.6vw, 7.6rem); letter-spacing: -.045em; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2.3rem, 5vw, 5.3rem); letter-spacing: -.033em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.55rem); letter-spacing: -.025em; }
p { color: var(--graphite); }
.wrap { width: min(100% - 7vw, 1420px); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font: 640 1.16rem/1.04 Oswald, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 3vw, 2.8rem);
  font-size: .87rem;
  font-weight: 530;
}

.site-header nav a:hover, .back-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-action { color: var(--blue); white-space: nowrap; }
.nav-action span { margin-left: .3rem; }

.hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: min(73svh, 670px);
  margin-top: 1.35rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 3.15rem) clamp(1rem, 3vw, 3.2rem) clamp(1rem, 3vw, 3.2rem) 0;
}

.overline { font-size: .78rem; font-weight: 600; }
.hero .overline { margin-bottom: 1.35rem; }
.hero-note { max-width: 26ch; margin-top: 1.55rem; font-size: clamp(1rem, 1.45vw, 1.33rem); }
.hero .button { margin-top: 2rem; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; background: var(--ice); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 50px;
  padding: .6rem .95rem;
  color: white;
  background: var(--blue);
  font-weight: 620;
  font-size: .9rem;
}

.button:hover { background: var(--blue-hover); }
.button span, .text-link span { font-family: Arial, sans-serif; font-size: 1.15em; }

.album-section { padding-block: clamp(3.5rem, 8vw, 8rem); }
.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: 1.6rem;
}

.section-intro p { max-width: 29ch; }
.album-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  border: 1px solid var(--line);
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 8/5;
  background: var(--ice);
}

.album-card-copy {
  display: grid;
  align-content: center;
  gap: .95rem;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.album-card:hover .text-link { text-decoration: underline; text-underline-offset: .25em; }
.text-link { color: var(--blue); font-size: .9rem; font-weight: 640; }
.text-link span { margin-left: .4rem; }
.process { background: var(--ice); }
.process-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.9rem;
  padding-block: clamp(3rem, 6vw, 6rem);
}

.process ol {
  list-style: none;
  counter-reset: stages;
  padding: 0;
  margin: 0;
}

.process li {
  position: relative;
  counter-increment: stages;
  padding: 1rem 0 1.1rem 3.3rem;
  border-top: 1px solid var(--line);
}

.process li::before {
  position: absolute;
  top: .83rem;
  left: 0;
  color: var(--blue);
  font: 480 1.15rem/1.4 Oswald, sans-serif;
  content: counter(stages, decimal-leading-zero);
}

.process li p { margin-top: .45rem; }
.ordering-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.9rem;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.ordering-faq details { border-top: 1px solid var(--line); padding-block: .9rem; }
.ordering-faq details:last-child { border-bottom: 1px solid var(--line); }
.ordering-faq summary { min-height: 26px; font-weight: 620; cursor: pointer; }
.ordering-faq summary::marker { color: var(--blue); }
.ordering-faq details p { margin: .55rem 0 .2rem; max-width: 56ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; }
@media (max-width: 700px) {
  .ordering-faq { grid-template-columns: minmax(0, 1fr); }
}
.site-footer { padding-block: 1.4rem; font-size: .83rem; border-top: 1px solid var(--line); }
.product { padding-block: 1.3rem 5rem; }
.back-link { display: inline-block; font-size: .87rem; color: var(--graphite); margin-bottom: 1.35rem; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(290px, 4fr);
  align-items: start;
  gap: clamp(1.6rem, 5vw, 5.6rem);
}

.gallery-main { display: block; position: relative; background: var(--ice); }
.gallery-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-zoom {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  display: inline-flex;
  gap: .5rem;
  padding: .45rem .7rem;
  background: white;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 620;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .75rem;
}

.gallery-tabs button {
  min-width: 0;
  padding: 0 0 .38rem;
  color: var(--graphite);
  border: 0;
  border-bottom: 2px solid transparent;
  background: white;
  text-align: left;
  font-size: .72rem;
}

.gallery-tabs button[aria-pressed=true] { border-color: var(--blue); color: var(--blue); font-weight: 640; }
.gallery-tabs img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: .3rem; }
.product-copy h1 { margin-block: .7rem 1.25rem; font-size: clamp(2.9rem, 5.7vw, 5.7rem); }
.product-lead { max-width: 34ch; }
.specs { margin: 1.15rem 0 1.5rem; }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: .8rem; border-top: 1px solid var(--line); padding: .55rem 0; }
.specs dt { color: var(--graphite); font-size: .83rem; }
.specs dd { font-size: .87rem; font-weight: 570; }
.lightbox { width: min(92vw, 960px); padding: 0; border: 0; color: white; background: var(--ink); }
.lightbox::backdrop { background: rgb(12 19 33 / 88%); }
.lightbox img { width: 100%; max-height: 75dvh; object-fit: contain; }
.lightbox .icon-button { position: absolute; top: .3rem; right: .3rem; }
.lightbox-controls { display: flex; justify-content: space-between; align-items: center; padding: .3rem .6rem; }
.lightbox-controls p { color: white; font-size: .86rem; }
.lightbox button { min-width: 44px; min-height: 44px; color: var(--ink); background: white; border: 0; }
.cabinet { padding-block: 2rem 4rem; }
.cabinet h1 { font-size: clamp(3.35rem, 7vw, 6.8rem); }
.cabinet .section-intro p { max-width: 34ch; }
.editor-preview { display: block; background: var(--ice); }
.editor-preview img { width: 100%; }
.cabinet-back { margin-top: 1rem; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-copy { padding-block: 2rem; }
  .hero-image { min-height: 340px; }
  .product-grid { gap: 1.5rem; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header, .site-footer { gap: .6rem; }
  .site-header nav { gap: .9rem; font-size: .75rem; }
  .site-header nav a[href="#process"] { display: none; }
  .wordmark { font-size: 1rem; }
  .hero, .album-card, .process-content, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: .7rem; margin-top: .15rem; }
  .hero-copy { padding: 1.5rem 0 .65rem; }
  .hero .overline { margin-bottom: .8rem; }
  .hero-note { margin-top: 1rem; }
  .hero .button { margin-top: 1rem; }
  .hero-image { min-height: 0; height: auto; aspect-ratio: 4/3; }
  .section-intro { display: block; }
  .section-intro p { margin-top: .7rem; }
  .album-card-copy { gap: .65rem; }
  .process-content h2 br { display: none; }
  .gallery-zoom { bottom: .5rem; right: .5rem; }
  .gallery-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-tabs button { font-size: .77rem; }
  .gallery-tabs img { aspect-ratio: 2/1; }
  .site-footer { align-items: start; }
  .cabinet { padding-top: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
