/* ==========================================================================
   Tropicalogy — Global Styles
   ========================================================================== */

:root {
  /* Brand colors — warm earthy palette */
  --paper: #fffefa;
  --cream: #f4eee0;
  --cream-light: #f7f1e1;
  --cream-deep: #e5d9bd;
  --sand: #e5d9bd;
  --linen: #ede4cf;
  --sage: #a8b594;
  --sage-soft: #c2cdb1;
  --forest: #1c3821;
  --forest-deep: #0f2014;
  --forest-soft: #2d4f33;
  --moss: #5a7a4f;
  --terracotta: #b8694a;
  --clay: #d39174;
  --clay-soft: #e1ad96;
  --ink: #2a2a24;
  --muted: #6b6b5e;
  --line: rgba(28, 56, 33, 0.12);

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --max-width: 1320px;
  --gutter: clamp(2rem, 7vw, 5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--forest);
  color: var(--cream);
  padding: var(--space-2) var(--space-4);
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--forest);
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 350; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); font-weight: 400; }
p  { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--moss);
}

/* Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--forest);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--ghost:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn__arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fffefa;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--gutter) var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--forest);
}
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 80px;
  width: auto;
  max-width: none;
  display: block;
}

@media (max-width: 900px) {
  .logo img {
    height: 56px;
  }
}

.logo svg { width: 28px; height: 28px; }

/* Tapered divider beneath logo */
.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  color: var(--forest);
  margin: var(--space-1) 0 var(--space-2);
}
.header-divider__line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--forest) 25%,
    var(--forest) 75%,
    transparent 100%
  );
  opacity: 0.55;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--forest);
  transition: all 0.35s var(--ease-out);
  transform: translateX(-50%);
}

.header-cta {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .header-cta { display: none; }
}

.nav-list a:hover { color: var(--forest); }
.nav-list a:hover::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--forest);
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-inner {
    flex-direction: row;
    justify-content: center;
    padding: var(--space-4) var(--gutter);
    gap: 0;
  }
  .header-divider { display: none; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: var(--space-6) var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: var(--space-4);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { font-size: 1.15rem; }
  .nav-list a::after { display: none; }
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-16);
  }
}

.hero-headline {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
}
.hero-headline em {
  font-style: italic;
  font-weight: 350;
  color: var(--forest-soft);
}

.hero-eyebrow { margin-bottom: var(--space-8); }

.hero-sub {
  margin-top: var(--space-8);
  max-width: 42ch;
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  color: var(--ink);
  line-height: 1.6;
}

.hero-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-meta {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--forest);
}

.hero-meta-pill svg {
  width: 14px;
  height: 14px;
  color: var(--moss);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--moss));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(168, 181, 148, 0.5), transparent 60%);
}

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

.hero-visual-caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-visual-caption span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
}

.hero-decor-leaf {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 180px;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

/* Marquee
   ========================================================================== */
.marquee {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  margin-bottom: var(--space-8);
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding-right: 5rem; /* keeps spacing consistent at the seam between copies */
  flex-shrink: 0;
}

.marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s;
}

.marquee-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.marquee-item img {
  height: 200px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section header
   ========================================================================== */
.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (min-width: 900px) {
  .section-header {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: end;
  }
}

.section-header h2 { max-width: 16ch; }
.section-header p {
  color: var(--ink);
  max-width: 52ch;
  line-height: 1.65;
  font-size: 1.2rem;
}

/* Services grid
   ========================================================================== */
.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--cream);
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform 0.5s var(--ease-out);
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(244, 238, 224, 0.804);
  transition: background 0.5s var(--ease-out);
  z-index: 1;
}

.service-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card:hover .service-card__overlay {
  background: rgba(244, 238, 224, 0.364);
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-card:hover .service-card__arrow {
  transform: rotate(-45deg);
}

.service-card h3 {
  margin-bottom: var(--space-4);
  max-width: 14ch;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #000000;
  font-weight: 500;
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.service-card__arrow {
  align-self: flex-start;
  width: 32px;
  height: 32px;
  border: 1px solid var(--forest);
  color: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out);
}

.service-card__arrow svg { width: 12px; height: 12px; }

/* Beyond the Basics
   ========================================================================== */
.beyond {
  background: var(--sage);
  color: var(--forest-deep);
  position: relative;
  overflow: hidden;
}

.beyond h2 { color: var(--forest-deep); }
.beyond .eyebrow { color: var(--forest); }
.beyond .eyebrow::before { background: var(--forest); }
.beyond .section-header p { color: var(--forest); }

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 800px) {
  .beyond-grid {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    aspect-ratio: 16 / 10;
  }
  .beyond-item:nth-child(1) { grid-row: 1 / span 2; }
}

.beyond-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--moss);
  min-height: 280px;
  cursor: pointer;
}

.beyond-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 32, 20, 0.7));
  z-index: 1;
}

.beyond-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.beyond-item:hover img { transform: scale(1.05); }

.beyond-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  z-index: 2;
}

.beyond-item-content h3 {
  color: var(--cream);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--space-2);
}

.beyond-item-content p {
  color: var(--ink);
  font-size: 1.2rem;
  max-width: 42ch;
  line-height: 1.55;
}

.beyond-item--placeholder:nth-child(1) {
  background: linear-gradient(135deg, var(--moss), var(--forest-soft));
}
.beyond-item--placeholder:nth-child(2) {
  background: linear-gradient(135deg, var(--sage), var(--moss));
}
.beyond-item--placeholder:nth-child(3) {
  background: linear-gradient(135deg, var(--forest-soft), var(--moss));
}

/* Benefits
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit {
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.benefit:hover {
  border-color: var(--forest);
  transform: translateY(-4px);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--forest);
  margin-bottom: var(--space-5);
  transition: color 0.3s, transform 0.4s var(--ease-out);
}
.benefit__icon svg {
  width: 28px;
  height: 28px;
}
.benefit:hover .benefit__icon {
  color: var(--moss);
  transform: translateY(-2px);
}

.benefit h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.benefit p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
}

/* Process
   ========================================================================== */
.process { background: var(--cream); }

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 800px) {
  .process-step {
    grid-template-columns: 100px 1fr 1.5fr;
    gap: var(--space-12);
    padding: var(--space-12) 0;
  }
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--moss);
  letter-spacing: 0.1em;
  padding-top: var(--space-2);
}

.process-step h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.process-step p {
  color: var(--ink);
  max-width: 55ch;
  line-height: 1.65;
  font-size: 1.2rem;
  margin-top: var(--space-4);
}

@media (max-width: 799px) {
  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .process-step h3,
  .process-step p {
    grid-column: 2;
  }

  .process-step p {
    margin-top: 0.5rem;
  }
}

/* About snippet
   ========================================================================== */
.about-snippet { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--moss));
}

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

.about-photo__badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  background: var(--cream);
  color: var(--forest);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.about-content h2 { margin-bottom: var(--space-6); }

.about-content .lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--forest);
  line-height: 1.35;
  margin-bottom: var(--space-6);
  font-weight: 350;
}

.about-content p {
  color: var(--ink);
  margin-bottom: var(--space-4);
  line-height: 1.7;
  font-size: 1.2rem;
  max-width: 58ch;
}

.about-signature {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.about-signature__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--forest);
}

.about-signature__role {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Gallery preview
   ========================================================================== */
.gallery-preview { background: var(--cream); }

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-4);
    aspect-ratio: 2 / 1;
  }
  .gallery-preview-grid > :nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
  .gallery-preview-grid > :nth-child(4) {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

.gallery-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--moss));
}

/* Subtle decorative leaf for placeholder tiles */
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M100 30c0 50 0 100 0 150M70 60c10 20 20 30 30 40M130 60c-10 20-20 30-30 40M60 100c15 15 25 25 40 30M140 100c-15 15-25 25-40 30' stroke='%23e7e0cd' stroke-width='0.8' opacity='0.18' fill='none'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  pointer-events: none;
  z-index: 1;
}

.gallery-tile img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery-tile img:hover { transform: scale(1.04); }
.gallery-tile:hover img { transform: scale(1.04); }

@media (min-width: 700px) {
  .gallery-tile { aspect-ratio: auto; }
}

.gallery-tile:nth-child(2) {
  background: linear-gradient(135deg, var(--moss), var(--forest-soft));
}
.gallery-tile:nth-child(3) {
  background: linear-gradient(135deg, var(--sage-soft), var(--moss));
}

/* CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--clay);
  color: var(--forest-deep);
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--clay-soft), transparent 70%);
  opacity: 0.5;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--forest-deep);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  max-width: 18ch;
  margin: 0 auto var(--space-6);
}

.cta-banner p {
  color: var(--forest);
  max-width: 55ch;
  margin: 0 auto var(--space-10);
  font-size: 1.2rem;
  line-height: 1.55;
}

.cta-banner .btn--primary {
  background: var(--forest);
  color: var(--cream);
}
.cta-banner .btn--primary:hover { background: var(--forest-deep); }

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--forest);
  color: var(--cream-deep);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-16);
  }
}

.footer-brand .logo {
  margin-bottom: var(--space-6);
}
.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cream-deep);
  max-width: 38ch;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: var(--space-6);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: var(--cream-deep);
  font-size: 1rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: var(--space-6);
  border: 1px solid rgba(231, 224, 205, 0.25);
  border-radius: 50%;
  color: var(--cream-deep);
  transition: all 0.3s var(--ease-out);
}
.social-icon svg { width: 26px; height: 26px; }
.social-icon:hover {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(231, 224, 205, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(231, 224, 205, 0.5);
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-inner { animation: none; }
  .marquee-item { transition: none; }
}


/* ==========================================================================
   Gallery Page
   ========================================================================== */

/* Wider container — but with bigger side padding (handled by --gutter) */
.container--wide {
  max-width: 1480px;
}

/* Gallery hero — unchanged */
.gallery-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.gallery-hero__inner { max-width: 880px; }
.gallery-hero .eyebrow { margin-bottom: var(--space-6); }
.gallery-hero__title {
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
  margin-bottom: var(--space-6);
}
.gallery-hero__title em {
  font-style: italic;
  font-weight: 350;
  color: var(--forest-soft);
}
.gallery-hero__sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink);
}

/* Tetris-style masonry via CSS columns
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 0 0 clamp(3rem, 8vw, 6rem);
}

/* Hide all the old row/stack containers — let images flow freely */
.gallery-row,
.gallery-row--four,
.gallery-row--feature-left,
.gallery-row--feature-right,
.gallery-row--pair,
.gallery-stack {
  display: block;
  grid-template-columns: none;
  grid-template-rows: none;
  gap: 0;
  margin: 0;
  max-width: none;
}

/* The masonry container — wrap all cards inside this */
.gallery-masonry {
  column-count: 3;
  column-gap: var(--space-3);
}

@media (max-width: 1000px) {
  .gallery-masonry { column-count: 3; }
}
@media (max-width: 700px) {
  .gallery-masonry { column-count: 2; }
}
@media (max-width: 480px) {
  .gallery-masonry { column-count: 1; }
}

/* Each photo: natural aspect ratio, no forced ratio */
.gallery-card {
  display: block;
  margin: 0 0 var(--space-3);
  padding: 0;
  border: 0;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  aspect-ratio: auto;
  position: relative;
  isolation: isolate;
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.1s var(--ease-out), filter 0.5s var(--ease-out);
  filter: saturate(0.95);
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}


/* ==========================================================================
   Commercial Page
   ========================================================================== */

/* Long-form prose block — used on commercial subpage */
.commercial-prose {
  max-width: 70ch;
}

.commercial-prose p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

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

/* Space-type list — bordered rows, like the process list but two-column */
.space-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.space-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.space-row:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .space-row {
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-12);
    padding: var(--space-10) 0;
    align-items: start;
  }
}

.space-row h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
}

.space-row p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 60ch;
}

/* ==========================================================================
   Contact Page + Thank You Page
   Append to existing style.css
   ========================================================================== */

/* Contact layout
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

/* Left column — intro + details */
.contact-intro .eyebrow {
  margin-bottom: var(--space-6);
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 300;
  margin-bottom: var(--space-6);
}
.contact-title em {
  font-style: italic;
  font-weight: 350;
  color: var(--forest-soft);
}

.contact-lede {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: var(--space-10);
}

.contact-details {
  display: grid;
  gap: var(--space-6);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--moss);
}

.contact-detail__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
  transition: color 0.3s;
}

a.contact-detail__value:hover {
  color: var(--terracotta);
}

/* Right column — form
   -------------------------------------------------------------------------- */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-form {
  display: grid;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  gap: var(--space-5);
}

.form-row--split {
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(28, 56, 33, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.contact-submit {
  justify-self: start;
  margin-top: var(--space-2);
}

.contact-form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Honeypot — visually hidden but reachable for bots */
.contact-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Thank-you page
   -------------------------------------------------------------------------- */
.thankyou-section {
  text-align: center;
}

.thankyou-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.thankyou-leaf {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  color: var(--moss);
}

.thankyou-section .eyebrow {
  margin-bottom: var(--space-5);
}

.thankyou-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 300;
  margin-bottom: var(--space-6);
}
.thankyou-title em {
  font-style: italic;
  font-weight: 350;
  color: var(--forest-soft);
}

.thankyou-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-10);
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

@media (max-width: 600px) {
  .contact-detail__value {
    font-size: 1rem;
  }
}