:root {
  --ink: #131720;
  --navy: #182337;
  --navy-2: #23314d;
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --line: #ded7ca;
  --gold: #b18a48;
  --rust: #8e5135;
  --green: #415c50;
  --muted: #6f7480;
  --shadow: 0 18px 50px rgba(19, 23, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open,
body.search-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 46px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(222, 215, 202, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background: var(--navy);
  border: 1px solid var(--gold);
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 28px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(540px, 66vh, 700px);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 23, 35, 0.86), rgba(16, 23, 35, 0.42) 42%, rgba(16, 23, 35, 0.1)), linear-gradient(0deg, rgba(16, 23, 35, 0.64), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin: 0 0 9vh clamp(24px, 7vw, 96px);
  color: white;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.03;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.hero-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions,
.section-heading,
.stat-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary,
.button.dark {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.light {
  color: var(--navy);
  background: var(--paper);
}

.section {
  padding: clamp(42px, 5.5vw, 78px) clamp(20px, 5vw, 76px);
}

.section.slim {
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--navy);
}

.section.muted,
.product-section.muted {
  background: var(--cream);
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-heading a,
.product-card a,
.journal-feature a {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}

.ticker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: white;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker span {
  white-space: nowrap;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.collection-card {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: var(--navy);
}

.collection-card.large {
  grid-row: span 2;
  height: 644px;
}

.collection-card img,
.need-card img,
.product-card img,
.journal-card img,
.journal-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.collection-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 18, 29, 0.78), rgba(12, 18, 29, 0.08) 60%);
}

.collection-card div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  color: white;
}

.collection-card span,
.product-card span,
.journal-card span,
.journal-feature span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-card p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
}

.collection-card:hover img,
.need-card:hover img,
.product-card:hover img,
.journal-card:hover img,
.journal-feature:hover img {
  transform: scale(1.04);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  min-height: 520px;
  background: var(--cream);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.split-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 92px);
}

.stat-row {
  margin: 28px 0;
  align-items: stretch;
}

.stat-row div {
  min-width: 130px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.stat-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.need-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--navy);
}

.need-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(11, 17, 27, 0.68), rgba(11, 17, 27, 0.04));
}

.need-card span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 80px) clamp(24px, 6vw, 86px);
  color: white;
  background: var(--navy);
}

.cta-band h2 {
  max-width: 820px;
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(26px, 4vw, 54px);
  padding: 54px clamp(24px, 5vw, 76px) 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f1624;
}

.site-footer p {
  max-width: 420px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand {
  color: white;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.footer-contact {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.page-hero,
.editorial-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background: var(--cream);
}

.page-hero img,
.editorial-hero img {
  width: 100%;
  height: min(48vw, 500px);
  min-height: 330px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero h1,
.editorial-hero h1,
.contact-hero h1,
.page-title h1 {
  color: var(--navy);
}

.page-hero p,
.editorial-hero p,
.contact-hero p,
.page-title p {
  max-width: 660px;
  font-size: 1.05rem;
}

.editorial-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.editorial-hero.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.product-grid,
.journal-grid,
.process-grid,
.value-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card,
.journal-card,
.process-grid article,
.value-grid article,
.contact-grid article,
.article-layout aside {
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  height: 260px;
}

.product-card div,
.journal-card,
.process-grid article,
.value-grid article,
.contact-grid article,
.article-layout aside {
  padding: 26px;
}

.feature-row,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.feature-row img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 6px;
  content: "";
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dual-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
}

.dual-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.dual-grid h3,
.dual-grid p {
  padding-right: 26px;
  padding-left: 26px;
}

.dual-grid h3 {
  padding-top: 24px;
}

.dual-grid p {
  padding-bottom: 26px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid span,
.contact-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.score-tool {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 32px;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 76px);
  color: white;
  background: var(--navy);
}

.score-tool p {
  color: rgba(255, 255, 255, 0.72);
}

.score-card {
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
}

.score-card label {
  display: block;
  margin-bottom: 22px;
  font-weight: 800;
}

.score-card input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.score-output {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.score-output strong {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  line-height: 1;
}

.score-output span {
  color: var(--muted);
}

.page-title {
  padding: clamp(44px, 6vw, 74px) clamp(20px, 5vw, 76px) 32px;
  background: var(--cream);
}

.page-title.legal {
  max-width: 980px;
  margin: 0 auto;
  background: transparent;
}

.page-title.legal h2 {
  margin-top: 34px;
  font-family: Inter, sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.journal-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.journal-feature {
  display: grid;
  grid-row: span 3;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
}

.journal-feature img {
  min-height: 390px;
}

.journal-feature div {
  padding: 30px;
}

.journal-card {
  overflow: hidden;
}

.journal-card img {
  height: 210px;
  margin: -26px -26px 22px;
  max-width: calc(100% + 52px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 40px;
  margin-bottom: 34px;
}

.contact-hero {
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.9fr);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.search-box input:focus {
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 92px 20px;
  background: rgba(15, 22, 36, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.search-open .search-panel {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  position: relative;
  width: min(680px, 100%);
  padding: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.close-search {
  position: absolute;
  top: 18px;
  right: 18px;
}

.search-box label {
  display: block;
  margin: 18px 56px 18px 0;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-suggestions a {
  padding: 9px 12px;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 22px;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    width: min(380px, 86vw);
    padding: 28px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-open .primary-nav {
    transform: translateX(0);
  }

  .primary-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .collection-grid,
  .split-section,
  .page-hero,
  .editorial-hero,
  .editorial-hero.reverse,
  .feature-row,
  .article-layout,
  .about-grid,
  .contact-hero,
  .score-tool {
    grid-template-columns: 1fr;
  }

  .need-grid,
  .process-grid,
  .product-grid,
  .value-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 0 12px;
  }

  .brand {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .primary-nav {
    top: 68px;
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    max-height: calc(100vh - 68px);
    padding: 10px 18px 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-115%);
    box-shadow: 0 20px 40px rgba(19, 23, 32, 0.16);
  }

  .nav-open .primary-nav {
    opacity: 1;
    transform: translateY(0);
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 6px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px 34px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .ticker {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-card,
  .collection-card.large,
  .need-card {
    height: 300px;
    min-height: 0;
  }

  .need-grid,
  .process-grid,
  .product-grid,
  .value-grid,
  .contact-grid,
  .dual-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero img,
  .editorial-hero img,
  .feature-row img,
  .dual-grid img {
    height: 300px;
    min-height: 0;
  }

  .product-card img {
    height: 230px;
  }

  .journal-feature img {
    min-height: 260px;
  }

  .search-box {
    padding: 24px;
  }

  .search-box label {
    font-size: 1.55rem;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 140px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 36px 16px;
  }

  .collection-card,
  .collection-card.large,
  .need-card {
    height: 270px;
  }

  .collection-card div {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .collection-card p {
    font-size: 0.9rem;
  }
}
