/* =========================================================
   AVIATO — Luxury Travel Atelier
   Stylesheet
   ========================================================= */

:root {
  --ink:       #0a0a09;
  --ink-2:     #111110;
  --ink-3:     #18171440;
  --card:      #18161240;
  --card-2:    #221f19;
  --line:      #2a2620;
  --line-soft: #1c1a16;

  --cream:     #f4ece0;
  --stone:     #a39c8f;
  --stone-2:   #75716a;

  --gold:      #c8a55a;
  --gold-2:    #d8bd7a;
  --gold-dim:  #8a7340;

  --serif:     'Cormorant Garamond', 'Times New Roman', serif;
  --sans:      'Inter', system-ui, -apple-system, sans-serif;

  --container: 1320px;
  --gutter:    clamp(20px, 4vw, 56px);

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}
.eyebrow--light { color: var(--gold-2); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  color: var(--cream);
}
.section-title em {
  font-style: italic;
  color: var(--gold-2);
}
.section-title--light { color: var(--cream); }

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--cream);
  max-width: 56ch;
  margin: 0 0 24px;
  font-weight: 300;
}
p { color: var(--stone); max-width: 60ch; }

.section-head { margin-bottom: 80px; max-width: 720px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead {
  font-size: 19px;
  color: var(--stone);
  max-width: 56ch;
  margin: 0;
}
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -16px rgba(216, 189, 122, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 236, 224, 0.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
  width: 100%;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.btn--small { padding: 11px 22px; font-size: 11px; }
.btn--link {
  background: transparent;
  color: var(--cream);
  padding: 16px 8px;
}
.btn--link:hover { color: var(--gold-2); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 9, 0.86);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line-soft);
  padding: 14px 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.nav__mark {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--gold-2); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: all .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://picsum.photos/seed/aviato-hero/2400/1600');
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.9);
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,9,0.6) 0%, rgba(10,10,9,0.3) 35%, rgba(10,10,9,0.92) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(200, 165, 90, 0.08), transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 156px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 32px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-2);
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--cream);
  max-width: 52ch;
  margin: 0 0 48px;
  font-weight: 300;
  opacity: 0.88;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ---------- Philosophy ---------- */
.philosophy {
  padding: 140px 0;
  background: var(--ink);
}
.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 96px;
  align-items: center;
}
.philosophy__text { max-width: 540px; }
.philosophy__text p { color: var(--stone); }
.philosophy__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.philosophy__image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(200, 165, 90, 0.18);
  pointer-events: none;
}
.philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.philosophy__image:hover img { transform: scale(1.04); }

.philosophy__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.philosophy__stats > div { display: flex; flex-direction: column; gap: 6px; }
.philosophy__stats .stat {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--gold-2);
  line-height: 1;
}
.philosophy__stats .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
}

/* ---------- Journeys ---------- */
.journeys {
  padding: 140px 0;
  background: var(--ink-2);
}
.journeys__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.journey {
  background: transparent;
  position: relative;
  transition: transform .5s var(--ease);
}
.journey:hover { transform: translateY(-6px); }
.journey__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 24px;
}
.journey__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.journey:hover .journey__image img { transform: scale(1.08); }
.journey__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.journey__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(10, 10, 9, 0.65);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border: 1px solid rgba(200, 165, 90, 0.3);
}
.journey__body h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--cream);
}
.journey__body p {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin: 0;
}

/* ---------- Aviation ---------- */
.aviation {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.aviation__bg {
  position: absolute; inset: 0;
  background-image: url('https://picsum.photos/seed/aviato-jet/2400/1400');
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(0.85) contrast(1.05);
}
.aviation__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,10,9,0.85) 0%, rgba(10,10,9,0.55) 100%);
}
.aviation__inner { position: relative; z-index: 2; }
.aviation__text { max-width: 720px; }
.aviation__text .lead { color: var(--cream); opacity: 0.9; }
.aviation__fleet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.aviation__aircraft {
  padding: 32px 0 0;
  border-top: 1px solid rgba(244, 236, 224, 0.15);
}
.aviation__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.aviation__aircraft h4 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--cream);
}
.aviation__aircraft p {
  color: var(--cream);
  opacity: 0.75;
  font-size: 14px;
  margin: 0;
}

/* ---------- Experience ---------- */
.experience {
  padding: 140px 0;
  background: var(--ink);
}
.experience__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 96px;
  align-items: start;
}
.experience__image {
  position: sticky;
  top: 120px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.experience__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process__item:last-child { border-bottom: 1px solid var(--line); }
.process__num {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.process__item h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--cream);
}
.process__item p {
  color: var(--stone);
  margin: 0;
  font-size: 15px;
}

/* ---------- Membership ---------- */
.membership {
  padding: 140px 0;
  background: var(--ink-2);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.tier {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .4s var(--ease);
}
.tier:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}
.tier--featured {
  background: linear-gradient(180deg, #1c1a14 0%, #14130f 100%);
  border-color: var(--gold-dim);
}
.tier__badge {
  position: absolute;
  top: -10px;
  left: 36px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.tier header { margin-bottom: 32px; }
.tier h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--cream);
}
.tier__price {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin: 0;
}
.tier__price strong {
  color: var(--gold-2);
  font-weight: 500;
}
.tier ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.tier li {
  font-size: 14px;
  color: var(--cream);
  padding-left: 24px;
  position: relative;
  opacity: 0.92;
}
.tier li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 160px 0;
  background: var(--ink);
  text-align: center;
}
.testimonial blockquote {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: 140px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  margin: 0 0 8px;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 48px;
}
.testimonial__name {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 4px;
}
.testimonial__role {
  font-size: 13px;
  color: var(--stone);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  padding: 140px 0;
  background: var(--ink-2);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.contact__list {
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__list > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.contact__list dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin: 0;
  padding-top: 3px;
}
.contact__list dd {
  margin: 0;
  color: var(--cream);
  font-size: 16px;
}
.contact__list dd a {
  border-bottom: 1px solid transparent;
}
.contact__list dd a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.form {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 48px;
}
.form__row {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__row label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-2);
}
.form__row input,
.form__row select,
.form__row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color .3s var(--ease);
  border-radius: 0;
}
.form__row textarea { resize: vertical; min-height: 80px; }
.form__row select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form__row select option { background: var(--ink); color: var(--cream); }
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus { border-bottom-color: var(--gold); }
.form__row input::placeholder,
.form__row textarea::placeholder { color: var(--stone-2); }

.form__submit { width: 100%; margin-top: 16px; }
.form__note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--gold-2);
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 100px 0 0;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
}
.footer__brand p {
  color: var(--stone);
  font-size: 14px;
  margin: 24px 0 0;
  max-width: 28ch;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 24px;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer li {
  font-size: 14px;
  color: var(--stone);
}
.footer li a:hover { color: var(--gold-2); }

.footer__base {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer__base-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__base p {
  font-size: 12px;
  color: var(--stone-2);
  margin: 0;
  letter-spacing: 0.04em;
}
.footer__legal {
  display: flex;
  gap: 28px;
}
.footer__legal a {
  font-size: 12px;
  color: var(--stone-2);
  letter-spacing: 0.04em;
}
.footer__legal a:hover { color: var(--gold-2); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .philosophy__grid,
  .experience__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 64px; }
  .experience__image { position: relative; top: 0; }
  .journeys__grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .aviation__fleet { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 18px; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .hero { padding: 120px 0 60px; min-height: 92vh; }
  .hero__scroll { display: none; }

  .philosophy,
  .journeys,
  .aviation,
  .experience,
  .membership,
  .testimonial,
  .contact { padding: 80px 0; }

  .journeys__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .form { padding: 32px 24px; }
  .philosophy__stats { grid-template-columns: 1fr; gap: 20px; }
  .section-head { margin-bottom: 56px; }
  .footer__base-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
