:root {
  color: #201f1b;
  background: #faf8f4;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  --ink: #201f1b;
  --muted: #6f6a60;
  --line: #ded8cd;
  --paper: #faf8f4;
  --surface: #ffffff;
  --olive: #373b1c;
  --olive-soft: #e7e5d7;
  --walnut: #7d563d;
  --stone: #efebe3;
  --shadow: 0 22px 60px rgba(42, 35, 25, 0.14);
  --button-shadow: 0 12px 28px rgba(55, 59, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.hidden {
  display: none;
}

.site-shell {
  overflow: hidden;
  background: var(--paper);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 42px;
  background: rgba(250, 248, 244, 0.94);
  border-bottom: 1px solid rgba(222, 216, 205, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(55, 59, 28, 0.38);
  background: #fffdf9;
  box-shadow: 0 10px 24px rgba(42, 35, 25, 0.08);
}

.brand-mark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
  color: var(--olive);
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #27251f;
  font-size: 14px;
}

.nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid transparent;
  color: #302e27;
  font-weight: 650;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 59, 28, 0.2);
  background: rgba(255, 253, 249, 0.9);
  color: var(--olive);
}

.solid-button,
.outline-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--olive);
  font-weight: 800;
}

.solid-button {
  background: var(--olive);
  color: #fffdf9;
  box-shadow: var(--button-shadow);
}

.outline-button {
  background: rgba(255, 253, 249, 0.78);
  color: var(--olive);
}

.large {
  min-height: 52px;
  padding: 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 8vw, 118px) clamp(24px, 5vw, 72px);
  background: linear-gradient(180deg, #fbf7ef 0%, #f3eadc 100%);
}

.seo-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 780px;
}

.eyebrow {
  margin: 0;
  color: var(--walnut);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

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

.seo-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #3e3a32;
  font-size: 20px;
  line-height: 1.68;
}

.seo-hero-media {
  margin: 0;
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.seo-hero-media img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #fff;
}

.seo-hero-media figcaption {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.seo-band,
.seo-detail,
.related-pages,
.inquiry {
  padding: clamp(58px, 7vw, 92px) clamp(24px, 5vw, 72px);
}

.seo-band {
  background: #fffdf9;
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.compact {
  margin-bottom: 28px;
}

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

.seo-grid article {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #faf8f4;
}

.seo-grid article span {
  width: 38px;
  height: 3px;
  background: var(--walnut);
}

.seo-grid p {
  margin: 0;
  color: #373329;
  font-size: 17px;
  line-height: 1.58;
}

.seo-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--stone);
}

.seo-detail > div {
  display: grid;
  gap: 24px;
}

.seo-detail section {
  max-width: 850px;
  padding-top: 22px;
  border-top: 1px solid #d3c8b7;
}

.seo-detail p {
  max-width: 820px;
  color: #4f493e;
  font-size: 18px;
  line-height: 1.72;
}

.spec-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid #d9d0bf;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(42, 35, 25, 0.1);
}

.spec-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.spec-panel div {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid #d8cebf;
}

.spec-panel div:first-child {
  border-top: 0;
}

.spec-panel dt {
  color: #625b4e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.related-pages {
  background: #fffdf9;
}

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

.seo-card {
  display: grid;
  gap: 12px;
  min-height: 140px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background: #faf8f4;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-card:hover {
  transform: translateY(-2px);
  border-color: #aa9c80;
  box-shadow: 0 18px 42px rgba(42, 35, 25, 0.12);
}

.seo-card span {
  color: var(--walnut);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.inquiry {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--olive);
  color: #fffdf9;
}

.inquiry h2,
.inquiry .eyebrow {
  color: #fffdf9;
}

.inquiry-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: rgba(255, 253, 249, 0.86);
  font-size: 18px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 253, 249, 0.24);
  background: rgba(255, 253, 249, 0.1);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 249, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 253, 249, 0.24);
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  padding: 0 14px;
}

.inquiry-form textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.inquiry .solid-button {
  border-color: #fffdf9;
  background: #fffdf9;
  color: var(--olive);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fffdf9;
  color: var(--muted);
}

footer strong {
  color: var(--ink);
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 24px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .seo-hero,
  .seo-detail,
  .inquiry {
    grid-template-columns: 1fr;
  }

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

  .spec-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 0;
  }

  .brand-name {
    font-size: 24px;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav a,
  .topbar > .solid-button {
    justify-content: center;
    width: 100%;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  h2 {
    font-size: 31px;
  }

  .seo-grid,
  .related-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .seo-hero,
  .seo-band,
  .seo-detail,
  .related-pages,
  .inquiry {
    padding: 52px 20px;
  }

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

  .hero-actions .solid-button,
  .hero-actions .outline-button {
    width: 100%;
  }
}
