:root {
  --ink: #1a2833;
  --ink-soft: #243642;
  --steel: #6b8cae;
  --steel-deep: #4a6a88;
  --stone: #e9ecee;
  --paper: #dfe4e7;
  --muted: #5c6b75;
  --line: rgba(26, 40, 51, 0.12);
  --white: #f7f9fa;
  --display: "Newsreader", Georgia, serif;
  --body: "Cabin", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--stone);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
.hero-brand {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--stone) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  height: 100%;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.logo span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-btn {
  margin-left: auto;
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.nav a.is-on::after {
  transform: scaleX(1);
}

.lang {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
}

.lang button.is-on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--steel);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 22s ease-in-out infinite alternate;
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 40, 51, 0.35) 0%, rgba(26, 40, 51, 0.78) 70%, rgba(26, 40, 51, 0.92) 100%),
    linear-gradient(90deg, rgba(26, 40, 51, 0.55) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
  max-width: 38rem;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.hero-brand em {
  font-style: normal;
  color: var(--steel);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(233, 236, 238, 0.88);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--steel);
  color: var(--ink);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #7fa0c0;
  color: var(--ink);
}

.btn-line {
  background: transparent;
  border-color: rgba(233, 236, 238, 0.45);
  color: var(--white);
}

.btn-line:hover {
  border-color: var(--white);
  background: rgba(233, 236, 238, 0.08);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.band-ink {
  background: var(--ink);
  color: var(--stone);
}

.band-ink .kicker,
.band-ink a {
  color: var(--steel);
}

.band-ink .btn {
  color: var(--ink);
}

.band-paper {
  background: color-mix(in srgb, var(--paper) 70%, var(--stone));
}

.page-intro {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-deep);
  font-weight: 600;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.duo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.duo.flip > :first-child {
  order: 2;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.band-ink figcaption {
  color: rgba(233, 236, 238, 0.7);
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.cols-3 article,
.cols-2 article,
.flow li {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.band-ink .cols-3 article {
  border-top-color: rgba(233, 236, 238, 0.18);
}

.flow {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
}

.flow li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.flow li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--steel);
  line-height: 1.4;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.who-grid > div {
  padding: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery figure img {
  aspect-ratio: 5 / 4;
}

.cta-strip {
  text-align: center;
}

.cta-strip .lead {
  margin-inline: auto;
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.bullet {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.bullet li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--steel);
}

.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.reach-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.reach-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.25rem;
}

.reach-list span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.reach-list strong,
.reach-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.hours {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hours li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--display);
  font-size: 1.15rem;
}

.faq details p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  max-width: 36rem;
}

.form-shell label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
  width: 100%;
}

.form-shell textarea {
  min-height: 8rem;
  resize: vertical;
}

.privacy article {
  max-width: 42rem;
}

.privacy h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.privacy ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.site-foot {
  background: var(--ink);
  color: rgba(233, 236, 238, 0.78);
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-foot a {
  color: var(--steel);
}

.site-foot strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 40, 51, 0.55);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  background: var(--white);
  width: min(100%, 24rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.modal-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.modal-panel p[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

/* Motion */
.rise {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .duo,
  .duo.flip,
  .cols-3,
  .who-grid,
  .gallery,
  .cols-2,
  .contact-pair,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .duo.flip > :first-child {
    order: 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar-inner {
    position: relative;
  }

  .lang {
    order: 2;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 3rem;
  }
}
