/* ===== Custom properties ===== */
:root {
  --taupe: #B5A898;
  --cream: #F2EFE8;
  --warm-gray: #E8E8DC;
  --sage: #A5B89A;
  --dusty-blue: #C8D8DC;
  --muted-teal: #8A9898;

  --ink: #2B2620;
  --ink-soft: #4A4438;

  --font-head: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;

  --radius: 18px;
  --shadow: 0 12px 30px -14px rgba(43, 38, 32, 0.25);
  --max-width: 1120px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }

p { color: var(--ink-soft); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted-teal);
  font-weight: 500;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

.section-sub {
  max-width: 560px;
  margin: 10px auto 0;
}
.section-sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { box-shadow: var(--shadow); }

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--taupe);
}
.btn-outline:hover { background: var(--taupe); color: var(--cream); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(242, 239, 232, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px -10px rgba(43,38,32,0.2);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-word {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
}
.site-nav a { position: relative; }
.site-nav a:not(.nav-ig)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--ink);
  transition: width 0.2s ease;
}
.site-nav a:not(.nav-ig):hover::after { width: 100%; }

.nav-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}
.nav-ig:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--warm-gray) 0%, var(--cream) 62%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(340px, 70vw); height: auto; object-fit: contain; margin-bottom: 18px; }
.hero h1 { max-width: 760px; margin: 6px 0 22px; }
.hero-sub { max-width: 560px; font-size: 1.1rem; margin-bottom: 10px; }
.hero-area { font-size: 0.95rem; color: var(--muted-teal); margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ===== About ===== */
.about { padding: 100px 0; }
.about-inner {
  display: grid;
  /* Founder card carries the longer text now, so it takes the wider column —
     keeps the two columns close in height instead of the card overhanging. */
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.about-copy p { margin-top: 16px; }
.about-copy p:first-of-type { margin-top: 18px; }

.about-founder {
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
}
/* Founder headshot — cropped to a circle from nearer the top so the face
   survives the crop on a portrait-orientation photo. */
.founder-photo {
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.founder-monogram {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Bio runs long enough that centred text hurts readability — left-align the
   prose while the monogram and heading above it stay centred. */
.about-founder p {
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: left;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: var(--warm-gray);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card.featured {
  background: var(--sage);
}
.service-card.featured p,
.service-card.featured .service-tag { color: rgba(43,38,32,0.75); }
.service-card.featured h3,
.service-card.featured h2 { color: var(--ink); }
.service-card.featured .btn-primary { background: var(--ink); }

.service-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-teal);
  margin-bottom: 14px;
}
.service-card h3 { margin-bottom: 14px; }
/* Interior pages use h2 in these cards (the page title takes h1), so match
   the h3 sizing rather than the much larger default h2. */
.service-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.service-card p { margin-bottom: 26px; }

.services-note {
  text-align: center;
  margin-top: 40px;
}
.services-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ===== Interior pages ===== */
/* Header is fixed, so interior pages need the same top clearance as the hero. */
.page-head {
  padding: 160px 0 20px;
  background: radial-gradient(circle at 50% 0%, var(--warm-gray) 0%, var(--cream) 62%);
}
.page-head h1 { max-width: 720px; margin: 6px auto 18px; }
.rentals { padding: 40px 0 100px; }

/* ===== Gallery ===== */
.gallery { padding: 100px 0; text-align: center; }
.ig-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ig-tile {
  /* 4:5 matches Instagram's portrait format, so photo posts show uncropped;
     square tiles cut ~20% off them and ~44% off vertical reels. */
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--tile-bg, var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0.92;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ig-tile:hover { transform: translateY(-4px); opacity: 1; }
.ig-tile svg { fill: var(--cream); opacity: 0.9; }

/* Live Instagram tiles (populated by js/main.js from the Behold feed) */
.ig-tile-photo { overflow: hidden; }
.ig-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-follow { margin-top: 40px; }

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--warm-gray);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-intro p { margin: 16px 0 30px; }

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138,152,152,0.3);
}
.contact-list li:first-child { padding-top: 0; }
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-teal);
}
.contact-list a { font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
}
/* Honeypot: hidden from people, visible to the bots that fill every field.
   Not display:none — some bots skip those. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  font-size: 0.92rem;
  margin-top: 4px;
  min-height: 1.2em;
}
.form-status.is-error,
.field-hint.is-error { color: #9B4A3A; }

.field-hint {
  font-size: 0.82rem;
  color: var(--muted-teal);
  margin-top: -8px;
}
.field-hint:empty { margin-top: -14px; }
.hint-suggest {
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--taupe);
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}
.contact-form .btn { margin-top: 8px; align-self: flex-start; }

/* ===== Footer ===== */
.site-footer {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
}
.footer-mark { width: 56px; height: 56px; margin: 0 auto 12px; opacity: 0.95; }
.footer-tag {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 20px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

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

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px -14px rgba(0,0,0,0.25);
  }
  .site-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 110; }

  .service-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 130px 0 70px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
