/* Willow & Veil Photography — clean, minimal wedding photography site */

:root {
  --paper: #faf8f4;
  --linen: #f1ece5;
  --ink: #2a2622;
  --ink-soft: #5f5750;
  --muted: #8b8279;
  --line: #e2dbd1;
  --blush: #c49a88;
  --sage: #87917d;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

figure {
  margin: 0;
}

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

/* ---------- Shared type ---------- */

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lead {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--ink);
}

.button {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.link-arrow::after {
  content: "→";
  letter-spacing: 0;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  border-color: var(--ink);
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 48px;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-nav.is-scrolled {
  border-color: var(--line);
}

.site-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand__name em {
  font-weight: 400;
  color: var(--blush);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-menu a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--ink);
}

.site-menu .site-menu__cta {
  padding: 10px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.site-menu .site-menu__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 80px 48px 96px;
}

.hero__intro {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
}

.hero__intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.hero__title em {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 12px;
}

.hero__media {
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 40%;
}

.hero__pillars {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.hero__pillars li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__pillars li::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--blush);
}

/* ---------- Approach ---------- */

.approach {
  padding: 120px 48px;
  background: var(--linen);
}

.approach__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 64px;
  align-items: start;
}

.approach__image img {
  width: 100%;
  object-fit: cover;
}

.approach__image--tall img {
  aspect-ratio: 4 / 5;
}

.approach__image--small {
  align-self: end;
}

.approach__image--small img {
  aspect-ratio: 3 / 4;
  object-position: 45% center;
}

.approach__text {
  padding-top: 32px;
}

.approach__text .lead {
  margin: 32px 0 20px;
}

.approach__text p {
  color: var(--ink-soft);
}

.approach__list {
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.approach__list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.approach__list dt {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.approach__list dd {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- The day ---------- */

.day {
  padding: 120px 48px;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 64px;
}

.section-head .section-title {
  max-width: 14em;
}

.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.chapters {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.chapter:nth-child(even) {
  margin-top: 64px;
}

.chapter__media {
  overflow: hidden;
}

.chapter__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.chapter:hover .chapter__media img {
  transform: scale(1.03);
}

.chapter__body {
  padding-top: 24px;
}

.chapter__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--blush);
}

.chapter h3 {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.chapter p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Statement ---------- */

.statement {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 96px 48px;
  overflow: hidden;
}

.statement__media {
  position: absolute;
  inset: 0;
}

.statement__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 38, 34, 0) 35%, rgba(42, 38, 34, 0.55) 100%);
  pointer-events: none;
}

.statement__quote {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.statement__quote p {
  max-width: 18em;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  color: #fff;
}

/* ---------- Portfolio ---------- */

.portfolio {
  padding: 120px 48px;
}

.gallery {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--linen);
  text-decoration: none;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  background: rgba(250, 248, 244, 0.92);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption {
  opacity: 1;
  transform: none;
}

/* ---------- Enquire ---------- */

.enquire {
  padding: 120px 48px;
  background: var(--linen);
  text-align: center;
}

.enquire__inner {
  max-width: 640px;
  margin: 0 auto;
}

.enquire__mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  padding: 4px;
  background: var(--paper);
}

.enquire__text {
  margin: 24px auto 40px;
  color: var(--ink-soft);
}

.enquire__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 48px 32px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer__top,
.site-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}

.brand--footer .brand__name {
  color: var(--ink);
}

.site-footer__tagline {
  margin: 0;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  gap: 28px;
}

.site-footer__links a,
.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__bottom a:hover {
  color: var(--ink);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__credit {
  color: inherit;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .approach__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .approach__image--small {
    display: none;
  }

  .chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-menu.is-open {
    display: flex;
  }

  .hero {
    padding: 48px 24px 64px;
  }

  .hero__intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .hero__media img {
    aspect-ratio: 4 / 5;
    object-position: 40% center;
  }

  .hero__pillars {
    flex-direction: column;
    gap: 8px;
  }

  .approach,
  .day,
  .portfolio,
  .enquire {
    padding: 80px 24px;
  }

  .approach__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .approach__text {
    padding-top: 0;
  }

  .chapter:nth-child(even) {
    margin-top: 0;
  }

  .statement {
    min-height: 70vh;
    padding: 64px 24px;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery__caption {
    opacity: 1;
    transform: none;
  }

  .site-footer {
    padding: 48px 24px 24px;
  }

  .site-footer__links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .chapters {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery__item--wide {
    grid-column: auto;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .brand__name {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
