@import url("fonts.css");

:root {
  --navy: #0e1a2b;
  --navy-2: #15253d;
  --navy-3: #1c314d;
  --ink: #1c1712;
  --cream: #f4eee4;
  --paper: #fbf7f1;
  --gold: #c4a265;
  --gold-2: #e0c48a;
  --gold-dim: rgba(196, 162, 101, 0.22);
  --muted: #6f6559;
  --line: rgba(196, 162, 101, 0.28);
  --shadow: 0 24px 60px rgba(14, 26, 43, 0.18);
  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Assistant", "Heebo", "Segoe UI", sans-serif;
  --display: "Suez One", "Frank Ruhl Libre", serif;
  --classic: "David Libre", "Frank Ruhl Libre", serif;
  --radius: 22px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}

.ornament span {
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--classic);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 10px 0 14px;
}

.lead {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 26, 43, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 162, 101, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(14, 26, 43, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.7;
  margin-top: 4px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

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

.btn-gold {
  background: linear-gradient(180deg, #e6cc8f, var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(196, 162, 101, 0.28);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 10px;
  padding: 10px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 43, 0.78) 0%, rgba(14, 26, 43, 0.4) 42%, rgba(14, 26, 43, 0.9) 100%),
    linear-gradient(90deg, rgba(14, 26, 43, 0.55), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 28px) 0 80px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 16px 0 18px;
  max-width: 12ch;
}

.hero p {
  max-width: 36ch;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  width: min(520px, 100%);
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-2);
  line-height: 1;
}

.hero-meta span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Strip */
.strip {
  background: var(--navy);
  color: var(--gold-2);
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}

.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: drift 32s linear infinite;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.marquee span {
  white-space: nowrap;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.step.is-in {
  transform: none;
  opacity: 1;
}

.step img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.step-body {
  padding: 22px;
}

.step-num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split-visual {
  position: relative;
}

.split-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.logo-badge {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 22px;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(224, 196, 138, 0.55);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 0;
  padding-inline-start: 34px;
  border-bottom: 1px solid rgba(14, 26, 43, 0.08);
}

.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--gold);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-2);
  margin-bottom: 16px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.gallery-side {
  display: grid;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 260px;
}

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

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(14, 26, 43, 0.82));
  font-family: var(--serif);
  font-size: 1.35rem;
}

.cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 162, 101, 0.18), transparent 28%),
    var(--navy);
  color: #fff;
  border-radius: 32px;
  padding: 64px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  margin: 8px 0 10px;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 42ch;
}

.site-footer {
  background: #0a1422;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1rem;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.72);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.modal-card h2 {
  font-family: var(--serif);
  margin: 8px 0 8px;
}

.close-x {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.dropzone {
  border: 1.5px dashed var(--gold);
  background: rgba(196, 162, 101, 0.08);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 18px;
}

.dropzone.is-over {
  background: rgba(196, 162, 101, 0.16);
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.92rem;
}

.success-box {
  display: none;
  text-align: center;
  padding: 18px 0 8px;
}

.success-box.is-on {
  display: block;
}

.thread-id {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  margin: 8px 0 12px;
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--navy);
    display: none;
    flex-direction: column;
    padding: 18px 22px 24px;
    gap: 16px;
  }
  .nav.is-open { display: flex; }
  .steps,
  .features,
  .split,
  .gallery,
  .section-head,
  .cta,
  .footer-grid,
  .copy {
    grid-template-columns: 1fr;
    display: grid;
  }
  .split-visual img { height: 320px; }
  .hero-meta { gap: 16px; }
  .cta { padding: 36px 24px; text-align: center; justify-items: center; }
}
