/* ============================================================
   FRINGE + FOIL — STYLESHEET
   ============================================================ */

:root {
  --cream:       #faf8f5;
  --cream-mid:   #f0ebe1;
  --cream-dark:  #e8e0d4;
  --slate:       #577180;
  --slate-dark:  #3e5562;
  --peach:       #EC9990;
  --peach-light: #f5c0ba;
  --forest:      #3b5448;
  --forest-dark: #2c3f37;
  --dark:        #2D4552;
  --dark-mid:    #3d5566;
  --mid:         #888;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', -apple-system, sans-serif;

  --nav-h: 76px;
  --max-w: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── Shared Typography ───────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1.75rem;
}
.section-heading em {
  font-style: italic;
  color: var(--peach);
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn--slate  { background: var(--slate);  color: #fff; }
.btn--slate:hover  { background: var(--slate-dark); box-shadow: 0 8px 24px rgba(87,113,128,.3); }

.btn--ghost  { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn--ghost:hover  { background: var(--dark); color: var(--cream); }

.btn--cream  { background: var(--cream); color: var(--forest); }
.btn--cream:hover  { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.btn--peach  { background: var(--peach); color: #fff; align-self: flex-start; }
.btn--peach:hover  { background: #e0857b; box-shadow: 0 8px 24px rgba(236,153,144,.4); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--slate); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__book {
  background: var(--peach);
  color: #fff !important;
  padding: 0.55rem 1.35rem;
}
.nav__book::after { display: none !important; }
.nav__book:hover { background: #e0857b !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

/* Subtle noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__text { max-width: 520px; }

.hero .eyebrow { color: var(--slate); }

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--slate);
  margin-bottom: 2rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--peach);
  display: block;
}
.hero__sub {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 400px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Arch photo */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.hero__arch {
  width: 88%;
  aspect-ratio: 3/4;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
}
.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 8s ease;
}
.hero__arch:hover img { transform: scale(1.03); }

.hero__float-plus {
  position: absolute;
  top: 6%;
  right: -2%;
  font-family: var(--font-serif);
  font-size: 9rem;
  font-weight: 300;
  color: var(--peach);
  opacity: 0.18;
  pointer-events: none;
  animation: floatY 7s ease-in-out infinite;
}
.hero__float-circle {
  position: absolute;
  bottom: 8%;
  left: -4%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--peach);
  opacity: 0.2;
  animation: floatY 9s ease-in-out infinite reverse;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}
.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.hero__scroll-bar {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--peach), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 9rem var(--gutter);
  background: var(--cream);
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.about__badge {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(236,153,144,.4);
}
.about__badge-text {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.about__badge-year {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.about__text {
  padding-left: 2rem;
  border-left: 2px solid rgba(236,153,144,.4);
}
.about__text p {
  color: var(--dark-mid);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(236,153,144,.35);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: rgba(245,239,230,0.5);
  border: 1px solid rgba(236,153,144,.2);
  border-top: 3px solid var(--peach);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(87,113,128,0.1);
  border-top-color: var(--slate);
}
.pillar__icon {
  font-size: 1.6rem;
  color: var(--peach);
  line-height: 1;
  transition: color 0.3s ease;
}
.pillar:hover .pillar__icon {
  color: var(--slate);
}
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
}
.pillar p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0 !important;
}


/* ============================================================
   VIDEO REEL
   ============================================================ */
.video-reel {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}
.video-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-reel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 69, 82, 0.25) 0%,
    rgba(45, 69, 82, 0.5) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 4rem var(--gutter);
}
.video-reel__tagline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.video-reel__tagline.revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 6rem var(--gutter);
  background: #f5ebe6;
}
.gallery__header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
}
.gallery__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}
.gallery__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
}
.gallery__item {
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.gallery__item--tall { min-height: 580px; }
.gallery__right > .gallery__item { min-height: 260px; }
.gallery__bottom .gallery__item { min-height: 200px; }

.gallery__item img {
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}


/* ============================================================
   RESIDENCY
   ============================================================ */
.residency {
  background: var(--forest);
  padding: 9rem var(--gutter);
  color: var(--cream);
}
.residency__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.residency .eyebrow { color: var(--peach-light); }
.residency .section-heading { color: var(--cream); }
.residency .section-heading em { color: var(--peach-light); }
.residency__text p {
  color: rgba(250,248,245,.72);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.residency__perks {
  list-style: none;
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.residency__perks li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(250,248,245,.88);
}
.residency__perks li span {
  color: var(--peach-light);
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}
.residency__media {
  display: flex;
  justify-content: center;
}
.residency__arch {
  width: 84%;
  aspect-ratio: 3/4;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
}
.residency__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   LOCATION
   ============================================================ */
.location {
  padding: 9rem var(--gutter);
  background: var(--cream);
}
.location__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}
.location__address {
  font-size: 1.2rem;
  color: var(--dark-mid);
  line-height: 1.9;
  margin-bottom: 2rem;
}
.location__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}
.location__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
.location__row a {
  color: var(--slate);
  transition: color 0.2s;
}
.location__row a:hover { color: var(--peach); }
.location__row span { color: var(--dark-mid); font-size: 0.95rem; }

.location__map {
  height: 460px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 9rem var(--gutter);
  background: var(--slate);
  color: var(--cream);
}
.contact__inner {
  max-width: 760px;
  margin: 0 auto;
}
.contact .eyebrow { color: var(--peach-light); }
.contact .section-heading { color: var(--cream); }
.contact .section-heading em { color: var(--peach-light); }
.contact__header p {
  color: rgba(250,248,245,.72);
  margin-bottom: 3rem;
  line-height: 1.85;
}
.contact__header a {
  color: var(--peach-light);
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}
.contact__header a:hover { opacity: 0.7; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,248,245,.55);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: 0.9rem 1.1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  border-radius: 2px;
  outline: none;
  width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(250,248,245,.28);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--peach);
  background: rgba(255,255,255,.11);
}
.form-group textarea { resize: vertical; min-height: 130px; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 3.5rem var(--gutter);
  border-top: 3px solid var(--peach);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 2rem;
}
.footer__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.25s;
}
.footer__logo:hover img { opacity: 0.7; }
.footer__info {
  text-align: center;
  color: rgba(255,255,255,.38);
  font-size: 0.82rem;
  line-height: 2;
}
.footer__info a {
  color: rgba(255,255,255,.5);
  transition: color 0.2s;
}
.footer__info a:hover { color: var(--peach); }
.footer__tagline {
  text-align: right;
  color: rgba(255,255,255,.4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}
.footer__social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer__social a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__social a:hover { color: var(--peach); }
.footer__review {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.footer__review:hover { color: var(--peach); }
.footer__copy {
  text-align: right;
  color: rgba(255,255,255,.25);
  font-size: 0.72rem;
}
.review-nudge {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--mid);
  text-align: center;
}
.review-nudge a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.review-nudge a:hover { color: var(--peach); }
.review-nudge a:visited { color: var(--peach); }


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner,
  .about__inner,
  .residency__inner,
  .location__inner {
    grid-template-columns: 1fr;
  }
  .hero__inner { gap: 3rem; }
  .about__inner { gap: 4rem; }
  .residency__inner { gap: 4rem; }
  .location__inner { gap: 3rem; }

  .hero__visual { display: none; }

  .hero__headline { font-size: clamp(3.5rem, 12vw, 6rem); }

  .about__badge { right: 0; }
  .about__pillars { grid-template-columns: 1fr; gap: 1.5rem; }

  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--tall { min-height: 360px; }
  .gallery__bottom { grid-template-columns: 1fr 1fr; }

  .residency__arch { width: 70%; }

  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__logo img { margin: 0 auto; }
  .footer__copy { text-align: center; }

  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.1rem; }
  .nav__book {
    padding: 0.7rem 2rem !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .gallery__bottom { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}
