:root {
  --ink: #171716;
  --ink-soft: #2a2927;
  --paper: #f6f3ed;
  --paper-deep: #ece6dc;
  --white: #fff;
  --muted: #716d67;
  --line: rgba(23, 23, 22, 0.16);
  --accent: #8f2924;
  --accent-dark: #721d19;
  --gold: #a6875e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
  --header-h: 98px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  z-index: 300;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(143, 41, 36, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #b98b60);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(246, 243, 237, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition:
    height 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 78px;
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(25, 21, 17, 0.05);
}

.header-inner {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-monogram {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font: 600 28px/1 var(--serif);
  letter-spacing: -2px;
  border: 1px solid currentColor;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font: 600 19px/1.05 var(--serif);
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  margin-left: auto;
}

.site-nav a,
.footer-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.22) 50%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out-expo);
}

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

.button:hover::before {
  transform: translateX(120%);
}

.button-small {
  min-height: 46px;
  padding-inline: 20px;
  color: var(--white);
  background: var(--ink);
}

.button-small:hover {
  background: var(--accent);
}

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

.button-accent:hover {
  background: var(--accent-dark);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  color: var(--white);
  background: var(--accent);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-outline-light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 790px;
  padding-top: var(--header-h);
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: var(--header-h) 0 0;
}

.hero-image {
  background-image: url("assets/hero-office.jpg");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--hero-image-shift, 0px), 0) scale(1.07);
  transform-origin: center center;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.82) 0%, rgba(11, 11, 10, 0.7) 45%, rgba(11, 11, 10, 0.08) 82%),
    linear-gradient(0deg, rgba(11, 11, 10, 0.2), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(790px - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 96px 112px;
  transform: translate3d(0, var(--hero-content-shift, 0px), 0);
  will-change: transform;
}

.hero-panel {
  width: min(760px, 72%);
  padding: 54px 58px 50px;
  background: rgba(23, 23, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(5px);
}

.motion-ready .hero-intro {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 20px, 0) scale(0.99);
  transition:
    opacity 0.9s ease,
    clip-path 1.4s var(--ease-out-expo),
    transform 1.4s var(--ease-out-expo);
}

.motion-ready.page-loaded .hero-intro {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready [data-hero-item] {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.9s ease,
    filter 1.15s var(--ease-out-expo),
    transform 1.15s var(--ease-out-expo);
}

.motion-ready.page-loaded [data-hero-item] {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.motion-ready.page-loaded [data-hero-item]:nth-child(1) {
  transition-delay: 0.28s;
}

.motion-ready.page-loaded [data-hero-item]:nth-child(2) {
  transition-delay: 0.38s;
}

.motion-ready.page-loaded [data-hero-item]:nth-child(3) {
  transition-delay: 0.5s;
}

.motion-ready.page-loaded [data-hero-item]:nth-child(4) {
  transition-delay: 0.62s;
}

.motion-ready.page-loaded [data-hero-item]:nth-child(5) {
  transition-delay: 0.74s;
}

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

.eyebrow-light {
  color: #d4bba0;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(50px, 5.3vw, 78px);
  letter-spacing: -0.028em;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.82);
}

.hero-facts {
  display: flex;
  gap: 26px;
  margin: 42px 0 0;
  padding: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  list-style: none;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 44px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.scroll-line {
  position: relative;
  width: 58px;
  height: 1px;
  background: currentColor;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-110%);
  animation: scroll-pulse 2.2s var(--ease-smooth) infinite;
}

@keyframes scroll-pulse {
  55%,
  100% {
    transform: translateX(110%);
  }
}

.section {
  padding-block: 130px;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: start;
}

.section-number {
  padding-top: 2px;
  color: var(--gold);
  font: 500 18px/1 var(--serif);
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.section-number::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 88px;
  margin-top: 18px;
  background: var(--gold);
}

.about h2,
.section-heading h2,
.process-heading h2,
.contact-copy h2,
.trust-content h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.4vw, 64px);
  letter-spacing: -0.025em;
}

.title-rule {
  width: 68px;
  height: 1px;
  margin: 30px 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out-expo) 0.28s;
}

.about-copy.is-visible .title-rule {
  transform: scaleX(1);
}

.about-copy .intro {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
}

.about-copy > p:not(.eyebrow):not(.intro) {
  max-width: 650px;
  color: var(--muted);
}

.about-copy .text-link {
  margin-top: 18px;
}

.about-card {
  position: relative;
  min-height: 410px;
  padding: 52px 42px 42px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.about-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(166, 135, 94, 0.38);
  border-radius: 50%;
}

.about-card-mark {
  position: absolute;
  top: 12px;
  right: 24px;
  color: rgba(255, 255, 255, 0.05);
  font: 600 120px/1 var(--serif);
  letter-spacing: -0.08em;
}

.about-card blockquote {
  position: relative;
  z-index: 1;
  margin: 84px 0 40px;
  font: 500 29px/1.3 var(--serif);
}

.about-card > p {
  position: relative;
  z-index: 1;
  color: #d4bba0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 720px;
}

.trust-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  background-color: #d8d0c4;
  background-image: url("assets/trust-elizaveta-v3.jpg");
  background-position: center calc(62% + var(--trust-image-shift, 0px));
  background-size: cover;
  overflow: hidden;
  will-change: background-position, clip-path, transform;
}

.trust-visual::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(23, 23, 22, 0.16);
  transform: scale(0.94);
  opacity: 0;
  transition:
    transform 1.2s var(--ease-out-expo) 0.25s,
    opacity 0.8s ease 0.25s;
  z-index: 1;
}

.trust-visual.is-visible::before {
  opacity: 1;
  transform: scale(1);
}

.trust-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--paper);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1.45s var(--ease-out-expo) 0.06s;
  pointer-events: none;
}

.trust-visual.is-visible::after {
  transform: scaleY(0);
}

.trust-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(48px, 7vw, 110px);
  color: var(--white);
  background: var(--ink);
}

.trust-content h2 {
  max-width: 700px;
}

.trust-list {
  margin: 18px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-list article {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-list article > span {
  color: #d4bba0;
  font: 500 15px/1.4 var(--serif);
}

.trust-list h3 {
  margin-bottom: 7px;
  font-size: 25px;
}

.trust-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.trust-content .button {
  align-self: flex-start;
}

.services {
  background: #fbfaf7;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 48px;
  background: #fbfaf7;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition:
    color 0.35s ease,
    background 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.service-card:not(.service-card-wide):hover {
  color: var(--white);
  background: var(--ink);
}

.service-card:hover::after {
  transform: scale(1.2);
}

.service-card:hover p,
.service-card:hover .service-index {
  color: rgba(255, 255, 255, 0.62);
}

.service-card:hover .service-icon {
  color: #d4bba0;
}

.service-index {
  position: absolute;
  top: 28px;
  right: 32px;
  color: var(--muted);
  font: 500 14px/1 var(--serif);
}

.service-icon {
  width: 48px;
  margin-bottom: 62px;
  color: var(--accent);
}

.service-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.service-icon path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transition: stroke-dashoffset 1.35s var(--ease-out-expo) 0.3s;
}

.service-card.is-visible .service-icon path {
  stroke-dashoffset: 0;
}

.service-card h3 {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 34px;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 450px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.35s ease;
}

.service-card-wide {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--accent);
}

.service-card-wide::after {
  border-color: rgba(255, 255, 255, 0.22);
}

.service-card-wide .eyebrow {
  margin-bottom: 9px;
}

.service-card-wide h3 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 40px;
}

.process {
  background: var(--paper-deep);
}

.process-heading {
  max-width: 780px;
  margin-bottom: 66px;
}

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

.process-list li {
  position: relative;
  min-height: 280px;
  padding: 30px 40px 40px 0;
  border-right: 1px solid var(--line);
}

.process-list li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out-expo) 0.25s;
}

.process-list li.is-visible::before {
  transform: scaleX(1);
}

.process-list li:not(:first-child) {
  padding-left: 40px;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li > span {
  color: var(--accent);
  font: 500 16px/1 var(--serif);
}

.process-list li > div {
  margin-top: 76px;
}

.process-list h3 {
  margin-bottom: 15px;
  font-size: 31px;
}

.process-list p {
  max-width: 300px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  padding-block: 130px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(143, 41, 36, 0.2), transparent 34%),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.62);
}

.contact-note {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  max-width: 480px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-note > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #d4bba0;
  font: 600 14px/1 var(--serif);
  border: 1px solid rgba(212, 187, 160, 0.55);
  border-radius: 50%;
}

.contact-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.consultation-form {
  padding: 54px;
  color: var(--ink);
  background: var(--paper);
}

.consultation-form label {
  position: relative;
  display: block;
  margin-bottom: 26px;
}

.consultation-form label > span:first-child {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 22, 0.32);
  border-radius: 0;
  outline: 0;
  transition: border-color 0.2s ease;
}

input,
select {
  height: 48px;
}

textarea {
  min-height: 126px;
  padding: 12px 0 24px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #99938b;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

select {
  appearance: none;
  padding-right: 26px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 11px) 50%,
    calc(100% - 6px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.textarea-meta {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: #99938b;
  font-size: 9px;
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  color: var(--accent);
  font-size: 10px;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--accent);
}

.honeypot {
  position: absolute !important;
  left: -9999px;
}

.consultation-form .consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 0;
}

.consultation-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consultation-form .consent > span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.consent a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.consent-error {
  margin: 4px 0 18px 30px;
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}

.submit-button.is-loading {
  opacity: 0.66;
  pointer-events: none;
}

.button-arrow {
  font-size: 20px;
  line-height: 1;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 12px;
}

.form-status.is-success {
  color: #356b4d;
}

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

.form-fields[hidden],
.form-success[hidden] {
  display: none;
}

.consultation-form.is-submitted {
  display: grid;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(166, 135, 94, 0.15), transparent 34%),
    var(--paper);
}

.form-success {
  align-self: center;
  max-width: 510px;
  animation: form-success-enter 0.9s var(--ease-out-expo) both;
}

.form-success-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 38px;
  color: var(--paper);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(63, 48, 30, 0.18);
}

.form-success-mark::before {
  position: absolute;
  inset: -10px;
  content: "";
  border: 1px solid rgba(166, 135, 94, 0.34);
  border-radius: 50%;
}

.form-success-mark span {
  font: 500 42px/1 var(--serif);
  transform: translateY(-2px);
}

.form-success-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-success h3 {
  max-width: 480px;
  margin: 0;
  font: 500 clamp(48px, 5vw, 72px)/0.95 var(--serif);
  letter-spacing: -0.035em;
  outline: 0;
}

.form-success-copy {
  max-width: 470px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.form-success-reset {
  min-width: min(100%, 330px);
  justify-content: space-between;
}

@keyframes form-success-enter {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

.site-footer {
  color: var(--white);
  background: #0f0f0e;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 70px;
  align-items: center;
  padding-block: 72px;
}

.brand-light .brand-copy span {
  color: rgba(255, 255, 255, 0.52);
}

.footer-nav {
  display: flex;
  gap: 30px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-legal {
  display: grid;
  grid-template-columns: auto minmax(150px, 0.8fr) minmax(300px, 1.35fr) 180px;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  padding-block: 26px 34px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
  margin: 0;
}

.footer-legal details {
  position: relative;
}

.footer-legal summary {
  color: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.footer-legal details div {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.footer-credit {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.footer-credit img {
  width: 180px;
  height: auto;
  opacity: 0.62;
  filter: none;
}

.motion-ready .reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 36px, 0) scale(0.99);
  transition:
    opacity 0.9s ease var(--reveal-delay),
    filter 1.15s var(--ease-out-expo) var(--reveal-delay),
    transform 1.15s var(--ease-out-expo) var(--reveal-delay);
  will-change: opacity, filter, transform;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .reveal-clip {
  opacity: 1;
  filter: none;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 16px, 0);
  transition:
    clip-path 1.35s var(--ease-out-expo) var(--reveal-delay),
    transform 1.35s var(--ease-out-expo) var(--reveal-delay);
}

.motion-ready .reveal-clip.is-visible {
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
}

.motion-ready .reveal-scale {
  transform: translate3d(0, 28px, 0) scale(0.965);
}

.motion-ready .reveal-scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .reveal-card {
  transform: translate3d(0, 48px, 0) perspective(1000px) rotateX(1.25deg);
  transform-origin: center bottom;
}

.motion-ready .reveal-card.is-visible {
  transform: translate3d(0, 0, 0) perspective(900px) rotateX(0);
}

.motion-ready .reveal-row {
  transform: translate3d(20px, 0, 0);
}

.motion-ready .reveal-row.is-visible {
  transform: translate3d(0, 0, 0);
}

.motion-ready .reveal-image {
  opacity: 1;
  filter: none;
  clip-path: none;
  transform: scale(1.055);
  transition: transform 1.8s var(--ease-out-expo) var(--reveal-delay);
}

.motion-ready .reveal-image.is-visible {
  transform: scale(1);
}

.word-mask {
  display: inline-block;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  overflow: hidden;
  vertical-align: bottom;
}

.motion-ready [data-split] .split-word {
  display: inline-block;
  opacity: 0.12;
  filter: blur(3px);
  transform: translate3d(0, 112%, 0) rotate(1.2deg);
  transform-origin: left bottom;
  transition:
    opacity 0.8s ease,
    filter 1.05s var(--ease-out-expo),
    transform 1.15s var(--ease-out-expo);
  transition-delay: calc(0.1s + var(--word-index) * 46ms);
  will-change: opacity, filter, transform;
}

.motion-ready .hero [data-split] .split-word {
  transition-delay: calc(0.42s + var(--word-index) * 54ms);
}

.motion-ready [data-split].words-visible .split-word {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    clip-path: none;
  }

  .motion-ready .hero-intro,
  .motion-ready [data-hero-item],
  .motion-ready [data-split] .split-word,
  .motion-ready .reveal,
  .motion-ready .reveal-clip,
  .motion-ready .reveal-scale,
  .motion-ready .reveal-card,
  .motion-ready .reveal-row,
  .motion-ready .reveal-image {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }

  .trust-visual::after {
    display: none;
  }

  .form-success {
    animation: none;
  }
}

@media (max-width: 1060px) {
  :root {
    --shell: min(100% - 40px, 920px);
  }

  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-panel {
    width: min(760px, 82%);
  }

  .about-grid {
    grid-template-columns: 60px minmax(0, 1fr) 300px;
    gap: 34px;
  }

  .about-card {
    padding-inline: 32px;
  }

  .trust-content {
    padding-inline: 50px;
  }

  .contact-grid {
    gap: 56px;
  }

  .consultation-form {
    padding: 40px;
  }

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

  .footer-legal {
    grid-template-columns: auto minmax(130px, 0.7fr) minmax(240px, 1.2fr) 150px;
    gap: 24px;
  }

  .footer-credit img {
    width: 150px;
  }

  .footer-nav {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 32px);
    --header-h: 78px;
  }

  .motion-ready [data-hero-item] {
    filter: blur(3px);
  }

  .motion-ready .reveal {
    filter: blur(2px);
  }

  .motion-ready .reveal-clip {
    transform: translate3d(0, 16px, 0);
  }

  .motion-ready .reveal-scale {
    transform: translate3d(0, 22px, 0) scale(0.98);
  }

  .motion-ready .reveal-card {
    transform: translate3d(0, 36px, 0) perspective(900px) rotateX(0.8deg);
  }

  .motion-ready .reveal-image {
    transform: scale(1.03);
  }

  .motion-ready [data-split] .split-word {
    filter: blur(2px);
    transform: translate3d(0, 106%, 0) rotate(0.8deg);
    transition-delay: calc(0.08s + var(--word-index) * 34ms);
  }

  .motion-ready .hero [data-split] .split-word {
    transition-delay: calc(0.38s + var(--word-index) * 42ms);
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-h);
  }

  .brand-monogram {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    width: 48px;
    height: 48px;
    place-content: center;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
  }

  .menu-toggle span:not(.sr-only) {
    width: 25px;
    height: 1px;
    background: currentColor;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100vw;
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 42px 24px;
    color: var(--white);
    background: var(--ink);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    font: 500 30px/1.1 var(--serif);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero {
    min-height: 760px;
  }

  .hero-image,
  .hero-shade {
    inset: var(--header-h) 0 0;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(11, 11, 10, 0.88), rgba(11, 11, 10, 0.38));
  }

  .hero-content {
    min-height: calc(760px - var(--header-h));
    padding-block: 54px 78px;
  }

  .hero-panel {
    width: 100%;
    padding: 38px 28px 34px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-facts {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: 86px;
  }

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

  .section-number {
    display: none;
  }

  .about h2,
  .section-heading h2,
  .process-heading h2,
  .contact-copy h2,
  .trust-content h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .about-card {
    min-height: 340px;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-visual {
    min-height: 450px;
  }

  .trust-content {
    padding: 78px 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 46px;
  }

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

  .service-card {
    min-height: 330px;
    padding: 38px 28px;
  }

  .service-card-wide {
    grid-column: auto;
    min-height: 340px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .service-card-wide .button {
    width: 100%;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:not(:first-child) {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li > div {
    margin-top: 38px;
  }

  .contact-section {
    padding-block: 88px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-copy {
    position: static;
  }

  .consultation-form {
    padding: 32px 22px;
  }

  .consultation-form.is-submitted {
    min-height: 500px;
  }

  .form-success-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 32px;
  }

  .form-success h3 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .form-success-copy {
    margin-block: 22px 30px;
    font-size: 13px;
  }

  .form-success-reset {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .footer-main .button {
    width: 100%;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-credit {
    justify-content: center;
    padding-top: 8px;
  }

  .footer-credit img {
    width: 150px;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 8px;
  }

  .hero-panel {
    padding-inline: 22px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .consultation-form {
    margin-inline: -8px;
  }
}
