/* Design tokens */
:root {
  --surface-primary: #F9F6F1;
  --surface-secondary: #C2CDCD;
  --sage-green: #B2BC8C;
  --services-bg: #E4EBE4;
  --canvas-green: #425246;
  --canvas-green-dark: #344238;
  --canvas-text: #F5F0E8;
  --canvas-text-muted: #E8E4D8;
  --card-cream: #F5F0E8;
  --forest-green: #3A4D3F;
  --btn-craft: #E2D6C5;
  --foreground-primary: #1A1A1A;
  --foreground-secondary: #3D3D3D;
  --foreground-muted: #6B6B6B;
  --timeline-dot: #6B6B6B;
  --margin-x: clamp(20px, 5.5vw, 80px);
  --gutter: 24px;
  --section-gap: clamp(64px, 8vw, 96px);
  --max-width: 1280px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --text-h1: 56px;
  --text-h2: 40px;
  --text-h3: 24px;
  --text-quote: 20px;
  --text-body: 16px;
  --text-kicker: 12px;
  --leading-heading: 1.25;
  --leading-body: calc(var(--text-body) * 1.5);
  --tracking-kicker: 0.12em;
  --tracking-nav: 0.03em;
  --radius-card: 16px;
  --transition: 0.25s ease;
  --divider-h: clamp(56px, 5.56vw, 80px);
  --divider-overlap-top: calc(var(--divider-h) * 0.475);
  --divider-overlap-bottom: calc(var(--divider-h) * 0.475);
  --divider-overlap-enter: calc(var(--divider-h) * 0.4375);
  --flipbook-max-width: 1288px;
  --shadow-collage:
    0 4px 8px -2px rgba(0, 0, 0, 0.1),
    0 24px 32px -8px rgba(0, 0, 0, 0.06);
  --shadow-collage-filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1))
    drop-shadow(0 24px 24px rgba(0, 0, 0, 0.06));
  --shadow-collage-hero:
    0 2px 6px -1px rgba(0, 0, 0, 0.08),
    0 12px 18px -5px rgba(0, 0, 0, 0.04);
  --shadow-collage-hero-filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08))
    drop-shadow(0 12px 14px rgba(0, 0, 0, 0.04));
  --shadow-btn: 0 2px 4px rgba(26, 26, 26, 0.09);
  --shadow-btn-filter: drop-shadow(0 2px 4px rgba(26, 26, 26, 0.09));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--foreground-primary);
  background: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
}

p {
  line-height: var(--leading-body);
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - var(--margin-x) * 2, var(--max-width));
  margin-inline: auto;
}

/* Typography helpers */
.eyebrow {
  margin: 0 0 16px;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.eyebrow--center {
  text-align: center;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: var(--leading-heading);
}

.section-subtitle {
  margin: 0;
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

.section-header--center {
  text-align: center;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  border: none;
  border-radius: 0;
  transition: transform var(--transition), opacity var(--transition), filter var(--transition);
}

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

.btn--craft {
  min-height: 52px;
  padding: 18px 36px;
  background-color: transparent;
  background-image: url("../button.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--foreground-primary);
  filter: var(--shadow-btn-filter);
  transition: transform var(--transition), filter var(--transition);
}

.btn--outline {
  min-height: 52px;
  padding: 16px 44px;
  background: transparent;
  border: 1px solid var(--foreground-secondary);
  color: var(--foreground-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  filter: none;
  box-shadow: none;
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn--outline:hover {
  transform: translateY(-1px);
  border-color: var(--foreground-primary);
  color: var(--surface-primary);
  background-color: var(--foreground-primary);
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.18);
}

.btn--craft:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 3px 6px rgba(26, 26, 26, 0.12));
}

.btn--sm {
  min-height: 44px;
  min-width: 120px;
  padding: 12px 24px;
  font-size: 13px;
}

.btn--craft.btn--sm {
  min-height: 48px;
  padding: 15px 28px;
}

.btn--outline.btn--sm {
  min-height: 48px;
  padding: 14px 32px;
  letter-spacing: 0.08em;
}

.btn--text {
  min-height: auto;
  padding: 10px 8px;
  color: var(--foreground-secondary);
  text-transform: lowercase;
}

.btn--text:hover {
  color: var(--foreground-primary);
  transform: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 72px;
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
  min-width: 0;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.header__role {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--foreground-secondary);
  white-space: nowrap;
  transition:
    max-height var(--transition),
    opacity var(--transition),
    visibility var(--transition);
}

.header.is-past-hero .header__role {
  max-height: 24px;
  opacity: 1;
  visibility: visible;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 0;
  transition: margin-right var(--transition);
}

.header.is-past-hero .header__nav {
  margin-right: 24px;
}

.header__nav a {
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--foreground-secondary);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--foreground-primary);
}

.header__cta {
  flex-shrink: 0;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition:
    max-width var(--transition),
    opacity var(--transition),
    padding var(--transition),
    visibility var(--transition),
    filter var(--transition);
}

.header.is-past-hero .header__cta {
  max-width: 220px;
  padding-left: 36px;
  padding-right: 36px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.header.is-open .header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__burger span:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  padding: clamp(12px, 2vw, 20px) 0;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.hero__content {
  max-width: 560px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 500;
  line-height: var(--leading-heading);
}

.hero__subtitle {
  margin: 0 0 64px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground-secondary);
}

.hero__media {
  position: relative;
  width: 100%;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  display: block;
  width: 100%;
  max-width: min(100%, 728px);
  height: auto;
  max-height: clamp(468px, 93.6vh, 988px);
  object-fit: contain;
  object-position: center center;
  filter: var(--shadow-collage-hero-filter);
}

/* Approach */
/* Methods — asymmetric editorial grid */
.methods-section {
  background: #fff;
  border-top: 1px solid rgba(40, 37, 29, 0.09);
  padding: clamp(80px, 10vw, 160px) 0;
}

.methods-section__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
  position: relative;
}


.methods-intro {
  grid-column: 1 / 6;
  position: sticky;
  top: 120px;
  z-index: 2;
}

.methods-eyebrow {
  display: block;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-secondary);
  margin-bottom: 24px;
}

.methods-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: var(--leading-heading);
}

.methods-title em {
  font-style: italic;
}

.methods-lead {
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  max-width: 34ch;
  line-height: var(--leading-body);
}

.methods-list {
  grid-column: 8 / 12;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 7vw, 90px);
  padding-top: calc(24px + 12px * 1.65 + (40px - 24px) * 0.7);
  z-index: 2;
}

.method-item {
  display: flex;
  flex-direction: column;
}

.method-item__title {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  line-height: var(--leading-heading);
  margin: 0 0 24px;
  padding-bottom: 20px;
  position: relative;
}

.method-item__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 200 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,2 Q50,0 100,2 T200,1 L200,3 Q150,4 100,3 T0,3 Z' fill='%2328251d' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.method-item__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  max-width: 48ch;
  line-height: var(--leading-body);
}

.method-item__text + .method-item__text {
  margin-top: 12px;
}

.method-quote {
  font-family: var(--font-serif);
  font-size: var(--text-quote);
  font-style: italic;
  color: var(--foreground-secondary);
  line-height: var(--leading-heading);
  max-width: 32ch;
  margin-top: calc(clamp(64px, 7vw, 90px) * 0.5 - 24px);
}

/* Torn-paper dividers — transparent PNG overlays on section edges (see pencil-new.pen) */
.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  height: var(--divider-h);
  pointer-events: none;
  line-height: 0;
}

.section-divider img {
  display: block;
  width: 100%;
  height: var(--divider-h);
  object-fit: fill;
}

/* cream → colored section (divider-top.png, y: -38 in design) */
.section-divider--top {
  top: 0;
  transform: translateY(calc(var(--divider-overlap-top) * -1));
}

/* colored → cream (divider-bottom.png at section bottom) */
.section-divider--bottom {
  bottom: 0;
  transform: translateY(var(--divider-overlap-bottom));
}

/* gray → cream at FAQ top (divider-bottom.png, y: -35 in design) */
.section-divider--enter {
  top: 0;
  transform: translateY(calc(var(--divider-overlap-enter) * -1));
}

/* Services */
.services {
  position: relative;
  background: linear-gradient(90deg, var(--canvas-green-dark) 0%, var(--canvas-green) 100%);
  overflow: visible;
  --services-header-gap: 64px;
  --services-card-padding: 32px;
  --services-title-photo-gap: 24px;
  --services-photo-text-gap: 24px;
  --services-actions-gap: 32px;
  --services-h2-leading: 1.2;
  --services-h3-leading: 1.3;
  --services-kicker-tracking: 0.02em;
  --services-ui-text: 14px;
  --services-eyebrow-gap: 16px;
  --services-branch-offset: calc(
    var(--leading-body)
    + var(--services-eyebrow-gap)
    + (var(--text-h2) * var(--services-h2-leading) - var(--text-h2)) / 2
    + var(--text-h2) * 0.76
    - 20px
  );
}

.services__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2vw, 24px);
  row-gap: 0;
  padding: clamp(72px, 9vw, 140px) 0 clamp(80px, 10vw, 140px);
  align-items: start;
  overflow: visible;
}

.services__branch-col {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  pointer-events: none;
  overflow: visible;
}

.services__branch {
  width: clamp(200px, 24vw, 360px);
  height: auto;
  max-height: 80%;
  margin-top: var(--services-branch-offset);
  margin-left: clamp(-48px, -5vw, -24px);
  object-fit: contain;
  object-position: top left;
  mix-blend-mode: screen;
  filter: var(--shadow-collage-filter);
}

.services__header {
  grid-column: 4 / -1;
  grid-row: 1;
  margin-bottom: var(--services-header-gap);
  text-align: left;
}

.services__eyebrow {
  margin: 0 0 var(--services-eyebrow-gap);
  font-family: var(--font-sans);
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--services-kicker-tracking);
  text-transform: uppercase;
  color: var(--canvas-text-muted);
}

.services__heading {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: var(--services-h2-leading);
  color: var(--canvas-text);
}

.services__cards {
  grid-column: 4 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  align-items: stretch;
  min-width: 0;
}

.service-card--offset {
  transform: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  height: 100%;
  padding: var(--services-card-padding);
  background: #fff;
  border-radius: 0;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.16),
    0 3px 5px rgba(26, 26, 26, 0.14),
    0 6px 10px rgba(26, 26, 26, 0.1);
  transition:
    box-shadow var(--transition),
    background-color var(--transition);
}

.service-card:hover {
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 28px 48px rgba(0, 0, 0, 0.2);
}

.service-card:focus-visible {
  outline: 2px solid var(--canvas-text);
  outline-offset: 4px;
}

.service-card:active {
  transform: none;
}

.service-card:hover .service-card__img-frame {
  background: rgba(26, 26, 26, 0.09);
  border-color: rgba(26, 26, 26, 0.14);
}

.service-card:hover .service-card__title {
  color: var(--forest-green);
}

.service-card .btn:hover {
  transform: none;
}

.service-card__img-frame {
  width: 100%;
  height: clamp(120px, 14vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(26, 26, 26, 0.06);
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 0;
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.service-card__img-frame--photo {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 0 var(--services-photo-text-gap);
  overflow: visible;
  background: none;
  border: 0;
}

.service-card__img-frame--photo .service-card__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__title {
  margin: 0 0 var(--services-title-photo-gap);
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: var(--services-h3-leading);
  transition: color var(--transition);
}

.service-card__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

.service-card__text + .service-card__text {
  margin-top: 16px;
}

.service-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: var(--services-actions-gap);
}

.service-card .btn,
.service-card .btn--sm,
.service-card__details {
  font-family: var(--font-sans);
  font-size: var(--services-ui-text);
  font-weight: 500;
}

.service-card .btn--sm {
  min-height: 48px;
  padding: 15px 28px;
}

.service-card--individual,
.service-card--group {
  cursor: pointer;
}

.service-card__details {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--services-ui-text);
  font-weight: 500;
}

/* Service detail modal */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-modal[hidden] {
  display: none;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-modal.is-open .service-modal__backdrop {
  opacity: 1;
}

.service-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--surface-primary);
  padding: clamp(24px, 4vw, 48px);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-modal__panel {
  opacity: 1;
  transform: translateY(0);
}

.service-modal__close {
  position: fixed;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--foreground-primary);
  cursor: pointer;
}

.service-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  max-width: 1200px;
  min-height: calc(100vh - clamp(48px, 8vw, 96px));
  margin: clamp(48px, 8vw, 80px) auto 0;
  align-items: start;
}

.service-modal__gallery {
  position: sticky;
  top: clamp(48px, 8vw, 80px);
}

.service-modal__gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.service-modal__gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-modal__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 18px;
  cursor: pointer;
}

.service-modal__gallery-nav--prev {
  left: 12px;
}

.service-modal__gallery-nav--next {
  right: 12px;
}

.service-modal__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.service-modal__thumb {
  flex: 0 0 64px;
  width: 64px;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.service-modal__thumb.is-active {
  border-color: var(--foreground-primary);
}

.service-modal__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal__title {
  margin: 0 0 32px;
  font-family: var(--font-sans);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: var(--leading-heading);
}

.service-modal__price {
  margin: 0 0 32px;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  color: var(--foreground-primary);
  letter-spacing: 0.02em;
}

.service-modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: clamp(24px, 4vw, 36px);
  border-bottom: 1px solid rgba(40, 37, 29, 0.12);
}

.service-modal__tab {
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--foreground-secondary);
  cursor: pointer;
  margin-bottom: -1px;
}

.service-modal__tab.is-active {
  color: var(--foreground-primary);
  border-bottom-color: var(--foreground-primary);
}

.service-modal__panel {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--foreground-secondary);
  padding-left: 0;
}

.service-modal__panel p {
  margin: 0 0 16px;
  padding-left: 0;
}

.service-modal__lead {
  margin-bottom: 20px !important;
  color: var(--foreground-primary);
}

.service-modal__note {
  margin-top: 24px !important;
}

.service-modal__fine {
  margin-top: 24px !important;
  font-size: 14px;
}

.service-modal__list {
  margin: 0 0 16px;
  padding-left: 0;
  list-style-position: inside;
}

.service-modal__list li {
  margin-bottom: 8px;
  padding-left: 0;
}

.service-modal__steps {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.service-modal__steps li {
  margin-bottom: 16px;
}

body.is-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .service-modal,
  .service-modal__backdrop,
  .service-modal__panel {
    transition: none;
  }
}

@media (max-width: 900px) {
  .service-modal__layout {
    grid-template-columns: 1fr;
  }

  .service-modal__gallery {
    position: static;
  }
}

.services__cta {
  grid-column: 4 / -1;
  grid-row: 3;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.services__cta-text {
  margin: 0;
  max-width: 35ch;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  color: var(--canvas-text);
  line-height: var(--leading-body);
}

.services__cta .btn--outline {
  border-color: var(--canvas-text);
  color: var(--canvas-text);
}

.services__cta .btn--outline:hover {
  border-color: var(--canvas-text);
  color: var(--canvas-green);
  background-color: var(--canvas-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* About + Education */
.about-education {
  padding: 0 0 clamp(64px, 7vw, 96px);
}

.about-postcard-scene {
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 96px);
  background-color: var(--surface-primary);
}

.postcard-portfolio {
  width: 100%;
}

.about-postcard {
  position: relative;
  width: 100%;
  background-color: #faf8f4;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.85) 0, transparent 36%),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.012) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(180deg, #fcfbf8 0%, #f6f2ea 100%);
  box-shadow: var(--shadow-collage-hero);
}

.about-postcard--top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) clamp(44px, 5vw, 56px);
  border-radius: 3px 3px 0 0;
}

.about-postcard--education {
  display: block;
  padding: clamp(44px, 5vw, 56px) clamp(28px, 4vw, 44px) clamp(56px, 8vw, 192px);
  border-radius: 0 0 3px 3px;
}

.postcard-holes {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 18%;
  pointer-events: none;
}

.postcard-holes--bottom {
  bottom: 14px;
}

.postcard-holes--top {
  top: 14px;
}

.postcard-holes span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface-primary);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.postcard-binders {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 64%;
  margin: -36px auto;
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.postcard-binder {
  display: block;
  width: clamp(16px, 2.2vw, 22px);
  height: auto;
  aspect-ratio: 18 / 91;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

.about-postcard__content {
  display: flex;
  flex-direction: column;
  padding: clamp(8px, 1.5vw, 16px) clamp(4px, 1vw, 12px);
}

.about-postcard__photo-wrap {
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.about-postcard__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 48vw, 580px);
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.about-postcard--education .education__title {
  margin-top: 8px;
}

.education__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 5vw, 64px) 24px;
  align-items: start;
}

.education__story {
  grid-column: 1 / 6;
}

.education__story-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground-secondary);
}

.timeline--credentials {
  grid-column: 7 / 13;
}

.about__greeting {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: var(--foreground-primary);
}

.about__title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 3px;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.about__text p {
  margin: 0 0 16px;
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.education__title {
  margin: 0 0 89px;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 3px;
  line-height: var(--leading-heading);
  text-align: left;
  color: var(--foreground-primary);
}

.education__label {
  margin: 0;
  padding: 20px 0 8px;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-muted);
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 88px 20px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
}

.timeline__item--last {
  padding-bottom: 0;
}

.timeline__item--label {
  padding-bottom: 0;
}

.timeline__year {
  padding-top: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: right;
  color: var(--foreground-muted);
}

.timeline__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  width: 20px;
}

.timeline__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--foreground-secondary);
}

.timeline__line {
  flex: 1;
  width: 1px;
  min-height: 28px;
  margin-top: 0;
  background: rgba(61, 61, 61, 0.27);
}

.timeline__text {
  margin: 0;
  padding-bottom: 4px;
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

/* Gallery */
.gallery {
  position: relative;
  background: linear-gradient(to top right, #cdd5d5 0%, var(--surface-secondary) 45%, #a8b4b4 100%);
  padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 11vw, 160px);
}

.gallery .container {
  width: min(100% - var(--margin-x) * 2, var(--flipbook-max-width));
}

.gallery__header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(80px, 11vw, 120px);
  text-align: center;
}

.gallery__scissors {
  position: absolute;
  top: -20px;
  right: clamp(-20px, -2vw, 40px);
  width: clamp(200px, 24vw, 320px);
  transform: scaleX(-1);
  pointer-events: none;
  user-select: none;
  opacity: 0.88;
  filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.35));
}

.gallery__eyebrow {
  margin: 0;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.gallery__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.gallery__subtitle {
  margin: 0;
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: var(--text-quote);
  font-style: italic;
  font-weight: 400;
  color: var(--foreground-secondary);
  line-height: var(--leading-heading);
}

/* Flipbook gallery */
.flipbook {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.flipbook__stage {
  position: relative;
  width: min(100%, var(--flipbook-max-width));
}

.flipbook__bookmarks {
  position: absolute;
  top: 0;
  left: clamp(16px, 4vw, 48px);
  z-index: 40;
  display: flex;
  flex-direction: row;
  gap: 4px;
  transform: translateY(-100%);
  padding-bottom: 0;
  pointer-events: none;
}

.flipbook__bookmark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  pointer-events: all;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: lowercase;
  color: rgba(26, 26, 26, 0.55);
  white-space: nowrap;
  opacity: 0.75;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
  transition:
    opacity var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.flipbook__bookmark--works {
  background: #E2D6C5;
}

.flipbook__bookmark--mk {
  background: #B2BC8C;
}

.flipbook__bookmark:hover {
  opacity: 1;
  color: rgba(26, 26, 26, 0.82);
  box-shadow: 0 -5px 16px rgba(0, 0, 0, 0.18);
  padding: 0 22px;
}

.flipbook__bookmark.is-active {
  opacity: 1;
  color: rgba(26, 26, 26, 0.9);
  font-weight: 600;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.12);
}

.flipbook__book {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  perspective: 2400px;
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: var(--shadow-collage-hero);
}

.flipbook__page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.flipbook__page--left {
  left: 0;
  border-radius: 6px 0 0 6px;
  box-shadow: inset -12px 0 24px rgba(26, 26, 26, 0.06);
}

.flipbook__page--right {
  right: 0;
  border-radius: 0 6px 6px 0;
}

.flipbook__under {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.flipbook__page--left.is-behind-flipper,
.flipbook__under.is-behind-flipper {
  visibility: hidden;
}

.flipbook__gutter {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: 28px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.1) 0%,
    rgba(26, 26, 26, 0.02) 35%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(26, 26, 26, 0.02) 65%,
    rgba(26, 26, 26, 0.08) 100%
  );
  pointer-events: none;
}

.flipbook__flipper {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.645, 0.045, 0.355, 1);
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}

.flipbook__flipper.is-live {
  visibility: visible;
  pointer-events: auto;
}

.flipbook__flipper--back {
  right: auto;
  left: 0;
  transform-origin: right center;
}

.flipbook__flipper.is-turned {
  transform: rotateY(-180deg);
}

.flipbook__flipper--back.is-turned {
  transform: rotateY(180deg);
}

.flipbook__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  transform: translateZ(1px);
}

.flipbook__face--back {
  transform: rotateY(180deg) translateZ(1px);
}

.flipbook__hotspot {
  position: absolute;
  bottom: 0;
  z-index: 30;
  width: clamp(80px, 16vw, 140px);
  height: clamp(80px, 16vw, 140px);
  cursor: pointer;
  transition: background var(--transition), filter var(--transition), transform var(--transition);
}

.flipbook__hotspot--next {
  right: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(26, 26, 26, 0.07) 48%, rgba(26, 26, 26, 0.15) 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.flipbook__hotspot--next:hover:not(:disabled) {
  background:
    linear-gradient(135deg, transparent 48%, rgba(26, 26, 26, 0.18) 48%, rgba(26, 26, 26, 0.36) 100%);
  filter: drop-shadow(-3px -3px 8px rgba(0, 0, 0, 0.18));
}

.flipbook__hotspot--prev {
  left: 0;
  background:
    linear-gradient(225deg, transparent 48%, rgba(26, 26, 26, 0.07) 48%, rgba(26, 26, 26, 0.15) 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.flipbook__hotspot--prev:hover:not(:disabled) {
  background:
    linear-gradient(225deg, transparent 48%, rgba(26, 26, 26, 0.18) 48%, rgba(26, 26, 26, 0.36) 100%);
  filter: drop-shadow(3px -3px 8px rgba(0, 0, 0, 0.18));
}

.flipbook__hotspot:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

.flipbook-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.flipbook-page--intro,
.flipbook-page--section {
  justify-content: center;
  gap: 16px;
}

.flipbook-page__eyebrow {
  margin: 0;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.flipbook-page__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: var(--leading-heading);
}

.flipbook-page__text {
  margin: 0;
  max-width: 34ch;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--foreground-secondary);
}

.flipbook-page__hint {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: var(--foreground-muted);
}

.flipbook-page--image {
  padding: 0;
}

.flipbook-page__figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.flipbook-page__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flipbook-page__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.72) 100%);
}

.flipbook-page--placeholder {
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(245, 240, 232, 0.9) 0%, rgba(226, 214, 197, 0.45) 100%);
}

.flipbook-page__placeholder-label {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  text-align: center;
  color: var(--foreground-muted);
}

.flipbook-page--empty {
  background: #fafafa;
}

.flipbook__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(40%, calc(var(--flipbook-max-width) * 0.40));
}

.flipbook__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--foreground-primary);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
  transition:
    background var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.flipbook__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.flipbook__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.flipbook__progress {
  flex: 1;
  height: 4px;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.12);
  border-radius: 999px;
}

.flipbook__progress-fill {
  width: 25%;
  height: 100%;
  background: var(--foreground-primary);
  border-radius: inherit;
  transition: width 0.4s ease;
}

.flipbook__counter {
  flex-shrink: 0;
  min-width: 3.5em;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--foreground-muted);
}

@media (max-width: 640px) {
  .flipbook__stage {
    width: 100%;
  }

  .flipbook__book {
    aspect-ratio: 4 / 5;
  }

  .flipbook__page--left {
    display: none;
  }

  .flipbook__page--right,
  .flipbook__flipper {
    width: 100%;
  }

  .flipbook__flipper {
    transform-origin: left center;
  }

  .flipbook__flipper--back {
    transform-origin: right center;
  }

  .flipbook__gutter {
    display: none;
  }

  .flipbook-page {
    padding: clamp(16px, 4vw, 24px);
  }

  .flipbook-page--image {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flipbook__flipper {
    transition: none;
  }

  .flipbook__progress-fill {
    transition: none;
  }
}

/* FAQ */
.faq {
  position: relative;
  background: var(--surface-primary);
  padding: clamp(80px, 10vw, 160px) 0 clamp(96px, 14vw, 208px);
  --faq-eyebrow-gap: 24px;
  --faq-header-gap: 32px;
  --faq-divider-strong: rgba(0, 0, 0, 0.1);
  --faq-divider-soft: rgba(0, 0, 0, 0.1);
  --faq-answer-color: #555555;
  --faq-motion: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq > .container {
  display: block;
  width: min(100% - var(--margin-x) * 2, var(--max-width));
}

.faq__intro {
  display: block;
  width: 100%;
  margin-bottom: 0;
  text-align: left;
}

.faq__eyebrow {
  display: block;
  margin: 0 0 var(--faq-eyebrow-gap);
  font-family: var(--font-sans);
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-secondary);
}

.faq__heading {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.faq__subtitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

.accordion {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: var(--faq-header-gap);
  border-top: 1px solid var(--faq-divider-strong);
}

.accordion__item {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-bottom: 1px solid var(--faq-divider-soft);
  border-radius: 0;
  background: none;
}

.accordion__item[open] {
  background: none;
}

.accordion__item:first-child .accordion__question {
  padding-top: 64px;
}

.accordion__question {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 32px 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--foreground-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.accordion__question::-webkit-details-marker {
  display: none;
}

.accordion__question::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  color: var(--foreground-primary);
  background: none;
  mask: none;
  -webkit-mask: none;
  transition: none;
}

.accordion__item[open] .accordion__question::after {
  content: "−";
  transform: none;
}

.accordion__answer {
  height: 0;
  overflow: hidden;
  transition: height var(--faq-motion);
}

.accordion__item[open] .accordion__answer {
  height: auto;
}

.accordion__answer-inner {
  overflow: hidden;
  max-width: 100%;
  padding: 16px 0 32px;
}

.accordion__answer p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--faq-answer-color);
  line-height: 1.5;
}

.accordion__answer p + p {
  margin-top: 16px;
}

/* Contact */
.contact {
  position: relative;
  background: var(--sage-green);
  padding: clamp(64px, 7vw, 96px) 0 clamp(80px, 11vw, 160px);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.contact__step {
  margin: 0;
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--foreground-primary);
}

.contact__tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-quote);
  font-style: italic;
  font-weight: 400;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.contact__deco {
  position: absolute;
  top: 24px;
  right: max(var(--margin-x), calc(50% - 640px));
  width: clamp(140px, 15vw, 220px);
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.contact__card {
  padding: clamp(40px, 5vw, 56px) clamp(32px, 4.5vw, 64px);
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
}

.contact__card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.contact__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--foreground-secondary);
  line-height: var(--leading-body);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-shrink: 0;
  min-width: min(100%, 280px);
}

.contact__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__block-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  line-height: var(--leading-heading);
  color: var(--foreground-primary);
}

.contact__block-desc {
  margin: 0;
  font-size: 14px;
  line-height: var(--leading-body);
  color: var(--foreground-muted);
}

.contact__meta-note {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--foreground-muted);
}

.contact__social {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__social--channels {
  gap: 28px;
}

.contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.contact__social-link:hover {
  color: var(--foreground-primary);
}

.contact__social-icon {
  color: var(--foreground-secondary);
}

.contact__social-vk {
  font-size: var(--text-body);
  font-weight: 600;
  line-height: var(--leading-body);
  color: var(--foreground-secondary);
}

/* Site footer */
.site-footer {
  background: var(--forest-green);
  color: rgba(249, 246, 241, 0.88);
  padding: 32px 0 48px;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__info p {
  margin: 0 0 4px;
  font-size: 14px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
}

.site-footer__nav a {
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.site-footer__nav a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .methods-section__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .methods-intro,
  .methods-list {
    grid-column: 1 / -1;
    position: static;
  }

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

  .education__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .education__story,
  .timeline--credentials {
    grid-column: 1 / -1;
  }

  .about-postcard__photo-wrap {
    width: 100%;
  }

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

  .hero__content {
    padding-top: 0;
  }

  .hero__media {
    order: -1;
    width: 100%;
    margin-inline: 0;
    justify-self: stretch;
  }

  .hero__image {
    max-height: clamp(364px, 67.6vh, 676px);
  }

  .timeline__item {
    grid-template-columns: 72px 20px minmax(0, 1fr);
    gap: 12px;
  }

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

  .services__branch-col {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    align-items: flex-start;
  }

  .services__branch {
    width: clamp(140px, 32vw, 220px);
    max-height: none;
    margin-top: 0;
    margin-left: 0;
  }

  .services__header {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }

  .services__cards {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
  }

  .service-card--offset {
    transform: none;
  }

  .services__cta {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services__cta-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--margin-x) 24px;
    background: var(--surface-primary);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .header.is-open .header__nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  }

  .header__cta {
    display: none;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .contact__card-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .contact__actions {
    align-items: stretch;
    width: 100%;
  }

  .contact__social {
    justify-content: center;
  }

  .contact__deco {
    width: clamp(100px, 28vw, 160px);
    top: 12px;
    right: var(--margin-x);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
