/* DW Apparel — marketing site
   Brand: navy #14213D, gold #C9A227, warm paper. */

:root {
  --navy: #14213d;
  --navy-deep: #0d1528;
  --navy-mid: #1c2d52;
  --gold: #c9a227;
  --gold-soft: #e0c56a;
  --paper: #f6f4ef;
  --paper-2: #fffdf8;
  --stone: #ebe6db;
  --ink: #14213d;
  --ink-soft: #3a4258;
  --muted: #5c6478;
  --line: rgba(20, 33, 61, 0.12);
  --line-strong: rgba(20, 33, 61, 0.22);
  --cream-on-navy: #f6f4ef;
  --header-h: 4.25rem;
  --wrap: 72rem;
  --gutter: 1.5rem;
  --font-serif: "Bodoni Moda", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Calibri, sans-serif;
  --shadow-slot: inset 0 0 0 1px rgba(201, 162, 39, 0.28);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

/* Visible hyphen in high-contrast serif display type */
.dash {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88em;
  padding: 0 0.04em;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* Header
   -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--cream-on-navy);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}

.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.brand-rule {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--gold);
  align-self: center;
}

.brand-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(246, 244, 239, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.45rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(246, 244, 239, 0.86);
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft) !important;
  border-radius: var(--radius);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: var(--navy) !important;
}

/* Buttons
   -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(246, 244, 239, 0.4);
  color: var(--cream-on-navy);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hero
   -------------------------------------------------- */

.hero {
  background: var(--navy);
  color: var(--cream-on-navy);
  padding: 3.25rem 0 4.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero h1,
.hero .lede,
.section-navy h2,
.section-navy p,
.section-contact h2,
.section-contact p {
  color: var(--cream-on-navy);
}

.hero .lede {
  font-size: 1.16rem;
  line-height: 1.65;
  color: rgba(246, 244, 239, 0.86);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Photographs
   -------------------------------------------------- */

.photo {
  margin: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero .photo-frame,
.photo-portrait .photo-frame,
.photo-frame-square,
.photo-frame-wide {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
}

.photo-hero .photo-frame {
  aspect-ratio: 4 / 3;
}

.photo-hero img {
  object-position: 50% 55%;
}

.photo-portrait .photo-frame {
  aspect-ratio: 1 / 1;
}

.photo-portrait img {
  object-position: center;
}

.photo-frame-square {
  aspect-ratio: 4 / 3;
  border-color: var(--line);
}

.photo-frame-square img,
.photo-frame-wide img {
  object-position: center;
}

.photo-frame-wide {
  aspect-ratio: 2.5 / 1;
  border-color: var(--line);
}

.hero-grid > *,
.about-grid > *,
.capacity-photos > * {
  min-width: 0;
}

.photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(246, 244, 239, 0.72);
}

.section-paper .photo figcaption,
.section-stone .photo figcaption {
  color: var(--muted);
}

/* Sections
   -------------------------------------------------- */

.section {
  padding: 5rem 0;
}

.section-paper {
  background: var(--paper);
}

.section-stone {
  background: var(--stone);
}

.section-navy {
  background: var(--navy);
  color: var(--cream-on-navy);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-intro {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.section-navy .section-intro,
.section-contact .section-intro {
  color: rgba(246, 244, 239, 0.82);
}

/* Products
   -------------------------------------------------- */

.product-groups {
  display: grid;
  gap: 2.5rem;
}

.group-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-strong);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.75rem;
  background: var(--navy);
  color: var(--gold-soft);
}

.product-visual svg {
  width: 5.5rem;
  height: 5.5rem;
}

.product-card h4 {
  margin: 0;
  padding: 0.95rem 1rem 1.05rem;
}

/* Services
   -------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.75rem 1.6rem 1.85rem;
}

.service-abbrev {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.service-card h3 {
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--ink-soft);
}

/* Why
   -------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.75rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 2rem;
}

.why-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.why-grid p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.why-grid li {
  padding-top: 0.2rem;
}

/* About
   -------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3.5rem;
  align-items: center;
}

.about-copy {
  max-width: 38rem;
}

.about-copy p {
  color: rgba(246, 244, 239, 0.86);
  font-size: 1.08rem;
}

/* Capacity
   -------------------------------------------------- */

.capacity-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  padding: 2rem 2rem 1.75rem;
}

.capacity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 0.45rem;
}

.stat-label {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 14rem;
}

.capacity-note {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 54rem;
}

.capacity-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.photo-wide {
  margin-top: 1.25rem;
}

/* Contact
   -------------------------------------------------- */

.section-contact {
  background: var(--navy-mid);
  color: var(--cream-on-navy);
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem 3rem;
  align-items: end;
}

.contact-email {
  overflow-wrap: anywhere;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.contact-place {
  margin: 0;
  color: rgba(246, 244, 239, 0.8);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Footer
   -------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 244, 239, 0.72);
  padding: 2rem 0 2.15rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
}

.site-footer nav a {
  color: rgba(246, 244, 239, 0.75);
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 244, 239, 0.1);
  font-size: 0.82rem;
  color: rgba(246, 244, 239, 0.55);
}

/* Responsive
   -------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .why-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .capacity-photos {
    grid-template-columns: 1fr;
  }

  .photo-frame-wide {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 1.15rem;
    --header-h: 3.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(201, 162, 39, 0.22);
    padding: 0.5rem 0 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: min(100% - (var(--gutter) * 2), var(--wrap));
    margin-inline: auto;
    gap: 0;
  }

  .site-nav li {
    border-top: 1px solid rgba(246, 244, 239, 0.08);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
  }

  .product-grid,
  .why-grid,
  .capacity-stats,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-contact {
    padding: 3.5rem 0;
  }

  .capacity-panel {
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .capacity-stats {
    gap: 1.4rem;
  }

  .site-footer nav ul {
    justify-content: flex-start;
  }

  .hero .lede,
  .section-intro {
    font-size: 1.05rem;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
