/* Mobile-first layout */
:root {
  --yellow: #dfbb2b;
  --yellow-deep: #d9b400;
  --ink: #242424;
  --muted: #ececec;
  --white: #fff;
  --shadow: 0 3px 10px rgb(0 0 0 / 22%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #eee;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.logo {
  padding: 7px 22px;
  border-radius: 2px;
  background: #9b9b9b;
  color: #fff;
  text-decoration: none;
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #222;
  transition: .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute;
  top: 72px;
  left: -16px;
  right: -16px;
  display: none;
  padding: 12px 16px 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.main-nav.is-open { display: grid; }
.main-nav a {
  padding: 12px 4px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
}
.main-nav a.active,
.submenu-toggle.active {
  color: var(--yellow-deep);
}

.hero {
  background: linear-gradient(#e9e9e9 0 76%, #fff 76%);
  padding: 31px 0 0;
}
.hero h1 {
  margin: 0 0 8px;
  font-family: "Titillium Web", sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
}
.text-link {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 12px;
  text-underline-offset: 3px;
  transition: color .25s ease;
}
.text-link:hover, .text-link:focus-visible { color: var(--yellow-deep); }
.hero-image {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.feature-strip { margin-top: -32px; position: relative; z-index: 2; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-card {
  min-height: 122px;
  padding: 13px 8px;
  display: grid;
  place-items: center;
  align-content: center;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  cursor: pointer;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-size: 22px;
  transition: background-color .25s ease;
}
.feature-card p { margin: 7px 0 0; font-size: 13px; line-height: 1.05; }
.feature-card:hover .feature-icon { background: #000; }

.section { padding: 64px 0; }
h2, h3 { font-family: "Titillium Web", sans-serif; }
.intro-grid { display: grid; gap: 38px; align-items: center; }
.intro-copy h2 { margin: 0 0 10px; font-size: 24px; }
.intro-copy p { max-width: 500px; font-size: 13px; }
.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background-color .25s ease;
}
.intro-copy .button:hover,
.intro-copy .button:focus-visible { background: #000; }
.framed-image {
  position: relative;
  margin: 18px 18px 0 0;
}
.framed-image::before {
  content: "";
  position: absolute;
  inset: -18px -18px 18px 18px;
  z-index: -1;
  background: var(--yellow);
}
.framed-image img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.columns { padding-top: 0; }
.three-columns { display: grid; gap: 32px; text-align: center; }
.three-columns strong {
  font-family: "Titillium Web", sans-serif;
  font-size: 30px;
  line-height: 1;
}
.three-columns h3 { margin: 6px 0; font-size: 15px; font-weight: 500; }
.three-columns p { margin: 0 auto; max-width: 310px; font-size: 11px; }

.products-banner {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: #fff;
}
.products-banner::after {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  z-index: 1;
  background: rgb(0 0 0 / 48%);
  pointer-events: none;
}
.products-banner img {
  width: 50%;
  height: 100%;
  position: absolute;
  inset: 0 auto 0 0;
  min-height: 340px;
  object-fit: cover;
}
.products-overlay {
  position: absolute;
  inset: 0;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background: transparent;
}
.products-overlay h2 { margin: 0; font-size: 31px; font-weight: 300; }
.products-kicker { font-size: 12px; }
.products-link { text-decoration: underline; text-underline-offset: 4px; transition: color .25s ease; }
.products-link:hover, .products-link:focus-visible { color: var(--ink); }
.products-overlay p { max-width: 760px; margin: 30px auto 0; font-size: 12px; text-align: left; }

.category {
  min-height: 430px;
  height: 430px;
  position: relative;
  overflow: visible;
  display: flow-root;
}
.category > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.category-card {
  position: relative;
  z-index: 2;
  margin: -150px 7% 28px;
  padding: 24px;
  background: var(--yellow-deep);
  color: #fff;
}
.category-card h2 { margin: 0 0 6px; font-size: 29px; font-weight: 300; }
.category-card p { max-width: 310px; margin: 0; font-size: 12px; }
.button-light { background: #fff; color: #222; }
.category-card .button-light:hover,
.category-card .button-light:focus-visible {
  background: #000;
  color: #fff;
}

.contact-grid { display: grid; gap: 54px; }
.map-image,
.map-embed { width: 100%; height: 420px; border: 0; object-fit: cover; }
.contact-form h2 { margin: 0 0 14px; font-size: 27px; }
.contact-form label { display: block; margin-top: 10px; font-size: 12px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #555;
  border-radius: 0;
  padding: 8px 2px;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--yellow-deep); box-shadow: 0 1px var(--yellow-deep); }
.contact-form textarea { resize: vertical; min-height: 95px; }
.required-note { font-size: 11px; }
.submit-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  background: var(--yellow);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .25s ease;
}
.submit-button:hover, .submit-button:focus-visible { background: #000; }
.form-status { min-height: 22px; margin-bottom: 0; font-size: 13px; }
.form-status.error { color: #a30000; }
.form-status.success { color: #166b23; }

footer {
  padding: 22px 16px;
  background: #1b1b1b;
  color: #fff;
  text-align: center;
  font-size: 10px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  min-height: 46px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #fff;
  box-shadow: 0 7px 22px rgb(0 0 0 / 28%);
  font-family: "Titillium Web", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: #000;
  outline: none;
}
.back-to-top:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--yellow-deep); }

@media (max-width: 480px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    padding: 0;
    justify-content: center;
  }
  .back-to-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (min-width: 700px) {
  .hero { padding-top: 48px; }
  .hero-inner { display: grid; grid-template-columns: .9fr 1.4fr; gap: 48px; align-items: start; }
  .hero-image { margin-top: 65px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-strip { margin-top: -34px; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .three-columns { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: .98fr 1.22fr; align-items: start; }
  .category-card { width: 360px; margin: -178px auto 32px 8%; }
  .category-men .category-card { margin-left: auto; margin-right: 8%; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    gap: 28px;
    padding: 0;
    box-shadow: none;
  }
  .main-nav a { border: 0; }
  .main-nav a:hover { color: var(--yellow-deep); }
  .hero-image { max-width: 650px; }
  .feature-grid { width: min(760px, 100%); margin-left: auto; }
  .products-banner { min-height: 420px; }
  .products-banner img { height: 420px; }
  .category, .category > img { min-height: 560px; height: 560px; }
  .category { height: 560px; }
  .category-card { margin-top: -185px; padding: 34px; }
}


/* Dropdown navigation and content pages */
.nav-dropdown { position: relative; }
.submenu-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}
.submenu-toggle:hover,
.submenu-toggle:focus-visible { color: var(--yellow-deep); }
.submenu-toggle i { font-size: 11px; transition: transform .25s ease; }
.submenu-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
.submenu { display: none; padding-left: 14px; background: #fafafa; }
.submenu.is-open { display: grid; }
.submenu a { padding: 10px 8px; font-size: 14px; font-weight: 400; transition: color .2s ease, background-color .2s ease; }
.submenu a:hover,
.submenu a:focus-visible { color: var(--yellow-deep); background: #f5f5f5; }

.content-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.content-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.content-hero-shade { position: absolute; inset: 0; background: rgb(255 255 255 / 35%); }
.content-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  font-family: "Titillium Web", sans-serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
  text-align: center;
}
.content-section { padding: 48px 0 70px; }
.content-narrow { max-width: 1120px; }
.content-section h2 { margin: 0 0 22px; font-size: clamp(2rem, 6vw, 2.7rem); line-height: 1.1; }
.content-section p { margin: 0 0 20px; font-size: 15px; line-height: 1.9; }
.content-button { margin-top: 22px; padding-inline: 32px; transition: background-color .25s ease; }
.content-button:hover, .content-button:focus-visible { background: #000; }
.content-layout { display: grid; gap: 42px; }
.content-side-nav { display: grid; align-content: start; }
.content-side-nav a {
  padding: 15px 0;
  border-bottom: 1px solid #999;
  text-decoration: none;
  font-size: 18px;
}
.content-side-nav a.active,
.content-side-nav a:hover { color: var(--yellow-deep); }

@media (min-width: 700px) {
  .content-hero { min-height: 335px; }
  .content-section { padding: 58px 0 90px; }
  .content-layout { grid-template-columns: minmax(0, 2.4fr) minmax(220px, .8fr); gap: 70px; }
}

@media (min-width: 900px) {
  .nav-dropdown { display: flex; align-items: center; }
  .submenu-toggle { width: auto; border: 0; gap: 10px; padding: 12px 4px; }
  .submenu-toggle i { transform: rotate(90deg); }
  .submenu-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
  .submenu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 120;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-dropdown:hover .submenu,
  .nav-dropdown:focus-within .submenu,
  .submenu.is-open { display: grid; }
  .submenu a { border: 0; white-space: nowrap; }
  .submenu a:hover { background: #f5f5f5; }
  .content-hero { min-height: 360px; }
}

/* Compact layout for narrow mobile and in-app browsers such as Facebook */
@media (max-width: 600px) {
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .products-overlay {
    padding: 20px 18px;
    justify-content: center;
  }
  .products-overlay h2 {
    font-size: 23px;
    line-height: 1.12;
  }
  .products-overlay p {
    margin-top: 18px;
    line-height: 1.35;
  }

  .category {
    height: 430px;
    min-height: 430px;
    overflow: visible;
    display: grid;
  }
  .category > img,
  .category-card {
    grid-area: 1 / 1;
  }
  .category-card {
    position: relative;
    align-self: end;
    margin: 0 7% -18px;
  }
  .category-men { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-icon, .button, .text-link, .products-link, .submit-button, .content-button { transition: none; }
  .back-to-top { transition: none; }
}
