@font-face {
  font-family: "Ramesha";
  src: url("assets/fonts/Ramesha-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ramesha";
  src: url("assets/fonts/Ramesha-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ramesha";
  src: url("assets/fonts/Ramesha-Italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #11110f;
  --graphite: #2c2b27;
  --ash: #6f6d65;
  --mist: #d8d5cd;
  --line: #d9d4c8;
  --paper: #f6f2ea;
  --bone: #ede7da;
  --white: #fffdf7;
  --sage: #6d8176;
  --sage-dark: #405348;
  --brass: #a48656;
  --clay: #7f6553;
  --shadow: 0 30px 80px rgba(17, 17, 15, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  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;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--sage);
  color: var(--white);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(246, 242, 234, 0.9);
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  width: clamp(168px, 18vw, 246px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--ash);
  font-size: 0.86rem;
}

.main-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 15, 0.9);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(86px, 11vw, 142px) clamp(20px, 5vw, 64px) clamp(44px, 7vw, 82px);
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) saturate(0.75) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.92) 0%, rgba(17, 17, 15, 0.72) 44%, rgba(17, 17, 15, 0.38) 100%),
    linear-gradient(180deg, rgba(17, 17, 15, 0.28) 0%, rgba(17, 17, 15, 0.78) 100%);
}

.hero-symbol {
  position: absolute;
  right: -9vw;
  bottom: -17vw;
  width: min(56vw, 760px);
  opacity: 0.06;
  filter: invert(1);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #b8c6bd;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 6.8vw, 7.2rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: 0.9;
}

h3 {
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.18;
}

.hero-subtitle {
  max-width: 780px;
  margin-bottom: 28px;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 780;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.hero .button-primary,
.final-cta .button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 253, 247, 0.34);
  color: var(--white);
}

.microcopy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ash);
  font-size: 0.92rem;
}

.hero .microcopy,
.final-cta .microcopy {
  color: rgba(255, 253, 247, 0.68);
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 64px);
}

.section-heading,
.problem-grid,
.strategy-panel,
.solutions-grid,
.surgery-layout,
.process-list,
.fit-grid,
.examples-grid,
.entry-grid {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.section-heading.narrow {
  max-width: 860px;
  text-align: center;
}

.section-heading p,
.lead-copy,
.strategy-copy,
.surgery-copy p,
.entry-copy p,
.final-inner > p {
  color: rgba(17, 17, 15, 0.72);
  font-size: clamp(1.03rem, 1.35vw, 1.22rem);
}

.problem-grid,
.strategy-panel,
.surgery-layout,
.entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.lead-copy p:last-child,
.strategy-copy p:last-child,
.surgery-copy p:last-of-type,
.entry-copy p:last-of-type {
  margin-bottom: 0;
}

.problem-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.problem-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.problem-list span {
  color: var(--brass);
  font-family: "Ramesha", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.problem-list p {
  margin: 0;
  color: var(--graphite);
}

.strategy-section,
.fit-section {
  background: var(--bone);
}

.strategy-panel {
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(17, 17, 15, 0.12);
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.62), rgba(246, 242, 234, 0.2));
}

.solutions-section {
  background: var(--ink);
  color: var(--white);
}

.solutions-section .section-heading p,
.solutions-section h3 {
  color: rgba(255, 253, 247, 0.72);
}

.solutions-section h2 {
  color: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 247, 0.15);
  border-left: 1px solid rgba(255, 253, 247, 0.15);
}

.solution-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid rgba(255, 253, 247, 0.15);
  border-bottom: 1px solid rgba(255, 253, 247, 0.15);
}

.solution-card span {
  display: block;
  margin-bottom: 42px;
  color: #b8c6bd;
  font-family: "Ramesha", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.solution-card p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.68);
}

.surgery-section {
  background: var(--paper);
}

.surgery-layout {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  align-items: center;
}

.surgery-image {
  position: relative;
  min-height: clamp(420px, 54vw, 680px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.surgery-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 247, 0.42);
  pointer-events: none;
}

.surgery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.use-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.56);
  color: var(--graphite);
  font-size: 0.88rem;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list li {
  min-height: 300px;
  padding: clamp(22px, 3vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  color: var(--sage-dark);
  font-family: "Ramesha", Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ash);
}

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

.fit-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(17, 17, 15, 0.12);
  background: var(--white);
}

.fit-card-dark {
  background: var(--ink);
  color: var(--white);
}

.fit-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(17, 17, 15, 0.76);
}

.fit-card-dark li {
  color: rgba(255, 253, 247, 0.74);
}

.fit-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.examples-section {
  background: var(--paper);
}

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

.examples-grid article {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.examples-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04);
}

.examples-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
}

.examples-grid article:nth-child(3) img {
  object-position: left center;
}

.examples-grid p {
  min-height: 72px;
  margin: 0;
  padding: 18px;
  color: var(--graphite);
  font-size: 0.95rem;
}

.entry-offer {
  background: var(--bone);
}

.entry-copy .button {
  margin-top: 14px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.final-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: 0 auto;
}

.final-inner img {
  width: clamp(76px, 9vw, 128px);
  margin: 0 auto 24px;
  opacity: 0.72;
  filter: invert(1);
}

.final-inner h2 {
  color: var(--white);
}

.final-inner > p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 253, 247, 0.72);
}

.final-inner .button {
  margin: 10px 0 16px;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--paper);
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.footer-brand img {
  width: 34px;
  height: auto;
}

.site-footer p {
  max-width: 440px;
  margin: 0;
  color: var(--ash);
}

.footer-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--ash);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-byline img {
  width: clamp(116px, 12vw, 164px);
  opacity: 0.78;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--ash);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .problem-grid,
  .strategy-panel,
  .surgery-layout,
  .entry-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
    gap: 14px;
  }

  .brand-wordmark {
    width: clamp(148px, 43vw, 172px);
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: calc(100vh - 66px);
    padding-top: 84px;
  }

  .hero-content {
    width: 100%;
    max-width: 330px;
    margin-left: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(17, 17, 15, 0.52) 0%, rgba(17, 17, 15, 0.9) 100%),
      linear-gradient(90deg, rgba(17, 17, 15, 0.86), rgba(17, 17, 15, 0.5));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.4vw, 2.35rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  h2 {
    font-size: clamp(2.42rem, 13vw, 3.7rem);
  }

  .button {
    width: 100%;
    min-height: auto;
    padding: 15px 18px;
    line-height: 1.12;
    white-space: normal;
  }

  .problem-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .solutions-grid,
  .process-list,
  .fit-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .process-list li {
    min-height: auto;
  }

  .solution-card span,
  .process-list span {
    margin-bottom: 28px;
  }

  .surgery-image {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }

  .footer-byline {
    margin-left: 0;
  }
}
