:root {
  --paper: #f5faf4;
  --paper-soft: #fefffb;
  --paper-warm: #edf5ec;
  --ink: #20231f;
  --muted: #666b63;
  --muted-strong: #474b46;
  --line: #dfe8dc;
  --line-soft: #e9f0e6;
  --accent: #075753;
  --accent-dark: #053f3b;
  --accent-soft: #e9f1ed;
  --white: #ffffff;
  --paper-texture:
    linear-gradient(90deg, rgba(7, 87, 83, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 87, 83, 0.018) 1px, transparent 1px);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    var(--paper-texture),
    var(--paper);
  background-size: 28px 28px, 28px 28px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(28px, 7vw, 96px);
  border-bottom: 1px solid rgba(228, 225, 216, 0.72);
  background: rgba(245, 250, 244, 0.91);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-grid;
  align-items: start;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: auto;
  height: auto;
  place-items: start;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand-text {
  display: block;
  text-align: left;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.brand strong {
  font-size: 13px;
  font-weight: 800;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  color: #2b2f2a;
  font-size: 12px;
  font-weight: 700;
}

.nav-links a,
.header-cta,
.btn,
.link-more,
.contact-link,
.education-panel a,
.footer-legal a,
.cookie-banner a,
.cookie-accept,
.legal-content a {
  transition: color 520ms var(--ease), background 520ms var(--ease), border-color 520ms var(--ease),
    transform 520ms var(--ease), opacity 520ms var(--ease);
}

.nav-links a:hover,
.link-more:hover {
  color: var(--accent);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 8px 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 0 24px;
}

.btn-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  line-height: 1;
  transition: transform 520ms var(--ease), background 520ms var(--ease);
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

.btn:active,
.header-cta:active {
  transform: scale(0.98);
}

.btn.light {
  border-color: var(--paper-soft);
  background: var(--paper-soft);
  color: var(--accent-dark);
}

.btn.light .btn-icon {
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 360ms var(--ease);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 19;
  display: grid;
  align-content: start;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: rgba(245, 250, 244, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.mobile-menu a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(62px, 6.6vw, 96px);
  line-height: 0.88;
}

.hero-copy h1 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.22;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding-top: 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(254, 255, 251, 0.94) 0%, rgba(245, 250, 244, 0.94) 43%, rgba(233, 241, 237, 0.74) 100%),
    var(--paper);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 560px;
}

@media (min-width: 1121px) {
  .hero-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(560px, 600px) minmax(0, 1fr);
    margin-inline: 0;
    padding-left: clamp(28px, 7vw, 96px);
  }

}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(46% - 72px);
  z-index: 3;
  width: 210px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 251, 248, 0.32) 42%,
    rgba(251, 251, 248, 0.15) 66%,
    transparent 100%
  );
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding: 54px 0 46px;
  text-align: left;
}

.hero-title {
  max-width: 430px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 430px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 455px;
  margin: 0 0 26px;
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

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

.link-more {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 560px;
  margin: 0 calc((100vw - min(1120px, calc(100vw - 80px))) / -2) 0 -56px;
  overflow: hidden;
  background: linear-gradient(90deg, #f7f5ef 0%, #ebe5d9 100%);
  isolation: isolate;
}

@media (min-width: 1121px) {
  .hero-grid::after {
    inset: 0 auto 0 calc(clamp(28px, 7vw, 96px) + 504px);
  }

  .hero-media {
    margin: 0 0 0 -56px;
  }
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -10px auto -10px -10px;
  z-index: 1;
  width: min(42%, 340px);
  background: linear-gradient(
    90deg,
    rgba(251, 251, 248, 0.78) 0%,
    rgba(251, 251, 248, 0.5) 36%,
    rgba(251, 251, 248, 0.18) 72%,
    transparent 100%
  );
  filter: blur(6px);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(251, 251, 248, 0.24) 0%,
      rgba(251, 251, 248, 0.14) 26%,
      rgba(251, 251, 248, 0.07) 48%,
      rgba(251, 251, 248, 0.02) 74%,
      transparent 100%
    ),
    radial-gradient(ellipse at 42% 48%, rgba(255, 255, 255, 0.16) 0%, transparent 56%);
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 54% center;
}

.hero-media picture {
  display: contents;
}

section {
  scroll-margin-top: 92px;
}

.requests,
.process,
.methods,
.services,
.faq {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(254, 255, 251, 0.9), rgba(254, 255, 251, 0.74)),
    var(--paper-texture),
    var(--paper-soft);
  background-size: auto, 30px 30px, 30px 30px;
}

.requests,
.process,
.principles,
.methods,
.services,
.faq {
  padding: 68px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.narrow {
  max-width: 900px;
}

.section-head p:not(.eyebrow),
.method-copy p,
.services-copy p,
.about-card p,
.faq p,
.process-grid p,
.principle-list p,
.timeline p,
.soft-note {
  color: var(--muted);
}

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

.request-card {
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfdf8;
}

.request-card:nth-child(2) {
  background: #f3f8f3;
}

.request-card.tall {
  grid-row: auto;
}

.request-card.accent-card {
  background: #edf4f1;
}

.request-card ul,
.trust-grid,
.principle-list,
.timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 13.5px;
  line-height: 1.46;
}

.request-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.line-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--accent);
}

.line-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.soft-note {
  max-width: 850px;
  margin: 24px 0 0;
  padding: 22px 28px;
  border-left: 3px solid var(--accent);
  background: #fbfdf8;
  font-size: 15px;
}

.about {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.about-grid {
  display: grid;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  grid-template-columns: minmax(320px, 40%) minmax(0, 60%);
  align-items: stretch;
  min-height: 500px;
}

.about-photo {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 54px 0;
  overflow: hidden;
  background: transparent;
}

.about-photo img {
  width: min(92%, 500px);
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

.about-card {
  align-self: center;
  padding: 54px clamp(28px, 7vw, 96px) 54px 40px;
}

.about-card h2 {
  max-width: 620px;
}

.about-subtitle {
  margin: 24px 0 12px;
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 17px;
}

.about-lead {
  color: var(--accent-dark);
  font-weight: 800;
}

.about-card p {
  max-width: 650px;
  margin-bottom: 17px;
  font-size: 15px;
}

.about-telegram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(7, 87, 83, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(233, 241, 237, 0.65);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.about-telegram svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trust-grid span {
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

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

.process-grid article {
  min-height: 195px;
  padding: 4px 24px 0 0;
  border-right: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.principles {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 58px;
}

.principle-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.principle-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.principle-list h3 {
  margin-bottom: 6px;
}

.principle-list p {
  max-width: 610px;
  margin-bottom: 0;
}

.abstract-art {
  width: min(360px, 100%);
  margin: 34px 0 0;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-soft);
  box-shadow: 0 18px 38px rgba(32, 35, 31, 0.07);
}

.abstract-art img,
.method-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.methods-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
}

.method-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.method-copy p {
  max-width: 440px;
}

.method-art {
  width: min(300px, 100%);
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-soft);
  box-shadow: 0 18px 38px rgba(32, 35, 31, 0.07);
}

.abstract-art img {
  aspect-ratio: 1.08;
  object-position: 42% center;
}

.method-art img {
  aspect-ratio: 1.01;
  object-position: center;
}

.method-detail {
  display: grid;
  gap: 18px;
}

.method-detail article {
  min-height: 205px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  background: #fbfdf8;
}

.method-detail p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.education {
  padding: 66px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 242, 234, 0.74)),
    var(--paper-texture),
    var(--paper-soft);
  background-size: auto, 32px 32px, 32px 32px;
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  gap: 42px;
  align-items: start;
}

.education-copy {
  padding: 0;
}

.education-copy h2,
.education-panel strong,
.education-panel span,
.education-panel a,
.document-meta strong,
.document-meta small {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.education-copy p {
  color: var(--muted);
}

.education-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.education-group {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(254, 255, 251, 0.82);
}

.education-group h3 {
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 15px;
}

.education-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr) minmax(118px, auto);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

.education-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.education-item:last-child {
  padding-bottom: 0;
}

.education-item strong,
.education-group-full strong {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.education-group-full strong {
  display: block;
  margin-top: 16px;
}

.education-item p,
.education-item span,
.education-group-full p,
.education-group-full li {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.48;
}

.education-item span {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.education-group-full ul {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.education-group-full li {
  position: relative;
  padding-left: 18px;
}

.education-group-full li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.timeline {
  display: grid;
  margin-top: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.timeline article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.timeline span {
  display: block;
  margin-bottom: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.48;
}

.education-panel {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  padding: 32px;
  border: 1px solid rgba(7, 87, 83, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--accent);
  color: var(--white);
  box-shadow: 0 24px 54px rgba(7, 87, 83, 0.16);
}

.education-panel strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 600;
  line-height: 0.95;
}

.education-panel span {
  margin-bottom: 21px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.education-panel a {
  align-self: flex-start;
  margin-top: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.education-panel a:hover {
  opacity: 0.72;
}

.education-docs {
  grid-column: 1 / -1;
  min-width: 0;
}

.docs-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.docs-head h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
}

.document-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 31%);
  gap: 16px;
  padding: 8px 8px 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(7, 87, 83, 0.42) rgba(7, 87, 83, 0.08);
}

.document-rail::-webkit-scrollbar {
  height: 10px;
}

.document-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(7, 87, 83, 0.08);
}

.document-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(7, 87, 83, 0.4);
}

.document-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.48;
  border: 1px solid rgba(32, 35, 31, 0.18);
  border-radius: 8px;
  outline: 5px solid rgba(255, 255, 255, 0.72);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(32, 35, 31, 0.1);
  isolation: isolate;
  scroll-snap-align: start;
}

.document-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(20, 24, 21, 0), rgba(20, 24, 21, 0.78));
  opacity: 0.88;
  z-index: 1;
  transition: opacity 520ms var(--ease);
}

.document-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 720ms var(--ease), filter 720ms var(--ease);
}

.document-card:hover img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.025);
}

.document-card:hover::after {
  opacity: 0.72;
}

.document-card-feature,
.document-card-wide:nth-child(2),
.document-card-wide:nth-child(3),
.document-card-tall:nth-child(4),
.document-card-tall:nth-child(5),
.document-card-tall:nth-child(6) {
  grid-column: auto;
  grid-row: auto;
}

.document-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px;
  color: var(--white);
}

.document-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.document-meta strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}

.document-meta small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
}

.services-copy p {
  max-width: 430px;
}

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

.price-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  background: #fbfdf8;
}

.price-card p {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}

.price-card span {
  display: block;
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.price-card strong {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.price-card .btn {
  width: 100%;
  min-height: 46px;
  padding: 0 8px 0 20px;
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(7, 87, 83, 0.18);
}

.price-card .btn span:not(.btn-icon) {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin-bottom: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.price-card .btn span:not(.btn-icon):first-child {
  min-width: 0;
}

.price-card .btn-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  min-height: 30px;
  margin-bottom: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
  font-size: 13px;
  line-height: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 60px;
}

.faq-list {
  display: grid;
  gap: 0;
}

details {
  border-top: 1px solid var(--line-soft);
}

details:last-child {
  border-bottom: 1px solid var(--line-soft);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 760px;
  margin: -4px 0 22px;
  font-size: 14px;
}

.contact {
  background: var(--accent);
  color: var(--paper-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36%;
  min-height: 360px;
}

.contact-copy {
  align-self: center;
  padding: 62px 70px 62px 0;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.94;
}

.contact p {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.contact-link:hover {
  color: var(--white);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.contact-link.social-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.social-link svg .play {
  fill: var(--accent);
}

.footer-social {
  min-height: 32px;
  padding: 0 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.contact-photo {
  margin: 0;
  overflow: hidden;
}

.contact-photo img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 48% center;
}

.site-footer {
  background: #242722;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 1fr;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  font-size: 12px;
}

.footer-brand .brand-mark,
.footer-brand strong {
  color: var(--paper-soft);
}

.footer-brand small,
.footer-grid p {
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact {
  display: flex;
  gap: 18px;
}

.footer-grid a:last-child {
  justify-self: end;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-legal a:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(640px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid rgba(7, 87, 83, 0.18);
  border-radius: 8px;
  background: rgba(254, 255, 251, 0.96);
  box-shadow: 0 22px 56px rgba(32, 35, 31, 0.16);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner a,
.legal-content a {
  color: var(--accent);
  font-weight: 800;
}

.cookie-banner a:hover,
.legal-content a:hover {
  color: var(--accent-dark);
}

.cookie-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.cookie-accept:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.legal-page {
  padding-top: 76px;
}

.legal-hero {
  padding: 74px 0 46px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(254, 255, 251, 0.9), rgba(245, 250, 244, 0.78)),
    var(--paper-texture),
    var(--paper);
  background-size: auto, 30px 30px, 30px 30px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 720px;
  margin-bottom: 8px;
  color: var(--muted-strong);
}

.legal-content {
  padding: 54px 0 72px;
  background: var(--paper-soft);
}

.legal-shell {
  max-width: 920px;
}

.legal-content h2 {
  margin: 38px 0 14px;
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted-strong);
  font-size: 15px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-back {
  margin-top: 36px;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .shell {
    width: calc(100vw - 44px);
    max-width: 1120px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 22px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-grid,
  .about-grid,
  .principles-grid,
  .methods-grid,
  .services-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .education-panel {
    position: static;
  }

  .hero-media {
    min-height: 420px;
    margin: 0;
  }

  .hero-media img {
    width: 100%;
    right: auto;
  }

  .about-card,
  .education-copy,
  .contact-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .about-photo {
    justify-content: center;
    padding: 34px 0 0;
  }

  .about-photo img,
  .contact-photo img {
    min-height: 420px;
  }

  .about-photo img {
    height: auto;
    max-width: none;
    width: min(86vw, 420px);
    min-height: 0;
  }

  .education-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .document-rail {
    grid-auto-columns: minmax(280px, 46%);
  }

  .document-card-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .document-card-wide:nth-child(2),
  .document-card-wide:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .document-card-tall:nth-child(4),
  .document-card-tall:nth-child(5),
  .document-card-tall:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .method-copy {
    position: static;
  }

  .request-layout,
  .price-row,
  .process-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .request-card,
  .price-card,
  .method-detail article,
  .section-head,
  .about-card,
  .contact-copy,
  .services-copy,
  .method-copy,
  .education-copy {
    min-width: 0;
  }

  .request-card.tall {
    grid-row: auto;
  }

  .process-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .shell {
    width: calc(100vw - 28px);
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: 62px;
    gap: 10px;
    padding-inline: 14px;
  }

  .menu-toggle {
    position: fixed;
    top: 11px;
    right: 14px;
    z-index: 50;
    display: grid !important;
    place-items: center;
    background: rgba(251, 251, 248, 0.94);
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 20px;
  }

  .brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    inset: 62px 0 0;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid::after {
    content: none;
  }

  .hero-copy {
    padding: 36px 0 28px;
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(46px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.04;
  }

  .hero-title {
    max-width: min(330px, 100%);
    font-size: clamp(23px, 6.8vw, 29px);
    line-height: 1.04;
  }

  .hero-subtitle {
    max-width: min(342px, 100%);
    font-size: 15px;
  }

  .hero-stats,
  .hero-actions,
  .request-layout,
  .price-row,
  .process-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-stats {
    gap: 0;
    max-width: none;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    column-gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .hero-stats dd {
    margin: 0;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
    max-width: min(342px, 100%);
  }

  .btn,
  .header-cta {
    width: 100%;
    min-width: 0;
  }

  .btn span:first-child {
    min-width: 0;
    overflow-wrap: normal;
  }

  .link-more {
    text-align: center;
  }

  .hero-media {
    height: 280px;
    min-height: 0;
  }

  .hero-media img {
    width: 100%;
    object-position: 52% 38%;
  }

  .hero-media::before {
    width: 100%;
    background: linear-gradient(180deg, var(--paper) 0%, transparent 31%);
    filter: none;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(251, 251, 248, 0.2) 0%, rgba(251, 251, 248, 0.07) 34%, transparent 70%),
      radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, 0.12) 0%, transparent 58%);
  }

  .requests,
  .process,
  .principles,
  .methods,
  .services,
  .faq {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .section-head h2,
  .about-card h2,
  .method-copy h2,
  .services-copy h2,
  .contact h2 {
    max-width: min(346px, 100%);
  }

  .section-head p:not(.eyebrow),
  .about-card p,
  .method-copy p,
  .services-copy p,
  .request-card li,
  .soft-note,
  details p,
  .contact p {
    max-width: min(342px, 100%);
  }

  .request-card,
  .method-detail article,
  .price-card {
    padding: 24px;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  li,
  summary,
  .btn,
  .contact-link {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .soft-note {
    padding: 18px 20px;
  }

  .about-photo img,
  .contact-photo img {
    min-height: 330px;
  }

  .about-photo img {
    height: auto;
    max-width: none;
    width: min(86vw, 360px);
    min-height: 0;
  }

  .education {
    padding: 44px 0;
  }

  .timeline article {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 13px 0;
  }

  .education-group {
    padding: 20px;
  }

  .education-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .education-item span {
    white-space: normal;
  }

  .about-card,
  .education-copy {
    padding: 34px 0;
  }

  .process-grid article {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .process-grid article:first-child {
    border-top: 0;
  }

  .process-grid span {
    margin-bottom: 16px;
  }

  .principles-grid,
  .methods-grid,
  .faq-grid {
    gap: 10px;
  }

  .abstract-art,
  .method-art {
    width: min(300px, 100%);
  }

  .education-panel {
    min-height: auto;
    padding: 32px 24px;
  }

  .education-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
  }

  .document-rail {
    grid-auto-columns: minmax(250px, 86%);
    padding-inline: 2px;
  }

  .document-card,
  .document-card-feature,
  .document-card-wide:nth-child(2),
  .document-card-wide:nth-child(3),
  .document-card-tall:nth-child(4),
  .document-card-tall:nth-child(5),
  .document-card-tall:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .document-card {
    aspect-ratio: 1.42;
    outline-width: 5px;
  }

  .document-meta {
    padding: 18px;
  }

  .document-meta strong {
    font-size: 14px;
  }

  .contact-copy {
    padding: 42px 0;
  }

  .contact-actions {
    display: grid;
  }

  .social-link {
    justify-content: center;
  }

  .footer-grid {
    align-items: start;
    padding: 24px 0;
  }

  .footer-contact {
    display: grid;
    gap: 10px;
  }

  .footer-grid a:last-child,
  .footer-legal {
    justify-self: start;
  }

  .footer-legal {
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .legal-page {
    padding-top: 62px;
  }

  .legal-hero {
    padding: 46px 0 32px;
  }

  .legal-hero h1 {
    max-width: min(346px, 100%);
    font-size: clamp(34px, 10vw, 46px);
  }

  .legal-content {
    padding: 34px 0 50px;
  }

  .legal-content h2 {
    font-size: 18px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 14px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100vw - 28px);
  }

  .cookie-accept {
    width: 100%;
  }
}
