:root {
  color-scheme: light;
  --ink: #182128;
  --muted: #5e6b73;
  --line: #d9dedb;
  --paper: #f7f5ef;
  --white: #ffffff;
  --charcoal: #101619;
  --blue: #15395b;
  --green: #49685b;
  --gold: #b08a42;
  --rose: #7b5156;
  --shadow: 0 24px 80px rgba(16, 22, 25, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 245, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(16, 22, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 32px);
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 136px clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1589578527966-fdac0f44566c?auto=format&fit=crop&w=2200&q=84");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 22, 25, 0.83), rgba(16, 22, 25, 0.54) 45%, rgba(16, 22, 25, 0.24)),
    linear-gradient(0deg, rgba(16, 22, 25, 0.6), rgba(16, 22, 25, 0.08) 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 810px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--charcoal);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button.secondary.dark {
  border-color: rgba(24, 33, 40, 0.28);
  color: var(--ink);
}

.contact-form .button.primary {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.hero-panel div {
  padding: 22px 22px 0 0;
}

.hero-panel dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 0;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 84px);
  align-items: start;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-copy h2,
.section-heading h2 {
  max-width: 900px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mission-grid article,
.expertise-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 22, 25, 0.06);
}

.mission-grid article {
  min-height: 220px;
  padding: 26px;
}

.mission-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.mission-grid p,
.expertise-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-band {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(42px, 7vw, 74px);
  color: var(--white);
}

.image-band::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 22, 25, 0.76), rgba(16, 22, 25, 0.18));
  content: "";
}

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

.image-band div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.image-band h2 {
  color: var(--white);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.expertise-card {
  overflow: hidden;
}

.expertise-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.expertise-card div {
  padding: 22px;
}

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

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.process-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.cabinet-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.cabinet-photo img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  color: var(--green);
  content: "+";
}

.quote-section {
  padding: clamp(78px, 10vw, 124px) clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: var(--white);
}

.quote-section blockquote {
  max-width: 1010px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.14;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(38px, 7vw, 82px);
  align-items: start;
}

address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(176, 138, 66, 0.22);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-header {
  position: sticky;
}

.legal-nav {
  color: inherit;
}

.legal-main {
  padding-top: 40px;
}

.legal-hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(92px, 12vw, 142px) 0 clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
}

.legal-content {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 84px) 0 clamp(76px, 10vw, 120px);
}

.legal-content article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: min(calc(100% - 36px), 1040px);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-banner p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions .button,
.cookie-settings .button {
  min-height: 42px;
  padding: 10px 14px;
}

.cookie-settings {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cookie-settings label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 80px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-panel dl,
  .trust-strip,
  .split,
  .process-section,
  .cabinet-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-right: 20px;
    padding-bottom: 42px;
    padding-left: 20px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

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

  .hero-panel dl,
  .mission-grid,
  .expertise-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .mission-grid article {
    min-height: auto;
  }

  .image-band {
    min-height: 520px;
    padding: 36px 20px;
  }

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

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

  .site-footer {
    display: grid;
  }

  .legal-nav {
    display: none;
  }

  .cookie-actions,
  .cookie-actions .button,
  .cookie-settings .button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
