:root {
  --bg: #f5f5f7;
  --surface: #fff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #dfdfe4;
  --orange: #f47b20;
  --orange-dark: #b95313;
  --shadow: 0 28px 70px rgba(29, 29, 31, 0.14);
  --max: 1160px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--orange-dark);
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.18rem;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.15rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header);
  padding: 0.72rem clamp(1rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(223, 223, 228, 0.72);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  width: min(270px, 58vw);
}

.brand img {
  width: 100%;
}

.site-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.1rem;
}

.site-nav a {
  padding: 0.48rem 0.64rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.nav-toggle span {
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.hero.compact {
  min-height: 380px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 22%, rgba(244, 123, 32, 0.22), rgba(244, 123, 32, 0) 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
}

.hero-content {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  margin-inline: auto;
}

.hero-content p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.34rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.72rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbe8a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--orange);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.hidden-field {
  display: none;
}

.page-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.1rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card,
.intro-card,
.story,
.news-card,
.contact-card,
.contact-form,
.legal-copy,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}

.card,
.intro-card,
.news-card,
.contact-card,
.contact-form,
.legal-copy,
.legal-card {
  padding: 1.45rem;
}

.intro-card {
  display: grid;
  gap: 0.75rem;
  min-height: 230px;
}

.intro-card p,
.card p,
.news-card p {
  color: var(--muted);
}

.intro-card a {
  align-self: end;
  font-weight: 850;
}

.intro-card a::after {
  color: var(--orange);
  content: " >";
}

.content-layout {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

.side-note {
  position: sticky;
  top: calc(var(--header) + 1rem);
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
  border-left: 4px solid var(--orange);
  border-radius: 24px;
  background: var(--surface);
}

.profile-photo {
  width: 128px;
  height: 128px;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(29, 29, 31, 0.14);
}

.side-note p {
  color: var(--muted);
}

.content-flow {
  display: grid;
  gap: 1rem;
}

.content-flow p,
.content-flow li {
  color: #3d3d3f;
}

.content-flow h2,
.content-flow h3 {
  margin-top: 0.7rem;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--orange);
  border-radius: 20px;
  background: #fff4ec;
  color: #4a3322;
}

.page-image {
  margin: 1.2rem 0 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.page-image img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}

.page-image-inline {
  margin: 1.45rem 0 1rem;
}

.page-image-inline img {
  aspect-ratio: 16 / 6;
  object-position: center;
}

.page-image-lead {
  margin: -0.3rem 0 2.2rem;
}

.page-image-lead img {
  aspect-ratio: 16 / 5;
  object-position: center 38%;
}

.page-image-wide {
  margin-top: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  counter-reset: steps;
}

.step {
  display: grid;
  gap: 0.65rem;
  min-height: 170px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  counter-increment: steps;
}

.step::before {
  width: max-content;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  content: counter(steps, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  transform: translateY(-50%);
}

.news-card {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.story-list {
  display: grid;
  gap: 0.9rem;
}

.story {
  overflow: hidden;
}

.story summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 850;
}

.story summary::-webkit-details-marker {
  display: none;
}

.story summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eeeef0;
  color: var(--orange-dark);
  content: "+";
}

.story[open] summary::after {
  content: "-";
}

.story-content {
  display: grid;
  gap: 0.95rem;
  padding: 0 1.15rem 1.2rem;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.before-after figure {
  margin: 0;
}

.before-after figcaption {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.before-after img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.contact-layout,
.legal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-card,
.contact-form {
  display: grid;
  gap: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.68rem 0.76rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

.full {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: auto;
  margin-top: 0.34rem;
}

.thanks-card {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.thanks-card .button {
  justify-self: center;
  margin-top: 0.35rem;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: block;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .intro-grid,
  .card-grid,
  .content-layout,
  .contact-layout,
  .legal-grid,
  .sitemap-list {
    grid-template-columns: 1fr 1fr;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 68px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .brand {
    width: min(230px, 54vw);
  }

  .hero,
  .hero.compact {
    min-height: 430px;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero-content p {
    font-size: 1.06rem;
  }

  .page-shell {
    width: min(var(--max), calc(100% - 1.5rem));
    padding: 4rem 0;
  }

  .intro-grid,
  .card-grid,
  .content-layout,
  .steps,
  .contact-layout,
  .contact-form,
  .legal-grid,
  .sitemap-list,
  .before-after {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }
}
