:root {
  --bg: #f7f5f2;
  --bg-tint: #efebe4;
  --surface: #ffffff;
  --ink: #2c2a26;
  --muted: #6b6560;
  --line: #ddd6cb;
  --accent: #3d5a4c;
  --accent-hover: #2f463b;
  --accent-soft: #e4ebe6;
  --danger: #8a3b2d;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(44, 42, 38, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --shell: min(1120px, calc(100% - 2 * var(--space)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e8ebe4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #efe8dc 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #f7f5f2 !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.hero-home {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 42, 38, 0.15) 0%,
    rgba(44, 42, 38, 0.55) 55%,
    rgba(44, 42, 38, 0.78) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #f7f5f2;
  padding-block: clamp(4rem, 12vh, 7rem) 3.5rem;
  max-width: 40rem;
}

.hero-copy .lede,
.hero-copy .brand-mark {
  color: rgba(247, 245, 242, 0.9);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #f7f5f2;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #f7f5f2;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.hero-copy .btn-ghost {
  border-color: rgba(247, 245, 242, 0.55);
  color: #f7f5f2;
}

.hero-copy .btn-ghost:hover {
  background: rgba(247, 245, 242, 0.1);
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-tint {
  background: color-mix(in srgb, var(--bg-tint) 80%, white);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.flagship-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.flagship-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-link {
  display: block;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.offer-link:hover {
  transform: translateY(-3px);
  color: inherit;
}

.offer-link span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.pull-quote {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.4;
}

.pull-quote footer {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}

.center-link {
  margin-top: 1.5rem;
}

.cta-band {
  text-align: center;
  background: var(--accent);
  color: #f7f5f2;
}

.cta-band .lede,
.cta-band p {
  color: rgba(247, 245, 242, 0.9);
}

.cta-band .btn-primary {
  background: #f7f5f2;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--accent-hover);
}

.page-hero {
  padding-block: clamp(3rem, 8vw, 5rem) 1rem;
}

.page-hero-media {
  padding-bottom: 0;
}

.page-hero-img {
  width: min(1120px, calc(100% - 2 * var(--space)));
  margin: 2rem auto 0;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-list,
.rate-list {
  display: grid;
  gap: 2.5rem;
}

.service-row,
.media-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.service-row img,
.media-split img,
.article-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-cover {
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.rate-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.story-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.story-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: grid;
  gap: 1rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-card time {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.review-quote {
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.review-quote footer {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.75rem;
}

.review-quote cite {
  font-style: normal;
  font-weight: 700;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.process-steps li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, white);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  margin: 0.25rem 0 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.plain-list {
  list-style: none;
  padding: 0;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookies-table th {
  background: var(--bg-tint);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 1.5rem;
  background: #ebe6de;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-tag,
.footer-label {
  color: var(--muted);
}

.footer-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  background: var(--ink);
  color: #f7f5f2;
  padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #d7e4db;
}

.cookie-banner .btn-ghost {
  border-color: rgba(247, 245, 242, 0.45);
  color: #f7f5f2;
}

.cookie-banner .btn-primary {
  background: #f7f5f2;
  color: var(--ink);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--space) 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .flagship-preview,
  .service-row,
  .media-split,
  .rate-row,
  .contact-grid,
  .footer-grid,
  .card-grid,
  .story-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
