@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101316;
  --surface: #191c20;
  --ink: #f8f2e8;
  --muted: #c7c0b6;
  --gold: #f2bc67;
  --line: #333432;
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
nav a, .brand, .button, .text-link, footer a { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
em { color: var(--gold); }

.container {
  width: min(calc(100% - 40px), 1184px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 5;
  inset: 8px auto auto 8px;
  padding: 10px;
  background: var(--surface);
  transform: translateY(-150%);
}

.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #101316; }

.header-inner, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 64px;
}

.brand {
  font: 500 1.18rem/1 var(--serif);
  letter-spacing: .24em;
  white-space: nowrap;
}

nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 33px); }
nav a, footer a:not(.brand) { padding-block: 11px; color: var(--muted); font-size: .8rem; }
nav a:hover, footer a:not(.brand):hover, .text-link:hover { color: var(--gold); }

.hero {
  --hero-base: #0b0d0f;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column-reverse;
  background: var(--hero-base);
  overflow: hidden;
}

.hero-image {
  aspect-ratio: 1.54;
  max-height: 390px;
  object-fit: cover;
  object-position: center 65%;
}

.hero-shade { display: none; }

.hero-copy {
  position: relative;
  padding-block: 39px 10px;
}

.eyebrow {
  color: var(--gold);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1 {
  margin-top: 13px;
  font-size: clamp(3.05rem, 9.8vw, 4.65rem);
  letter-spacing: -.05em;
  line-height: 1.01;
}

.hero-description { margin-top: 16px; max-width: 37ch; color: var(--muted); font-size: .94rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 21px; }
.price { margin-top: 9px; color: var(--muted); font-size: .815rem; }
.price strong { color: var(--ink); font-weight: 600; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 10px 18px;
  border: 1px solid #e4a951;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5ce86, #e9a94e);
  color: #1d160c;
  font-size: .83rem;
  font-weight: 600;
}

.button:hover { background: #ffdb99; }
.text-link { padding-block: 10px; color: var(--ink); font-size: .82rem; }
.text-link span { margin-left: 3px; color: var(--gold); }

.gallery-section, .case-section, .order, footer { border-top: 1px solid var(--line); }
.gallery-section { padding-block: 44px 46px; }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 13px 30px;
  margin-bottom: 22px;
}

h2 { font-size: clamp(2.05rem, 4.2vw, 3.6rem); letter-spacing: -.045em; line-height: 1.08; }
.section-heading h2, .case-copy h2 { margin-top: 8px; }
.section-heading > p, .case-copy > p:last-child, .order p { color: var(--muted); font-size: .93rem; }
.section-heading > p { max-width: 36ch; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery img, .case-pair img {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.gallery figcaption { margin-top: 8px; }
.gallery h3 { font-size: clamp(1.03rem, 2vw, 1.35rem); line-height: 1.2; }
.gallery figcaption span, .case-pair figcaption { color: var(--muted); font-size: .73rem; }

.case-section { background: var(--surface); }
.case-inner { display: grid; align-items: center; gap: 22px; padding-block: 38px 40px; }
.case-copy > p:last-child { max-width: 37ch; margin-top: 12px; }
.case-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.case-pair figcaption { margin-top: 6px; }

.order { background: #171411; }
.order-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 19px 40px; padding-block: 33px; }
.order h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
.order p { max-width: 58ch; margin-top: 9px; }
.footer-inner { padding-block: 12px; color: var(--muted); font-size: .73rem; }
.footer-inner .brand { color: var(--ink); font-size: .95rem; }

@media (min-width: 550px) {
  .container { width: min(calc(100% - 64px), 1184px); }
  .gallery { gap: 24px 16px; }
  .case-pair { gap: 16px; }
}

@media (min-width: 721px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 67px; }
  .header-inner .brand { grid-column: 2; }
  nav { justify-self: end; }

  .hero { display: grid; align-items: center; min-height: clamp(495px, 46vw, 650px); }

  .hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    width: 73%;
    height: 100%;
    max-height: none;
    object-position: center 60%;
  }

  .hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    background:
      linear-gradient(0deg, rgb(11 13 15 / 44%), transparent 28%),
      linear-gradient(90deg, var(--hero-base) 24%, rgb(11 13 15 / 93%) 33%, rgb(11 13 15 / 66%) 43%, transparent 66%);
  }

  .hero-copy { padding-block: 63px; }
  h1 { margin-top: 17px; font-size: clamp(4rem, 7vw, 6.5rem); }
  .hero-description { max-width: 34ch; margin-top: 21px; font-size: 1rem; }
  .hero-actions { margin-top: 25px; gap: 9px 22px; }
  .button { min-height: 49px; padding-inline: 23px; font-size: .88rem; }
  .gallery-section { padding-block: 55px 58px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-heading { margin-bottom: 26px; }
  .case-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(25px, 7vw, 100px); padding-block: 56px; }
  .case-copy h2 em { display: block; }
  .order-inner { padding-block: 42px; }
}

@media (721px <= width <= 980px) {
  .hero-shade {
    background:
      linear-gradient(0deg, rgb(11 13 15 / 44%), transparent 28%),
      linear-gradient(90deg, var(--hero-base) 24%, rgb(11 13 15 / 93%) 37%, rgb(11 13 15 / 65%) 48%, transparent 74%);
  }
}

button { font-family: inherit; cursor: pointer; }
button:focus-visible, .quote-field input:focus-visible, .quote-options input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.quote-dialog {
  width: min(calc(100% - 28px), 486px);
  max-height: calc(100dvh - 28px);
  padding: clamp(18px, 5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 70px rgb(0 0 0 / 45%);
}

.quote-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.quote-dialog h2 { font-size: clamp(1.85rem, 6vw, 2.65rem); }
.quote-intro { margin: 9px 0 19px; color: var(--muted); font-size: .875rem; }
.quote-field { display: grid; gap: 5px; margin-top: 14px; font-size: .875rem; }

.quote-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #6d6962;
  border-radius: 8px;
  background: var(--background);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.quote-confirmation { min-inline-size: 0; margin: 16px 0 0; padding: 0; border: 0; font-size: .875rem; }
.quote-confirmation legend { padding: 0; }
.quote-confirmation strong { color: var(--gold); font-weight: 600; }
.quote-options, .quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quote-options { margin-top: 8px; }

.quote-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #6d6962;
  border-radius: 8px;
  cursor: pointer;
}

.quote-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.quote-feedback { color: var(--gold); font-size: .8rem; }
.quote-feedback:not(:empty) { margin-top: 8px; }
.quote-actions { margin-top: 17px; }

.quote-cancel {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
}

.quote-cancel:hover { color: var(--gold); }
.quote-privacy { display: inline-block; margin-top: 10px; color: var(--muted); font-size: .75rem; }
