@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --surface: #18181c;
  --text: #f4efe6;
  --muted: #cfc8ba;
  --brass: #bfa06a;
  --brass-2: #d9c08a;
  --line: #2a2a31;
  --ink: #1a140c;
  --danger: #f3c7bc;
  --header-offset: 5.25rem;
  --max: 76rem;
  --pad: clamp(1rem, 3vw, 1.5rem);
}

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

html {
  scroll-padding-top: calc(var(--header-offset) + 0.75rem);
}

[id] {
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

a {
  color: var(--brass-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 3px;
}

h1,
h2,
h3,
.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brass-2);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip:focus {
  top: 0.75rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0;
  margin-right: auto;
}

.wordmark:hover {
  color: var(--brass-2);
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: 600 0.95rem/1 "Source Sans 3", sans-serif;
  border-radius: 999px;
}

.nav-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.05rem;
}

.nav-panel a,
.menu-button {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav-panel a:hover,
.menu-button:hover,
.nav-panel a[aria-current="page"] {
  color: var(--text);
}

.menu {
  position: relative;
}

.menu-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.menu-button::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}

.menu-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 15.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  z-index: 60;
}

.menu-list a {
  display: flex;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  width: 100%;
}

.menu-list a:hover,
.menu-list a:focus-visible {
  background: #222228;
  color: var(--text);
}

.menu:hover .menu-list,
.menu:focus-within .menu-list,
.menu.is-open .menu-list {
  display: block;
}

.header-phone {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-brass {
  background: var(--brass-2);
  color: var(--ink);
}

.btn-brass:hover {
  background: #e7d7b0;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: #6d624e;
}

.btn-ghost:hover {
  border-color: var(--brass-2);
  color: var(--text);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brass-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-photo img,
.photo img {
  width: 100%;
  border-radius: 0.4rem;
  object-fit: cover;
}

.hero-photo img {
  max-height: 38rem;
  object-fit: cover;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.prose {
  max-width: 44rem;
}

.prose-wide {
  max-width: 48rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 1.15rem 1.15rem 1.2rem;
  min-height: 100%;
}

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

.card a {
  font-weight: 600;
}

.compare,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.steps li,
.compare article {
  background: var(--bg);
  border-top: 2px solid var(--brass);
  padding: 1rem 0.2rem 0.2rem;
}

.section-alt .steps li,
.section-alt .compare article {
  background: transparent;
}

.steps li {
  counter-increment: step;
}

.steps li h3::before {
  content: counter(step) "  ";
  color: var(--brass-2);
}

.faq {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  min-height: 3rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text);
}

.faq summary:hover {
  color: var(--brass-2);
}

.faq details p:last-child {
  margin-bottom: 0.85rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #6e675c;
}

.page-intro {
  padding-bottom: 0.5rem;
}

.photo {
  margin: 0;
}

.photo figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.cta-band {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.2), rgba(10, 10, 12, 0.55)),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.site-footer {
  background: #0c0c0f;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 1.5rem 1.25rem;
}

.site-footer h2 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin: 0 0 0.7rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.footer-base {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.policy-id {
  color: var(--brass-2);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #3a3a44;
  background: #101014;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.55rem;
}

.form-status:empty {
  display: none;
}

.form-status.ok {
  background: #1a241c;
  border: 1px solid #6d8a72;
  color: #e7f3e6;
}

.form-status.warn,
.form-status.err {
  background: #2a221c;
  border: 1px solid #8a6d4a;
  color: var(--text);
}

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

.note {
  color: var(--muted);
  font-size: 0.98rem;
}

html:not(.js) .form-js #service-form {
  display: none;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.contact-list li {
  margin: 0.45rem 0;
}

@media (min-width: 760px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .nav-panel {
    display: none;
  }

  html:not(.js) .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.25rem 0 0.8rem;
  }

  .js .nav-panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    z-index: 45;
    inset: var(--header-offset) 0 0 0;
    background: var(--bg);
    padding: 0.5rem var(--pad) 2rem;
    overflow: auto;
    gap: 0.15rem;
  }

  .js .nav-panel.is-open .header-phone,
  html:not(.js) .header-phone {
    display: inline-flex;
  }

  .menu-list {
    position: static;
    border: 0;
    background: transparent;
    padding: 0 0 0.4rem 0.85rem;
    min-width: 0;
  }

  .menu:hover .menu-list {
    display: none;
  }

  .menu.is-open .menu-list,
  html:not(.js) .menu-list {
    display: block;
  }

  .hero,
  .split,
  .cards,
  .compare,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  html:not(.js) .header-inner {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .cards,
  .compare,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 959px) {
  .cards,
  .compare {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
