/* Base Reset and Variables */
:root {
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #666666;
  --accent: #e6b980; /* warm gold accent */
  --card: #f6f6f6;
  --ring: #00000022;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid #eeeeee;
}

.brand {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(16px, 4vw, 48px);
}

.logo {
  display: inline-flex; align-items: center; justify-content: flex-start;
  height: 48px;
  text-decoration: none; color: var(--fg);
}
.logo span { font-weight: 600; letter-spacing: 0.4px; }
.logo img { max-height: 36px; width: auto; display: block; }

.social { display: flex; gap: 1rem; }
.social a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.social a:hover { color: #000; }
.social .icon { width: 18px; height: 18px; display: inline-block; }

.main { padding: 0 0 4rem 0; }

/* Slider */
.hero { width: 100%; }
.slider { position: relative; width: 100%; overflow: hidden; }

.slides {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}

.slide { position: relative; }
.slide figure { margin: 0; position: relative; }
.slide img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; background: #0a0a0a; }

.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(12px, 3vw, 24px);
  display: grid; gap: 4px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6) 40%, rgba(0,0,0,.85));
}
.slide figcaption h2 { margin: 0; font-size: clamp(18px, 3.5vw, 28px); font-weight: 600; font-family: 'Montserrat', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.slide figcaption p { margin: 0; color: #ddd; font-size: clamp(13px, 2.5vw, 16px); font-family: 'Montserrat', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; display: none; }

/* Controls below slider */
.controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: clamp(10px, 3vw, 16px) clamp(16px, 4vw, 48px) 0;
}
.nav {
  position: static; transform: none;
  background: #f3f3f3; color: #111; border: 1px solid #e6e6e6;
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer;
}
.nav:hover { background: #ededed; }
.nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Dots */
.dots { position: static; display: flex; gap: 8px; align-items: center; justify-content: center; }
.dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none; cursor: pointer;
  background: #00000055; transition: all .2s ease;
}
.dots button[aria-selected="true"] { width: 22px; background: var(--accent); }

/* Signup section */
.signup { padding: 4rem clamp(16px, 4vw, 48px) 0; display: grid; justify-items: center; text-align: center; }
.signup h2 { margin: 0 0 .25rem 0; font-size: clamp(22px, 3.5vw, 30px); font-weight: 600; }
.signup p { margin: 0 0 1.25rem 0; color: var(--muted); }

/* Elegant card-like form */
.email-form {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  max-width: 640px; width: 100%;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.email-form input {
  background: #fafafa; color: var(--fg);
  border: 1px solid #e4e4e4; border-radius: 12px; height: 50px; padding: 0 14px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.email-form input::placeholder { color: #9a9a9a; }
.email-form input:focus {
  outline: none; border-color: transparent; background: #fff;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 28%, white 72%);
}
.email-form button {
  height: 50px; padding: 0 18px; border-radius: 12px; border: 1px solid #e9e1d7; cursor: pointer;
  background: linear-gradient(135deg, #f4e7d6, #e6b980);
  color: #2a200f; font-weight: 600; letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(230, 185, 128, 0.35);
}
.email-form button:hover { filter: saturate(1.05) brightness(1.02); }
.email-form button:active { transform: translateY(1px); }
.email-form .form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; padding: 0 4px; }

@media (max-width: 520px) {
  .email-form { grid-template-columns: 1fr; }
  .email-form button { width: 100%; }
}

/* Footer */
.site-footer { padding: 3rem clamp(16px, 4vw, 48px) 4rem; color: var(--muted); text-align: center; }
.site-footer p { margin: 0; }

/* Wider screens */
@media (min-width: 960px) {
  .slide img { aspect-ratio: 16/7; }
}

/* Improve swipe interactions */
.slides { touch-action: pan-y; cursor: grab; }
.slide figure, .slide img { touch-action: pan-y; }
.slide img { -webkit-user-drag: none; user-select: none; }
