:root {
  --ink: #1f2526;
  --muted: #667477;
  --teal: #73b5c1;
  --hero-teal: #4f8e93;
  --deep-teal: #4e8d91;
  --gold: #d8ad68;
  --paper: #fffdf9;
  --soft: #f4eee7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: var(--teal);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
}

.brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 170px;
}

.brand span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 3vw, 38px);
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-slider {
  background: #ffffff;
  display: grid;
  grid-template-columns: 33.333% 66.667%;
  min-height: 650px;
}

.hero-static-panel {
  align-content: start;
  background: var(--hero-teal);
  display: grid;
  padding: clamp(96px, 12vh, 150px) clamp(28px, 5vw, 78px) clamp(48px, 7vh, 86px);
}

.hero-static-panel h1 {
  font-size: clamp(42px, 4.8vw, 76px);
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-static-panel .eyebrow {
  color: #263436;
}

.slides {
  min-height: 710px;
  position: relative;
}

.hero-slider-panel {
  align-content: center;
  display: grid;
  padding: clamp(28px, 5vw, 70px);
}

.hero-slide {
  align-items: center;
  display: grid;
  inset: 0;
  grid-template-rows: minmax(420px, auto) 210px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(16px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
}

.eyebrow {
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 74px);
  line-height: 0.95;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.02;
  margin: 0 0 12px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-slide img {
  align-self: end;
  border: 10px solid white;
  box-shadow: 20px 22px 44px rgb(0 0 0 / 25%);
  margin: 0 auto;
  max-height: 500px;
  object-fit: cover;
  width: min(720px, 100%);
}

.slide-caption {
  align-self: start;
  margin: 28px auto 0;
  max-width: 980px;
  min-height: 170px;
  text-align: center;
}

.slide-caption h2 {
  color: var(--ink);
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.04;
  min-height: 72px;
}

.slide-caption p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 980px;
  white-space: nowrap;
}

.slide-caption a {
  background: var(--deep-teal);
  border-radius: 999px;
  color: white;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 14px;
  padding: 9px 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.slide-caption a:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.slider-controls {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 0;
}

.slider-arrow,
.slider-dot {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.slider-arrow {
  color: var(--deep-teal);
  font-size: 44px;
  height: 48px;
  line-height: 1;
  width: 48px;
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.slider-dot {
  background: #c7d6d8;
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.slider-dot.is-active {
  background: var(--deep-teal);
  width: 28px;
}

.button,
.feature-card a {
  background: var(--deep-teal);
  color: white;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 12px;
  padding: 15px 24px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: var(--gold);
}

.slide-grid,
.gallery {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(32px, 6vw, 72px);
}

.feature-card {
  background-position: center;
  background-size: cover;
  display: grid;
  gap: 18px;
  grid-template-rows: 240px 1fr;
  min-height: 520px;
  padding: 24px;
}

.feature-card img {
  border: 8px solid white;
  box-shadow: 12px 14px 28px rgb(0 0 0 / 18%);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.page-hero,
.text-page,
.story,
.contact-page,
.manufacturer-band {
  padding: clamp(42px, 7vw, 86px) clamp(22px, 7vw, 92px);
}

.page-hero {
  background: linear-gradient(90deg, var(--soft), #ffffff);
}

.page-hero p,
.text-page .lead {
  max-width: 920px;
}

.manufacturer-band {
  background: var(--teal);
}

.manufacturer-band h2 {
  margin-bottom: 22px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list a {
  background: white;
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  line-height: 1.25;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.pill-list a:hover {
  color: var(--deep-teal);
  transform: translateY(-1px);
}

.gallery {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.gallery article {
  background: white;
  border: 1px solid #eadfd4;
}

.gallery img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.gallery h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  padding: 14px 16px 18px;
}

.headwear img {
  aspect-ratio: 1 / 1;
}

.text-page {
  margin: 0 auto;
  max-width: 1040px;
}

.text-page article {
  border-top: 1px solid #e3d7cd;
  padding: 28px 0;
}

.text-page h1 {
  max-width: 850px;
}

.text-page h2 {
  font-size: 30px;
}

.faq h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.story {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.story blockquote {
  border-left: 5px solid var(--gold);
  color: var(--deep-teal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  margin: 28px 0 0;
  padding-left: 20px;
}

.story-photos {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-photos img {
  aspect-ratio: 1 / 1;
  border: 8px solid white;
  box-shadow: 0 14px 34px rgb(0 0 0 / 14%);
  object-fit: cover;
}

.contact-page {
  background: var(--soft);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

address {
  background: white;
  font-size: 20px;
  font-style: normal;
  line-height: 1.55;
  padding: 28px;
}

address strong {
  display: block;
  margin-bottom: 12px;
}

.note {
  color: var(--deep-teal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  grid-column: 1 / -1;
}

.site-footer {
  align-items: start;
  background: #263436;
  color: white;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  padding: 36px clamp(22px, 7vw, 92px);
}

.site-footer p,
.site-footer a {
  color: #d9ebee;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .contact-page {
    display: block;
  }

  nav {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .hero-slider,
  .story {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-static-panel,
  .hero-slider-panel {
    padding: clamp(28px, 7vw, 46px);
  }

  .slide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand span {
    white-space: normal;
  }

  .slides {
    min-height: auto;
  }

  .hero-slide {
    display: none;
    grid-template-rows: auto;
    position: static;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .slide-caption,
  .slide-caption h2 {
    min-height: 0;
  }

  .slide-caption p {
    white-space: normal;
  }

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

  .gallery {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(24px, 6vw, 36px) clamp(14px, 4vw, 22px);
  }

  .gallery h2 {
    font-size: 14px;
    padding: 10px 10px 12px;
  }

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