/* Ashleigh & Erik — gallery wall */

@font-face { font-family: "AE Logo"; src: url("../assets/fonts/emilyaustin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "AE Berkeley"; src: url("../assets/fonts/berkeley-oldstyle-book.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "AE Ashbury"; src: url("../assets/fonts/ashbury-light.woff") format("woff"); font-display: swap; }

:root {
  --wall: #F7F5F1;
  --ink: #2B2725;
  --muted: #615A54;
  --line: #DDD6CD;
  --blush: #EBD9D3;
  --gap: 4px;
  --pad: clamp(12px, 2.2vw, 32px);
  --caps: "AE Berkeley", Georgia, serif;
  --body: "AE Ashbury", "Iowan Old Style", Georgia, serif;
  --logo: "AE Logo", "Snell Roundhand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity 0.25s ease; }
a:hover { opacity: 0.6; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--wall); padding: 12px 18px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.page { max-width: 1600px; margin: 0 auto; padding: 0 var(--pad); overflow-x: clip; }

.caps {
  font-family: var(--caps);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); }

/* Masthead */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 4px 32px; padding: 22px 0 18px; }
.wordmark { font-family: var(--logo); font-size: 34px; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.nav a { display: flex; align-items: center; min-height: 44px; font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; }
.menu-btn { display: none; min-width: 64px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; cursor: pointer; }

/* Hero: two taped prints */
.hero { position: relative; width: 100%; aspect-ratio: 1.9; min-height: 520px; }
.print { position: absolute; background: #fff; padding: 0.85vw; box-shadow: 0 1px 2px rgba(60,45,35,0.10), 0 16px 38px rgba(60,45,35,0.11); }
.print--a { left: 17%; top: 2%; width: 34%; }
.print--b { left: 49.6%; top: 10%; width: 28.5%; }
.slides { position: relative; width: 100%; aspect-ratio: 0.736; overflow: hidden; background: #EFE9E3; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease; }
.slides img.is-on { opacity: 1; }
.tape { position: absolute; width: 19%; pointer-events: none; }
.tape--a1 { left: -8%; top: -3.6%; transform: rotate(-27deg); }
.tape--a2 { left: -8.5%; bottom: -3.2%; transform: rotate(63deg); }
.tape--a3 { display: none; }
.tape--b1 { left: 39%; top: -5.4%; width: 22%; transform: rotate(24deg); }
.tape--b2 { right: -9%; bottom: -3.4%; width: 22%; transform: rotate(-9deg) scaleX(-1); }

.caption { padding: clamp(20px, 2.6vw, 36px) 12px clamp(40px, 5vw, 72px); text-align: center; color: var(--muted); line-height: 2.2; }

/* Welcome band */
.welcome { display: flex; gap: var(--gap); }
.welcome__img { flex: 0.736 1 0; min-width: 0; aspect-ratio: 0.736; object-fit: cover; }
.welcome__panel { flex: 1.2 1 0; min-width: 0; background: var(--blush); padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.welcome__title { font-weight: 400; font-size: 15px; letter-spacing: 0.44em; }
.welcome__panel p { max-width: 400px; text-align: justify; text-align-last: center; hyphens: auto; }

.press { max-width: 900px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 16px; line-height: 2.5; letter-spacing: 0.3em; text-align: center; color: var(--muted); }

.where { max-width: 640px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) 20px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.where__title { font-weight: 400; color: var(--muted); }
.where + .press { padding-top: clamp(28px, 3.4vw, 44px); }

/* Photo wall */
.wall { display: flex; flex-direction: column; gap: var(--gap); }
.wall__row { display: flex; gap: var(--gap); }
.wall__row img { flex: 1 1 0; min-width: 0; aspect-ratio: 0.736; object-fit: cover; }
.wall__row--mixed .w-gown { flex: 0.736 1 0; }
.wall__row--mixed .w-petals { flex: 1.359 1 0; aspect-ratio: 1.359; }
.wall__row .w-vineyard { aspect-ratio: 16 / 7; min-height: 240px; object-position: center 72%; }

.wall__more { display: flex; justify-content: center; padding-top: clamp(24px, 3vw, 40px); }

/* Journal */
.journal { padding: clamp(48px, 6vw, 88px) 12px clamp(40px, 5vw, 72px); }
.journal__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); font-weight: 400; }
.journal__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; text-align: center; }
.journal__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.journal__title { font-family: var(--caps); font-size: 22px; line-height: 1.3; letter-spacing: 0.01em; }
.journal__tag { font-size: 10px; line-height: 1.9; color: var(--muted); }

/* Inquire */
.inquire { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 100px) 12px clamp(48px, 6vw, 88px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.inquire__title { font-family: var(--caps); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.15; letter-spacing: 0; }
.inquire__sub { color: var(--muted); padding: 10px 0 36px; }
.form { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: 26px; text-align: left; }
.form__hp { position: absolute; left: -9999px; }
.form__row { display: flex; gap: 28px; }
.form__row .field { flex: 1 1 0; min-width: 0; }
.field { display: flex; flex-direction: column; }
.field__label { font-family: var(--caps); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #8A827B; border-radius: 0; background: transparent; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; letter-spacing: 0.03em; padding: 8px 0 10px; min-height: 44px; }
.field textarea { resize: vertical; }
.field input::placeholder { color: #8A827B; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.btn { align-self: center; min-height: 52px; padding: 0 44px; margin-top: 10px; border: 0; border-radius: 0; background: var(--ink); color: var(--wall); font-family: var(--caps); font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase; cursor: pointer; transition: opacity 0.25s ease; }
.btn:hover { opacity: 0.8; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 12px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer__mark { font-family: var(--logo); font-size: clamp(40px, 4.4vw, 60px); line-height: 1.3; letter-spacing: 0; }
.footer__legal { margin-top: 20px; font-size: 10px; letter-spacing: 0.32em; line-height: 2; color: var(--muted); }

/* Inner pages: shared */
.nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--ink); }
.page-head { padding: clamp(36px, 5vw, 72px) 12px clamp(40px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.page-head__title { font-family: var(--caps); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.1; letter-spacing: 0; }
.page-head__sub { color: var(--muted); letter-spacing: 0.36em; }
.cta { margin-top: clamp(56px, 7vw, 100px); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 12px clamp(48px, 6vw, 80px); text-align: center; }
.cta__sub { color: var(--muted); }

/* Portfolio */
.galleries { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.gallery__imgs { display: flex; gap: var(--gap); }
.gallery__imgs img { flex: 1 1 0; min-width: 0; aspect-ratio: 0.736; object-fit: cover; }
.gallery__imgs--wide img { aspect-ratio: 16 / 7; min-height: 240px; object-position: center 72%; }
.gallery__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 18px 4px 0; }
.gallery__no, .gallery__credit, .gallery__place { color: var(--muted); letter-spacing: 0.32em; }
.gallery__credit { margin-left: auto; }
.gallery__name { font-family: var(--caps); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: 0.01em; }
.gallery--split { display: flex; gap: var(--gap); }
.gallery--split > img { flex: 0.736 1 0; min-width: 0; aspect-ratio: 0.736; object-fit: cover; }
.gallery__panel { flex: 1.472 1 0; min-width: 0; background: var(--blush); padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.gallery__name--lg { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; }

/* The Artists */
.about { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) clamp(12px, 3vw, 40px) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 0.82fr 1fr; align-items: center; gap: clamp(40px, 8vw, 120px); }
.about__figure { margin: 0; }
.print--solo { position: relative; left: auto; top: auto; width: 100%; }
.tape--s2 { right: -9%; bottom: -3.2%; transform: rotate(-9deg) scaleX(-1); }
.about__caption { padding-top: 22px; text-align: center; color: var(--muted); }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about__eyebrow { color: var(--muted); }
.about__title { font-family: var(--caps); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; letter-spacing: 0; }
.about__text p { max-width: 480px; }

/* Thank-you page */
.thanks { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 24px; text-align: center; }
.thanks p { max-width: 420px; }

/* Phone and small tablet */
@media (max-width: 760px) {
  .page { padding: 0; }
  .masthead { flex-wrap: wrap; padding: 10px 14px 6px 22px; }
  .wordmark { font-size: 30px; line-height: 1.4; }
  .menu-btn { display: block; }
  .nav { display: none; flex: 1 0 100%; flex-direction: column; gap: 0; margin: 6px -14px 0 -22px; padding: 8px 0 20px; background: var(--blush); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 48px; font-size: 11.5px; letter-spacing: 0.34em; }

  .hero { aspect-ratio: auto; min-height: 0; padding: 26px 0 0; }
  .print { position: relative; padding: 10px; }
  .print--a { left: auto; top: auto; width: 82.5%; margin: 0 auto; }
  .print--b { display: none; }
  .tape { width: 23%; }
  .tape--a1 { left: -9.5%; top: -5%; }
  .tape--a2 { left: auto; right: -9%; bottom: -4.6%; transform: rotate(-9deg) scaleX(-1); }
  .tape--a3 { display: block; left: 59%; top: -7%; width: 21%; transform: rotate(24deg); }

  .caption { padding: 34px 12px 44px; font-size: 10px; letter-spacing: 0.2em; }
  .caption__dot { display: none; }
  .caption__est, .caption__place { display: block; }

  .welcome { flex-direction: column; gap: 3px; }
  .welcome__img { flex: none; width: 100%; }
  .welcome__panel { flex: none; padding: 48px 34px 44px; gap: 20px; }
  .welcome__title { font-size: 14px; }
  .welcome__panel p { text-align: center; hyphens: manual; }

  .press { padding: 48px 30px; font-size: 10px; letter-spacing: 0.28em; }
  .press__dash { display: block; height: 0; overflow: hidden; }

  .wall { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .wall__row { display: contents; }
  .wall__row img, .wall__row--mixed .w-gown, .wall__row--mixed .w-petals { flex: none; width: 100%; }
  .w-gown { order: 1; grid-column: span 2; }
  .w-dahlia { order: 2; }
  .w-lace { order: 3; }
  .w-petals { order: 4; grid-column: span 2; }
  .w-rings { order: 5; }
  .w-suite { order: 6; }
  .wall__row .w-vineyard { order: 7; grid-column: span 2; aspect-ratio: 16 / 10; min-height: 0; }
  .w-light { order: 8; }
  .w-table { order: 9; }
  .wall__more { order: 10; grid-column: span 2; padding-top: 30px; }

  .journal { padding: 44px 26px 36px; }
  .journal__label { position: static; width: auto; height: auto; clip-path: none; display: block; text-align: center; color: var(--muted); font-size: 10px; margin-bottom: 14px; }
  .journal__list { display: block; border-bottom: 1px solid var(--line); }
  .journal__list li { gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); }
  .journal__title { font-size: 21px; line-height: 1.35; }

  .inquire { padding: 52px 26px 56px; }
  .form__row { flex-direction: column; gap: 26px; }
  .btn { align-self: stretch; }

  .nav a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-underline-offset: 6px; }
  .page-head { padding: 36px 24px 40px; }
  .cta { padding: 0 24px 52px; }

  .gallery__imgs { flex-wrap: wrap; gap: 3px; }
  .gallery__imgs img { flex: 1 1 40%; }
  .gallery__imgs img:first-child { flex: 1 0 100%; }
  .gallery__imgs--wide img { aspect-ratio: 16 / 10; min-height: 0; }
  .gallery__cap { padding: 16px 22px 0; }
  .gallery__credit { margin-left: 0; flex: 1 0 100%; }
  .gallery--split { flex-direction: column; gap: 3px; }
  .gallery--split > img { flex: none; width: 100%; }
  .gallery__panel { flex: none; padding: 44px 30px; }

  .about { grid-template-columns: 1fr; gap: 40px; padding: 30px 0 12px; }
  .print--solo { width: 82.5%; margin: 0 auto; }
  .tape--s2 { right: -9%; bottom: -4.6%; }
  .about__text { padding: 0 30px; align-items: center; text-align: center; }

  .footer { padding: 44px 24px 36px; }
  .footer__mark { font-size: 44px; }
  .footer__bar { display: block; height: 0; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img { transition: none; }
}
