:root {
  --ink: #1a3338;
  --ink-soft: #27474d;
  --apricot: #e0a070;
  --apricot-deep: #c98452;
  --mist: #eef0f2;
  --mist-2: #e4e7ea;
  --paper: #f7f8f9;
  --line: rgba(26, 51, 56, 0.12);
  --muted: #4d6065;
  --white: #ffffff;
  --max: 1100px;
  --display: "Epilogue", sans-serif;
  --body: "Assistant", sans-serif;
  --hatch: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(26, 51, 56, 0.028) 11px,
      rgba(26, 51, 56, 0.028) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(26, 51, 56, 0.028) 11px,
      rgba(26, 51, 56, 0.028) 12px
    );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--mist);
  background-image: var(--hatch);
  line-height: 1.65;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--apricot-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
.brand,
.hero-brand,
.footer-brand {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.18rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 240, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: min(100% - 1.6rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand span {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  margin-left: auto;
}

.menu a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--apricot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.menu a:hover::after,
.menu a.is-current::after {
  transform: scaleX(1);
}

.menu a:hover,
.menu a.is-current {
  color: var(--ink);
}

.lang {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.lang button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
}

.lang button.is-on {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 22s ease-in-out infinite alternate;
  transform: scale(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 51, 56, 0.28) 0%,
    rgba(26, 51, 56, 0.55) 48%,
    rgba(26, 51, 56, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-brand em {
  font-style: normal;
  color: var(--apricot);
}

.hero h1 {
  color: var(--white);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  background: var(--apricot);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--apricot-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

section {
  padding: 4.5rem 0;
}

.section-ink {
  background: var(--ink);
  color: var(--white);
  background-image: var(--hatch);
}

.section-ink .kicker {
  color: var(--apricot);
}

.section-ink .section-title,
.section-ink h3 {
  color: var(--white);
}

.section-ink p,
.section-ink .lead {
  color: rgba(238, 240, 242, 0.78);
}

.section-band {
  background: linear-gradient(180deg, var(--mist-2), var(--mist));
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apricot-deep);
}

.section-title {
  max-width: 22ch;
}

.lead {
  max-width: 48rem;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split.reverse > :first-child {
  order: 2;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.rail,
.who-grid,
.gallery,
.faq,
.hours-list,
.deliver,
.scope-grid {
  display: grid;
  gap: 1.4rem;
}

.rail,
.who-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
}

.rail article,
.who-grid article,
.scenario article {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rail h3,
.who-grid h3 {
  color: var(--ink);
}

.section-ink .rail h3 {
  color: var(--white);
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  color: var(--apricot-deep);
  font-size: 1.15rem;
  min-width: 1.4rem;
}

.gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
}

.gallery figure img {
  aspect-ratio: 1 / 1;
}

.cta-band {
  padding: 3.5rem 0;
  background: var(--ink);
  color: var(--white);
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.4rem;
  max-width: 18ch;
}

.cta-band p {
  color: rgba(238, 240, 242, 0.78);
  margin: 0;
  max-width: 36rem;
}

.page-hero {
  padding: 3.8rem 0 2.2rem;
  background: linear-gradient(160deg, var(--ink) 0%, #243f45 100%);
  color: var(--white);
}

.page-hero .kicker {
  color: var(--apricot);
}

.page-hero h1 {
  color: var(--white);
  max-width: 18ch;
}

.page-hero p {
  color: rgba(238, 240, 242, 0.82);
  max-width: 40rem;
}

.formats {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.formats article {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.formats .num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--apricot-deep);
  line-height: 1;
}

.scenario {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2rem;
  margin-top: 1.6rem;
}

.scope-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5rem;
}

.scope-grid ul {
  margin: 0.8rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
}

.scope-grid li {
  margin-bottom: 0.55rem;
}

.deliver {
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
}

.deliver li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.deliver li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--apricot);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apricot-deep);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--apricot-deep);
}

.hours-list {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.hours-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.faq {
  margin-top: 1.4rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 650;
  color: var(--ink);
}

.faq p {
  margin: 0.7rem 0 0.2rem;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.form-card .kicker {
  margin-bottom: 0.35rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(224, 160, 112, 0.45);
  outline-offset: 1px;
  border-color: var(--apricot);
}

.privacy-body {
  max-width: 46rem;
}

.privacy-body article {
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.privacy-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: rgba(238, 240, 242, 0.78);
  padding: 2.6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.6rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.site-footer a {
  color: var(--apricot);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-meta {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(238, 240, 242, 0.12);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(26, 51, 56, 0.55);
  padding: 1.2rem;
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  width: min(100%, 26rem);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.modal-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.modal-dialog p {
  margin: 0 0 1.1rem;
}

.modal-dialog p[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.4%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .rail,
  .who-grid,
  .gallery,
  .scenario,
  .scope-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .formats article {
    grid-template-columns: 3rem 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.2rem 1rem;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 0.7rem 0;
  }

  .hero {
    min-height: min(88vh, 680px);
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .cta-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
