:root {
  --bg: #ffffff;
  --ink: #121212;
  --muted: #5a5a5a;
  --line: #e6e6e6;
  --soft: #f5f5f3;
  --accent: #1f4f3d;
  --accent-hover: #16392c;
  --danger: #8a2b2b;
  --success: #1f4f3d;
  --font-display: "Syne", sans-serif;
  --font-body: "Literata", Georgia, serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

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

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

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

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

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

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  max-width: 16rem;
  line-height: 1.2;
}

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

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.25) 0%, rgba(18, 18, 18, 0.72) 70%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0.15) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0;
  max-width: 40rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-copy .brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-copy h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

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

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.15);
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-list li {
  border-bottom: 1px solid var(--line);
}

.offer-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease);
}

.offer-list a:hover {
  padding-left: 0.5rem;
}

.offer-list h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.offer-list p {
  margin: 0;
  max-width: 40rem;
}

.offer-meta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  white-space: nowrap;
}

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

.quote {
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.quote-meta {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.15rem;
}

.page-hero-visual {
  margin-top: 2rem;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose ul, .prose ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

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

.stack {
  display: grid;
  gap: 1.5rem;
}

.fee-rows {
  border-top: 1px solid var(--line);
}

.fee-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.fee-row h3 {
  margin-bottom: 0.4rem;
}

.fee-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-align: right;
}

.review-list {
  display: grid;
  gap: 2.5rem;
}

.review-item {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.review-service {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.case-block {
  margin-top: 3rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

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

.blog-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease);
}

.blog-item:hover {
  background: var(--soft);
}

.blog-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.blog-item h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.meta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

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

.form label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  min-height: 1.1rem;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-aside {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.contact-aside h2 {
  font-size: 1.2rem;
}

.approach-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.approach-step {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.approach-step .phase {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.9fr 0.8fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address,
.site-footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

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

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

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
  animation: riseIn 0.5s var(--ease) both;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.cookie-inner p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.95rem;
}

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

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

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

.legal-table th {
  font-family: var(--font-display);
  background: var(--soft);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.9rem;
  }

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

  .split,
  .split-reverse,
  .detail-hero,
  .contact-layout,
  .story-strip,
  .fee-row,
  .blog-item,
  .approach-step,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fee-amount { text-align: left; }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
