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

:root {
  --cream:      #EDE9D5;
  --cream-dark: #E2DCC4;
  --cream-lt:   #F5F2E4;
  --green:      #2D4A35;
  --green-mid:  #3D6147;
  --green-lt:   #6B8F72;
  --orange:     #B85A0A;
  --orange-lt:  #D4844A;
  --ink:        #1C2B1F;
  --ink-mid:    #3A4D3D;
  --ink-lt:     #7A8C7D;
}

html, body {
  background: var(--green);
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

#site-frame {
  background: var(--cream);
  border: 50px solid var(--green);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}



/* ─── NAV ─── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: var(--cream);
  border-bottom: 1.5px solid var(--green);
  height: 60px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 28px; height: 28px;
}

.logo-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px; font-weight: 400;
  color: var(--ink); letter-spacing: 0.02em;
}

.nav-links {
  list-style: none; display: flex; align-items: stretch; height: 100%;
}

.nav-links li { display: flex; align-items: center; }

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none; color: var(--ink-mid);
  padding: 0 20px; height: 100%;
  display: flex; align-items: center;
  border-left: 1px solid rgba(45,74,53,0.15);
  transition: background 0.18s, color 0.18s;
}

.nav-links a:hover { background: var(--cream-dark); color: var(--green); }

.nav-links .nav-cta {
  background: var(--green);
  color: var(--cream) !important;
  border-left: none;
  font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--ink) !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  padding: 80px 48px;
}

/* LEFT */
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.15s;
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1.5px;
  background: var(--green-mid); flex-shrink: 0;
}

.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.05; color: var(--ink);
  margin-bottom: 8px;
}

.hero-h1 em {
  display: block; font-style: italic; color: var(--green);
}

.hero-rule {
  width: 40px; height: 2px;
  background: var(--orange);
  margin: 26px 0;
}

.hero-body {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400; font-size: 15px; line-height: 1.85;
  color: var(--ink-mid); max-width: 400px;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  background: var(--green); color: var(--cream);
  border: none; padding: 14px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: background 0.22s;
  align-self: flex-start;
}
.hero-cta:hover { background: var(--ink); }

.manifesto {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(45,74,53,0.2);
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-weight: 400;
  font-size: 13px; line-height: 1.8;
  color: var(--ink-lt);
  max-width: 380px;
}

/* RIGHT — BRYCE PHOTO */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.3s;
}

.photo-card { width: 100%; position: relative; }

.photo-placeholder {
  width: 100%; aspect-ratio: 3 / 4;
  background: var(--cream-dark);
  border: 1.5px solid var(--green);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.photo-upload-zone {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; cursor: pointer;
  border: 2px dashed rgba(45,74,53,0.25);
  transition: border-color 0.2s, background 0.2s;
}

.photo-upload-zone:hover {
  border-color: var(--green);
  background: rgba(45,74,53,0.04);
}

.photo-upload-zone svg {
  width: 34px; height: 34px;
  stroke: var(--green-lt); fill: none;
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}

.photo-upload-zone p {
  font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green-mid); font-weight: 500;
}

.photo-upload-zone span {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 12px;
  color: var(--ink-lt);
}

#hero-photo-input { display: none; }

.hero-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: none;
}

.photo-caption { padding: 10px 0 0; display: none; }

.photo-caption p {
  font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green-mid);
}

.photo-caption span {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 12px;
  color: var(--ink-lt); display: block; margin-top: 3px;
}

/* ─── HOW IT WORKS ─── */
.how {
  background: var(--green);
  display: grid; grid-template-columns: repeat(3,1fr);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.how-step {
  padding: 52px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.how-step:last-child { border-right: none; }

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px; font-style: italic;
  color: rgba(255,255,255,0.18);
  line-height: 1; margin-bottom: 16px;
}

.step-title {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 12px;
}

.step-body {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px; line-height: 1.8;
  color: rgba(237,233,213,0.65);
}

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--cream-lt);
  border-top: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  padding: 80px 60px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.cta-band-text h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400; font-size: 36px; line-height: 1.2;
  color: var(--ink);
}

.cta-band-text h2 em { font-style: italic; color: var(--green); }

.cta-band-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 15px; line-height: 1.8;
  color: var(--ink-mid); max-width: 520px;
  margin: 12px auto 0;
}

.btn-get-estimate {
  background: var(--green); color: var(--cream); border: none;
  padding: 16px 60px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  cursor: pointer; transition: background 0.22s;
}
.btn-get-estimate:hover { background: var(--ink); }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  padding: 20px 52px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1.5px solid var(--green);
}

footer p {
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(237,233,213,0.3);
}

footer .ft {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 13px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  color: rgba(237,233,213,0.45);
}

/* ─── MODAL ─── */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(28,43,31,0.6);
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.overlay.open { display: flex; }

.modal {
  background: var(--cream-lt);
  width: 90%; max-width: 520px;
  padding: 52px 48px;
  position: relative;
  border: 1.5px solid var(--green);
  animation: popIn 0.3s ease;
}

.modal-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-lt); transition: color 0.2s;
}
.modal-close:hover { color: var(--green); }

.modal-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 10px;
}

.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 30px; font-weight: 400; color: var(--ink);
  margin-bottom: 4px;
}

.modal-sub {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 14px;
  color: var(--ink-mid); margin-bottom: 24px;
}

/* DROP ZONE */
.drop-zone {
  border: 1.5px dashed rgba(45,74,53,0.35);
  background: var(--cream-dark);
  padding: 40px 20px;
  text-align: center; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
  margin-bottom: 16px;
}

.drop-zone:hover, .drop-zone.drag {
  border-color: var(--green); background: var(--cream);
}

.drop-zone.filled { padding: 0; border-style: solid; border-color: var(--green); }

.dz-icon svg {
  width: 36px; height: 36px; stroke: var(--green-lt); fill: none;
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 12px;
}

.dz-main {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; color: var(--ink); margin-bottom: 5px;
}

.dz-hint {
  font-family: 'Jost', sans-serif;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-lt);
}

#modal-file-input { display: none; }

.dz-preview {
  width: 100%; display: block;
  max-height: 220px; object-fit: cover;
}

.dz-swap {
  display: none; position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(45,74,53,0.88); color: var(--cream);
  padding: 10px; font-family: 'Jost', sans-serif;
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase; cursor: pointer; text-align: center;
}
.drop-zone.filled:hover .dz-swap { display: block; }

.desc-wrap { margin-bottom: 14px; }
.desc-wrap label, .field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 6px;
}

.desc-wrap textarea {
  width: 100%; height: 80px;
  background: var(--cream-dark);
  border: 1px solid rgba(45,74,53,0.2);
  border-bottom-color: var(--green-mid);
  padding: 10px 12px; resize: none; outline: none;
  font-family: 'Libre Baskerville', serif;
  font-size: 13px; color: var(--ink); line-height: 1.65;
  transition: border-color 0.2s;
}
.desc-wrap textarea:focus { border-color: var(--green); background: var(--cream-lt); }
.desc-wrap textarea::placeholder { color: var(--ink-lt); opacity: 0.55; }

.contact-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 20px;
}

.field input {
  width: 100%;
  background: var(--cream-dark);
  border: 1px solid rgba(45,74,53,0.2);
  border-bottom-color: var(--green-mid);
  padding: 10px 12px; outline: none;
  font-family: 'Libre Baskerville', serif;
  font-size: 13px; color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus { border-color: var(--green); background: var(--cream-lt); }
.field input::placeholder { color: var(--ink-lt); opacity: 0.55; }

.modal-submit-row { display: flex; align-items: center; gap: 16px; }

.btn-modal-submit {
  flex: 1; background: var(--green); color: var(--cream); border: none;
  padding: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.btn-modal-submit:hover { background: var(--ink); }

.modal-reassure {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 12px;
  color: var(--ink-lt); max-width: 100px; line-height: 1.5;
}

/* SUCCESS */
.modal-success {
  display: none; text-align: center; padding: 16px 0 8px;
}

.success-ring { width: 52px; height: 52px; margin: 0 auto 22px; }

.modal-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; color: var(--ink); margin-bottom: 10px;
}
.modal-success h3 em { font-style: italic; color: var(--green); }

.modal-success p {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px; line-height: 1.75;
  color: var(--ink-mid); margin-bottom: 28px;
}

.btn-done {
  background: none;
  border: 1.5px solid rgba(45,74,53,0.3);
  padding: 11px 32px;
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-mid); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-done:hover { border-color: var(--green); color: var(--green); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── MOBILE ─── */
/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 60;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {

  #site-frame {
    border: 16px solid var(--green);
  }

  /* NAV */
  nav {
    padding: 0 20px;
    height: 52px;
    position: relative;
  }

  .logo-name { font-size: 11px; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--green);
    z-index: 55;
    height: auto;
  }

  .nav-links.open { display: flex; }

  .nav-links li { display: flex; width: 100%; }

  .nav-links a {
    font-size: 12px;
    padding: 16px 24px;
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(45,74,53,0.1);
    height: auto;
  }

  .nav-links .nav-cta {
    margin: 12px 24px 16px;
    width: calc(100% - 48px);
    justify-content: center;
    border-bottom: none;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px;
  }

  .hero-h1 {
    font-size: 42px;
  }

  .hero-body {
    font-size: 14px;
    max-width: 100%;
  }

  .hero-right {
    order: 1;
  }

  .photo-card {
    max-width: 260px;
    margin: 0 auto;
  }

  .manifesto {
    font-size: 12px;
    margin-top: 32px;
  }

  /* HOW IT WORKS */
  .how {
    grid-template-columns: 1fr;
  }

  .how-step {
    padding: 36px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .how-step:last-child { border-bottom: none; }

  /* CTA BAND */
  .cta-band {
    padding: 52px 28px;
  }

  .cta-band-text h2 {
    font-size: 26px;
  }

  .cta-band-text p {
    font-size: 14px;
  }

  .btn-get-estimate {
    padding: 16px 36px;
    width: 100%;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 28px;
  }

  /* MODAL */
  .modal {
    padding: 36px 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-title { font-size: 24px; }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .modal-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-reassure {
    text-align: center;
    max-width: 100%;
  }
}
