:root {
  --bg: #f4f0e8;
  --paper: #fbf8f0;
  --ink: #151411;
  --muted: #726a5e;
  --line: rgba(21, 20, 17, 0.18);
  --dark: #11100d;
  --white: #fffaf1;
  --shadow: 0 28px 80px rgba(35, 30, 22, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --logo-serif: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --montserrat: "Montserrat", "Inter", Arial, sans-serif;
  --hero-height: clamp(440px, 64vh, 640px);
  --rail-width: 212px;
  --intro-gap: clamp(24px, 3.4vw, 54px);
  --anchor-offset: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  max-width: 100%;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

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

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

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

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 15;
  width: var(--rail-width);
  background: rgba(251, 248, 240, 0.9);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(21, 20, 17, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 24px 44px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-transform: uppercase;
}

.brand-mark {
  font-family: var(--logo-serif);
  font-size: 42px;
  line-height: 0.82;
  letter-spacing: 0;
}

.brand-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.side-line {
  width: 1px;
  height: 112px;
  margin: 82px 0 40px;
  background: var(--line);
}

.side-copy {
  height: 250px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1;
}

.side-copy span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.scroll-hint {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.side-rail.is-scroll-ready .scroll-hint {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-hint.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-hint span:last-child {
  position: relative;
  width: 1px;
  height: 38px;
  background: currentColor;
  font-size: 0;
  line-height: 0;
}

.scroll-hint span:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--rail-width);
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
  padding: 38px clamp(28px, 5vw, 88px);
  color: var(--white);
  transition: padding 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.topbar.is-scrolled {
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(17, 16, 13, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.top-brand {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
}

.nav a,
.lang-btn {
  position: relative;
  padding: 8px 0;
  color: inherit;
  background: none;
  border: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  cursor: pointer;
}

.nav a::after,
.lang-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.lang-btn:hover::after,
.lang-btn.is-active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  gap: 12px;
  padding-left: 8px;
}

.lang-btn.is-active {
  display: none;
}

.menu-toggle {
  display: none;
}

main,
.footer {
  margin-left: var(--rail-width);
}

.hero {
  position: relative;
  height: var(--hero-height);
  min-height: 0;
  overflow: hidden;
  background: #191612;
}

.hero-img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  object-position: center;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background:
    linear-gradient(90deg, rgba(15, 14, 11, 0.58) 0%, rgba(15, 14, 11, 0.34) 27%, rgba(15, 14, 11, 0.02) 58%),
    linear-gradient(180deg, rgba(15, 14, 11, 0.18) 0%, rgba(15, 14, 11, 0) 34%, rgba(15, 14, 11, 0.08) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100% - 48px));
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(82px, 11vh, 130px) 0 clamp(56px, 7vh, 94px);
  margin-left: clamp(86px, 9.6vw, 172px);
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.eyebrow,
.section-kicker {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin-top: 18px;
  font-size: clamp(52px, 4.7vw, 78px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
}

.hero-rule,
.small-line {
  width: 82px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.hero-rule {
  margin: 26px 0 18px;
}

.hero-meta {
  max-width: 560px;
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 30px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.hero .btn {
  min-height: 48px;
  gap: 24px;
  padding: 0 26px;
  font-size: 11px;
}

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

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.intro,
.projects,
.about,
.pricing,
.contact {
  padding: clamp(64px, 8vw, 128px) clamp(24px, 8vw, 140px);
}

.intro {
  min-height: calc(100vh - var(--hero-height));
  padding-top: clamp(24px, 3vh, 36px);
  padding-bottom: clamp(68px, 8vh, 108px);
  background: var(--paper);
}

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

.pricing {
  background: var(--bg);
}

.section-kicker {
  width: calc((100% - (var(--intro-gap) * 2)) * 1.56 / 2.14 + var(--intro-gap));
  text-align: center;
  margin-bottom: clamp(18px, 2.4vh, 28px);
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.38em;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 0.78fr 0.58fr;
  gap: var(--intro-gap);
  align-items: start;
}

.intro-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - (var(--intro-gap) * 2)) * 0.78 / 2.14 + var(--intro-gap) / 2);
  width: 1px;
  height: clamp(72px, 8.6vh, 84px);
  background: var(--line);
}

.image-link {
  position: relative;
  height: clamp(178px, 23vh, 236px);
  min-height: 0;
  overflow: hidden;
  background: #191612;
  color: var(--white);
  box-shadow: var(--shadow);
}

.image-link::after,
.project-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.image-link::after {
  background:
    linear-gradient(180deg, rgba(17, 16, 13, 0.06) 0%, rgba(17, 16, 13, 0.13) 100%),
    linear-gradient(90deg, rgba(17, 16, 13, 0.19) 0%, rgba(17, 16, 13, 0.035) 72%);
}

.image-link img,
.project-card img,
.testimonial img,
.portrait-panel img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.image-link:hover img,
.project-card:hover img {
  transform: scale(1.06);
}

.project-card:hover img {
  transform: none;
}

.image-link-content {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 2.4vw, 38px);
  right: clamp(24px, 2.4vw, 38px);
  top: 50%;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.image-link-content::after {
  content: "";
  width: 72px;
  height: 1px;
  margin-top: 4px;
  background: currentColor;
  opacity: 0.62;
}

.image-link-content strong {
  font-family: var(--serif);
  font-size: clamp(19px, 1.45vw, 25px);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.04;
}

.image-link-content small,
.text-link,
.case-link {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.image-link-content small {
  font-family: var(--montserrat);
  font-weight: 300;
  letter-spacing: 0.24em;
}

.intro-note {
  display: grid;
  width: min(100%, 238px);
  gap: clamp(12px, 1.7vh, 18px);
  align-content: start;
  padding-top: clamp(20px, 3.2vh, 38px);
}

.intro-note .small-line {
  width: 72px;
}

.intro-note p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.42;
}

.intro-note .text-link {
  font-size: 12px;
  font-weight: 800;
}

.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

.text-link,
.case-link {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 9px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 64px);
}

.project-card a:first-child {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg);
}

.project-card h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.project-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.project-card img {
  object-fit: contain;
}

.about {
  display: grid;
  grid-template-columns: 0.88fr 1fr 0.82fr;
  gap: clamp(30px, 4.4vw, 64px);
  align-items: stretch;
  background: var(--bg);
}

.about.about-no-portrait {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.about.about-no-portrait .about-copy h2 {
  max-width: 540px;
}

.about.about-no-portrait .about-copy p:not(.eyebrow) {
  max-width: 560px;
}

.about-copy {
  display: grid;
  gap: 20px;
  align-content: center;
}

.about-copy .btn {
  width: fit-content;
}

.about-cta {
  width: fit-content;
}

.about-copy h2 {
  max-width: 430px;
  font-size: clamp(31px, 2.9vw, 46px);
  line-height: 1.02;
}

.about-copy h2 em {
  font-style: italic;
}

.about-copy .small-line {
  width: 58px;
}

.about-copy p:not(.eyebrow) {
  max-width: 420px;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.58;
}

.portrait-panel {
  min-height: clamp(360px, 33vw, 500px);
  height: 100%;
  overflow: hidden;
}

.portrait-panel.is-hidden-for-now {
  display: none;
}

.service-list {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  align-content: center;
}

.service-list article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: clamp(22px, 2.8vw, 34px);
  align-items: center;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.72;
}

.service-list h3 {
  margin: 0 0 9px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.14vw, 18px);
  line-height: 1.56;
}

.signature {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.stats div {
  min-height: 170px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: inline;
  font-family: var(--serif);
  font-size: clamp(46px, 4vw, 74px);
  font-weight: 500;
  line-height: 1;
}

.stats p {
  width: 100%;
  margin: 14px 0 0;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.testimonial {
  --testimonial-height: clamp(230px, 24vw, 310px);
  display: grid;
  grid-template-columns: 0.92fr 1.55fr 0.92fr;
  background: var(--paper);
  align-items: stretch;
}

.testimonial img {
  height: var(--testimonial-height);
}

.testimonial blockquote {
  margin: 0;
  height: var(--testimonial-height);
  padding: clamp(34px, 4vw, 56px) clamp(30px, 5vw, 72px);
  display: grid;
  align-content: center;
  gap: 16px;
}

.testimonial q {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.22;
  quotes: none;
}

.testimonial cite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.testimonial cite::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.52;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 58px);
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  padding: clamp(34px, 4vw, 58px);
  background: rgba(251, 248, 240, 0.72);
  border: 1px solid rgba(21, 20, 17, 0.1);
}

.pricing-kicker {
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.pricing-panel h2 {
  max-width: 520px;
  font-size: clamp(36px, 4vw, 62px);
}

.pricing-panel .small-line {
  width: 58px;
}

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

.pricing-panel li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-panel li span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.18;
}

.pricing-panel li strong {
  text-align: right;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.pricing-panel > p:last-of-type {
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.46;
}

.pricing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-self: stretch;
  width: 100%;
  margin-top: 8px;
}

.pricing-actions .btn {
  width: 100%;
  height: 100%;
  min-height: 54px;
  padding: 0 18px;
  gap: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.pricing-actions .btn-light {
  border-color: rgba(21, 20, 17, 0.18);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  background: #11100d;
  color: var(--white);
}

.contact-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}

.contact-copy h2 {
  max-width: 660px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-copy p {
  color: rgba(255, 250, 241, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 12px;
}

.contact-links a {
  border-bottom: 1px solid rgba(255, 250, 241, 0.5);
  padding-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 0;
  background: rgba(255, 250, 241, 0.06);
  color: var(--white);
  padding: 17px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 250, 241, 0.72);
  background: rgba(255, 250, 241, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: fit-content;
  border: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px clamp(24px, 8vw, 140px);
  background: #11100d;
  color: var(--white);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
}

.footer .brand {
  align-items: flex-start;
}

.footer p {
  margin: 14px 0 8px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 250, 241, 0.62);
}

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

.footer small {
  grid-column: 1 / -1;
  color: rgba(255, 250, 241, 0.55);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.footer small a {
  border-bottom: 1px solid rgba(255, 250, 241, 0.28);
}

.cookie-banner {
  position: fixed;
  right: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 60;
  width: min(430px, calc(100vw - 36px));
  padding: 22px;
  background: rgba(251, 248, 240, 0.96);
  color: var(--ink);
  border: 1px solid rgba(21, 20, 17, 0.12);
  box-shadow: 0 22px 70px rgba(17, 16, 13, 0.18);
  backdrop-filter: blur(16px);
  display: none;
  gap: 18px;
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
}

.cookie-banner div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cookie-banner a,
.cookie-banner button {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.cookie-banner a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}

.cookie-banner button {
  min-height: 42px;
  border: 0;
  padding: 0 18px;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
}

.privacy-page {
  min-height: 100vh;
  padding: clamp(120px, 13vw, 170px) clamp(24px, 9vw, 150px) clamp(72px, 9vw, 120px);
  background: var(--bg);
}

.service-page {
  background: var(--bg);
}

.service-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  padding: clamp(150px, 16vw, 210px) clamp(24px, 8vw, 140px) clamp(72px, 8vw, 112px);
  overflow: hidden;
  color: var(--white);
  background: #191612;
}

.service-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 11, 0.66) 0%, rgba(15, 14, 11, 0.38) 42%, rgba(15, 14, 11, 0.08) 100%),
    linear-gradient(180deg, rgba(15, 14, 11, 0.2) 0%, rgba(15, 14, 11, 0.06) 44%, rgba(15, 14, 11, 0.52) 100%);
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.service-hero-copy h1 {
  color: var(--white);
}

.service-hero-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.34;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.service-section {
  padding: clamp(64px, 8vw, 118px) clamp(24px, 8vw, 140px);
  background: var(--paper);
}

.service-section:nth-of-type(odd) {
  background: var(--bg);
}

.service-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.service-lead h2,
.service-process h2,
.service-final h2 {
  max-width: 560px;
  font-size: clamp(38px, 4.4vw, 68px);
}

.service-text {
  display: grid;
  gap: 18px;
}

.service-text p,
.service-text li,
.service-final p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.52;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list-grid li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-process {
  display: grid;
  gap: 38px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.process-step {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.process-step span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.process-step h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.35;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.service-final {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.thank-you-page {
  min-height: 100vh;
  padding: clamp(110px, 11vw, 158px) clamp(24px, 8vw, 140px) clamp(64px, 8vw, 112px);
  background: var(--bg);
}

.thank-you-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 6vw, 94px);
  align-items: center;
}

.thank-you-copy {
  display: grid;
  gap: 22px;
  max-width: 690px;
}

.thank-you-copy h1 {
  max-width: 680px;
  color: var(--ink);
  text-shadow: none;
}

.thank-you-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.34;
}

.thank-you-copy .small-line {
  width: 62px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 10px;
}

.thank-you-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.thank-you-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-content {
  max-width: 920px;
}

.privacy-content h1 {
  max-width: 760px;
  margin: 16px 0 26px;
  color: var(--ink);
  text-shadow: none;
}

.privacy-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(30px, 3vw, 46px);
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

.privacy-content ul {
  margin: 0;
  padding-left: 22px;
}

.privacy-content .btn {
  margin-top: 28px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-0.8%, -0.6%, 0);
  }
}

@media (max-width: 1180px) {
  .side-rail {
    display: none;
  }

  .topbar,
  main,
  .footer {
    left: 0;
    margin-left: 0;
  }

  .topbar {
    justify-content: space-between;
  }

  .top-brand {
    display: inline-flex;
    align-items: flex-start;
    color: inherit;
  }

  .top-brand .brand-mark {
    font-size: 34px;
  }

  .top-brand .brand-name {
    font-size: 9px;
  }

  .hero-content {
    margin-left: clamp(28px, 8vw, 110px);
  }

  .section-kicker {
    width: 100%;
  }

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

  .intro-grid::before {
    left: 50%;
  }

  .intro-note,
  .service-list {
    grid-column: 1 / -1;
  }

  .about.about-no-portrait .service-list {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    padding: 20px;
    gap: 16px;
  }

  .topbar.is-scrolled {
    padding: 14px 20px;
  }

  .top-brand {
    min-width: 0;
    max-width: calc(100vw - 96px);
  }

  .top-brand .brand-name {
    max-width: 100%;
    white-space: normal;
    letter-spacing: 0.24em;
    line-height: 1.25;
  }

  .menu-toggle {
    flex: 0 0 44px;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 250, 241, 0.42);
    background: rgba(17, 16, 13, 0.22);
    color: currentColor;
  }

  .menu-toggle span {
    width: 20px;
    height: 1px;
    background: currentColor;
  }

  .nav {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    width: auto;
    max-width: calc(100vw - 40px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: rgba(17, 16, 13, 0.94);
    color: var(--white);
    box-shadow: var(--shadow);
  }

  .nav a,
  .lang-btn {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

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

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    min-height: 780px;
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 84px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .btn {
    max-width: 100%;
    min-width: 0;
    padding-inline: 18px;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
  }

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

  .hero .btn {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .intro,
  .projects,
  .about,
  .pricing,
  .contact {
    padding-inline: 20px;
  }

  .intro-grid,
  .project-grid,
  .pricing-grid,
  .thank-you-hero,
  .about,
  .stats,
  .testimonial,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .intro-grid::before {
    display: none;
  }

  .image-link {
    min-height: 300px;
  }

  .project-card a:first-child {
    margin-bottom: 24px;
  }

  .image-link-content {
    left: 26px;
    right: 26px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .about-copy {
    display: contents;
  }

  .about-copy .eyebrow {
    order: 1;
  }

  .about-copy h2 {
    order: 2;
    max-width: 100%;
    font-size: clamp(42px, 13vw, 60px);
  }

  .about-copy .small-line {
    order: 3;
  }

  .about-copy p:not(.eyebrow) {
    order: 4;
    max-width: 100%;
    font-size: clamp(22px, 7vw, 31px);
    line-height: 1.42;
  }

  .service-list {
    order: 5;
    grid-column: auto;
    gap: 26px;
    width: 100%;
  }

  .service-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .service-list h3 {
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .service-list p {
    font-size: 18px;
  }

  .about-cta {
    order: 6;
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    padding: 18px;
  }

  .cookie-banner div {
    display: grid;
    justify-items: start;
    gap: 14px;
  }

  .cookie-banner a,
  .cookie-banner button {
    max-width: 100%;
    min-width: 0;
    letter-spacing: 0.14em;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .pricing-panel {
    padding: 28px 22px;
  }

  .pricing-panel li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-panel li strong {
    text-align: left;
  }

  .portrait-panel {
    height: 360px;
  }

  .stats div {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .testimonial img {
    height: 230px;
  }

  .footer {
    padding-inline: 20px;
  }

  .thank-you-page {
    padding-inline: 20px;
  }

  .service-hero,
  .service-section {
    padding-inline: 20px;
  }

  .service-hero {
    min-height: 700px;
    align-items: end;
  }

  .service-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-lead,
  .service-final,
  .process-grid,
  .service-list-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-image {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
