/* Willow & Veil Photography — warm editorial palette drawn from golden light, timber, blush florals and garden greens */

:root {
  --paper: #f6f1e9;
  --paper-deep: #ede5d8;
  --ink: #2b2620;
  --ink-soft: #5d554b;
  --forest: #3e4634;
  --forest-deep: #2a3024;
  --blush: #d8aa9c;
  --gold: #b48a45;
  --line: rgba(43, 38, 32, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}

p {
  margin: 0 0 1.1em;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0px 40px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: #f3ebdf;
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blush);
}

.btn--ghost-light {
  border-color: rgba(246, 241, 233, 0.6);
  color: var(--paper);
}

.btn--ghost-light:hover {
  background: rgba(246, 241, 233, 0.14);
  border-color: var(--paper);
}

.btn--dark {
  background: var(--forest);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--forest-deep);
}

.btn--outline {
  border-color: var(--forest);
  color: var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--paper);
}

.text-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s ease;
}

.text-link:hover {
  color: var(--gold);
}

/* Navigation */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 24px 0px;
  color: var(--paper);
  transition: background-color 0.35s ease, padding 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-nav.is-scrolled {
  background: rgba(246, 241, 233, 0.96);
  color: var(--ink);
  padding: 16px 0px;
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

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

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid currentColor;
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.brand-sub {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 22px;
  border: 1px solid currentColor;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

.site-nav.is-scrolled .nav-cta:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

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

.nav-toggle-bar {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s ease;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  padding: 120px 0px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  animation: heroZoom 14s ease-out both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(30, 26, 20, 0.45) 0%, rgba(30, 26, 20, 0) 28%),
    linear-gradient(90deg, rgba(30, 26, 20, 0.62) 0%, rgba(30, 26, 20, 0.2) 55%, rgba(30, 26, 20, 0) 80%),
    linear-gradient(0deg, rgba(30, 26, 20, 0.5) 0%, rgba(30, 26, 20, 0) 45%);
}

.hero-content {
  position: relative;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  max-width: 12ch;
  margin-bottom: 26px;
  animation: rise 1.1s 0.2s ease-out both;
}

.hero h1 em {
  color: #f0d9b8;
}

.hero .eyebrow {
  animation: rise 1s ease-out both;
}

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  opacity: 0.92;
  margin-bottom: 36px;
  animation: rise 1.1s 0.35s ease-out both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise 1.1s 0.5s ease-out both;
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: currentColor;
  animation: drip 2.4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Story */

.story {
  padding: 120px 0px;
}

.story-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: center;
}

.story-figure {
  margin: 0;
  position: relative;
}

.story-figure::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
}

.story-figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

.story-figure figcaption {
  position: relative;
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.story-copy h2 {
  margin-bottom: 32px;
}

.story-copy p {
  color: var(--ink-soft);
  max-width: 54ch;
}

.story-tags {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-tags li {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line);
  color: var(--forest);
}

/* Section heads */

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

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

.section-intro {
  max-width: 40ch;
  color: var(--ink-soft);
  margin: 0;
}

/* Approach */

.approach {
  padding: 120px 0px;
  background: var(--paper-deep);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar-media {
  overflow: hidden;
  margin-bottom: 28px;
}

.pillar-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.pillar:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
}

.pillar h3 {
  font-size: 2rem;
  margin: 6px 0 14px;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* The Day */

.day {
  padding: 120px 0px;
}

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.chapter {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}

.chapter--flip .chapter-media {
  order: 2;
}

.chapter-media {
  margin: 0;
  overflow: hidden;
}

.chapter-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.chapter-copy {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.chapter-num {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blush);
  margin-bottom: 12px;
}

.chapter h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 18px;
}

.chapter p {
  color: var(--ink-soft);
  max-width: 44ch;
}

/* Quote band */

.quote-band {
  position: relative;
  padding: 120px 0px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--paper);
  text-align: center;
}

.quote-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(42, 48, 36, 0.7);
}

.quote {
  position: relative;
  max-width: 900px;
  margin: 0;
  padding: 0 40px;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.22;
  margin-bottom: 28px;
}

.quote cite {
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Gallery */

.gallery {
  padding: 120px 0px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--paper-deep);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(30, 26, 20, 0.55) 0%, rgba(30, 26, 20, 0) 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after,
.gallery-item:hover .gallery-label,
.gallery-item:focus-visible .gallery-label {
  opacity: 1;
  transform: none;
}

/* Enquire */

.enquire {
  padding: 120px 0px;
  background: var(--paper-deep);
  text-align: center;
}

.enquire-inner {
  max-width: 760px;
}

.enquire-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  border: 1px solid var(--gold);
  padding: 4px;
}

.enquire .eyebrow {
  justify-content: center;
}

.enquire .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.enquire h2 {
  margin-bottom: 24px;
}

.enquire-copy {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 40px;
}

.enquire-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Footer */

.site-footer {
  background: var(--forest-deep);
  color: #e6dfd2;
  padding: 80px 0px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(230, 223, 210, 0.18);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.footer-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: #f0d9b8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.84rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  color: inherit;
  text-decoration: none;
}

.footer-credit:hover {
  text-decoration: underline;
}

/* Reveal on scroll (only when JS is available) */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1024px) {
  .story-grid {
    gap: 64px;
  }

  .chapter {
    gap: 48px;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 24px 40px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 12px 24px rgba(43, 38, 32, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-cta:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--paper);
  }

  .story-grid,
  .chapter {
    grid-template-columns: 1fr;
  }

  .story-figure {
    max-width: 480px;
  }

  .chapter--flip .chapter-media {
    order: 0;
  }

  .chapters {
    gap: 64px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pillar-media img {
    aspect-ratio: 3 / 2;
  }

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

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container,
  .nav-inner,
  .hero-content,
  .quote {
    padding-left: 24px;
    padding-right: 24px;
  }

  .story,
  .approach,
  .day,
  .gallery,
  .enquire {
    padding: 80px 0px;
  }

  .hero {
    padding: 96px 0px;
  }

  .quote-band {
    padding: 96px 0px;
    min-height: 0;
  }

  .story-figure::before {
    inset: 16px -16px -16px 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
  }

  .gallery-label {
    opacity: 1;
    transform: none;
    font-size: 1.05rem;
    left: 12px;
    bottom: 10px;
  }

  .gallery-item::after {
    opacity: 1;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
