:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --cream: #ece7dc;
  --ink: #1a2835;
  --navy: #1d3b57;
  --muted: #4f5a62;
  --line: #cfc7b7;
  --white: #fffdf7;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
figure, p, h1, h2 { margin: 0; }
img { display: block; width: 100%; }

a:focus-visible {
  outline: 3px solid #a36522;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  z-index: 2;
  padding: .7rem 1rem;
  background: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(1100px, calc(100% - clamp(2rem, 8vw, 6rem)));
  margin-inline: auto;
}

.header { border-bottom: 1px solid var(--line); }
.header-inner, .header nav { display: flex; align-items: center; }
.header-inner {
  min-height: 70px;
  justify-content: space-between;
  gap: 1rem;
}
.header nav { gap: clamp(1rem, 3vw, 2rem); }
.header a { text-decoration: none; }
.header a:hover, .footer a:hover { text-decoration: underline; }
.header nav a { font-size: .9rem; font-weight: 600; }
.wordmark {
  font-family: Georgia, serif;
  font-size: clamp(1.04rem, 2vw, 1.36rem);
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.8rem, 7vw, 5.5rem);
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

h1 { font-size: clamp(3.35rem, 7vw, 6.45rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.intro {
  max-width: 34ch;
  font-size: clamp(1.03rem, 1.7vw, 1.23rem);
  line-height: 1.65;
  color: var(--muted);
  margin-block: 1.15rem 1.6rem;
}
.price {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.price strong {
  font: 400 clamp(2.5rem, 5vw, 3.6rem)/1 Georgia, serif;
  letter-spacing: -.08em;
}
.price span { font-size: .89rem; line-height: 1.4; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: .45rem;
  padding: .8rem 1.1rem;
  border-radius: 3px;
  background: var(--navy);
  color: var(--white);
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #284e70; }
.button span { font-size: .84em; }
.hero-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: var(--cream);
}
figcaption {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.photo-section {
  padding-block: clamp(2.6rem, 6vw, 4.8rem);
  background: var(--cream);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1.5rem;
}
.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: var(--line);
}
.gallery .deck-windows { object-position: center 58%; }
.gallery figcaption { font-weight: 600; }
.source-note { color: var(--muted); margin-top: 1rem; font-size: .86rem; }

.details, .apply-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-block: clamp(2.6rem, 6vw, 4.5rem);
}
.details h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.details p, .apply-inner p {
  max-width: 45ch;
  line-height: 1.65;
  margin-top: .75rem;
}
.details p { color: var(--muted); }

.apply-section { background: var(--navy); color: var(--white); }
.apply-inner { align-items: center; }
.apply-inner p { color: #e7edf2; }
.apply-actions p { margin-top: 0; }
.download-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  margin-top: 1rem;
}
.download-links .button { background: var(--white); color: var(--navy); }
.download-links .button:hover { background: #e9e3d6; }
.text-link { font-size: .9rem; text-underline-offset: .18em; }
.text-link:hover { text-decoration-thickness: 2px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.4rem;
  padding-block: 1.5rem;
  line-height: 1.45;
  font-size: .92rem;
}
.footer a { text-decoration: none; overflow-wrap: anywhere; }

@media (max-width: 670px) {
  .header-inner { min-height: 62px; }
  .header nav a { font-size: .8rem; }
  .hero, .details, .apply-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.75rem; }
  h1 { max-width: 9ch; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
