@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,700&family=Cormorant:ital,wght@1,300;1,400;1,500&family=Cormorant+Garamond:ital,wght@1,300;1,400;1,500;1,600&family=GFS+Didot&family=Jost:wght@300;400;500;600&family=Playfair+Display:ital,wght@1,400;1,500&display=swap");

:root {
  --bg: #f4efe8;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --ink: #251f1a;
  --muted: #6d6257;
  --line: rgba(37, 31, 26, 0.12);
  --accent: #c6a57a;
  --accent-deep: #8e6d43;
  --shadow: 0 18px 50px rgba(37, 31, 26, 0.08);
  --max: 980px;
  --hero-max: 1180px;
  --radius: 22px;
  --font-body: "Jost", "Futura", "Futura LT", "Century Gothic", "Helvetica Neue", sans-serif;
  --font-display: "Cormorant", "Cormorant Garamond", "GFS Didot", "Didot", "Bodoni Moda", serif;
  --font-brand: "Bodoni Moda", "Bodoni 72", "Didot", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

/* Header — dark background, cream text, stacked: brand centered, nav spread across full width */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #1f1f1f;
  border-bottom: 0;
  color: #e8dfce;
}

.site-header__bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 0 1.25rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.brand {
  font-family: var(--font-brand);
  font-size: 30px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: #e8dfce;
  line-height: 1;
  text-align: center;
  width: 570px;
  max-width: 100%;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.nav a {
  font-family: "Cormorant", "Cormorant Garamond", "GFS Didot", "Didot", serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: #e8dfce;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #ffffff;
}

.nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.project-card:focus-visible,
.site-footer a:focus-visible,
.testimonials-slideshow__nav:focus-visible,
.testimonials-slideshow__dot:focus-visible {
  outline: 2px solid #e8dfce;
  outline-offset: 4px;
}

.button:focus-visible,
.project-card:focus-visible {
  outline-color: var(--accent-deep);
}

main {
  flex: 1;
}

/* Eyebrow — upright Futura LT (Jost), wide letter-spacing */
.eyebrow {
  display: inline-block;
  color: var(--ink);
  letter-spacing: 0.15em;
  font-size: 22px;
  font-weight: 300;
  font-family: var(--font-body);
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

/* Home hero with overlay caption — wider than content (1180px on live) */
.home-hero {
  margin: 1.5rem auto 2rem;
  width: min(calc(100% - 2rem), var(--hero-max));
  position: relative;
}

.home-hero__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1180 / 710;
  box-shadow: var(--shadow);
}

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

.home-hero__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 4% 7% 11%;
  pointer-events: none;
}

.home-hero__caption h1 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  font-size: clamp(2.4rem, 7vw, 94px);
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  text-align: center;
  line-height: 1.1;
  max-width: 900px;
}

/* Intro lead section */
.home-seo-intro {
  padding: 0.75rem 0 0;
}

.intro {
  padding: 2.5rem 0 2rem;
}

.intro__text {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.7;
  max-width: 70rem;
  margin: 0 auto;
  color: var(--ink);
  font-weight: 300;
  text-align: left;
  letter-spacing: 0.01em;
}

.intro__text strong {
  font-weight: 700;
}

/* Lifestyle (home) sections — dark background, 2-column category rows */
.lifestyle {
  background: #1f1f1f;
  color: #e8dfce;
  padding: 4rem 0 calc(5rem + 2in);
}

.lifestyle__eyebrow {
  margin-bottom: 3rem;
  text-align: left;
}

.lifestyle__eyebrow .eyebrow {
  color: #e8dfce;
}

.category {
  margin-bottom: 4rem;
}

.category:last-child {
  margin-bottom: 0;
}

.category__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 57px;
  letter-spacing: 0em;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
}

.category__body {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: 30%;
  align-items: start;
}

.category__title a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.category__title a:hover {
  border-bottom-color: var(--accent);
}

.category__copy {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #d8cfbe;
  font-weight: 300;
}

.category__copy p {
  margin: 0 0 1.2rem;
}

.category__copy p:last-child {
  margin-bottom: 0;
}

.category__image {
  position: relative;
  overflow: hidden;
  align-self: start;
}

.category__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 289 / 381;
  object-fit: cover;
  border-radius: 0;
}

/* About page */
body:has(.about-section) {
  background: #1f1f1f;
}

.about-section {
  padding: 2.5rem 0 3.5rem;
  background: #1f1f1f;
  color: #e8dfce;
}

.about-grid {
  display: grid;
  grid-template-columns: 419px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid__media img {
  width: 100%;
  aspect-ratio: 403 / 586;
  object-fit: cover;
  border-radius: 2px;
}

.about-grid__copy {
  padding-right: 10%;
}

.about-grid__copy .eyebrow {
  margin-bottom: 1.5rem;
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: #e8dfce;
}

.about-grid__copy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #d8cfbe;
  margin: 0 0 1rem;
  max-width: 38rem;
  letter-spacing: 0.02em;
  font-weight: 300;
}

/* Portfolio */
.portfolio-section {
  padding: 2.5rem 0 3.5rem;
}

.page-eyebrow {
  text-align: center;
  margin: 1rem 0 2.5rem;
  font-family: var(--font-body);
  font-size: 22px;
  letter-spacing: 0.15em;
  font-weight: 300;
  text-transform: uppercase;
}

.page-intro {
  max-width: 760px;
  margin: -1rem auto 2.5rem;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink);
}

.contact-heading,
.testimonials-heading {
  color: #e8dfce;
}

.contact-heading {
  margin-top: 0;
}

.testimonials-heading {
  margin: 0;
  padding: 2.5rem 1rem 0;
}

.testimonials-intro {
  color: #e8dfce;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.5rem;
}

.project-card {
  display: block;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  text-align: center;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.project-card__body {
  padding: 0.9rem 0 1.4rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 0em;
  margin: 0 0 0.4rem;
}

.project-meta {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.project-status {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  color: var(--accent-deep);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Testimonials — slideshow matching the live Wix StripSlideshow widget */
.testimonials-section {
  padding: 0;
  background: #2f2e2e;
}

body:has(.testimonials-section) {
  background: #2f2e2e;
}

.testimonials-slideshow {
  position: relative;
  width: 100%;
  height: 590px;
  background: #2f2e2e;
  overflow: hidden;
}

.testimonials-slideshow__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1000ms ease, visibility 0s linear 1000ms;
  padding: 60px 80px 100px;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1000ms ease, visibility 0s linear 0s;
  z-index: 1;
}

.testimonial-slide__inner {
  width: 100%;
  max-width: 650px;
  text-align: center;
  color: #e8dfce;
}

.testimonial-slide__quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.6;
  color: #e8dfce;
  margin-bottom: 1.2rem;
  text-align: center;
}

.testimonial-slide__body p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.65;
  color: #e8dfce;
  margin: 0 0 0.9rem;
  letter-spacing: 0em;
}

.testimonial-slide__body p:last-child {
  margin-bottom: 0;
}

.testimonial-slide__attribution {
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #e8dfce;
}

/* Nav arrows — prev/next on either side */
.testimonials-slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #e8dfce;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  width: 40px;
  height: 60px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 180ms ease;
  z-index: 2;
}

.testimonials-slideshow__nav:hover {
  opacity: 1;
}

.testimonials-slideshow__nav--prev { left: 30px; }
.testimonials-slideshow__nav--next { right: 30px; }

/* Pagination dots — 6px / 9px active, matching live spec */
.testimonials-slideshow__dots {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.testimonials-slideshow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(232, 223, 206, 0.55);
  cursor: pointer;
  transition: width 220ms ease, height 220ms ease, background 220ms ease;
}

.testimonials-slideshow__dot.is-active {
  width: 9px;
  height: 9px;
  background: #e8dfce;
}

.testimonials-slideshow__dot:hover {
  background: #ffffff;
}

@media (max-width: 640px) {
  .testimonials-slideshow {
    height: auto;
    min-height: 580px;
  }
  .testimonial-slide {
    padding: 50px 30px 90px;
  }
  .testimonials-slideshow__nav--prev { left: 6px; }
  .testimonials-slideshow__nav--next { right: 6px; }
}

/* Contact */
.contact-section {
  padding: 3rem 0 4rem;
}

body:has(.contact-section) {
  background: #1f1f1f;
}

.contact-section {
  background: #1f1f1f;
  color: #e8dfce;
}

.contact-section .lead-line {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 3rem;
  color: #e8dfce;
  font-weight: 300;
}

.contact-section label {
  color: #d8cfbe;
}

.contact-section input,
.contact-section textarea {
  background: transparent;
  color: #e8dfce;
  border-bottom-color: #e8dfce;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-bottom-color: #ffffff;
}

.contact-section .button {
  border-color: #e8dfce;
  color: #e8dfce;
}

.contact-section .button:hover {
  background: #e8dfce;
  color: #1f1f1f;
}

.contact-thanks {
  max-width: 36rem;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid #e8dfce;
  text-align: center;
}

.contact-thanks p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: #e8dfce;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-bottom-color: var(--accent-deep);
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
  justify-self: start;
}

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

.button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* Gallery — original Wix collage layout: 940px stage, 470px row height, 20px gaps */
.gallery-page {
  padding: 2rem 0 3rem;
}

.gallery-stage {
  width: min(calc(100% - 2rem), 940px);
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-row:last-child {
  margin-bottom: 0;
}

.gallery-panel {
  flex: var(--grow, 1) 1 0%;
  min-width: 0;
  height: 470px;
  overflow: hidden;
  position: relative;
  background: #ece6dd;
  border-radius: 0;
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-panel--tile {
  background-repeat: repeat;
  background-position: center;
  background-size: 313px 470px;
}

/* Scroll-reveal — image is fixed to the viewport; the section acts as a window
   that scrolls past the still photo, exposing different parts as you scroll. */
.scroll-reveal {
  height: 58vh;
  width: 100%;
  background-image: var(--scroll-reveal-bg);
  background-attachment: fixed;
  background-size: 125% / 180%;
  background-position: center center;
  background-repeat: no-repeat;
}

/* iOS Safari falls back gracefully — background-attachment: fixed is buggy on
   iOS, so let it scroll with the page rather than render incorrectly. */
@supports (-webkit-touch-callout: none) {
  .scroll-reveal {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .scroll-reveal {
    height: 20vh;
    background-attachment: scroll;
  }
}

/* Footer — matches live: rgb(47,46,46) bg, 980px content, GET IN TOUCH left, links right */
.site-footer {
  margin-top: 0;
  background: #2f2e2e;
  color: #e8dfce;
  text-align: left;
  border-top: 0;
}

.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 419px 1fr;
  align-items: start;
  padding: 41px 0 47px;
}

.site-footer__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 45px;
  letter-spacing: 0.02em;
  margin: 0 0 0 29px;
  padding: 0;
  font-weight: 400;
  line-height: 1.1;
  color: #e8dfce;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-footer__title span {
  display: block;
}

.site-footer__links {
  margin-left: 4px;
  padding-top: 0;
}

.site-footer__email,
.site-footer__contact-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #e8dfce;
  line-height: 1.5;
}

.site-footer__email {
  margin-bottom: 15px;
}

.site-footer__email a,
.site-footer__contact-link a {
  color: #e8dfce;
  border-bottom: 0;
  transition: color 180ms ease;
}

.site-footer__contact-link a {
  border-bottom: 1px solid #e8dfce;
  padding-bottom: 1px;
}

.site-footer__email a:hover,
.site-footer__contact-link a:hover {
  color: #ffffff;
}

.site-footer__contact-link a:hover {
  border-bottom-color: #ffffff;
}

/* Responsive */
@media (max-width: 920px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .category__body {
    grid-template-columns: 1.6fr 1fr;
    gap: 1.5rem;
  }
  .gallery-stage {
    width: min(calc(100% - 1rem), 100%);
  }
  .gallery-panel {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }
  .site-header__bar {
    gap: 0.8rem;
    padding: 1rem 0 0.85rem;
    width: min(calc(100% - 1rem), var(--max));
  }
  .brand {
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1.15;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.45rem;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.45rem;
    font-size: 18px;
    line-height: 1.1;
  }
  .home-hero__caption h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
  .home-seo-intro {
    padding-top: 0.5rem;
  }
  .intro {
    padding: 2rem 0 1.6rem;
  }
  .intro__text {
    font-size: 19px;
    line-height: 1.6;
  }
  .lifestyle {
    padding: 3rem 0 4rem;
  }
  .lifestyle__eyebrow {
    margin-bottom: 2rem;
  }
  .eyebrow,
  .page-eyebrow {
    font-size: 18px;
  }
  .category {
    margin-bottom: 3rem;
  }
  .category__title {
    font-size: 38px;
    margin-bottom: 1.25rem;
  }
  .category__body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .category__image {
    max-width: min(100%, 380px);
  }
  .category__copy {
    font-size: 16px;
    line-height: 1.65;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  input,
  textarea {
    font-size: 16px;
  }
  .contact-section {
    padding: 2.5rem 0 3.5rem;
  }
  .contact-section .lead-line {
    font-size: 17px;
    margin-bottom: 2rem;
  }
  .gallery-row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }
  .gallery-panel {
    height: clamp(220px, 62vw, 360px);
  }
  .gallery-panel--tile {
    background-size: auto 100%;
  }
  .about-section {
    padding: 2rem 0 3rem;
  }
  .about-grid__copy {
    padding-right: 0;
  }
  .about-grid__copy .eyebrow {
    font-size: 18px;
  }
  .portfolio-section {
    padding: 2rem 0 3rem;
  }
  .project-card {
    margin-bottom: 0.5rem;
  }
  .project-card__title {
    font-size: 25px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 34px 0 40px;
  }
  .site-footer__title {
    margin-left: 0;
    font-size: 34px;
  }
  .site-footer__links {
    margin-left: 0;
  }
  .site-footer__email a,
  .site-footer__contact-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .testimonials-slideshow {
    min-height: 680px;
  }
  .testimonial-slide {
    padding: 46px 34px 108px;
  }
  .testimonial-slide__quote-mark {
    font-size: 3.4rem;
  }
  .testimonial-slide__body p {
    font-size: 17px;
    line-height: 1.58;
  }
  .testimonial-slide__attribution {
    font-size: 17px;
  }
  .testimonials-slideshow__nav {
    width: 44px;
    height: 64px;
  }
  .testimonials-slideshow__dot {
    width: 12px;
    height: 12px;
  }
  .testimonials-slideshow__dot.is-active {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 19px;
    letter-spacing: 0.08em;
  }
  .nav a {
    font-size: 17px;
    padding-inline: 0.35rem;
  }
  .home-hero {
    width: calc(100% - 1rem);
  }
  .category__title {
    font-size: 34px;
  }
  .testimonials-slideshow {
    min-height: 760px;
  }
  .testimonial-slide {
    padding-inline: 28px;
  }
}
