:root {
  --navy: #071826;
  --navy-deep: #04121d;
  --navy-soft: #0d2636;
  --gold: #c99a42;
  --gold-light: #e2bc70;
  --ivory: #f7f3eb;
  --paper: #fffdf8;
  --charcoal: #232323;
  --muted: #625f58;
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: #a87424;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 92px);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(40px, 4.4vw, 64px);
}

h3 {
  font-size: 30px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: linear-gradient(to bottom, rgba(3, 14, 24, .94), rgba(3, 14, 24, .48), transparent);
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  min-height: 74px;
  background: rgba(4, 18, 29, .97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
}

.brand-text {
  display: grid;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .18em;
  line-height: 1;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 600;
}

.brand-text small {
  margin-top: 6px;
  font: 500 8px/1.5 "Montserrat", Arial, sans-serif;
  letter-spacing: .25em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 12px;
  letter-spacing: .05em;
  opacity: .9;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 13, 22, .9) 0%, rgba(3, 13, 22, .64) 42%, rgba(3, 13, 22, .14) 100%),
    linear-gradient(0deg, rgba(3, 13, 22, .34), rgba(3, 13, 22, .06)),
    url("images/hero-tropical-fish-on-ice.webp");
  background-position: center right;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.btn-primary {
  color: var(--navy);
  background: var(--gold-light);
}

.btn-primary:hover {
  background: #f1d393;
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 1px;
  height: 45px;
  background: linear-gradient(var(--gold-light), transparent);
}

/* Shared sections */
.section-light {
  padding: 110px 0;
  background: var(--ivory);
}

.section-dark {
  padding: 110px 0;
  color: #fff;
  background: var(--navy);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: start;
}

.body-copy p {
  margin-top: 0;
  color: #53504a;
}

/* Introduction */
.intro h2 {
  max-width: 700px;
}

/* Herkunft */
.origin.section-image {
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 17, 28, .9) 0%, rgba(3, 17, 28, .52) 46%, rgba(3, 17, 28, .12) 100%),
    url("images/mentawai-origin-ocean.webp");
  background-position: center;
  background-size: cover;
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
}

.origin-card {
  width: 100%;
  max-width: 620px;
  padding: 54px 58px 56px;
  overflow: hidden;
  border: 1px solid rgba(226, 188, 112, .44);
  background: rgba(4, 18, 29, .88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(10px);
}

.origin-card h2 {
  width: 100%;
  max-width: 500px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(38px, 3.25vw, 48px);
  line-height: 1.06;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  hyphens: none;
}

.origin-card h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin-top: 24px;
  background: var(--gold-light);
}

.origin-card p {
  max-width: 465px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.82;
}

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

/* Values */
.values > .container > h2 {
  max-width: 850px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: rgba(255, 255, 255, .12);
}

.value-card {
  min-height: 270px;
  padding: 40px 30px;
  background: var(--navy);
}

.value-number {
  display: none;
}

.value-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 29px;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

/* Development section */
.development.section-light {
  padding: 120px 0;
}

.development .split {
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: 84px;
  align-items: center;
}

.development h2 {
  max-width: 640px;
  margin-bottom: 0;
  font-size: clamp(48px, 4.6vw, 70px);
  line-height: .98;
  letter-spacing: -.02em;
}

.development .body-copy {
  position: relative;
  padding: 46px 48px 48px;
  border: 1px solid rgba(201, 154, 66, .28);
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 24px 70px rgba(6, 23, 37, .08);
}

.development .body-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  width: 82px;
  height: 2px;
  background: var(--gold);
}

.development .body-copy > p {
  max-width: 590px;
  margin: 0 0 30px;
  color: #4f4a43;
  font-size: 16px;
  line-height: 1.82;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 28px;
  border-top: 1px solid rgba(201, 154, 66, .2);
  color: #27231f;
  font-size: 14px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.75em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* Founder */
.founder {
  background: #eee8de;
}

.founder-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 720px;
}

.portrait-placeholder {
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(160deg, #1f4051, #718d97 55%, #c8d0cf);
}

.founder-portrait {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center top;
}

.founder-copy {
  padding: 90px 80px;
  background: var(--paper);
}

.founder-copy p {
  color: #504d47;
}

.signature {
  margin-top: 38px;
  color: var(--charcoal) !important;
  font: 600 34px/1 "Cormorant Garamond", Georgia, serif;
}

.founder-role {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Invitation */
.invite-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: center;
}

.invite-inner p {
  color: rgba(255, 255, 255, .72);
}

.invite-action {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.invite-action small {
  color: rgba(255, 255, 255, .55);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: start;
}

.contact-card {
  padding-top: 28px;
  border-top: 1px solid var(--gold);
}

.contact-card a:hover {
  color: #a87424;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .62);
  background: var(--navy-deep);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* Dialog */
dialog {
  width: min(620px, calc(100% - 32px));
  padding: 46px;
  border: 1px solid var(--gold);
  color: var(--charcoal);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
}

dialog::backdrop {
  background: rgba(0, 12, 20, .82);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfc8bc;
  background: #fff;
}

.form-note {
  color: var(--muted);
  font-size: 11px;
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: rgba(4, 18, 29, .98);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .split,
  .founder-grid,
  .invite-inner,
  .contact-grid,
  .development .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .origin-card {
    max-width: 620px;
  }

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

  .development .body-copy {
    padding: 42px 38px;
  }

  .founder-copy {
    padding: 60px 38px;
  }

  .portrait-placeholder,
  .founder-portrait {
    min-height: 500px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  .hero {
    background-position: 62% center;
  }

  .section-light,
  .section-dark {
    padding: 82px 0;
  }

  .origin.section-image {
    min-height: auto;
    padding: 82px 0;
  }

  .origin-card {
    padding: 36px 26px 38px;
  }

  .origin-card h2 {
    font-size: 34px;
    line-height: 1.08;
  }

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

  .value-card {
    min-height: auto;
  }

  .development.section-light {
    padding: 86px 0;
  }

  .development h2 {
    font-size: 45px;
  }

  .development .body-copy {
    padding: 36px 24px 30px;
  }

  .development .body-copy::before {
    left: 24px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .founder-copy {
    padding: 55px 24px;
  }

  dialog {
    padding: 38px 22px 28px;
  }
}
