/* Design tokens */
:root {
  color-scheme: light;
  --color-moss: #263b2b;
  --color-moss-deep: #1d3022;
  --color-sage: #dce5d7;
  --color-sage-dark: #91a58a;
  --color-ivory: #f7f5ee;
  --color-paper: #fffefa;
  --color-clay: #9a6549;
  --color-ink: #26332a;
  --color-muted: #70766e;
  --color-line: #dcded5;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 88px;
  --container: 1200px;
  --header-height: 84px;
}

/* Base and accessibility */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-clay);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--color-paper);
  color: var(--color-moss);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-space {
  padding-block: var(--space-7);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--color-clay);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--color-moss);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.045em;
}

h1 em,
h2 em {
  color: var(--color-clay);
  font-weight: 400;
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  height: var(--header-height);
  background: rgb(247 245 238 / 94%);
  border-bottom: 1px solid rgb(38 59 43 / 9%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-moss);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(38 59 43 / 25%);
  border-radius: 50%;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.065em;
}

.brand-name small {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.primary-navigation > a:not(.button),
.footer-nav a {
  color: var(--color-ink);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-navigation > a:not(.button):hover,
.footer-nav a:hover {
  color: var(--color-clay);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button span,
.service-link span,
.detail-link span {
  font-size: 16px;
  line-height: 1;
}

.button-dark {
  background: var(--color-moss);
  color: var(--color-paper);
}

.button-dark:hover {
  background: var(--color-moss-deep);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 11px;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 42px 38px;
}

.hero-layout {
  display: grid;
  min-height: min(660px, calc(100svh - var(--header-height) - 80px));
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.hero-copy {
  padding-block: 42px;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .99;
}

.hero-copy h1 em {
  display: block;
}

.hero-description {
  max-width: 410px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}

.text-link,
.service-link,
.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-moss);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.text-link {
  border-bottom: 1px solid var(--color-sage-dark);
  padding-block: 8px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: var(--color-muted);
  font-size: 11px;
}

.location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-clay);
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: clamp(400px, 49vw, 610px);
  background: var(--color-sage);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  min-width: 205px;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  background: var(--color-ivory);
  color: var(--color-moss);
  font-size: 10px;
  letter-spacing: .04em;
}

.hero-image-note span:first-child {
  color: var(--color-clay);
  font-family: var(--font-display);
  font-size: 20px;
}

.hero-bottom-rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-line);
}

/* About */
.intro {
  background: var(--color-paper);
}

.intro-layout {
  display: grid;
  grid-template-columns: .55fr 1.55fr .7fr;
  align-items: start;
  gap: 40px;
}

.section-label {
  padding-top: 8px;
  color: var(--color-clay);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.intro-content .eyebrow {
  margin-bottom: 20px;
}

.intro-content h2,
.section-heading h2,
.values-heading h2,
.contact-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.05;
}

.intro-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.intro-text-grid p,
.values-heading > p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.9;
}

.intro-signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
}

.signoff-rule {
  width: 30px;
  height: 1px;
  background: var(--color-clay);
}

.intro-aside {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  background: var(--color-sage);
  color: var(--color-moss);
}

.aside-index {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.intro-aside svg {
  width: 88px;
  margin: 10px auto;
}

.intro-aside p {
  max-width: 190px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.35;
}

/* Services and image gallery */
.services {
  background: var(--color-sage);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-heading .eyebrow,
.values-heading .eyebrow,
.contact-copy .eyebrow {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-note {
  max-width: 280px;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-width: 0;
  background: var(--color-paper);
}

.service-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.18 / 1;
  background: #d5dacd;
}

.service-card-featured .service-image {
  aspect-ratio: 1.18 / 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:nth-child(2) .service-image img {
  object-position: center 70%;
}

.service-card:nth-child(3) .service-image img {
  object-position: center;
}

.service-card:hover .service-image img {
  transform: scale(1.025);
}

.image-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--color-ivory);
  color: var(--color-moss);
  font-size: 16px;
}

.service-card-copy {
  padding: 20px 22px 24px;
}

.service-number {
  display: block;
  margin-bottom: 7px;
  color: var(--color-clay);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.service-card h3,
.service-extra h3 {
  margin-bottom: 8px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.service-card-copy p,
.service-extra p {
  min-height: 50px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.7;
}

.service-link {
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}

.service-extra {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 20px 24px;
  background: rgb(255 254 250 / 65%);
}

.service-extra .service-number,
.service-extra h3,
.service-extra p {
  margin-bottom: 0;
}

.service-extra p {
  min-height: auto;
  margin-top: 5px;
}

.service-extra .service-link {
  width: 210px;
  padding-top: 0;
  border-top: 0;
}

.image-note {
  margin: 18px 0 0;
  color: #647265;
  font-size: 10px;
}

/* Differentiators */
.values {
  background: var(--color-ivory);
}

.values-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(48px, 10vw, 140px);
}

.values-heading h2 {
  margin-bottom: 20px;
}

.values-heading > p:last-child {
  max-width: 370px;
}

.values-list {
  border-top: 1px solid var(--color-line);
}

.value-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--color-line);
}

.value-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(38 59 43 / 20%);
  border-radius: 50%;
  color: var(--color-moss);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-item h3 {
  margin-bottom: 5px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.value-item p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 11px;
}

.value-index {
  align-self: start;
  color: var(--color-clay);
  font-size: 10px;
}

/* Contact and footer */
.contact {
  background: var(--color-moss);
  color: var(--color-paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(50px, 10vw, 140px);
}

.contact-copy .eyebrow {
  color: #d1ad8a;
}

.contact-copy h2 {
  margin-bottom: 20px;
  color: var(--color-paper);
  font-size: clamp(44px, 5vw, 68px);
}

.contact-copy h2 em {
  color: #d1ad8a;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 28px;
  color: #d3dbd1;
  font-size: 13px;
}

.button-light {
  background: var(--color-ivory);
  color: var(--color-moss);
}

.button-light:hover {
  border-color: var(--color-ivory);
  background: transparent;
  color: var(--color-paper);
}

.contact-details {
  align-self: end;
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.contact-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 18px;
  padding: 19px 0;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.detail-label {
  grid-row: span 2;
  color: #d1ad8a;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-detail p,
.phone-link {
  margin: 0;
  color: var(--color-paper);
  font-size: 13px;
  text-decoration: none;
}

.detail-link {
  color: #d3dbd1;
  font-size: 10px;
  font-weight: 400;
}

.phone-link:hover,
.detail-link:hover {
  color: #d1ad8a;
}

.site-footer {
  padding-block: 40px 18px;
  background: var(--color-moss-deep);
  color: #e4e9e1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 28px;
}

.footer-brand {
  color: var(--color-paper);
}

.footer-brand .brand-mark {
  border-color: rgb(255 255 255 / 32%);
}

.footer-main > p {
  max-width: 265px;
  margin: 0;
  color: #b8c2b6;
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-nav a {
  color: #e4e9e1;
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: #aab5a8;
  font-size: 9px;
}

.whatsapp-float {
  position: fixed;
  z-index: 8;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  background: #2f6846;
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgb(22 43 29 / 18%);
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
}

.whatsapp-float:hover {
  background: var(--color-moss-deep);
}

/* Responsive layouts */
@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .primary-navigation {
    gap: 18px;
  }

  .primary-navigation > a:not(.button) {
    font-size: 11px;
  }

  .hero-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 7vw, 62px);
  }

  .intro-layout {
    grid-template-columns: .35fr 1.65fr;
    gap: 24px;
  }

  .intro-aside {
    display: none;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card-copy {
    padding-inline: 16px;
  }

  .service-extra {
    grid-template-columns: 32px 1fr;
  }

  .service-extra .service-link {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --space-7: 64px;
  }

  .container {
    width: calc(100% - 40px);
  }

  body {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark svg {
    width: 29px;
    height: 29px;
  }

  .brand-name strong {
    font-size: 18px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-moss);
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 32px;
    transform: translateY(-8px);
    background: var(--color-ivory);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .primary-navigation.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .primary-navigation > a:not(.button) {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
    font-family: var(--font-display);
    font-size: 22px;
  }

  .primary-navigation .nav-cta {
    align-self: flex-start;
    margin-top: 24px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    padding-block: 20px 0;
  }

  .hero-copy h1 {
    max-width: 490px;
    margin-block: 18px;
    font-size: clamp(48px, 13vw, 68px);
  }

  .hero-description {
    max-width: 420px;
    margin-bottom: 22px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-footnote {
    margin-top: 22px;
  }

  .hero-visual {
    height: clamp(280px, 84vw, 430px);
  }

  .hero-image-note {
    min-width: 178px;
    padding: 12px 14px;
  }

  .section-label {
    padding: 0;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .intro-content .eyebrow {
    margin-bottom: 16px;
  }

  .intro-content h2,
  .section-heading h2,
  .values-heading h2,
  .contact-copy h2 {
    margin-bottom: 22px;
    font-size: clamp(40px, 11vw, 54px);
  }

  .intro-text-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intro-signoff {
    margin-top: 24px;
    font-size: 14px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading-note {
    max-width: 300px;
    margin-top: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-image,
  .service-card-featured .service-image {
    aspect-ratio: 1.32 / 1;
  }

  .service-card-copy {
    padding: 18px 20px 20px;
  }

  .service-card-copy p {
    min-height: 0;
  }

  .service-extra {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .service-extra .service-link {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
  }

  .values-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .value-item {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    padding: 20px 0;
  }

  .value-icon {
    width: 38px;
    height: 38px;
  }

  .value-item h3 {
    font-size: 17px;
  }

  .value-item p {
    line-height: 1.6;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-detail {
    grid-template-columns: 95px 1fr;
    gap: 8px 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 46px;
    padding-inline: 14px;
  }
}

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