:root {
  --ink: #17251d;
  --forest: #173b28;
  --moss: #657653;
  --moss-dark: #536446;
  --sage: #98a58d;
  --cream: #f8f6f0;
  --warm-white: #fffdf9;
  --sand: #ece5d8;
  --line: rgba(30, 61, 42, 0.17);
  --shadow: 0 18px 50px rgba(45, 43, 35, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
section { scroll-margin-top: calc(var(--header-height) + 14px); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  border-radius: .45rem;
  color: #fff;
  background: var(--forest);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #2d6d4b; outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(22, 59, 40, 0.08);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(1400px, calc(100% - 48px));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.08; }
.brand strong {
  font-family: var(--serif);
  color: var(--forest);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.brand span { margin-top: .32rem; font-family: var(--serif); font-size: .92rem; color: #435247; }
.nav-list { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative;
  display: inline-block;
  padding: .55rem .1rem;
  color: #1f2b24;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .28rem;
  height: 2px;
  background: var(--moss);
  transition: right .2s ease;
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { right: 0; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  background: var(--warm-white);
  cursor: pointer;
}
.menu-button svg { width: 23px; height: 23px; }

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - var(--header-height)));
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 50% 50%; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(253,251,246,.96) 0%, rgba(253,251,246,.86) 31%, rgba(253,251,246,.28) 60%, rgba(253,251,246,.03) 100%);
}
.hero-inner { width: min(1400px, calc(100% - 48px)); margin-inline: auto; padding-block: 5rem 8rem; }
.hero-copy { max-width: 720px; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  max-width: 800px;
  margin: 0 0 1.5rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.2vw, 6.25rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.052em;
}
.hero-lead { max-width: 590px; margin: 0; color: #26362d; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.15rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.55rem;
  border: 1px solid var(--moss-dark);
  border-radius: .35rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(35,56,42,.16); }
.button-primary { color: #fff; background: var(--moss-dark); }
.button-primary:hover { background: var(--forest); }
.button-secondary { color: var(--forest); background: rgba(255,253,249,.9); }
.button-secondary:hover { background: #fff; }
.wave-bottom {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: -1px;
  left: -2%;
  height: 82px;
  background: var(--warm-white);
  clip-path: ellipse(64% 68% at 50% 100%);
}

.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section-kicker { display: block; margin-bottom: .45rem; color: var(--moss-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(2.45rem, 4.5vw, 4.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.section-title::after { content: ""; display: block; width: 62px; height: 2px; margin-top: .65rem; background: var(--sage); border-radius: 999px; }

.about { position: relative; padding: 5rem 0 6rem; overflow: hidden; background: var(--warm-white); }
.about::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 18%;
  width: 280px;
  height: 500px;
  opacity: .14;
  background: radial-gradient(ellipse at center, transparent 49%, var(--moss-dark) 50% 51%, transparent 52%) 0 0 / 110px 150px;
  transform: rotate(-12deg);
  pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.35fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.portrait-wrap {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  z-index: -1;
  border: 1px solid rgba(101,118,83,.25);
  border-radius: 34px;
}
.portrait-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.bio-copy { max-width: 760px; }
.bio-copy p { margin: 1.25rem 0 0; }

.credentials { position: relative; padding: 4.6rem 0 5rem; overflow: hidden; background: #f3eee4; }
.credentials::before, .credentials::after { content: ""; position: absolute; right: -3%; left: -3%; height: 56px; background: var(--warm-white); pointer-events: none; }
.credentials::before { top: -35px; clip-path: ellipse(60% 78% at 50% 0%); }
.credentials::after { bottom: -35px; clip-path: ellipse(60% 78% at 50% 100%); }
.credentials .section-title { text-align: center; }
.credentials .section-title::after { margin-inline: auto; }
.credential-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2.75rem; }
.credential { min-height: 170px; padding: 1rem 1.15rem; text-align: center; border-right: 1px solid rgba(23,59,40,.17); }
.credential:last-child { border-right: 0; }
.icon-circle { display: grid; width: 60px; height: 60px; margin: 0 auto .85rem; place-items: center; border: 1px solid rgba(83,100,70,.38); border-radius: 50%; color: var(--moss-dark); background: rgba(255,255,255,.5); }
.icon-circle svg { width: 31px; height: 31px; stroke-width: 1.55; }
.credential h3 { margin: 0; font-family: var(--sans); font-size: .98rem; line-height: 1.28; }

.services { padding: 5.25rem 0 6rem; background: var(--warm-white); }
.services-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.services-intro p { max-width: 570px; margin: 0; color: #465149; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.service-card { position: relative; padding: 2.1rem 2rem 2.2rem; border: 1px solid var(--line); border-radius: 24px; background: #fffefa; box-shadow: 0 14px 36px rgba(38,50,41,.055); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .icon-circle { width: 54px; height: 54px; margin: 0 0 1.25rem; color: #fff; border: 0; background: var(--moss); }
.service-card h3 { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(1.55rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.1; }
.service-card p { margin: 1rem 0 0; color: #38463e; }

.contact { position: relative; overflow: hidden; background: #f1ede4; }
.contact::before { content: ""; position: absolute; z-index: 2; top: -1px; right: -2%; left: -2%; height: 60px; background: var(--warm-white); clip-path: ellipse(60% 75% at 50% 0%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 710px; }
.contact-copy { display: flex; align-items: center; justify-content: flex-end; padding: 7rem clamp(2rem, 6vw, 6rem) 5rem max(24px, calc((100vw - 1240px) / 2)); }
.contact-inner { width: min(100%, 610px); }
.contact-copy p { max-width: 560px; }
.contact-copy a { font-weight: 750; color: var(--forest); }
.contact-media { min-height: 620px; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 760; color: #26372d; }
input, textarea { width: 100%; border: 1px solid rgba(35, 61, 44, .25); border-radius: .4rem; color: var(--ink); background: rgba(255,255,255,.92); padding: .82rem .95rem; box-shadow: inset 0 1px 0 rgba(0,0,0,.025); }
input { min-height: 51px; }
textarea { min-height: 148px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--moss-dark); outline: 3px solid rgba(101,118,83,.2); }
.form-note { margin: .75rem 0 0; color: #59635d; font-size: .79rem; line-height: 1.5; }
.submit-button { width: fit-content; min-width: 190px; margin-top: 1.15rem; border: 0; cursor: pointer; }

.site-footer { padding: 1.55rem 24px; color: #27342d; background: var(--warm-white); text-align: center; font-size: .88rem; }
.site-footer p { margin: .15rem 0; }

.thank-you-page { min-height: 100svh; display: grid; place-items: center; padding: 2rem; background: #f3eee4; }
.thank-you-card { width: min(680px, 100%); padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: 32px; background: var(--warm-white); box-shadow: var(--shadow); text-align: center; }
.thank-you-card h1 { margin-inline: auto; font-size: clamp(2.8rem, 7vw, 5rem); }
.thank-you-card p { max-width: 540px; margin: 1rem auto 0; }
.thank-you-card .button { margin-top: 2rem; }

@media (max-width: 1120px) {
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .credential { border-top: 1px solid rgba(23,59,40,.13); }
  .credential:nth-child(-n+3) { border-top: 0; }
  .credential:nth-child(3n) { border-right: 0; }
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .nav-wrap { width: min(100% - 32px, 1400px); min-height: var(--header-height); }
  .brand span { font-size: .78rem; }
  .menu-button { display: grid; place-items: center; }
  .nav-list {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: .7rem 1rem 1.1rem;
    background: rgba(255,253,249,.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 26px rgba(20,40,29,.08);
  }
  .nav-list[data-open="true"] { display: grid; }
  .nav-list a { display: block; padding: .8rem 1rem; border-radius: .45rem; }
  .nav-list a:hover { background: #f2eee5; }
  .nav-list a::after { display: none; }

  .hero { min-height: 700px; align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(253,251,246,.30) 0%, rgba(253,251,246,.42) 36%, rgba(253,251,246,.94) 74%, rgba(253,251,246,.99) 100%); }
  .hero-media img { object-position: 64% 50%; }
  .hero-inner { width: min(100% - 32px, 1400px); padding: 16rem 0 7.5rem; }
  h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .hero-lead { font-size: 1.03rem; max-width: 34rem; }
  .button { min-height: 49px; }

  .container { width: min(100% - 32px, 1240px); }
  .about { padding-top: 4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .portrait-wrap { max-width: 390px; }
  .portrait { border-radius: 30px; object-position: center center; }
  .bio-copy { max-width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.8rem; }
  .services-intro { display: grid; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { padding: 6rem 24px 4rem; justify-content: center; }
  .contact-media { min-height: 480px; order: -1; }
  .contact-media img { object-position: center 44%; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .brand strong { font-size: 1.45rem; }
  .brand span { max-width: 210px; }
  .hero { min-height: 720px; }
  .hero-inner { padding-top: 17rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .wave-bottom { height: 52px; }
  .section-title { font-size: 2.55rem; }
  .portrait-wrap { max-width: 330px; }
  .credentials { padding-top: 4rem; }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .credential { border-top: 1px solid rgba(23,59,40,.13); border-right: 1px solid rgba(23,59,40,.17) !important; padding-top: 1.45rem; }
  .credential:nth-child(-n+2) { border-top: 0; }
  .credential:nth-child(even) { border-right: 0 !important; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .submit-button { width: 100%; }
  .contact-media { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Approved hero composition: keeps the beach to the left and the arch,
   bench and café details visible on wider screens. */
@media (min-width: 901px) {
  .hero-media img {
    object-position: 50% 50%;
  }
}

@media (max-width: 900px) {
  .hero-media img {
    object-position: 64% 50%;
  }
}
