/* Julie Lattner Design: replica of the Wix site. Measurements are from the
   live site at 1440px (desktop) and 390px (mobile). */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-300-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #ebebeb;
  --ink: #181818;
  --white: #fff;
  /* Wix CSS says rgba(97,97,97,0.74), but the rendered bar on the live
     screenshot is this dark; the screenshot wins. */
  --header-overlay: rgba(96, 96, 96, 0.93);
  --active: #324f44;
  --button: #4b7766;
  --card: #fff9e4;
  --input-border: #747474;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}

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

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--active);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  top: 8px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  height: 100px;
  color: var(--ink);
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-overlay);
  color: var(--white);
}

.site-header a {
  text-decoration: none;
}

.logo {
  position: absolute;
  left: 52px;
  top: 37px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.25;
  white-space: nowrap;
}

.page-home .logo {
  left: 58px;
  top: 32px;
}

.site-nav ul {
  list-style: none;
  padding: 0;
}

.site-nav a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--active);
}

.nav-about,
.nav-book {
  position: absolute;
  top: 40px;
}

.nav-about {
  left: calc(50% - 12px);
}

.nav-book {
  right: 72px;
}

.page-home .nav-about {
  left: calc(50% + 3px);
}

.page-home .nav-about,
.page-home .nav-book {
  top: 37px;
}

.page-home .nav-book {
  right: 67px;
}

.menu-toggle {
  display: none;
}

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

.site-footer {
  position: relative;
  height: 123px;
  font-size: 16px;
  line-height: 1.25;
}

.footer-follow {
  position: absolute;
  left: 363px;
  top: 43px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-privacy {
  position: absolute;
  right: 70px;
  top: 43px;
}

.footer-copy {
  position: absolute;
  left: 69px;
  top: 104px;
}

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

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

/* ---------- Home: collage galleries ----------
   Items are placed with the live site's 1440px coordinates and scale down
   proportionally between 1000px and 1440px. */

.collage-wrap {
  container-type: inline-size;
  max-width: 1440px;
  margin: 0 auto;
}

.collage {
  --u: calc(100cqw / 1440);
  position: relative;
  height: calc(var(--collage-h) * var(--u));
}

.collage-heading {
  position: absolute;
  left: calc(97 * var(--u));
  top: calc(var(--hy) * var(--u));
  font-family: var(--serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
}

.work img {
  width: 100%;
  height: calc(var(--h) * var(--u));
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.work figcaption {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

/* ---------- Home: mission ---------- */

.mission {
  padding: 34px 20px 33px;
}

.mission p {
  max-width: 1050px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Home: testimonials ---------- */

.testimonials {
  position: relative;
  height: 510px;
  overflow: hidden;
}

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

.testimonial-list {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 97px 20px 0;
  list-style: none;
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 337px;
  height: 315px;
  padding: 0 26px;
  border-radius: 22px;
  background: var(--card);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}

.testimonial svg {
  width: 32px;
  height: 22px;
  margin-bottom: 18px;
  flex: none;
}

.testimonial blockquote {
  margin: 0;
  min-height: 166px;
  font-size: 16px;
  line-height: 25.6px;
}

.testimonial blockquote p {
  white-space: pre-wrap;
}

.testimonial cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- Home: contact ---------- */

.contact {
  max-width: 1440px;
  margin: 0 auto;
  padding: 31px 20px 0;
  height: 895px;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 50px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.contact-intro {
  width: 771px;
  max-width: 100%;
  margin: 7px auto 0;
  padding-left: 2px;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.005em;
}

.contact-form {
  width: 596px;
  max-width: 100%;
  margin: 40px auto 0;
}

.field {
  position: relative;
  margin-bottom: 25px;
}

.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.25;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 300 16px/1.4 var(--sans);
}

.field textarea {
  height: 92px;
  padding: 8px 12px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  position: absolute;
  right: 0;
  top: 0;
  color: #b3261e;
  font-size: 14px;
  line-height: 1.25;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: -1px;
  border: 0;
  border-radius: 0;
  background: var(--button);
  color: var(--white);
  font: 300 16px/1 var(--sans);
  cursor: pointer;
}

.submit:hover {
  background: #3f6656;
}

.submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.form-status {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.form-status:empty {
  display: none;
}

/* No-JS success message after the redirect to /?sent=1#form-sent */
.form-sent {
  display: none;
  margin-top: 14px;
  text-align: center;
}

.form-sent:target {
  display: block;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 600px 648px;
  column-gap: 51px;
  padding: 0 0 0 69px;
  min-height: 1667px;
}

.about h1 {
  margin-top: 57px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 45.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-text {
  margin-top: 48px;
  letter-spacing: 0.005em;
}

.about-text p + p {
  margin-top: 27.2px;
}

.about-photos img {
  width: 648px;
  object-fit: cover;
}

.portrait-frame {
  overflow: hidden;
}

.about-photos .portrait {
  height: 642px;
  object-position: 50% 23%;
}

.about-photos .award {
  height: 762px;
  margin-top: 45px;
  object-position: 50% 67%;
}

/* ---------- Privacy ---------- */

.privacy {
  max-width: 1089px;
  padding: 0 0 88px 69px;
}

.privacy-head {
  position: relative;
  height: 162px;
}

.privacy h1 {
  padding-top: 5px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.25;
  text-transform: uppercase;
}

.privacy-updated {
  position: absolute;
  left: 697px;
  top: 74px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.4;
}

.privacy section a {
  text-decoration: none;
}

.privacy section a:hover {
  text-decoration: underline;
}

.privacy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.4;
  text-transform: uppercase;
}

.privacy section p {
  margin-top: 23px;
  letter-spacing: 0.005em;
}

.privacy section + section {
  margin-top: 54px;
}

/* The live page has a tighter heading gap in these three sections. */
.privacy section:nth-of-type(4) p,
.privacy section:nth-of-type(5) p,
.privacy section:nth-of-type(6) p {
  margin-top: 16px;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 60vh;
  padding: 80px 69px;
}

.not-found h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 45.6px;
  line-height: 1.2;
}

.not-found p {
  margin-top: 24px;
}

/* ---------- Booking modal ---------- */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 24, 0.8);
}

.modal-panel {
  position: absolute;
  left: 50%;
  top: min(90px, 10vh);
  width: 730px;
  max-width: calc(100% - 40px);
  height: min(729px, calc(100vh - 2 * min(90px, 10vh)));
  transform: translateX(-50%);
  padding: 65px 25px 0;
  background: #f9f9f9;
}

.modal-close {
  position: absolute;
  right: 28px;
  top: 22px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  height: 100%;
  overflow: hidden;
}

.modal-body iframe {
  display: block;
}

.modal-fallback {
  padding: 40px 20px;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Tablet: 768px to 999px, stacked in two columns ---------- */

@media (max-width: 999px) {
  .collage-wrap {
    container-type: normal;
  }

  .collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    height: auto;
    padding: 60px 30px;
  }

  .collage-heading,
  .work {
    position: static;
    width: auto;
  }

  .collage-heading {
    grid-column: 1 / -1;
  }

  .work img {
    height: auto;
    aspect-ratio: var(--mar);
  }

  .testimonials {
    height: auto;
  }

  .testimonial-list {
    flex-wrap: wrap;
    padding: 60px 30px;
  }

  .contact {
    height: auto;
    padding-bottom: 80px;
  }

  .about {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    padding: 0 30px 60px;
    min-height: 0;
  }

  .about-photos img {
    width: 100%;
  }

  .about-photos .portrait,
  .about-photos .award {
    height: auto;
  }

  .privacy {
    padding: 0 30px 75px;
  }

  .site-footer {
    height: auto;
    padding: 40px 30px 30px;
  }

  .footer-follow,
  .footer-privacy,
  .footer-copy {
    position: static;
    display: block;
  }

  .footer-privacy {
    margin-top: 6px;
  }

  .footer-copy {
    margin-top: 4px;
  }
}

/* ---------- Mobile: under 768px ---------- */

@media (max-width: 767px) {
  .site-header {
    height: 70px;
  }

  .logo,
  .page-home .logo {
    left: 30px;
    top: 19px;
    font-size: 24px;
    line-height: 1.25;
  }

  .menu-toggle {
    position: absolute;
    right: 20px;
    top: 13px;
    z-index: 2;
    display: block;
    width: 50px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 10px;
    width: 30px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 21px; }
  .menu-toggle span:nth-child(3) { top: 29px; }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    display: none;
  }

  /* Matches the live Wix mobile menu: white, links near the top. */
  .nav-open .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 116px;
    background: var(--white);
    color: var(--ink);
  }

  .nav-open .menu-toggle {
    position: fixed;
    top: 28px;
    right: 15px;
    color: var(--ink);
  }

  .site-nav ul {
    text-align: center;
  }

  .site-nav li + li {
    margin-top: 35px;
  }

  .nav-about,
  .nav-book {
    position: static;
  }

  .site-nav a {
    font-size: 20.5px;
  }

  .hero {
    height: 434px;
    min-height: 0;
  }

  .collage {
    display: block;
    padding: 0 31px 0 29px;
  }

  .collage-heading {
    padding-top: 41px;
    font-size: 20px;
    letter-spacing: 0.1em;
  }

  .gallery-2 .collage {
    padding-top: 30px;
  }

  .gallery-2 .work figcaption {
    margin-top: 16px;
  }

  /* Wix spaces the stacked items unevenly; --mt per item matches it. */
  .work {
    margin-top: calc(var(--mt, 30) * 1px);
  }

  .work figcaption {
    margin-top: 10px;
    font-size: 15px;
    letter-spacing: 0.15em;
  }

  .mission {
    padding: 76px 45px 30px;
  }

  .mission p {
    font-size: 21px;
    line-height: 1.6;
  }

  .testimonial-list {
    flex-direction: column;
    align-items: center;
    padding: 31px 31px;
    gap: 25px;
  }

  .testimonial {
    width: 100%;
    height: 289px;
    padding: 0 24px;
    border-radius: 4px;
  }

  .testimonial:first-child {
    height: 340px;
    padding: 0 34px;
  }

  .testimonial blockquote {
    min-height: 155px;
  }

  .testimonial:first-child blockquote {
    min-height: 0;
  }

  .testimonial cite {
    margin-top: 12px;
  }

  .contact {
    padding: 38px 26px 43px;
  }

  .contact h2 {
    font-size: 20.8px;
  }

  .contact-intro {
    width: 322px;
    margin: 13px 0 0 5px;
    padding: 0;
    font-size: 13px;
    line-height: 18.5px;
    letter-spacing: 0;
  }

  .contact-form {
    width: 323px;
    margin: 42px 0 0;
  }

  .field {
    margin-bottom: 25px;
  }

  .submit {
    height: 36px;
  }

  .about {
    display: block;
    padding: 0 0 63px;
  }

  .about-main {
    padding: 0 42px 0 22px;
  }

  .about h1 {
    margin-top: 3px;
    font-size: 24px;
  }

  .about-text {
    margin-top: 18px;
  }

  .about-photos {
    margin-top: 140px;
    padding: 0 26px;
  }

  /* The live mobile page shows the portrait zoomed in on the face. */
  .about-photos .portrait {
    aspect-ratio: 338 / 532;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1.5);
    transform-origin: 49% 23%;
  }

  .about-photos .award {
    width: 324px;
    max-width: 100%;
    aspect-ratio: 324 / 414;
    margin-top: 7px;
    object-fit: cover;
    object-position: 40% 50%;
  }

  .privacy {
    padding: 0 27px 81px 22px;
  }

  .privacy-head {
    height: auto;
    margin-bottom: 2px;
  }

  .privacy h1 {
    padding-top: 27px;
    font-size: 24px;
  }

  .privacy-updated {
    position: static;
    margin-top: 16px;
    padding-left: 142px;
    font-size: 11.4px;
  }

  .privacy section a {
  text-decoration: none;
}

.privacy section a:hover {
  text-decoration: underline;
}

.privacy h2 {
    font-size: 19px;
  }

  .privacy section:first-of-type {
    margin-top: 0;
  }

  .privacy section p {
    margin-top: 14px;
  }

  .privacy section + section {
    margin-top: 35px;
  }

  .privacy section:nth-of-type(n) p {
    margin-top: 14px;
  }

  .site-footer {
    padding: 12px 29px 40px;
    font-size: 14px;
  }

  .footer-follow {
    font-size: 19px;
  }

  .footer-privacy {
    margin-top: 5px;
  }

  .footer-copy {
    margin-top: 1px;
  }

  .modal-panel {
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    transform: none;
    padding: 56px 0 0;
  }

  .modal-close {
    right: 8px;
    top: 6px;
  }
}

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