:root {
  --ink: #111111;
  --muted: #6f6a64;
  --line: #ded9d2;
  --paper: #f7f3ed;
  --white: #ffffff;
  --accent: #8d6e47;
  --deep: #1f2a25;
  --soft: #ece5da;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: rgba(247, 243, 237, 0.78);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.1vw, 1.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: currentColor;
}

.utility-nav {
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--ink);
  outline: 0;
}

.menu-button {
  display: none;
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 58px) 42px;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero.short {
  min-height: 58vh;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 9vw, 8.8rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(3rem, 7vw, 7rem);
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn.light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn.ghost {
  background: transparent;
  color: inherit;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  outline: 0;
}

.section {
  padding: clamp(58px, 8vw, 118px) clamp(18px, 4vw, 58px);
}

.section.alt {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.5fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  margin-bottom: 34px;
}

.section h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

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

.editorial-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.feature-panel,
.quote-panel {
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-panel img,
.story-card img,
.plan-card img,
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel {
  min-height: 610px;
  position: relative;
  overflow: hidden;
}

.feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 3vw, 34px);
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.feature-copy h3 {
  max-width: 560px;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
}

.quote-panel h3,
.text-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.mini-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.result-box {
  min-height: 54px;
  padding: 14px;
  background: var(--soft);
  color: var(--deep);
  font-size: 0.92rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.plan-card {
  min-width: 0;
  background: var(--paper);
}

.plan-card figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
}

.plan-card .copy {
  padding: 18px;
}

.plan-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  text-transform: uppercase;
}

.plan-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 78px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-media {
  min-height: 520px;
  overflow: hidden;
}

.text-panel {
  max-width: 620px;
}

.number-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  counter-reset: steps;
}

.number-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.number-list li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

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

.story-card {
  min-width: 0;
}

.story-card figure {
  margin: 0 0 18px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.story-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  text-transform: uppercase;
}

.story-card p {
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 38px;
  padding: 9px 15px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison th,
.comparison td {
  padding: 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 58px) 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.55fr));
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  letter-spacing: 0.14em;
  line-height: 1.08;
  text-transform: uppercase;
}

.footer-intro {
  max-width: 420px;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-title {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform 0.25s ease;
  font-size: 0.9rem;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: start;
    font-size: 1.18rem;
  }

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

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 26px;
    background: rgba(247, 243, 237, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    transition: transform 0.25s ease;
  }

  body.menu-open .main-nav {
    transform: translateY(0);
  }

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

  .utility-nav {
    gap: 4px;
  }

  .section-head,
  .editorial-grid,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .feature-panel,
  .split-media {
    min-height: 440px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 13px 14px;
    gap: 10px;
  }

  .brand {
    max-width: 150px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.12;
  }

  .main-nav {
    inset: 66px 0 auto 0;
  }

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

  .utility-nav .optional {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 96px 16px 28px;
  }

  .hero-content {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero:not(.short) h1 {
    max-width: 8.7ch;
  }

  .lead {
    max-width: 33ch;
    font-size: 0.96rem;
  }

  .hero.short {
    min-height: 52vh;
  }

  h1,
  .page-title {
    font-size: clamp(2.35rem, 10.8vw, 3rem);
    line-height: 0.96;
  }

  .section h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .feature-copy h3,
  .quote-panel h3,
  .text-panel h3 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .section {
    padding: 54px 16px;
  }

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

  .feature-panel,
  .split-media {
    min-height: 380px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-footer {
    padding: 44px 16px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    font-size: 1.45rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom,
  .footer-legal {
    display: grid;
    justify-content: start;
  }
}
