:root {
  --ink: #162229;
  --ink-soft: #3d4f5a;
  --muted: #6b7f8a;
  --paper: #f3f7f5;
  --paper-deep: #e7f0ec;
  --teal: #0f7d72;
  --teal-deep: #0a5f57;
  --sand: #d7c4a3;
  --line: rgba(22, 34, 41, 0.1);
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(22, 34, 41, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Syne", "Sora", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9efe8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 8%, #e8e0d2 0%, transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #eef4f1 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 248, 0.92);
  color: var(--ink);
}

.logo {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-decoration: none;
  color: inherit;
}

.nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.88;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  opacity: 1;
  color: inherit;
}

.site-header.is-scrolled .nav a {
  color: var(--ink-soft);
  opacity: 1;
}

.site-header.is-scrolled .nav a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: 100svh;
  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;
  object-position: 62% center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 32, 0.78) 0%, rgba(12, 28, 32, 0.45) 46%, rgba(12, 28, 32, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 28, 32, 0.25) 0%, rgba(12, 28, 32, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 720px);
  margin: 0 auto 0 0;
  padding: 7.5rem 1.5rem 4.5rem;
  animation: riseIn 0.9s ease both;
}

.brand-mark {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.96);
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 34ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #e8f6f2;
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--teal-deep);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-intro h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-intro p:last-child,
.contact-lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.offer-grid {
  display: grid;
  gap: 3.5rem;
}

.offer {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.offer-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}

.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.offer:hover .offer-visual img {
  transform: scale(1.03);
}

.offer-copy h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.offer-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.gallery {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.gallery .section-intro {
  width: min(100% - 2.5rem, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 22vw);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem max(1.25rem, calc((100% - var(--max)) / 2)) 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-rail figure {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--paper-deep);
  box-shadow: 0 10px 28px rgba(22, 34, 41, 0.1);
}

.gallery-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience {
  position: relative;
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.principles li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
}

.principles h3 {
  margin: 0;
  font-size: 1.15rem;
}

.principles p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
}

.contact {
  padding-bottom: 4rem;
}

.contact-panel {
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(232, 240, 236, 0.95)),
    var(--paper-deep);
  border: 1px solid var(--line);
}

.contact-details {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.35rem;
}

.contact-details div {
  display: grid;
  gap: 0.3rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details dd {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.contact-details a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.footer-brand strong {
  display: block;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-meta a {
  color: var(--teal-deep);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 0.85rem !important;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .site-header {
    padding: 1.1rem 2rem;
  }

  .hero-content {
    padding: 8rem 2rem 5rem;
    margin-left: max(0px, calc((100% - var(--max)) / 2));
  }

  .offer {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
  }

  .offer-reverse {
    grid-template-columns: 1fr 1.05fr;
  }

  .offer-reverse .offer-visual {
    order: 2;
  }

  .offer-reverse .offer-copy {
    order: 1;
  }

  .principles li {
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }

  .contact-panel {
    padding: 3rem;
  }

  .contact-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .site-footer {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }

  .gallery-rail {
    grid-auto-columns: 58vw;
  }
}

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

  .hero-media img,
  .hero-content,
  .reveal,
  .offer-visual img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
