/* ============================================================
   Evventio — Two-Column Home (page styles)
   Lifted from the Two-Column Home design prototype, with one
   added About band so the nav's "About" link has a destination.
   Tokens live in tokens.css and must not be duplicated here.
   ============================================================ */

:root {
  --col-gap: clamp(40px, 6vw, 64px);
  --section-gap: clamp(56px, 8vw, 96px);
}

body {
  background: var(--ev-cream);
  color: var(--ev-ink);
  margin: 0;
}

a { color: inherit; }

/* Smooth-scroll lands below the sticky nav. */
[id] { scroll-margin-top: 124px; }

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ev-cream);
  border-bottom: 1px solid transparent;
  transition: border-color 400ms var(--ease-soft);
}
.nav.is-scrolled { border-bottom-color: var(--ev-aubergine-15); }
.nav__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
}
.nav__menu {
  display: flex; align-items: center; gap: 36px;
}
.nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle-bar {
  display: block;
  width: 22px; height: 1px;
  background: var(--ev-aubergine);
  transition: transform 200ms var(--ease-soft), opacity 200ms var(--ease-soft);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--ev-aubergine);
  text-decoration: none;
}
.nav__brand img {
  display: block;
  height: 64px;
  width: auto;
}
.nav__links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--ev-font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ev-aubergine); text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-soft);
}
.nav__links a:hover { border-bottom-color: var(--ev-aubergine); }
.nav__cta {
  font-family: var(--ev-font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border: 1px solid var(--ev-aubergine);
  border-radius: 999px;
  color: var(--ev-aubergine);
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms var(--ease-soft), color 200ms var(--ease-soft);
}
.nav__cta:hover { background: var(--ev-aubergine); color: var(--ev-cream); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: 1320px; margin: 16px auto 0;
  padding: 0 48px;
}
.hero__media {
  position: relative; overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 2;
  transition: box-shadow 400ms var(--ease-soft);
}
.hero__media:hover { box-shadow: var(--shadow-lift); }
.hero__img,
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms var(--ease-soft);
}
.hero__media:hover .hero__img,
.hero__media:hover .hero__video { transform: scale(1.03); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(61,31,43,0.45) 0%, rgba(61,31,43,0) 70%),
    linear-gradient(180deg, rgba(61,31,43,0.18) 0%, rgba(61,31,43,0) 30%, rgba(61,31,43,0) 70%, rgba(61,31,43,0.35) 100%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 48px 24px;
  color: var(--ev-cream);
}
.hero__eyebrow {
  font-family: var(--ev-font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ev-cream);
  font-weight: 500;
  margin-bottom: 26px;
  opacity: 0.92;
  white-space: nowrap;
}
.hero__h1 {
  font-family: var(--ev-font-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(34px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ev-cream);
  margin: 0 0 22px;
  text-wrap: balance;
  max-width: 920px;
}
.hero__sub {
  font-family: var(--ev-font-body);
  font-size: 17px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 0 36px;
  text-shadow: 0 2px 18px rgba(26, 18, 19, 0.55);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__btn {
  font-family: var(--ev-font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: background 200ms var(--ease-soft), color 200ms var(--ease-soft), border-color 200ms var(--ease-soft);
}
.hero__btn--primary { background: var(--ev-cream); color: var(--ev-aubergine); }
.hero__btn--primary:hover { background: var(--ev-paper); }
.hero__btn--secondary {
  background: rgba(244,236,223,0.14);
  color: var(--ev-cream);
  border-color: rgba(244,236,223,0.5);
  backdrop-filter: blur(2px);
}
.hero__btn--secondary:hover { background: rgba(244,236,223,0.22); }

/* ─── Two-column container ────────────────────────────── */
.split {
  max-width: 1320px; margin: var(--section-gap) auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 var(--col-gap);
}
.split__rule {
  background: var(--ev-aubergine-15);
  align-self: stretch;
}
.col { min-width: 0; }
.col h2,
.about h2 {
  font-family: var(--ev-font-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ev-aubergine);
  text-align: center;
  margin: 0 0 28px;
}
.saffron-rule {
  width: 32px; height: 1px;
  background: var(--ev-saffron);
  margin: 0 auto 36px;
}

/* ─── Services grid ───────────────────────────────────── */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.service {
  background: var(--ev-paper);
  border: 1px solid var(--ev-aubergine-15);
  border-radius: 2px;
  padding: 28px 18px 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
  cursor: pointer;
  transition: background 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft), border-color 200ms var(--ease-soft);
  text-decoration: none;
  min-height: 180px;
}
.service:hover { box-shadow: var(--shadow-soft); }
.service--highlighted {
  background: var(--ev-blush);
  border-color: var(--ev-blush-deep);
}
.service__icon { width: 60px; height: 60px; color: var(--ev-aubergine); }
.service__icon svg { width: 100%; height: 100%; display: block; }
.service__name {
  font-family: var(--ev-font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ev-aubergine);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ─── Wedding mosaic ──────────────────────────────────── */
.mosaic {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: clamp(110px, 22vw, 160px);
  gap: 10px;
}
.mosaic__tile {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--ev-blush);
  transition: box-shadow 400ms var(--ease-soft);
}
.mosaic__tile:hover { box-shadow: var(--shadow-lift); }
.mosaic__tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms var(--ease-soft);
}
.mosaic__tile:hover img { transform: scale(1.03); }
.mosaic__tile--a { grid-column: 1; grid-row: span 2; }
.mosaic__tile--b { grid-column: 2; grid-row: span 3; }
.mosaic__tile--c { grid-column: 3; grid-row: span 1; }
.mosaic__tile--d { grid-column: 1; grid-row: span 2; }
.mosaic__tile--e { grid-column: 3; grid-row: span 2; }

/* ─── Testimonials ────────────────────────────────────── */
.testimonials { margin-top: 80px; }
.testimonials__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-bottom: 32px;
}
.testimonial {
  text-align: center;
  padding: 0 8px;
}
.testimonial__quote-mark {
  font-family: var(--ev-font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--ev-saffron);
  line-height: 1;
  margin-bottom: 14px;
}
.testimonial__body {
  font-family: var(--ev-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ev-aubergine-90);
  margin: 0 0 16px;
}
.testimonial__name {
  font-family: var(--ev-font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ev-aubergine);
}
.dots {
  display: flex; justify-content: center; gap: 0; margin-top: 28px;
}
/* The button is a 24×24 tap target; the visible 6px dot is a ::before
   pseudo-element. Keeps the WCAG 2.5.8 minimum target size without
   making the dots look heavy. */
.dots button {
  width: 24px; height: 24px;
  background: none;
  border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.dots button::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: var(--ev-aubergine-15);
  transition: inset 200ms var(--ease-soft), background 200ms var(--ease-soft);
}
.dots button.is-active::before {
  background: var(--ev-aubergine);
  inset: 9px 0;
}

/* ─── Portfolio grid ──────────────────────────────────── */
.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px 12px;
}
.pf {
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
}
.pf__media {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--ev-cream-dark);
  transition: box-shadow 400ms var(--ease-soft);
}
.pf:hover .pf__media { box-shadow: var(--shadow-lift); }
.pf__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms var(--ease-soft);
}
.pf:hover .pf__media img { transform: scale(1.03); }
.pf__label {
  font-family: var(--ev-font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ev-aubergine);
}
.pf--tall .pf__media { aspect-ratio: 3 / 4.4; }
.pf--med  .pf__media { aspect-ratio: 3 / 4; }
.pf--sq   .pf__media { aspect-ratio: 1 / 1; }
.pf--wide .pf__media { aspect-ratio: 4 / 3; }

/* ─── About band (full-width, sits between split and footer) ─ */
.about {
  max-width: 1320px;
  margin: var(--section-gap) auto 0;
  padding: 0 48px;
  text-align: center;
}
.about__inner {
  max-width: 720px;
  margin: 0 auto;
}
.about__eyebrow {
  font-family: var(--ev-font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ev-stone);
  margin-bottom: 18px;
  font-weight: 500;
}
.about p {
  font-family: var(--ev-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ev-aubergine-90);
  max-width: 640px;
  margin: 0 auto 16px;
}
.about p:last-child { margin-bottom: 0; }

/* ─── Form ─────────────────────────────────────────────── */
.form { margin-top: 80px; }
.form__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.field, .field--full { display: flex; flex-direction: column; }
.field--full { grid-column: span 2; }
.field input,
.field--full input,
.field--full select,
.field--full textarea {
  width: 100%;
  font-family: var(--ev-font-body);
  font-size: 14px;
  color: var(--ev-aubergine);
  background: var(--ev-paper);
  border: 1px solid var(--ev-aubergine-15);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color 200ms var(--ease-soft);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field--full textarea { resize: vertical; min-height: 130px; font-family: var(--ev-font-body); line-height: 1.55; }
.field--full select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5 L6 8 L9 5' fill='none' stroke='%233D1F2B' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 12px;
  padding-right: 36px;
}
.field input::placeholder,
.field--full input::placeholder,
.field--full textarea::placeholder { color: var(--ev-stone); }
.field input:focus,
.field--full input:focus,
.field--full select:focus,
.field--full textarea:focus { border-color: var(--ev-aubergine); }
.form__submit {
  width: 100%;
  margin-top: 14px;
  font-family: var(--ev-font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 24px;
  border: 1px solid var(--ev-aubergine);
  background: transparent;
  color: var(--ev-aubergine);
  border-radius: 2px;
  cursor: pointer;
  transition: background 200ms var(--ease-soft), color 200ms var(--ease-soft);
}
.form__submit:hover { background: var(--ev-aubergine); color: var(--ev-cream); }
.form__submit:disabled { cursor: default; opacity: 0.85; }

/* ─── Footer ──────────────────────────────────────────── */
footer {
  margin-top: var(--section-gap);
  background: var(--ev-aubergine);
  color: var(--ev-cream);
  padding: 56px 48px 32px;
}
.foot__inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
  flex-wrap: wrap;
}
.foot__logo {
  display: block;
  height: 130px;
  width: auto;
}
.foot__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot__col-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ev-saffron); font-weight: 500; margin-bottom: 12px;
}
.foot__col a, .foot__col span { display: block; font-size: 13px; color: rgba(244,236,223,0.85); text-decoration: none; margin-bottom: 8px; }
.foot__col a:hover { color: var(--ev-cream); }
.foot__bottom {
  max-width: 1320px; margin: 48px auto 0;
  border-top: 1px solid rgba(244,236,223,0.15);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: 0.06em; color: rgba(244,236,223,0.55);
}
.foot__script {
  font-family: var(--ev-font-script); font-size: 32px;
  color: var(--ev-saffron); line-height: 1;
}

/* ─── Responsive ──────────────────────────────────────────
   Order matters: write max-width queries from largest to
   smallest so narrower rules override broader ones in cascade. */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split__rule { display: none; }
  .col + .col { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--ev-aubergine-15); }
  .nav__inner { padding: 18px 24px; }
  .hero { padding: 0 16px; }
  .split { padding: 0 24px; }
  .about { padding: 0 24px; }
}
@media (max-width: 768px) {
  /* Logo scales down for tablet/mobile */
  .nav__brand img { height: 52px; }
  .foot__logo { height: 110px; }
  /* Mobile nav drawer */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ev-cream);
    border-bottom: 1px solid var(--ev-aubergine-15);
    padding: 20px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    display: none;
    box-shadow: 0 8px 24px rgba(61, 31, 43, 0.05);
  }
  .nav__menu[data-open="true"] { display: flex; }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nav__links a { font-size: 15px; padding-bottom: 4px; }
  .nav__cta { align-self: flex-start; }

  /* Tap-target bumps (~44px combined height) */
  .hero__btn { padding: 16px 26px; }
  .field input,
  .field--full input,
  .field--full select,
  .field--full textarea { padding: 16px; }
  .form__submit { padding: 18px 24px; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .testimonials__row { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }
  .nav__inner { gap: 16px; }
  .foot__inner { flex-direction: column; gap: 32px; }
  .foot__cols { gap: 32px; }
}
@media (max-width: 480px) {
  /* Tight gutters for small phones */
  .nav__inner { padding: 16px 16px; }
  .hero { padding: 0 12px; }
  .split { padding: 0 16px; }
  .about { padding: 0 16px; }
  footer { padding: 40px 20px 24px; }

  /* Logo shrinks further so it sits beside the toggle on 320px */
  .nav__brand img { height: 44px; }
  .foot__logo { height: 92px; }

  /* Hero content padding tightens so buttons aren't clipped */
  .hero__content { padding: 28px 16px; }
  .hero__eyebrow {
    white-space: normal;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
  }
  .hero__sub { font-size: 16px; margin-bottom: 28px; }

  /* Service tiles compact */
  .service { padding: 22px 14px 20px; min-height: 150px; gap: 12px; }
  .service__icon { width: 52px; height: 52px; }
  .service__name { font-size: 13px; }

  /* Footer tightening */
  .foot__cols { gap: 28px; }
  .foot__col-label { margin-bottom: 8px; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }

  /* About paragraph type sized down a touch */
  .about p { font-size: 16px; }

  /* Mosaic rows even shorter on tiny screens */
  .mosaic { grid-auto-rows: clamp(100px, 28vw, 140px); }
}

/* ─── Reduced-motion preference ─────────────────────────
   Honor users who've opted out of animation. The JS smooth-
   scroll handler reads the same media query and switches to
   instant scroll. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .hero__media:hover .hero__img,
  .hero__media:hover .hero__video,
  .mosaic__tile:hover img,
  .pf:hover .pf__media img { transform: none; }
}
