/* =============================================
   OUTSEEN AGENCY — Design System
   Inspired by Apple's product pages
   ============================================= */

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

:root {
  --white:   #ffffff;
  --off-white: #f5f5f7;
  --black:   #000000;
  --near-black: #1d1d1f;
  --gray:    #6e6e73;
  --gray-light: #d2d2d7;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--near-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #ffffff;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

nav.on-dark {
  background: #111111;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: none;
  transition: filter 0.35s;
}

nav.on-dark .nav-logo img {
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--near-black);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s, color 0.35s;
}

nav.on-dark .nav-links a { color: var(--white); }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: var(--white);
  background: var(--near-black);
  padding: 6px 15px;
  border-radius: 980px;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, background 0.35s, color 0.35s;
}

.nav-cta:hover { opacity: 0.8; }

nav.on-dark .nav-cta {
  background: var(--white);
  color: var(--near-black);
}

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

nav.on-dark .nav-burger span { background: var(--white); }

/* Mobile menu panel */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 22px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--near-black);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* =============================================
   LAYOUT
   ============================================= */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

.t-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.t-eyebrow.light { color: rgba(255,255,255,0.45); }

.t-display {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--near-black);
}

.t-display.light { color: var(--white); }

.t-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--near-black);
}

.t-headline.light { color: var(--white); }

.t-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--near-black);
}

.t-title.light { color: var(--white); }

.t-body {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--gray);
}

.t-body.light { color: rgba(255,255,255,0.55); }

.t-caption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-light);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: scale(1.015); }
.btn:active { transform: scale(0.985); }

.btn-dark {
  background: var(--near-black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--near-black);
}

.btn-ghost {
  background: transparent;
  color: var(--near-black);
  border: 1.5px solid rgba(0,0,0,0.18);
}

.btn-ghost:hover { background: var(--off-white); }

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

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

/* =============================================
   FORM ELEMENTS
   ============================================= */

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--near-black);
}

.field-input,
.field-select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--near-black);
  background: var(--off-white);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s;
}

.field-input:focus,
.field-select:focus {
  background: var(--white);
  border-color: var(--near-black);
}

.field-input::placeholder { color: var(--gray-light); }

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   BADGE / PILL
   ============================================= */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: var(--off-white);
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
  color: var(--near-black);
  letter-spacing: 0.01em;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3d00;
  flex-shrink: 0;
}

/* =============================================
   BOTTLE SVG
   ============================================= */

.bottle-float {
  animation: bottle-float 7s ease-in-out infinite;
}

@keyframes bottle-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  background: var(--near-black);
  padding: 40px 0 36px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}

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

.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.delay-1   { animation-delay: 0.08s; }
.delay-2   { animation-delay: 0.16s; }
.delay-3   { animation-delay: 0.24s; }
.delay-4   { animation-delay: 0.32s; }
.delay-5   { animation-delay: 0.40s; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
