/* =========================================================
   Maison Elowen — luxury editorial wedding studio
   Noir · Ivory · Champagne · Bodoni Moda + Jost
   ========================================================= */

:root {
  --noir: #141211;
  --ash: #26221F;
  --ivory: #F4EFE6;
  --ivory-2: #EDE6D8;
  --champagne: #C8A96A;
  --champagne-soft: #E4D3AE;
  --stone: #8A8075;
  --line: rgba(20,18,17,.14);
  --line-light: rgba(244,239,230,.16);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--noir);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
h3 { font-size: 1.7rem; }
em { font-style: italic; }
p { margin: 0 0 1.2em; }
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--noir); color: var(--ivory); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Custom cursor (portfolio) */
.cursor { position: fixed; top: 0; left: 0; width: 84px; height: 84px; border-radius: 50%; background: var(--champagne); color: var(--noir); display: grid; place-items: center; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; z-index: 999; transform: translate(-50%, -50%) scale(0); transition: transform .35s var(--ease); mix-blend-mode: normal; }
.cursor.is-on { transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 1.4rem 0; transition: background .5s, padding .5s, color .5s; color: var(--noir); }
.header.is-scrolled { background: rgba(244,239,230,.92); backdrop-filter: blur(12px); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.header__inner { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.monogram svg { width: 52px; height: 52px; transition: transform .5s var(--ease); }
.monogram:hover svg { transform: rotate(12deg); }
.nav ul { display: flex; gap: 2.6rem; }
.nav a { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; display: inline-flex; gap: .4rem; position: relative; padding-bottom: .2rem; white-space: nowrap; }
.nav a sup { font-size: .55rem; color: var(--champagne); font-family: var(--serif); font-style: italic; line-height: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header__cta { justify-self: end; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; border: 1px solid currentColor; padding: .7rem 1.5rem; transition: all .4s; }
.header__cta:hover { background: var(--noir); color: var(--ivory); border-color: var(--noir); }
.menu-btn { display: none; justify-self: end; background: none; border: 0; font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; color: inherit; padding: .5rem 0; }
@media (max-width: 1100px) {
  .header, .header.is-scrolled { backdrop-filter: none; }
  .header.is-scrolled { background: var(--ivory); }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__cta { display: none; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav.is-open ~ .menu-btn { color: var(--ivory); }
  .monogram { position: relative; z-index: 2; }
  .nav.is-open + .header__cta + .menu-btn, .header:has(.nav.is-open) .monogram { color: var(--ivory); }
  .nav { position: fixed; inset: 0; background: var(--noir); color: var(--ivory); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; text-align: center; gap: 1.6rem; }
  .nav a { font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0; text-transform: none; }
  .nav a sup { font-size: .8rem; }
}

/* Buttons */
.btn-line { display: inline-flex; align-items: center; gap: 1rem; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; padding: 1rem 0; border-bottom: 1px solid currentColor; background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; cursor: pointer; font-family: var(--sans); transition: gap .4s var(--ease), color .3s; }
.btn-line i { width: 34px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn-line i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-line:hover { gap: 1.6rem; }
.btn-line:hover i { width: 54px; }
.btn-line--gold { color: var(--champagne); }
.btn-text { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; transition: opacity .3s; }
.btn-text:hover { opacity: 1; }

/* Kicker / numbers */
.kicker { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); margin-bottom: 2rem; }
.sec-num { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 1.1rem; display: inline-block; margin-bottom: .8rem; }
.sec-num::before { content: "N° "; font-size: .7rem; letter-spacing: .1em; font-style: normal; vertical-align: .3em; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 720px; }
.sec-sub { color: var(--stone); font-size: 1.05rem; margin: 1.2rem 0 0; max-width: 540px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.sec-head--row .sec-sub { margin: 0; }
.drag-hint { display: inline-block; margin-left: 1rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }

/* Hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; width: min(100% - 3rem, var(--wrap)); margin-inline: auto; padding-top: 7rem; position: relative; }
.hero__text { padding-bottom: 3rem; }
.hero h1 { margin-bottom: 2rem; }
.hero h1 em { color: var(--stone); display: block; }
.hero__lede { max-width: 520px; font-size: 1.08rem; margin-bottom: 2.5rem; color: var(--ash); }
.hero__actions { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero__meta { display: flex; gap: 2.5rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); flex-wrap: wrap; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; clip-path: inset(0 0 0 0); }
.hero__media::before { content: ""; position: absolute; inset: -1.2rem 1.2rem 1.2rem -1.2rem; border: 1px solid var(--champagne); z-index: -1; }
.hero__media figcaption { position: absolute; left: -1.2rem; bottom: -1.2rem; transform: translateY(100%); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); padding-top: .8rem; }
.hero__orn { position: absolute; width: 60px; bottom: 3rem; left: 0; color: var(--champagne); opacity: .8; animation: slowspin 40s linear infinite; }
@keyframes slowspin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; min-height: auto; gap: 3rem; }
  .hero__media { margin-left: 1.2rem; margin-right: 1.2rem; }
  .hero__orn { display: none; }
}

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; margin-top: 4rem; }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.5rem; white-space: nowrap; }
.marquee__track i { color: var(--champagne); font-style: normal; font-size: .9rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Atelier */
.atelier__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.atelier__portrait { margin: 0; position: relative; }
.atelier__portrait img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(.85); }
.atelier__portrait::after { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 1px solid var(--champagne); z-index: -1; }
.atelier__portrait figcaption { margin-top: 2.5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); display: grid; gap: .2rem; }
.atelier__portrait strong { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0; text-transform: none; color: var(--noir); font-weight: 400; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.3; margin-bottom: 2rem; }
.atelier__copy p:not(.pull) { color: var(--ash); max-width: 600px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--noir); }
.facts dd { margin: .4rem 0 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 900px) { .atelier__grid { grid-template-columns: 1fr; gap: 3.5rem; } .atelier__portrait { max-width: 420px; } }

/* Services */
.services { background: var(--ivory-2); }
.services__list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 90px 1fr 300px 48px; gap: 2.5rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.service:hover { padding-left: 1rem; }
.service__num { font-family: var(--serif); font-size: 3rem; color: var(--champagne); line-height: 1; }
.service h3 { font-size: 2rem; margin-bottom: .8rem; }
.service p { color: var(--ash); max-width: 560px; margin-bottom: 1.2rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.service__tags li { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line); padding: .35rem .8rem; color: var(--stone); }
.service__img { margin: 0; overflow: hidden; aspect-ratio: 7/5; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.8); }
.service:hover .service__img img { transform: scale(1); filter: saturate(1); }
.service__icon { width: 48px; height: 48px; color: var(--champagne); transition: transform .8s var(--ease); }
.service:hover .service__icon { transform: rotate(90deg); }
@media (max-width: 1000px) { .service { grid-template-columns: 60px 1fr; } .service__img { grid-column: 2; max-width: 420px; } .service__icon { display: none; } }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; gap: 1.2rem; } .service__img { grid-column: 1; } }

/* Portfolio rail */
.rail { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 calc((100vw - min(100vw - 3rem, var(--wrap))) / 2) 2rem; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__item { flex: 0 0 min(72vw, 640px); margin: 0; scroll-snap-align: start; }
.rail__item--tall { flex-basis: min(60vw, 440px); }
.rail__item img { width: 100%; aspect-ratio: 11/8; object-fit: cover; filter: saturate(.85); transition: filter .6s; user-select: none; -webkit-user-drag: none; }
.rail__item--tall img { aspect-ratio: 3/4; }
.rail__item:hover img { filter: saturate(1); }
.rail__item figcaption { margin-top: 1rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); display: grid; gap: .2rem; }
.rail__item strong { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0; text-transform: none; color: var(--noir); font-weight: 400; }

/* Destinations */
.destinations { background: var(--ivory-2); }
.dest { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: start; }
.dest__list { border-top: 1px solid var(--line); }
.dest__list a { display: grid; grid-template-columns: 1fr; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); position: relative; }
.dest__list a::after { content: "→"; position: absolute; right: 0; top: 50%; transform: translate(-10px, -50%); opacity: 0; transition: all .5s var(--ease); font-family: var(--serif); font-size: 1.5rem; color: var(--champagne); }
.dest__list a:hover, .dest__list a.is-hot { padding-left: 1.2rem; }
.dest__list a:hover::after, .dest__list a.is-hot::after { opacity: 1; transform: translate(0, -50%); }
.dest__name { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.1; }
.dest__note { font-size: .9rem; color: var(--stone); margin-top: .2rem; }
.dest__preview { position: sticky; top: 7rem; aspect-ratio: 4/5; overflow: hidden; }
.dest__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease); }
.dest__preview.is-switching img { opacity: 0; transform: scale(1.04); }
@media (max-width: 900px) { .dest { grid-template-columns: 1fr; } .dest__preview { position: static; aspect-ratio: 16/10; order: -1; } }

/* Dark section */
.dark { background: var(--noir); color: var(--ivory); }
.dark .sec-head h2 { color: var(--ivory); }
.dark__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.timeline { position: relative; padding-left: 3.5rem; }
.timeline::before { content: ""; position: absolute; left: 1.2rem; top: 0; bottom: 0; width: 1px; background: var(--line-light); }
.timeline li { position: relative; padding-bottom: 2.6rem; }
.timeline li span { position: absolute; left: -3.5rem; top: 0; width: 2.4rem; height: 2.4rem; border: 1px solid var(--champagne); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--champagne); background: var(--noir); font-size: .9rem; }
.timeline h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.timeline p { color: rgba(244,239,230,.7); margin: 0; max-width: 460px; }
.word { margin: 0 0 2.5rem; padding-left: 1.5rem; border-left: 1px solid var(--champagne); }
.word p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); font-style: italic; line-height: 1.4; margin-bottom: .8rem; }
.word cite { font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
.press { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-light); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgba(244,239,230,.6); }
@media (max-width: 900px) { .dark__grid { grid-template-columns: 1fr; gap: 4rem; } }

/* Journal */
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.post img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: saturate(.85); transition: filter .6s, transform 1s var(--ease); }
.post a:hover img { filter: saturate(1); }
.post__meta { display: block; margin: 1.2rem 0 .5rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
.post h3 { font-size: 1.55rem; margin-bottom: .6rem; line-height: 1.2; }
.post h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.post h3 a:hover { background-size: 100% 1px; }
.post p { color: var(--stone); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .journal__grid { grid-template-columns: 1fr; max-width: 520px; } }

/* FAQ */
.faq { background: var(--ivory-2); }
.faq__grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 4rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--serif); font-size: 1.5rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--champagne); font-size: 1.6rem; transition: transform .4s var(--ease); font-family: var(--sans); font-weight: 300; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list p { color: var(--ash); padding-bottom: 1.5rem; max-width: 680px; margin: 0; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 1rem; } }

/* Enquire */
.enquire { background: var(--noir); color: var(--ivory); }
.enquire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.enquire h2 { color: var(--ivory); margin-bottom: 1.5rem; }
.enquire h2 em { color: var(--champagne); }
.enquire__copy p { color: rgba(244,239,230,.75); max-width: 460px; }
address { font-style: normal; display: grid; gap: .3rem; margin-top: 2.5rem; font-size: .85rem; color: rgba(244,239,230,.7); }
address a:hover { color: var(--champagne); }
.form { display: grid; gap: 1.6rem; }
.field { position: relative; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field input, .field textarea { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-light); color: var(--ivory); font-family: var(--sans); font-size: 1rem; padding: 1.4rem 0 .6rem; font-weight: 300; transition: border-color .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--champagne); }
.field label { position: absolute; left: 0; top: 1.3rem; font-size: .9rem; color: rgba(244,239,230,.5); pointer-events: none; transition: all .3s var(--ease); letter-spacing: .02em; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
.form__note { font-size: .85rem; color: var(--champagne-soft); min-height: 1.4em; margin: 0; }
@media (max-width: 900px) { .enquire__grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 560px) { .field__row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--noir); color: var(--ivory); padding: 2rem 0 2rem; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer__word { font-family: var(--serif); font-size: clamp(3.5rem, 12vw, 11rem); line-height: 1; letter-spacing: -.02em; color: rgba(244,239,230,.08); white-space: nowrap; margin-bottom: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; font-size: .85rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light); }
.footer__grid p { color: rgba(244,239,230,.6); max-width: 300px; }
.footer__grid li { margin-bottom: .5rem; }
.footer__grid a { color: rgba(244,239,230,.7); transition: color .3s; }
.footer__grid a:hover { color: var(--champagne); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,230,.45); flex-wrap: wrap; gap: .5rem; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__orn { animation: none; }
  html { scroll-behavior: auto; }
}
