:root {
  --brand: #c92a2a;
  --paper: #faf9f6;
  --ink: #242421;
  --muted: #62615c;
  --header-height: 106px;
  font-family: 'Cormorant', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
.page-loader { display: none; }
.is-loading { overflow: hidden; }
.is-loading body > :not(.page-loader):not(script) { visibility: hidden; }
.is-loading .page-loader, .is-loaded .page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
  transition: opacity 450ms ease, visibility 450ms;
}
.is-loaded .page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-mark { width: 64px; height: 94px; overflow: visible; color: #c8a86b; }
.page-loader-bar { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .page-loader-bar { animation: pillar-drop 1600ms cubic-bezier(0.22, 1, 0.36, 1) infinite; animation-delay: var(--bar-delay, 0ms); animation-fill-mode: backwards; }
  .page-loader-bar--horizontal { animation-name: pillar-slide; }
  @keyframes pillar-slide {
    0%, 8% { opacity: 0; transform: translateX(-38px); }
    38%, 78% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(0); }
  }
  @keyframes pillar-drop {
    0%, 8% { opacity: 0; transform: translateY(-32px); }
    38%, 78% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-loading .page-loader, .is-loaded .page-loader { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .scroll-reveal.is-revealed { opacity: 1; transform: none; }
}
body { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { opacity: 1; cursor: default; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.skip-link { position: absolute; left: 24px; top: -80px; z-index: 5; padding: 12px 20px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding-inline: 3.25%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: inherit; text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 36px; height: 48px; color: #c8a86b; }
.brand-wordmark { display: flex; flex-direction: column; gap: 7px; }
.brand-name { font: 700 22px/1 Georgia, 'Times New Roman', serif; letter-spacing: 0.025em; text-transform: uppercase; white-space: nowrap; }
.brand-title { font: 500 9px/1.2 Arial, sans-serif; letter-spacing: 0.33em; text-transform: uppercase; white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: 46px; height: 100%; }
.menu-toggle { display: none; }
.nav-link { position: relative; padding: 10px 0; border: 0; background: none; font-size: 21px; font-weight: 600; }
.nav-link:disabled { color: var(--muted); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--brand); }
.overlay-header:not(.is-scrolled) { background: transparent; color: #fff; }
.overlay-header:not(.is-scrolled) .nav-link.active { color: inherit; }
.overlay-header:not(.is-scrolled) .nav-link.active::after { background: currentColor; }
.site-header.overlay-header.has-menu .menu-toggle { color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .overlay-header { transition: background-color 450ms cubic-bezier(0.22, 1, 0.36, 1), color 450ms ease; }
  .overlay-header .nav-link.active { transition: color 450ms ease; }
  .overlay-header .nav-link.active::after { transition: background-color 450ms ease; }
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  padding: 132px 3.25% 70px;
  background: var(--brand);
  color: var(--paper);
}
.hero-portrait { position: absolute; inset: 0; margin: 0; z-index: -2; background: #444; }
.hero-portrait img { position: absolute; top: 0; right: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 30%, rgb(201 42 42 / 95%) 40%, rgb(201 42 42 / 60%) 52%, rgb(201 42 42 / 15%) 65%, transparent 78%);
}
.hero-content { width: 52%; max-width: 800px; }
.hero-award { display: none; }
h1 { margin: 0; font-size: clamp(52px, 4.5vw, 78px); font-weight: 500; letter-spacing: -1.6px; line-height: 1.06; text-transform: uppercase; text-wrap: balance; }
.hero-description { max-width: 570px; margin: 30px 0 36px; font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; border-radius: 3px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.button-primary { padding: 18px 24px; background: var(--paper); color: var(--brand); border: 1px solid var(--paper); }
.button-secondary { padding: 10px 0; color: var(--paper); border: 0; border-bottom: 1px solid rgb(250 249 246 / 65%); border-radius: 0; background: transparent; }
.button span { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.hero-actions .hero-label-desktop, .hero-actions .hero-label-mobile { font: inherit; }
.hero-label-mobile { display: none; }
@media (max-width: 1100px) {
  :root { --header-height: 90px; }
  .site-header { padding-inline: 28px; }
  .hero { padding-top: 132px; padding-bottom: 70px; }
  .hero-content { width: 52%; }
  h1 { font-size: clamp(48px, 5.1vw, 60px); }
  .hero-description { max-width: 450px; font-size: 23px; }
}
@media (max-width: 720px) {
  :root { --header-height: 80px; }
  .site-header { padding-inline: 20px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand-mark { width: 28px; height: 39px; }
  .site-header .brand-name { font-size: 18px; }
  .site-header .brand-title { font-size: 8px; letter-spacing: 0.25em; }
  .navigation { gap: 22px; }
  .site-header.has-menu .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.has-menu .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    padding: 14px 20px 20px;
    background: #fff;
    box-shadow: 0 12px 18px rgb(0 0 0 / 10%);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .site-header.has-menu .navigation.is-open { display: flex; }
  .overlay-header .navigation { color: var(--ink); }
  .overlay-header:not(.is-scrolled) .navigation .nav-link.active { color: var(--brand); }
  .site-header.has-menu .nav-link { padding: 12px 0; }
  .nav-link { font-size: 18px; }
  .hero { align-items: stretch; min-height: 100svh; padding: calc(var(--header-height) + 120px) 6% 32px; }
  .hero-portrait { inset: 0; height: auto; background: var(--brand); }
  .hero-portrait img { top: 0; bottom: 0; height: 100%; object-fit: cover; object-position: 73% top; }
  .hero::before { background: linear-gradient(to bottom, rgb(0 0 0 / 85%) var(--header-height), rgb(0 0 0 / 55%) 35%, transparent 62%, rgb(0 0 0 / 85%) 100%); }
  .hero-content { width: 100%; max-width: none; display: flex; flex-direction: column; justify-content: flex-start; gap: 64px; }
  .hero-heading { text-align: left; }
  .hero-award { display: flex; align-items: center; gap: 16px; margin: 0; color: #e6c681; }
  .hero-award-icon { flex: 0 0 40px; width: 40px; height: 48px; }
  .hero-award-title { margin: 0; color: #fff; font-size: clamp(22px, 6vw, 28px); font-weight: 600; line-height: 1.1; }
  .hero-award-year { margin: 2px 0 0; color: #fff; font-size: 28px; line-height: 1.2; }
  h1 { font-size: clamp(41px, 7.2vw, 54px); letter-spacing: -1px; }
  .hero-description { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .button { justify-content: center; min-height: 48px; padding: 12px 6px; gap: 0; font-size: clamp(16px, 4.2vw, 20px); text-align: center; white-space: nowrap; }
  .hero-actions .button-primary { border-color: var(--brand); background: var(--brand); color: #fff; }
  .hero-actions .button-secondary { border: 1px solid #fff; border-radius: 3px; background: #fff; color: var(--brand); }
  .hero-actions .hero-label-desktop, .hero-actions .hero-action-arrow { display: none; }
  .hero-actions .hero-label-mobile { display: inline; }
  .button { font-size: 19px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 15px; }
  .navigation { gap: 15px; }
  .nav-link { font-size: 17px; }
  .site-header .brand-name { font-size: 16px; }
  .site-header .brand-title { font-size: 7px; }
  h1 { font-size: 38px; }
}

.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.35fr);
  gap: clamp(40px, 5vw, 90px);
  padding: 100px max(6%, calc((100vw - 1400px) / 2));
  background: var(--paper);
  scroll-margin-top: 110px;
}
.about-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 40px 0 0 auto;
  width: 23%;
  background: url('../media/homepage/about.png') right top / auto 400% no-repeat;
  opacity: 0.055;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.about-portrait { position: relative; margin: 0; align-self: stretch; }
.about-portrait::before { content: ''; position: absolute; z-index: -1; top: -15px; left: -15px; width: 115px; height: 115px; background: var(--brand); border-radius: 3px; }
.about-portrait img { display: block; width: 100%; height: 100%; max-height: 640px; min-height: 510px; object-fit: cover; object-position: center 25%; border-radius: 5px; }
.about-content { align-self: center; padding-block: 14px; }
.about-content h2 { margin: 0; font-size: clamp(38px, 3.4vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -1px; }
.about-content h2 span { color: var(--brand); }
.about-role { margin: 5px 0 22px; font-size: 28px; font-style: italic; color: var(--muted); }
.about-description { margin: 0; max-width: 620px; font-size: 22px; line-height: 1.5; font-weight: 500; }
.statistics { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin: 32px 0 38px; }
.statistic { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-left: 1px solid #c92a2a55; padding-left: 20px; }
.statistic dt { font-size: 20px; line-height: 1.25; font-weight: 500; }
.statistic dd { margin: 0 0 3px; color: var(--brand); font-size: 49px; line-height: 1; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.stat-count { display: none; }
.is-counting .stat-count { display: inline; }
.is-counting .stat-total { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.about-actions { display: flex; flex-wrap: wrap; gap: 20px; }
.about-primary, .about-secondary { justify-content: center; padding: 14px 28px; min-width: 190px; }
.about-primary { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.about-secondary { background: transparent; color: var(--ink); border: 1px solid var(--muted); }
.about-secondary:hover { color: var(--brand); border-color: var(--brand); }
.carousel-controls { display: none; }
.practice-contact { display: none; }
@media (max-width: 1000px) {
  .about-section { gap: 35px; padding: 75px 5%; grid-template-columns: 0.85fr 1.15fr; }
  .about-description { font-size: 20px; }
  .statistics { gap: 26px 20px; }
  .statistic { padding-left: 12px; }
  .statistic dt { font-size: 18px; }
  .statistic dd { font-size: 43px; }
}
@media (max-width: 720px) {
  .about-section { grid-template-columns: 1fr; gap: 34px; padding: 64px 6%; }
  .about-portrait { display: none; }
  .about-content { padding: 0; min-width: 0; }
  .about-content h2 { font-size: 40px; }
  .about-role { font-size: 25px; }
  .about-section::after { display: none; }
  .about-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .about-primary, .about-secondary { min-width: 0; padding: 14px 8px; font-size: 18px; text-align: center; }
  .practice-grid::-webkit-scrollbar { display: none; }
  .carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; }
  .carousel-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c9c5bc; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
  .carousel-arrow svg { width: 20px; height: 20px; }
  .carousel-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
  .carousel-arrow:disabled { opacity: 0.35; cursor: default; }
  .carousel-position { min-width: 52px; text-align: center; font: 500 16px/1.2 Georgia, serif; font-variant-numeric: tabular-nums; }
}

.practice-section {
  position: relative;
  padding: 95px 6% 105px;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(rgb(12 13 15 / 67%), rgb(12 13 15 / 72%)), url('../media/homepage/services.png') center 45% / cover no-repeat;
  scroll-margin-top: 106px;
}
.practice-heading { text-align: center; max-width: 700px; margin: 0 auto 58px; }
.practice-heading h2, .services-page h2, .profile-page h2 {
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
}
.practice-heading h2 { margin: 0 0 18px; }
.practice-heading p { margin: 0; font-size: 23px; line-height: 1.5; }
.practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 1440px; margin-inline: auto; }
.practice-card { position: relative; padding: 30px 26px 32px; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 30%); border-radius: 3px; }
.practice-card::before { content: ''; position: absolute; width: 76px; height: 76px; border: 0 solid var(--brand); pointer-events: none; }
.practice-card:nth-child(odd)::before { top: -1px; left: -1px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 3px; }
.practice-card:nth-child(even)::before { bottom: -1px; right: -1px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 3px; }
.practice-number { display: block; margin-bottom: 40px; font-size: 21px; font-weight: 500; letter-spacing: 2px; color: #fff; }
.practice-card h3 { margin: 0 0 16px; font-size: clamp(28px, 2.2vw, 36px); line-height: 1.1; font-weight: 600; }
.practice-card p { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 500; }
@media (max-width: 1100px) {
  .practice-section { padding: 80px 5%; scroll-margin-top: 90px; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-number { margin-bottom: 28px; }
}
@media (max-width: 720px) {
  .practice-section { min-height: 0; padding: 40px 6%; scroll-margin-top: 80px; }
  .practice-heading { width: 100%; margin: 0 0 24px; text-align: left; }
  .practice-heading h2 { margin-bottom: 0; }
  .practice-heading p { display: none; }
  .practice-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .practice-grid.is-sliding { scroll-snap-type: none; }
  .practice-card { padding: 25px; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .practice-card:nth-child(n)::before { inset: -1px auto auto -1px; border-width: 3px 0 0 3px; border-radius: 3px 0 0; }
  .practice-card::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 76px; height: 76px; border: solid var(--brand); border-width: 0 3px 3px 0; border-radius: 0 0 3px; pointer-events: none; }
  .practice-card h3 { font-size: 32px; }
  .practice-card p { font-size: 21px; }
  .practice-number { margin-bottom: 22px; }
  .practice-section .carousel-arrow { background: rgb(12 13 15 / 50%); border-color: rgb(255 255 255 / 65%); color: #fff; }
  .practice-section .carousel-arrow:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--ink); }
  .practice-section .carousel-controls { margin-top: 18px; }
  .practice-section .practice-actions { justify-content: flex-start; gap: 10px; margin-top: 24px; }
  .practice-section .practice-actions .button { flex: 1; min-width: 0; justify-content: center; padding: 14px 8px; font-size: 18px; text-align: center; }
  .practice-section .practice-actions .practice-contact { display: inline-flex; border: 0; background: #fff; color: var(--brand); cursor: pointer; }
}

.practice-actions { display: flex; justify-content: center; margin-top: 40px; }
.practice-actions .button { border-color: var(--brand); }
.consultation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 7vw, 120px);
  padding: 100px max(6%, calc((100vw - 1400px) / 2));
  background: var(--paper);
  scroll-margin-top: 106px;
}
.consultation-intro { padding-top: 15px; }
.consultation-intro h2 { margin: 0 0 25px; font-size: clamp(43px, 4vw, 62px); font-weight: 500; letter-spacing: -1.2px; line-height: 1.08; }
.consultation-intro h2 span { color: var(--brand); font-style: italic; }
.consultation-intro > p { max-width: 410px; margin: 0; font-size: 25px; line-height: 1.5; }
.consultation-quote { max-width: 410px; margin: 38px 0 0; }
.consultation-quote p { margin: 0; font-size: clamp(27px, 2.5vw, 35px); font-style: italic; line-height: 1.35; color: var(--ink); }
.consultation-quote-mark { display: block; height: 65px; color: var(--brand); font-family: Georgia, serif; font-size: 112px; line-height: 1; }
.consultation-quote-mark-close { height: 56px; margin-top: 10px; text-align: right; }
.consultation-form { padding: 38px; background: #fff; border: 0; border-radius: 3px; align-self: start; }
.consultation-form > h3 { margin: 0 0 8px; font-size: 33px; font-weight: 600; line-height: 1.15; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.other-practice-field { margin-top: 22px; }
.other-practice-field[hidden] { display: none; }
.form-field label { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.form-field label > span:not(.optional):not(.form-copy-desktop):not(.form-copy-mobile) { color: var(--brand); }
.optional { font-weight: 400; font-size: 17px; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcb9b2;
  border-radius: 2px;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #77746d; opacity: 1; }
.form-field select:invalid { color: #77746d; }
.form-field select option { color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.consultation-submit { justify-content: center; flex: 1; padding: 17px 20px; border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; }
.consultation-submit:hover { background: #ad2222; border-color: #ad2222; }
.form-status { margin: 18px 0 0; padding: 12px 14px; border-left: 2px solid var(--brand); background: var(--paper); font-size: 19px; line-height: 1.4; }
@media (max-width: 1100px) {
  .consultation-section { gap: 40px; padding: 80px 5%; scroll-margin-top: 90px; }
  .consultation-form { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .consultation-section { grid-template-columns: 1fr; gap: 34px; padding: 65px 6%; scroll-margin-top: 80px; }
  .consultation-intro { padding-top: 0; }
  .consultation-intro h2 { font-size: 45px; }
  .consultation-intro > p { font-size: 23px; max-width: none; }
  .consultation-quote { margin-top: 27px; max-width: none; }
  .consultation-form { padding: 26px 20px; }
  .consultation-form > h3 { font-size: 30px; }
}

.form-progress { display: flex; gap: 12px; list-style: none; padding: 0; margin: 28px 0 22px; counter-reset: consultation-step; }
.form-progress li { flex: 1; padding-top: 12px; border-top: 2px solid #dedbd4; color: var(--muted); font-size: 18px; line-height: 1.25; counter-increment: consultation-step; }
.form-progress li::before { content: counter(consultation-step) '. '; }
.form-progress li[aria-current='step'] { color: var(--brand); border-color: var(--brand); font-weight: 700; }
.form-progress li.is-complete { border-color: var(--brand); color: var(--ink); }
.form-copy-mobile { display: none; }
.form-stage-title { display: none; }
.form-stage { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-stage[hidden], .form-back[hidden] { display: none; }
.form-stage legend { padding: 0; margin-bottom: 22px; font-size: 25px; font-weight: 600; line-height: 1.2; }
.form-stage legend:focus { outline: none; }
.form-navigation { display: flex; align-items: stretch; gap: 16px; margin-top: 30px; }
.form-back { padding: 15px 24px; justify-content: center; background: transparent; border: 1px solid #bcb9b2; color: var(--ink); cursor: pointer; }
.form-back:hover { background: var(--paper); }
.contact-tab {
  position: fixed;
  z-index: 4;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  writing-mode: vertical-rl;
  padding: 23px 13px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: var(--brand);
  color: #fff;
  font: 600 21px/1.2 'Cormorant', Georgia, serif;
  cursor: pointer;
  box-shadow: 0 3px 16px rgb(0 0 0 / 12%);
  transition: background-color 180ms ease, color 180ms ease;
}
.contact-tab[hidden] { display: none; }
.contact-tab[data-theme='cream'] { background: var(--paper); color: var(--brand); border-color: #d6d0c6; }
.contact-tab[data-theme='ink'] { background: var(--ink); color: var(--paper); }
.contact-tab:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-tab:focus-visible { outline-offset: -5px; }
.contact-modal-open { overflow: hidden; }
.contact-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 48px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-top: 4px solid var(--brand);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 80px rgb(0 0 0 / 25%);
}
.contact-dialog::backdrop { background: rgb(20 20 18 / 65%); backdrop-filter: blur(4px); }
.contact-dialog-close { position: absolute; top: 10px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ddd9d2; border-radius: 2px; background: #fff; color: var(--ink); font: 28px/1 Georgia, serif; cursor: pointer; }
.contact-dialog-close:hover { background: var(--paper); color: var(--brand); }
.contact-dialog .consultation-form { padding-top: 12px; }
.contact-dialog .form-grid { grid-template-columns: 1fr; }
.consultation-placeholder { align-self: start; }
@media (max-width: 720px) {
  .contact-tab { padding: 18px 9px; font-size: 18px; gap: 12px; }
  .contact-dialog { max-height: calc(100svh - 24px); width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-tab { transition: none; }
}
.site-footer { padding: 68px max(6%, calc((100vw - 1400px) / 2)) 0; background: var(--ink); color: var(--paper); border-top: 4px solid var(--brand); }
.footer-main { display: grid; grid-template-columns: 1.25fr 0.7fr 1fr 1.15fr; gap: 40px; padding-bottom: 55px; }
.footer-brand { max-width: 100%; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand .brand-title { font-size: 8px; letter-spacing: 0.25em; }
.footer-name { margin: 23px 0 16px; font-size: 23px; font-weight: 600; line-height: 1.3; }
.footer-name span { display: block; margin-top: 3px; color: #c6c3bc; font-size: 19px; font-weight: 400; font-style: italic; }
.footer-description { margin: 0; color: #c6c3bc; font-size: 22px; line-height: 1.4; }
.footer-nav h2 { margin: 5px 0 23px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.footer-nav ul { display: grid; gap: 13px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-block; color: #d9d6cf; font-size: 21px; line-height: 1.4; text-underline-offset: 5px; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-contact h2 { margin: 0 0 14px; font-size: 38px; font-weight: 500; line-height: 1.1; }
.footer-contact p { max-width: 245px; margin: 0 0 24px; color: #c6c3bc; font-size: 22px; line-height: 1.4; }
.footer-consultation { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 0 11px; border-bottom: 1px solid #f17272; font-size: 21px; font-weight: 600; line-height: 1.4; }
button.footer-consultation { padding-inline: 0; border-width: 0 0 1px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.footer-consultation span { font-family: Georgia, serif; color: #f17272; }
.footer-consultation:hover { color: #ffb4b4; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; padding-block: 23px; color: #c6c3bc; font-size: 18px; line-height: 1.5; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; gap: 14px; align-items: center; text-underline-offset: 5px; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 0; padding: 0 0 24px; color: #2995ff; text-align: center; font: 500 12px/1.5 Arial, sans-serif; }
.footer-credit-company { display: inline-flex; align-items: center; gap: 8px; }
.footer-credit-company:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit svg { flex: 0 0 1.3em; width: 1.3em; height: 1.3em; }
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
}
@media (max-width: 540px) {
  .site-footer { padding-top: 45px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 38px; }
  .footer-nav h2 { margin-bottom: 16px; }
  .footer-contact p { max-width: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 720px) {
  .form-progress { gap: 8px; }
  .form-copy-desktop { display: none; }
  .form-copy-mobile { display: inline; }
  .consultation-form > h3:not(.form-stage-title) { display: none; }
  .consultation-form > .form-stage-title { display: block; margin: 0 0 24px; font-size: 28px; }
  .form-stage-title:focus { outline: none; }
  .consultation-form:has(.form-stage-title) .form-stage legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .form-progress li { font-size: 17px; }
  .form-navigation { gap: 12px; }
  .form-back { padding-inline: 18px; }
  .consultation-submit { padding-inline: 12px; font-size: 18px; }
}
