/* Captured Photography — Cheyenne Fernett
   Faithful static rebuild of the original Wix site.
   Fonts: Snell Roundhand + Feonie are served locally from /fonts;
   Playfair Display, Cormorant Garamond and EB Garamond come from Google Fonts. */

@font-face {
  font-family: "Snell Roundhand";
  src: url("fonts/snellroundhandw01-scrip.latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
@font-face {
  font-family: "Snell Roundhand";
  src: url("fonts/snellroundhandw01-scrip.latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}
@font-face {
  font-family: "Feonie";
  src: url("fonts/feonie.latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
@font-face {
  font-family: "Feonie";
  src: url("fonts/feonie.latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

:root {
  --ink: #393942;          /* all body + heading text */
  --hero-ink: #e2ebec;     /* pale text over the hero photo */
  --band: #96aa98;         /* green band behind "By Cheyenne Fernett" */
  --pink: #f6dfdf;         /* Contact Now button */
  --white: #ffffff;

  --script: "Snell Roundhand", "Snell Roundhand Script", cursive;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --cormorant: "Cormorant Garamond", Garamond, Georgia, serif;
  --feonie: "Feonie", "Cormorant Garamond", Georgia, serif;

  --gutter: 50px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
.script { font-family: var(--script); }

/* Section headings in the script face — 80px on desktop, scaled down on phones */
.h-script {
  font-family: var(--script);
  font-size: 80px;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(15px, 5vw, 80px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1; }
.brand img { width: 22px; height: 25px; }
.site-nav { display: flex; gap: 10px; position: absolute; left: 50%; transform: translateX(-50%); }
.site-nav a { font-size: 17px; line-height: 30px; padding: 0 5px; }
.site-nav a:hover, .site-nav a.is-current { text-decoration: underline; text-underline-offset: 4px; }
.btn-contact {
  display: inline-flex; align-items: center; justify-content: center;
  width: 146px; height: 45px;
  background: var(--pink); border: 1px solid var(--pink); border-radius: 13px;
  font-size: 17px; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.btn-contact:hover { background: #f0cfcf; border-color: #f0cfcf; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); }
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  font-size: 28px;
}
.mobile-nav.is-open { display: flex; }
body.nav-open { overflow: hidden; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; height: 579px; overflow: hidden;
  background: #6d7478 url("images/hero-bg.jpg") center / cover no-repeat;
  text-align: center;
}
.hero-inner { position: relative; height: 100%; }
.hero-title {
  position: absolute; left: 0; right: 0; top: 66px;
  font-family: var(--display); font-weight: 700;
  font-size: 150px; line-height: 1.4; letter-spacing: 0.12em;
  color: var(--hero-ink);
  text-shadow: rgba(0, 0, 0, 0.3) 0 5px 0;
  padding-left: 0.12em; /* balance the trailing letter-spacing */
}
.hero-by {
  position: absolute; left: 0; right: 0; top: 181px;
  font-family: var(--display); font-style: italic;
  font-size: 19px; line-height: 1.4; letter-spacing: 0.55em;
  color: #000;
}
.hero-by span { background: var(--band); padding: 0 0.3em; }
.hero-sub {
  position: absolute; left: 0; right: 0; top: 262px;
  font-family: var(--cormorant); font-weight: 600;
  font-size: 42px; line-height: 1.25; letter-spacing: 0.1em;
  color: var(--hero-ink);
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
  padding-left: 6%; /* the original sits just right of centre */
}
.hero-tagline {
  position: absolute; left: 0; right: 0; top: 424px;
  font-family: var(--feonie); font-weight: 700;
  font-size: 24px; line-height: 1.4;
  color: var(--hero-ink);
}

/* ---------------- Portfolio grid ---------------- */
.portfolio { padding: 0 var(--gutter) 40px; }
.portfolio-page { padding-top: 40px; }
.portfolio .h-script { text-align: center; }
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 80px;
}
.grid figure { margin: 0; }
.grid a { display: block; }
.grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: opacity .3s ease;
}
.grid a:hover img { opacity: .82; }
.grid figcaption {
  font-family: var(--script); font-size: 28px; line-height: 1.4;
  text-align: center; margin-top: 27px; color: var(--ink);
}

/* ---------------- About (home) ---------------- */
.about {
  display: grid; grid-template-columns: 1fr 48.5%; column-gap: 40px; align-items: start;
  padding: 67px var(--gutter) 87px;
}
.about-text { padding: 5px 0 0 0; max-width: 427px; }
.about-text .h-script { margin-left: -10px; }
.about-text p { margin-top: 30px; font-size: 19px; line-height: 1.4; }
.about-text p + p { margin-top: 27px; }
.about-img { width: 100%; height: 563px; object-fit: cover; }

/* ---------------- Offerings ---------------- */
.offerings { padding: 80px 0 0; overflow: hidden; }
.offerings > .h-script { padding: 0 var(--gutter); }
.offer-list { margin-top: 100px; }
.offer { position: relative; height: 610px; }
.offer img {
  position: absolute; top: -91px; left: -37px;
  width: 52.3%; height: 794px; object-fit: cover;
}
.offer.is-right img { left: auto; right: -37px; }
.offer .offer-text { position: absolute; top: 200px; left: 54%; width: 353px; max-width: calc(46% - var(--gutter)); }
.offer.is-right .offer-text { left: 107px; }
.offer h3 { font-family: var(--script); font-size: 40px; line-height: 1.2; letter-spacing: -0.03em; }
.offer p { margin-top: 15px; font-size: 19px; line-height: 1.4; }
.offer.is-last { height: 586px; }
.offer.is-last img { height: 762px; }

/* ---------------- Contact ---------------- */
.contact {
  position: relative; height: 417px; margin-top: 95px;
  background: #9a9083 url("images/contact-bg.jpg") center / cover no-repeat;
}
.contact-box {
  position: absolute; top: 67px; left: 50%; transform: translateX(-50%);
  width: 614px; max-width: calc(100% - 40px); height: 283px;
  background: var(--white); padding: 44px 58px;
}
.contact-box p { margin-top: 18px; font-size: 19px; line-height: 1.4; max-width: 458px; }

/* ---------------- Booking (Calendly) ---------------- */
.book { padding: 90px var(--gutter) 100px; text-align: center; }
.book .h-script { text-align: center; }
.book .book-intro { margin: 18px auto 40px; max-width: 560px; font-size: 19px; }
.calendly-inline-widget { min-width: 320px; height: 760px; max-width: 1000px; margin: 0 auto; }
.book-placeholder {
  max-width: 614px; margin: 0 auto; padding: 44px 58px;
  border: 1px solid #e3e3e5; background: #fbf7f7;
}
.book-placeholder p { font-size: 19px; line-height: 1.4; }
.book-placeholder .btn-contact { width: auto; padding: 0 28px; margin-top: 24px; }

/* ---------------- Simple footer line (replaces the removed Wix footer) ---------------- */
.site-footer { text-align: center; font-size: 14px; padding: 22px var(--gutter) 30px; color: var(--ink); }

/* ---------------- About page ---------------- */
.about-page-hero { padding: 58px var(--gutter) 82px; }
.about-page-hero .h-script { margin-bottom: 55px; }
.about-page-row { display: grid; grid-template-columns: 60% 1fr; column-gap: 15px; align-items: center; }
.about-page-row img { width: 100%; height: 585px; object-fit: cover; }
.about-page-row p { font-size: 19px; line-height: 1.4; max-width: 392px; }
.about-page-row p + p { margin-top: 27px; }

/* ---------------- Portfolio collection pages ---------------- */
.project { padding: 60px 40px 80px; }
.project-head { display: grid; grid-template-columns: 425px 1fr 425px; column-gap: 40px; }
.project-head h1 { font-family: var(--script); font-size: 60px; line-height: 1.22; letter-spacing: 0; }
.project-meta { margin-top: 24px; }
.project-meta h2 { font-family: var(--script); font-size: 24px; line-height: 1.4; }
.project-meta p { font-size: 20px; line-height: 1.4; margin-top: 6px; margin-bottom: 24px; }
.project-desc { grid-column: 3; font-size: 20px; line-height: 1.4; padding-top: 12px; }
.project-cover { width: 100%; height: 768px; object-fit: cover; margin-top: 40px; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 40px; }
.project-gallery .col { display: flex; flex-direction: column; gap: 40px; }
.project-gallery img { width: 100%; height: auto; }
.project-nav { display: flex; justify-content: space-between; margin-top: 90px; font-size: 19px; }
.project-nav a { padding: 12px 22px; border: 1px solid transparent; }
.project-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Coming Soon overlay (toggle in script.js) ---------------- */
body.cs-open { overflow: hidden; }
.coming-soon {
  position: fixed; inset: 0; z-index: 1000;
  background: #6d7478 center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--hero-ink); padding: 24px;
}
.coming-soon::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); }
.cs-inner { position: relative; }
.cs-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 11vw, 150px); line-height: 1.2; letter-spacing: 0.12em; padding-left: 0.12em;
  text-shadow: rgba(0, 0, 0, 0.3) 0 5px 0;
}
.cs-by {
  font-family: var(--display); font-style: italic; color: #000;
  font-size: clamp(13px, 1.5vw, 19px); letter-spacing: 0.55em; margin-top: -0.9em;
}
.cs-by span { background: var(--band); }
.cs-sub {
  font-family: var(--cormorant); font-weight: 600;
  font-size: clamp(24px, 3.3vw, 42px); letter-spacing: 0.1em; margin-top: 10px;
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
}
.cs-soon {
  font-family: var(--script); font-size: clamp(48px, 7vw, 90px); line-height: 1.2; margin-top: 40px;
  text-shadow: rgba(0, 0, 0, 0.35) 0 3px 6px;
}
.cs-tag { font-family: var(--feonie); font-weight: 700; font-size: clamp(16px, 1.9vw, 24px); margin-top: 24px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .hero-title { font-size: 120px; top: 90px; }
  .hero-by { top: 190px; }
  .hero-sub { top: 275px; }
  .offer .offer-text { left: 58%; }
  .offer.is-right .offer-text { left: 60px; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .site-nav, .btn-contact.header-cta { display: none; }
  .nav-toggle { display: flex; }
  .h-script { font-size: 60px; }

  .hero { height: 420px; }
  .hero-title { font-size: clamp(56px, 12vw, 96px); top: 70px; }
  .hero-by { top: 155px; font-size: 15px; letter-spacing: 0.4em; }
  .hero-sub { font-size: 30px; top: 225px; }
  .hero-tagline { top: 320px; font-size: 20px; padding: 0 24px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
  .grid figcaption { font-size: 24px; margin-top: 14px; }

  .about { grid-template-columns: 1fr; row-gap: 36px; padding-top: 48px; padding-bottom: 60px; }
  .about-text { max-width: none; }
  .about-img { height: auto; aspect-ratio: 598 / 563; }

  .offerings { padding-top: 60px; }
  .offer-list { margin-top: 40px; }
  .offer, .offer.is-last { height: auto; padding: 0 var(--gutter) 56px; }
  .offer img, .offer.is-right img, .offer.is-last img {
    position: static; width: 100%; height: auto; aspect-ratio: 756 / 794; max-height: 70vh;
  }
  .offer .offer-text, .offer.is-right .offer-text { position: static; width: auto; max-width: none; margin-top: 26px; }
  .offer h3 { font-size: 34px; }

  .contact { height: auto; margin-top: 40px; padding: 48px var(--gutter); }
  .contact-box { position: static; transform: none; width: 100%; height: auto; padding: 36px 30px; }

  .book { padding: 60px var(--gutter) 70px; }
  .book-placeholder { padding: 32px 24px; }

  .about-page-hero { padding-top: 40px; padding-bottom: 50px; }
  .about-page-hero .h-script { margin-bottom: 30px; }
  .about-page-row { grid-template-columns: 1fr; row-gap: 30px; }
  .about-page-row img { height: auto; aspect-ratio: 1 / 1; }
  .about-page-row p { max-width: none; }

  .project { padding: 40px var(--gutter) 60px; }
  .project-head { grid-template-columns: 1fr; row-gap: 20px; }
  .project-head h1 { font-size: 48px; }
  .project-desc { grid-column: auto; padding-top: 0; }
  .project-cover { height: auto; aspect-ratio: 929 / 768; }
  .project-gallery { column-gap: 16px; }
  .project-gallery .col { gap: 16px; }
  .project-nav { margin-top: 50px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .h-script { font-size: 50px; }
  .project-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grid img { transition: none; }
}
