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

.edit-this {
  margin-top: 1rem;
}
:root {
  --ivory: #fffff0;
  --black: #0a0a0a;
  --gray: #888;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--black);
  font-family: 'Cormorant Galatia', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Page system */
.page {
  display: block;
  min-height: 100vh;
  animation: fadeIn 0.7s ease;
  scroll-margin-top: 8rem;
}

.page.active {
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top navigation */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem 3rem;
  background: rgba(255, 255, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.topnav-logo {
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--black);
  /*cursor: pointer;*/
  background: none;
  border: none;
  font-family: 'Cormorant Galatia', serif;
  justify-content: center;
}

/*.topnav-links {
  display: flex;
  gap: 2.5rem;



.nav-link {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Galatia', serif;
  transition: color 0.3s;
  padding: 0;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--black);
}

.nav-link.active-link {
  border-bottom: 0.5px solid var(--black);
  padding-bottom: 2px;
}
*/
/* Hero */
.hero {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.15);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-name {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: clamp(2.2rem, 7vw, 7rem);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  font-family: 'satoshi', sans-serif;
}

.hero-sub {
  position: static;
  display: block;
  width: 100%;
  margin: 1.25rem 0 0;
  padding: 0 1rem;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  letter-spacing: 0.2em;
  color: var(--gray);
  text-align: center;
}

/* Centers the scroll line between .hero-sub and the about image */
.post-hero-gap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(16rem, 36vh, 30rem);
}

#page-about {
  padding-top: 0;
}

.scroll-hint {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  animation: breathe 2.5s ease-in-out infinite;
  margin: 0;
  width: max-content;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-top: 0;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-btn {
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: all 0.35s;
  position: relative;
  width: max-content;
  z-index: 2;
  margin-bottom: -100rem;
}

.hero-btn-outline {
  background: transparent;
  border: 0.5px solid var(--black);
  color: var(--black);
}

.hero-btn-outline:hover {
  background: var(--black);
  color: var(--ivory);
}

.hero-btn-fill {
  background: var(--black);
  border: 0.5px solid var(--black);
  color: var(--ivory);
}

.hero-btn-fill:hover {
  background: transparent;
  color: var(--black);
}

.hero-image-foreground {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://i.ibb.co/F49xRQk8/6a1203c0992b5a2bca66f780-hero-fg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  pointer-events: none;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-line {
  width: 0.5px;
  height: 150px;
  background: var(--black);
}

.edit {
  font-weight: bold;
  font-family: 'Cormorant Galatia', serif;
}



@keyframes breathe {
  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.55;
  }
}

@media screen and (max-width: 991px) {
  .hero-image-foreground {
    background-attachment: scroll;
  }
}

/* Common section styles */
section {
  padding: 7rem 4vw 4rem;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3rem;
  display: block;
}

/* Home grids */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 1rem;
  z-index: 0;
  position: relative;
}

.img {
  z-index: 0;
  position: relative;
}

.explore-button {
  margin-top: -5rem;;
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: all 0.35s;
  border: 0.5px solid var(--black);
  background: black;
  color: var(--ivory);
  width: max-content;
  z-index: 1;
}

.editorial-grid .hero-piece {
  grid-row: 1 / 3;
}

.masonry-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.portrait-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.wide-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

/* Media cards */
.media-card {
  position: relative;
  overflow: hidden;
  background: #e8e8d8;
  z-index: 0;
}



.media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
  z-index: 2;
}


.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.media-card:hover img,
.media-card:hover video {
  transform: scale(1.04);
}
.card-tall {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.card-tall1 {
  aspect-ratio: 10 / 5;
  width: 100%;
}

.card-square {
  aspect-ratio: 1 / 1;
}

.card-landscape {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.card-portrait-tall {
  aspect-ratio: 5 / 6;
}

.media-card .wipe {
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform-origin: bottom;
  z-index: 3;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}

.media-card.revealed .wipe {
  transform: scaleY(0);
}

.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e0e0d0 0%, #c8c8b8 100%);
  position: relative;
}

.placeholder-label {
  font-weight: 300;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

.placeholder-num {
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.07);
}

.add-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ivory);
  border: 0.5px solid var(--black);
  color: var(--black);
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 4;
}

.media-card:hover .add-btn {
  opacity: 1;
}

/* About page */
.about-wrap {
  padding-top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-image-col {
  position: relative;
  min-height: 80vh;
}

/*.about-image-col .media-card {
  height: 100%;
  aspect-ratio: unset;
}*/

.about-text-col {
  padding: 4rem 3rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0.5px solid rgba(0, 0, 0, 0.12);
}

.about-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2rem;
}

.about-heading {
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.about-heading em {
  font-style: italic;
}

.about-body {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-body[contenteditable='true'] {
  outline: none;
  border-bottom: 0.5px dashed rgba(0, 0, 0, 0.2);
  padding-bottom: 0.5rem;
}

.about-body[contenteditable='true']:focus {
  border-bottom-color: var(--black);
}

.edit-hint {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  font-style: italic;
  margin-top: 0.5rem;
}

.about-divider {
  width: 40px;
  height: 0.5px;
  background: var(--black);
  margin: 2rem 0;
}

/* Gallery page */
.gallery-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
  text-align: center;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
  display: flex;         /* or display: grid; */
  flex-direction: column; /* stacks elements vertically */
  row-gap: 45px;
}

.gallery-title {
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.service-title {
  font-weight: 100;
  font-size: 20px;
  margin-bottom: 2rem;
  font-family: 'Cormorant Galatia', serif;
  
}

.highlight {
  background-color: #FF9A00;

}

.feature {
  font-weight: 300;
  font-family: 'satoshi', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-top: 0.8rem;
  font-weight: bold;
}

.covenant {
  font-family: 'satoshi', sans-serif;
  font-weight: bold;
  font-size: clamp(2.8rem, 8vw, 7rem);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;

}

.gallery-sub {
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-top: 0.8rem;
}

/* Season tabs */
.season-tabs {
 /* display: flex;
  justify-content: flex-start;*/
  gap: 3rem;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 63px;
  background: rgba(255, 255, 240, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}

/*.season-tab {
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  background: none;
  border: none;
 cursor: pointer;
  color: var(--gray);
  padding: 0.4rem 0;
  border-bottom: 0.5px solid transparent;
  transition: all 0.3s;
}*/

.season-tab:hover {
  color: var(--black);
}

.season-tab.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* Season content */
.season-panel {
  display: none;
  padding: 4rem 4vw;
}

.season-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.season-header {
  text-align: center;
  margin-bottom: 2rem;
}

.season-name {
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.season-desc {
  font-weight: 300;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-top=: 0.6rem;
}

.gallery-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.gallery-grid-main .span-col {
  grid-column: 1;
}

.gallery-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.gallery-row-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* Footer */
footer {
  padding: 3rem 4vw;
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Cormorant Galatia', serif;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #fff;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--ivory);
  padding: 2.5rem;
  width: min(460px, 90vw);
  border: 0.5px solid var(--black);
}

.modal h3 {
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.modal input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.25);
  padding: 0.6rem 0;
  font-family: 'Cormorant Galatia', serif;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 1.2rem;
  outline: none;
}

.modal input::placeholder {
  color: var(--gray);
  font-style: italic;
}

.modal input:focus {
  border-bottom-color: var(--black);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.btn-primary {
  flex: 1;
  background: var(--black);
  color: var(--ivory);
  border: none;
  padding: 0.75rem;
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.75;
}

.btn-ghost {
  flex: 1;
  background: transparent;
  color: var(--black);
  border: 0.5px solid var(--black);
  padding: 0.75rem;
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.contact-section {
  padding: 7rem 4vw;
  border-top: 0.5px solid rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.5rem;
}

.contact-heading {
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.8rem;
  font-family: 'satoshi', sans-serif;
  font-weight: bold;
}

.contact-sub {
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 3.5rem;
  text-align: center;
}

.contact-form {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.form-field label {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.6rem;
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.25);
  padding: 0.6rem 0;
  font-family: 'Cormorant Galatia', serif;
  font-size: 1rem;
  color: #0a0a0a;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #0a0a0a;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(0,0,0,0.25);
  font-style: italic;
}

.contact-submit {
  align-self: center;
  margin-top: 1rem;
  background: #0a0a0a;
  color: #fffff0;
  border: none;
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.contact-submit:hover {
  opacity: 0.75;
}

.contact-confirm {
  display: none;
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-top: 1.5rem;
}

#scrollToGalleryBtn{
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: 'Cormorant Galatia', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 0.5px solid #fff;
  padding: 0.85rem 2.5rem;
  background: transparent;
  transition: background 0.35s, color 0.35s;
  cursor: pointer;
}

#scrollToGalleryBtn:hover {
  background: #fff;
  color: #0a0a0a;
}

html {
  scroll-behavior: smooth !important;
}

/* Mobile: same composition as desktop, scaled type/gaps — no reflow to 1-col */
@media (max-width: 900px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  body {
    overflow-x: hidden;
  }

  .hero-image-foreground {
    background-attachment: scroll !important;
    background-position: center 40%;
  }

  .hero-name {
    top: 11%;
    font-size: clamp(1.8rem, 9vw, 3.2rem);
    padding: 0 0.5rem;
  }

  .hero-sub {
    margin-top: 1rem;
    font-size: clamp(0.7rem, 3vw, 0.95rem);
  }

  #scrollToGalleryBtn {
    bottom: 6%;
    font-size: 0.58rem;
    padding: 0.7rem 1.8rem;
  }

  .topnav {
    padding: 1rem 1.25rem;
  }

  .topnav-logo {
    font-size: 0.85rem;
  }

  /* About: stack on phone/tablet — side-by-side was stretching the image */
  .about-wrap {
    grid-template-columns: 1fr;
    padding-top: 0;
    min-height: auto;
    align-items: start;
    gap: 0;
  }

  #page-about {
    padding-top: 0;
    min-height: auto;
  }

  .post-hero-gap {
    min-height: clamp(12rem, 30vh, 22rem);
  }

  .about-image-col {
    min-height: 0;
    display: block;
    width: 100%;
  }

  .about-image-col .media-card {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    flex: none;
    background: transparent;
  }

  .about-image-col .media-card img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .about-image-col .media-card .placeholder,
  .about-image-col .media-card .wipe {
    display: none;
  }

  .about-text-col {
    padding: 2rem 1.25rem 1.5rem;
    border-left: none;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  }

  .service-title {
    font-size: clamp(0.75rem, 3.2vw, 1rem);
    margin-bottom: 0.9rem;
  }

  .about-heading {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 1rem;
  }

  .about-body {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  /* Gallery grids: keep desktop column counts */
  .editorial-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 0.6rem;
  }

  .editorial-grid .hero-piece {
    grid-row: 1 / 3;
  }

  .masonry-row {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 0.6rem;
  }

  .portrait-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .gallery-row-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .wide-row {
    grid-template-columns: 1fr 2fr;
    gap: 0.6rem;
  }

  .gallery-grid-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0.6rem;
  }

  .gallery-row-2 {
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 0.6rem;
  }

  .media-card img,
  .media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .covenant {
    font-size: clamp(1.6rem, 8vw, 3.5rem);
  }

  section {
    padding: 3.5rem 3vw 2rem;
  }
}
