/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:          #faf6ef;
  --sand:           #f2ead8;
  --sage:           #7a9e7e;
  --sage-light:     #b8d0bb;
  --sage-pale:      #e5ede6;
  --forest:         #2c4a32;
  --forest-mid:     #3d6142;
  --terracotta:     #c4785a;
  --clay:           #ddb99a;
  --text:           #2d2a25;
  --text-mid:       #5c5248;
  --text-light:     #8a7e72;
  --border:         #ddd3c0;

  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Lora', Georgia, serif;

  --max-w:          1100px;
  --narrow:         680px;
  --section-pad:    100px;
  --radius:         16px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
  animation: grain-drift 8s steps(2) infinite;
}

@keyframes grain-drift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, -1%); }
  50%  { transform: translate(1%, 2%); }
  75%  { transform: translate(2%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ===== CONTAINERS ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-pad) 0; }

.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 28px;
  display: block;
}

.section__label--light {
  color: var(--sage-light);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.work-with__item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-with__item.visible {
  opacity: 1;
  transform: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn--hero {
  margin-top: 44px;
  padding: 15px 36px;
  border: 1.5px solid rgba(250,246,239,0.5);
  color: #faf6ef;
  border-radius: 50px;
  letter-spacing: 0.06em;
  background: transparent;
  display: inline-block;
}

.btn--hero:hover {
  background: rgba(250,246,239,0.1);
  border-color: rgba(250,246,239,0.85);
}

.btn--submit {
  padding: 16px 44px;
  background: var(--forest);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
}

.btn--submit:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,74,50,0.25);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* subtle gradient so links read over the forest hero without a heavy bar */
  background: linear-gradient(to bottom, rgba(20,32,22,0.38) 0%, transparent 100%);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.nav.scrolled {
  background: rgba(250,246,239,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 400;
  font-style: italic;
  color: #faf6ef;
  transition: color 0.45s ease;
  letter-spacing: 0.03em;
}

.nav.scrolled .nav__name { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 52px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(250,246,239,0.82);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav__links a:hover { color: #faf6ef; }
.nav.scrolled .nav__links a { color: var(--text-light); }
.nav.scrolled .nav__links a:hover { color: var(--forest); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #faf6ef;
  border-radius: 2px;
  transition: background 0.3s;
}

.nav.scrolled .nav__hamburger span { background: var(--text); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 48px 28px;
  background: rgba(250,246,239,0.97);
  border-top: 1px solid var(--border);
}

.nav__mobile a {
  padding: 16px 0;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--forest);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 140px 64px;
  position: relative;
  z-index: 2;
}

.hero__image-col {
  position: relative;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* soft fade on left edge of photo so it melts into the forest green text panel */
.hero__image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--forest) 0%, transparent 35%);
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(250,246,239,0.6);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: #faf6ef;
}

/* word-by-word reveal */
.hero__headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordFadeIn 0.6s ease forwards;
}

@keyframes wordFadeIn {
  to { opacity: 1; transform: none; }
}

.hero__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero__curve svg { width: 100%; display: block; }

/* ===== OPENING ===== */
.opening {
  background: var(--cream);
  text-align: center;
}

.opening .section__label { text-align: center; }

.opening__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.opening__body p {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.opening__bold {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
}

.opening__italic {
  font-style: italic;
  color: var(--text-light);
}

.opening__closing {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--forest);
}

/* ===== WHO I WORK WITH ===== */
.work-with {
  background: var(--sand);
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.work-with__top-curve,
.work-with__bottom-curve {
  line-height: 0;
}

.work-with__top-curve svg,
.work-with__bottom-curve svg { width: 100%; display: block; }

.work-with .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.work-with .section__label { text-align: left; }


.work-with__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-with__item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.work-with__item:first-of-type { border-top: 1px solid var(--border); }

.work-with__dash {
  font-family: var(--font-display);
  color: var(--terracotta);
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 3px;
}

/* ===== APPROACH (WHAT OUR WORK LOOKS LIKE) ===== */
.approach {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.approach .section__label { text-align: center; }

/* Breathing circle — the delight moment */
.approach__breath {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.breath-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--sage-light);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.breath-ring--1 {
  width: 240px;
  height: 240px;
  animation: breathe 7s ease-in-out infinite;
  opacity: 0.35;
}

.breath-ring--2 {
  width: 360px;
  height: 360px;
  animation: breathe 7s ease-in-out 1.4s infinite;
  opacity: 0.2;
}

.breath-ring--3 {
  width: 480px;
  height: 480px;
  animation: breathe 7s ease-in-out 2.8s infinite;
  opacity: 0.1;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: inherit; }
  50%       { transform: translate(-50%, -50%) scale(1.18); opacity: 0; }
}

.approach .container--narrow { position: relative; z-index: 1; }

.approach__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.4;
}

.approach__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

.approach__body p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ===== WHAT I BELIEVE ===== */
.believe {
  background: var(--forest);
  position: relative;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
}

.believe__top-curve,
.believe__bottom-curve {
  line-height: 0;
}

.believe__top-curve svg,
.believe__bottom-curve svg { width: 100%; display: block; }

.believe .container--narrow {
  padding-top: 80px;
  padding-bottom: 80px;
}

.believe__opener {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 36px;
  line-height: 1.3;
}

.believe__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

.believe__body p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
}

/* ===== ABOUT ===== */
.about {
  background: var(--sand);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__photo-wrap {
  position: relative;
}

.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 40% 60% 55% 45% / 45% 50% 55% 50%;
  display: block;
  box-shadow: 0 20px 60px rgba(44,74,50,0.18);
}

.about__leaf {
  position: absolute;
  bottom: -24px;
  right: -28px;
  width: 60px;
  animation: leaf-sway 5s ease-in-out infinite;
  transform-origin: bottom center;
  opacity: 0.85;
}

@keyframes leaf-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg); }
}

.about__text {
  padding-top: 8px;
}

.about__text p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.85;
}

.about__bold {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  border-left: 2px solid var(--terracotta);
  padding-left: 20px;
  margin: 28px 0;
}

/* ===== WORKING TOGETHER ===== */
.working-together {
  background: var(--cream);
}

.working-together .container--narrow {
  max-width: 760px;
}

.wt-card {
  background: #f5ede0;
  border-radius: 20px;
  padding: 8px 40px;
  box-shadow: 0 4px 28px rgba(44,74,50,0.06);
}

.wt-row {
  display: grid;
  grid-template-columns: 36px 160px 1fr;
  align-items: baseline;
  gap: 0 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(196,178,155,0.35);
}

.wt-row:last-child {
  border-bottom: none;
}

.wt-icon {
  display: flex;
  align-items: center;
  padding-top: 2px;
  color: var(--terracotta);
  opacity: 0.85;
}

.wt-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.wt-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.wt-detail {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .wt-card { padding: 4px 24px; }

  .wt-row {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    padding: 18px 0;
  }

  .wt-label {
    grid-column: 2;
    grid-row: 1;
  }

  .wt-detail {
    grid-column: 2;
    grid-row: 2;
    color: var(--text-mid);
    font-size: 0.9rem;
  }

  .wt-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 3px;
  }
}

/* ===== CONTACT ===== */
.contact {
  background: var(--cream);
  position: relative;
  text-align: center;
  padding-top: 0;
}

.contact__top-curve { line-height: 0; }
.contact__top-curve svg { width: 100%; display: block; }

.contact .container--narrow {
  padding-top: 60px;
  max-width: 760px;
}

.contact__intro {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact__card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
  text-align: left;
  box-shadow: 0 4px 32px rgba(44,74,50,0.07);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form__group label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form__optional {
  font-style: italic;
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.8125rem;
}

.form__group input,
.form__group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  resize: none;
  line-height: 1.6;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-light);
  font-style: italic;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.15);
}

.contact__form .btn--submit {
  margin-top: 8px;
  align-self: flex-start;
}

.contact__success {
  padding: 48px 0;
}

.contact__success {
  padding: 32px 0;
  text-align: center;
}

.contact__success p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.5;
}

.contact__location {
  display: block;
  margin-top: 48px;
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--forest);
  padding: 48px 0;
}

.footer__inner {
  text-align: center;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.footer__sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__photo-col { order: -1; }

  .about__photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .about__leaf { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }

  .nav__inner { padding: 0 24px; height: 72px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { padding: 12px 24px 24px; }

  /* hero stacks: photo on top (cropped to face), text below */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 52vh auto;
    min-height: auto;
  }

  .hero__image-col { grid-row: 1; }

  .hero__photo { object-position: center 15%; }

  .hero__image-fade {
    background: linear-gradient(to bottom, transparent 50%, var(--forest) 100%);
  }

  .hero__text-col {
    grid-row: 2;
    padding: 32px 28px 100px;
    justify-content: flex-start;
  }

  .hero__eyebrow { margin-bottom: 20px; }

  .work-with .container { padding-top: 60px; padding-bottom: 60px; }
  .believe .container--narrow { padding-top: 60px; padding-bottom: 60px; }

  .contact__card { padding: 28px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form .btn--submit { align-self: stretch; text-align: center; }

  .approach__breath { display: none; }
}

@media (max-width: 480px) {
  .container, .container--narrow { padding: 0 20px; }

  .hero { padding: 0 20px; }

  .hero__headline { font-size: 1.875rem; }

  .work-with__item { font-size: 1rem; }
}
