/* ---- Tokens and base ---- */
:root {
  --ivory: #f6f3ed;
  --paper: #fbfaf7;
  --ink: #26251f;
  --muted: #77736b;
  --taupe: #b8aa96;
  --gold: #a89168;
  --line: #ddd7cc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  left: 10px;
}
/* Bracketed text the client must replace before launch */
.placeholder {
  text-decoration: underline dashed var(--gold);
  text-underline-offset: 3px;
}
/* Sections receive focus when a menu link is used; no ring needed there. */
section[tabindex="-1"]:focus,
main[tabindex="-1"]:focus {
  outline: none;
}
/* ---- Header and navigation ---- */
.site-header {
  height: 88px;
  padding: 0 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 243, 237, 0.96);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(38, 37, 31, 0.07);
}
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.wordmark span {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.22em;
}
.wordmark small {
  font-size: 8px;
  letter-spacing: 0.22em;
  margin-top: 7px;
}
/* Header wordmark in burnished gold. The colour is the fallback where
   gradient text isn't supported. */
.site-header .wordmark span {
  font-size: 29px;
  font-weight: 500;
  color: #8a6a35;
  background: linear-gradient(115deg, #6f5228 0%, #a8843f 45%, #c4a263 55%, #7c5d2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-header .wordmark small {
  color: #6f5d3b;
  font-weight: 500;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.primary-nav a:not(.nav-cta):hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--gold);
}
.nav-cta {
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
  color: #554e42;
}
.nav-cta span,
.button span {
  padding-left: 15px;
}
.menu-toggle {
  display: none;
}
/* ---- Hero, plus shared type and buttons ---- */
.hero {
  min-height: 650px;
  height: calc(100svh - 88px);
  max-height: 870px;
  position: relative;
  display: grid;
  grid-template-columns: 49% 51%;
  padding: 0 6.4% 68px;
}
.hero-copy {
  align-self: center;
  padding: 0 0 30px 7%;
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-index {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}
.rule {
  width: 25px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(49px, 6vw, 82px);
  margin: 0 0 20px;
}
h1 em,
h2 em {
  font-weight: 400;
  color: #93836b;
}
.hero-lede {
  max-width: 355px;
  color: #666057;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 15px 19px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: #f8f5ef;
}
.button-dark:hover {
  background: #4c493f;
}
.hero-note {
  margin: 24px 0 0;
  font-size: 10px;
  color: #79746c;
  letter-spacing: 0.04em;
}
.hero-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(65, 56, 44, 0.13), rgba(37, 34, 28, 0.03)),
    url("images/hero.jpg")
      center 52% / cover no-repeat;
  min-height: 500px;
}
.hero-art:before {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 8% 8% 10%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.art-caption {
  position: absolute;
  bottom: 7%;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 8px;
  letter-spacing: 0.17em;
}
.art-stamp {
  position: absolute;
  right: 12%;
  top: 16%;
  padding: 15px 18px;
  background: rgba(246, 243, 237, 0.86);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: #514a3e;
  transform: rotate(3deg);
}
.hero-bottom {
  position: absolute;
  bottom: 20px;
  left: 6.4%;
  right: 6.4%;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #89837a;
}
/* ---- Approach ---- */
.section-pad {
  padding: 120px 10%;
}
.intro {
  display: grid;
  grid-template-columns: 14% 1fr 18%;
  min-height: 560px;
  align-items: center;
  background: var(--paper);
}
.intro-aside {
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
}
.vertical-note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #9b9489;
}
.intro h2,
.section-heading h2,
.area h2,
.contact h2 {
  font-size: clamp(39px, 5vw, 62px);
  margin: 18px 0 24px;
}
.intro-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 690px;
  color: #6d685f;
  font-size: 13px;
}
.intro-text p {
  margin-bottom: 18px;
}
.text-link {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  margin-top: 12px;
}
.intro-mark {
  font-family: var(--serif);
  font-size: 180px;
  color: #eee9df;
  text-align: right;
  line-height: 1;
}
/* ---- Values band ---- */
.values-band {
  height: 82px;
  background: #eae5db;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.2%;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #625c51;
}
.values-band i {
  font-style: normal;
  color: var(--gold);
  font-size: 15px;
}
/* ---- Services ---- */
.services {
  background: var(--ivory);
  padding-top: 115px;
  padding-bottom: 130px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.section-heading .eyebrow {
  margin: 24px 0 0;
}
.section-heading h2 {
  margin: 0;
  font-size: 54px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card,
.service-note {
  min-height: 300px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 29px;
  position: relative;
}
.service-no {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #9a9285;
}
.service-icon {
  position: absolute;
  top: 22px;
  right: 28px;
  color: var(--gold);
  font-size: 21px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
  margin: 48px 0 15px;
}
.service-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #746f67;
  max-width: 290px;
  min-height: 65px;
}
/* The card is a flex column so the link sits under the copy, at the
   bottom of the card, however long the copy runs. */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card a {
  margin-top: auto;
  padding-top: 18px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #766b58;
}
.service-note {
  background: #eae5db;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 12%;
}
.note-ornament {
  font-family: var(--serif);
  font-size: 58px;
  color: var(--gold);
  line-height: 1;
}
.service-note p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  margin: 10px 0;
}
.service-note .text-link {
  margin-top: 5px;
}
/* ---- Photo beside the testimonials ---- */
/* Shown at its own 3:2 shape, centred beside the quotes, so it never has to
   stretch to fill the column. */
.testimonials-photo {
  margin: 0;
  padding: 90px 0 90px 6.4%;
  align-self: center;
}
.testimonials-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
/* ---- Meet the founder ---- */
.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 620px);
  justify-content: center;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
  padding: 110px 6.4%;
  background: #e9e5dc;
}
.founder-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--ivory);
}
.founder-nickname {
  font-size: 0.66em;
  letter-spacing: 0.04em;
  color: #6f5d3b;
}
.founder-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  margin: 26px 0 8px;
}
.founder-title {
  margin: 0 0 30px;
  color: #6f5d3b;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.founder-bio p {
  max-width: 560px;
  margin: 0;
  color: #5d584f;
}
.founder-facts {
  list-style: none;
  padding: 26px 0 0;
  margin: 40px 0;
  border-top: 1px solid var(--gold);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 560px;
}
.founder-facts strong {
  font-variant-numeric: tabular-nums lining-nums;
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.founder-facts span {
  display: block;
  margin-top: 6px;
  color: #5d584f;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.founder-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  max-width: 560px;
}
.founder-timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-years {
  grid-row: span 2;
  color: #6f5d3b;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding-top: 3px;
}
.timeline-role {
  font-weight: 500;
  font-size: 13px;
}
.timeline-place {
  color: #5d584f;
  font-size: 12px;
}
.founder-quote {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  max-width: 520px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.45;
  color: #4a453c;
}
/* ---- Testimonials ---- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}
.testimonials-copy {
  padding: 100px 12% 40px 10%;
  align-self: center;
}
.testimonials h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 18px 0 40px;
}
.testimonial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}
.testimonial {
  padding-left: 22px;
  border-left: 1px solid var(--gold);
}
.testimonial blockquote {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
}
.testimonial-credit {
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.references-note {
  margin: 40px 0 0;
  color: #5d584f;
  font-size: 12px;
}
.read-more {
  margin-top: 28px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.read-more:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}
/* Share-a-testimonial form (light background) */
.share-testimonial {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.share-testimonial summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.share-testimonial summary::-webkit-details-marker {
  display: none;
}
.share-testimonial summary:focus-visible,
.testimonial-form :focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}
.testimonial-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  max-width: 520px;
}
.testimonial-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4f4a41;
}
.testimonial-form input:not([type="checkbox"]),
.testimonial-form textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #c9c1b2;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.testimonial-form textarea {
  resize: vertical;
}
.testimonial-form input:focus,
.testimonial-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.testimonial-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #5d584f;
}
.testimonial-form .consent input {
  margin-top: 3px;
  accent-color: #6f5d3b;
}
.testimonial-form .button {
  justify-self: start;
}
.testimonial-form .button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.testimonial-form .form-status:empty {
  display: none;
}
.testimonial-form .form-status,
.share-thanks {
  margin: 0;
  font-size: 13px;
  color: #6f3b2e;
}
.share-thanks {
  margin-top: 22px;
  color: #4f4a41;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}
.share-thanks:focus {
  outline: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* ---- Service area ---- */
/* Same background as the testimonials above, so a smaller top gap keeps the
   two paddings from stacking into one large empty band. */
.testimonials + .area {
  padding-top: 80px;
}
.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  background: var(--paper);
  min-height: 550px;
}
.area-copy {
  max-width: 440px;
}
.area-copy .eyebrow {
  margin: 25px 0 0;
}
.area h2 {
  font-size: 48px;
}
.area-copy > p:not(.eyebrow) {
  color: #726c63;
  font-size: 13px;
  line-height: 1.9;
}
/* Map drawn from US Census county shapes (us-atlas), smoothed. Labels are
   HTML so they keep a readable size on phones; their left/top come from the
   map projection and are set inline in index.html. */
.area-map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 640 / 300;
  max-width: 100%;
  background: #e2e1d9;
}
.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-mainland {
  fill: #f3f0e9;
  stroke: #d8d2c4;
  stroke-width: 0.6;
}
.map-island {
  fill: #e6dccb;
  stroke: #cbbfa8;
  stroke-width: 0.6;
}
.map-manhattan {
  fill: var(--gold);
}
.map-route {
  fill: none;
  stroke: #6f5d3b;
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
}
.map-dot {
  fill: #6f5d3b;
  stroke: #fbfaf7;
  stroke-width: 1.5;
}
.map-label {
  position: absolute;
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1;
  white-space: nowrap;
  color: #4f4a41;
}
.label-manhattan {
  transform: translate(10px, -160%);
}
.label-city {
  transform: translate(-30%, 0);
}
.label-hamptons {
  transform: translate(-70%, -260%);
}
.label-miles {
  transform: translate(-50%, -240%);
  font-size: 8px;
  color: #6f5d3b;
}
.map-label-water {
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #6e695e;
}
/* ---- FAQ ---- */
.faq {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 8%;
  align-items: start;
  background: var(--ivory);
}
.faq h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 18px 0 0;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: "+";
  flex: none;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-item[open] summary:after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: #5d584f;
}
.faq-item summary:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}
.faq-answer p {
  max-width: 620px;
  margin: 0 0 26px;
  color: #5d584f;
}
/* ---- Contact ---- */
.contact {
  background: #34342e;
  color: #f5f1e8;
  padding: 42px 10% 0;
}
.contact-top,
.contact-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #bbb3a6;
}
.contact-top .section-index {
  color: #c7ad7d;
}
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding: 74px 0 88px;
}
.contact h2 {
  font-size: 55px;
  margin: 18px 0;
}
.contact h2 em {
  color: #c2ae89;
}
.contact-lede {
  max-width: 390px;
  color: #d0cbc1;
  font-size: 13px;
  line-height: 1.9;
}
.contact-detail {
  margin-top: 30px;
  font-size: 13px;
  color: #c8c0b4;
}
.contact-detail a {
  border-bottom: 1px solid #a89168;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ddd5c7;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #716f65;
  border-radius: 0;
  color: #f5f1e8;
  padding: 9px 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #c2ae89;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #97938b;
}
.contact-form select {
  color: #a6a197;
}
.contact-form select option {
  color: var(--ink);
}
.button-light {
  background: #eee9df;
  color: var(--ink);
  width: max-content;
  margin-top: 5px;
}
.button-light:hover {
  background: #d9cbb2;
}
.form-note {
  font-size: 9px;
  color: #a9a49a;
  margin: 0;
}
.contact-bottom {
  border-top: 1px solid #5c5b53;
  padding: 17px 0;
}
/* ---- Footer ---- */
.site-footer {
  padding: 32px 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eeeae2;
  color: #736d63;
}
.site-footer .wordmark {
  color: var(--ink);
}
.site-footer .wordmark span {
  font-size: 21px;
}
.site-footer p,
.site-footer .copyright {
  font-size: 9px;
  letter-spacing: 0.06em;
  margin: 0;
}
.site-footer > div {
  display: flex;
  gap: 20px;
  font-size: 9px;
}
.site-footer .copyright {
  color: #8d877d;
}
/* ---- Fade-in on scroll (classes added by script.js) ---- */
/* Hiding is instant so nothing fades out on load; only the reveal animates.
   The slide moves the section's children, not the section, so menu links
   still land the section's top edge just below the sticky header. */
.js .reveal:not(.is-visible) {
  opacity: 0;
}
.js .reveal:not(.is-visible) > * {
  transform: translateY(24px);
}
.reveal.is-visible,
.reveal.is-visible > * {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
/* ---- Scroll animations (classes added by script.js) ---- */
/* Staggered items: script.js sets each one's transition-delay. */
.js .reveal-item:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-item.is-visible {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* The map's dashed route draws from Manhattan out to the Hamptons through a
   mask; the Hamptons dots and label arrive as it finishes. */
.map-route-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 10;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .area-map.reveal-item:not(.is-visible) .map-route-mask {
  stroke-dashoffset: 1;
}
.area-map.is-visible .map-route-mask {
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.5s;
}
.js .area-map.reveal-item:not(.is-visible) .map-dot-late,
.js .area-map.reveal-item:not(.is-visible) .label-hamptons,
.js .area-map.reveal-item:not(.is-visible) .label-miles {
  opacity: 0;
}
.area-map.is-visible .map-dot-late,
.area-map.is-visible .label-hamptons {
  transition: opacity 0.6s ease 2.1s;
}
.area-map.is-visible .label-miles {
  transition: opacity 0.6s ease 1.3s;
}
/* Opening sequence: the hero copy rises in line by line, the photo settles. */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes settle-in {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js .hero-copy > * {
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .hero-copy > :nth-child(1) {
  animation-delay: 0.1s;
}
.js .hero-copy > :nth-child(2) {
  animation-delay: 0.22s;
}
.js .hero-copy > :nth-child(3) {
  animation-delay: 0.38s;
}
.js .hero-copy > :nth-child(4) {
  animation-delay: 0.5s;
}
.js .hero-copy > :nth-child(5) {
  animation-delay: 0.6s;
}
.js .hero-art {
  animation: settle-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
/* Parallax: script.js moves this layer; it is taller than its frame. */
.parallax-bg {
  position: absolute;
  inset: -10% 0;
  pointer-events: none;
  will-change: transform;
}
.hero-art.has-parallax {
  background: none;
}
.hero-art .parallax-bg {
  background:
    linear-gradient(90deg, rgba(65, 56, 44, 0.13), rgba(37, 34, 28, 0.03)),
    url("images/hero.jpg") center 52% / cover no-repeat;
}
/* ---- Tablets (900px and narrower) ---- */
@media (max-width: 900px) {
  .primary-nav {
    gap: 20px;
  }
  .hero {
    padding-left: 4%;
    padding-right: 4%;
    grid-template-columns: 48% 52%;
  }
  .hero-copy {
    padding-left: 2%;
  }
  .section-pad {
    padding-left: 7%;
    padding-right: 7%;
  }
  .intro {
    grid-template-columns: 12% 1fr 12%;
  }
  .intro-mark {
    font-size: 130px;
  }
  .service-card,
  .service-note {
    padding-left: 21px;
    padding-right: 21px;
  }
  .service-card h3 {
    font-size: 22px;
  }
  .founder-section {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 90px 7%;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonials-photo {
    padding: 0;
  }
  .testimonials-copy {
    padding: 72px 7% 40px;
  }
  .testimonials + .area {
    padding-top: 60px;
  }
  .founder-photo {
    max-width: 280px;
  }
  .contact {
    padding-left: 7%;
    padding-right: 7%;
  }
  .contact-body {
    gap: 7%;
  }
}
/* ---- Phones (640px and narrower) ---- */
@media (max-width: 640px) {
  .hero-art .parallax-bg {
    background-image:
      linear-gradient(90deg, rgba(65, 56, 44, 0.13), rgba(37, 34, 28, 0.03)),
      url("images/hero-sm.jpg");
  }
  .founder-photo {
    max-width: 260px;
  }
  .hero-art {
    background-image:
      linear-gradient(90deg, rgba(65, 56, 44, 0.13), rgba(37, 34, 28, 0.03)),
      url("images/hero-sm.jpg");
  }
  html {
    scroll-padding-top: 70px;
  }
  .site-header {
    height: 70px;
    padding: 0 6%;
  }
  .wordmark span {
    font-size: 22px;
  }
  .site-header .wordmark span {
    font-size: 25px;
  }
  .menu-toggle {
    display: flex;
    border: 0;
    background: none;
    padding: 12px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    padding: 20px 6% 26px;
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .nav-cta {
    width: max-content;
  }
  .hero {
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 42px 6% 55px;
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    padding: 0 0 36px;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 54px;
  }
  .hero-lede {
    font-size: 14px;
    max-width: 310px;
  }
  .hero-art {
    min-height: 380px;
    width: 100%;
  }
  .art-stamp {
    font-size: 17px;
    right: 9%;
    top: 12%;
  }
  .hero-bottom {
    bottom: 15px;
    left: 6%;
    right: 6%;
    font-size: 7px;
  }
  .section-pad {
    padding: 77px 7%;
  }
  .intro {
    display: block;
    min-height: 0;
    position: relative;
  }
  .intro-aside {
    height: auto;
    margin-bottom: 37px;
  }
  .vertical-note {
    display: none;
  }
  .intro h2 {
    font-size: 43px;
  }
  .intro-text {
    display: block;
  }
  .intro-mark {
    position: absolute;
    right: 7%;
    top: 7%;
    font-size: 87px;
    opacity: 0.7;
  }
  .values-band {
    height: auto;
    min-height: 83px;
    flex-wrap: wrap;
    gap: 9px 12px;
    padding: 19px 6%;
    font-size: 10px;
    letter-spacing: 0.11em;
  }
  .values-band i {
    font-size: 11px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading h2 {
    font-size: 43px;
    margin-top: 18px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card,
  .service-note {
    min-height: 285px;
    padding: 20px 16px;
  }
  .service-card h3 {
    font-size: 21px;
    margin-top: 47px;
  }
  .service-card p {
    font-size: 11px;
    min-height: 91px;
  }
  .service-card a {
    font-size: 8px;
  }
  .service-icon {
    right: 16px;
  }
  .service-note {
    grid-column: span 2;
    min-height: 220px;
    padding-left: 10%;
  }
  .testimonials-copy {
    padding: 62px 8% 30px;
  }
  .testimonials + .area {
    padding-top: 56px;
  }
  .founder-section {
    padding: 62px 8%;
    gap: 40px;
  }
  .founder-timeline li {
    grid-template-columns: 1fr;
  }
  .timeline-years {
    grid-row: auto;
  }
  .area {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
  }
  .area h2 {
    font-size: 42px;
  }
  .map-label-water {
    display: none;
  }
  .contact {
    padding: 32px 7% 0;
  }
  .contact-top {
    font-size: 9px;
  }
  .contact-body {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 57px 0;
  }
  .contact h2 {
    font-size: 44px;
  }
  .contact-lede {
    font-size: 12px;
  }
  .site-footer {
    padding: 28px 7%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 21px;
  }
  .site-footer > p {
    grid-column: 1/3;
    grid-row: 2;
  }
  .site-footer > div {
    grid-column: 1/3;
    grid-row: 3;
    gap: 16px;
  }
  .site-footer .copyright {
    grid-column: 1/3;
    grid-row: 4;
  }
  .site-footer > div a {
    font-size: 8px;
  }
}
/* ---- Very narrow phones (359px and narrower) ---- */
/* Two card columns don't fit long headings like "housekeeping" here. */
@media (max-width: 359px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-note {
    grid-column: auto;
  }
}
/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *,
  .js .hero-art {
    animation: none;
  }
  .js .reveal:not(.is-visible) {
    opacity: 1;
  }
  .js .reveal:not(.is-visible) > * {
    transform: none;
  }
  .faq-item summary:after {
    transform: none !important;
  }
  .faq-item[open] summary:after {
    content: "\2212";
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
