:root {
  --bg: #ece4da;
  --surface: #f6f3ec;
  --surface-strong: #fffdfa;
  --accent: #b9a590;
  --accent-deep: #574c3f;
  --text: #36302a;
  --text-inverse: #f6f3ec;
  --line: rgba(87, 76, 63, 0.14);
  --line-strong: rgba(87, 76, 63, 0.22);
  --shadow: 0 18px 48px rgba(87, 76, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f1ebe2 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

main {
  flex: 1;
}

.shell {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: var(--accent-deep);
  border-bottom: 1px solid rgba(246, 243, 236, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  gap: 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-inverse);
  margin-right: 4.5rem;
}

.brand-logo {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #fff;
}

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

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-wrap: nowrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-inverse);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active {
  border-bottom-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid rgba(246, 243, 236, 0.5);
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 0.18rem;
  margin: 0.22rem auto;
  background: var(--text-inverse);
  border-radius: 999px;
}

.hero-section {
  padding: 2.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.trust-section h2,
.about-card h2 {
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-summary {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.35rem);
  color: rgba(54, 48, 42, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.button-primary {
  background: var(--accent-deep);
  color: var(--text-inverse);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.96rem;
  color: rgba(54, 48, 42, 0.72);
}

.hero-panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 0.9rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-stats {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-stats article {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-stats strong {
  font-size: 1.1rem;
}

.hero-stats span {
  color: rgba(54, 48, 42, 0.76);
  font-size: 0.96rem;
}

.process-section,
.services-section,
.about-section {
  padding: 1rem 0 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(22rem, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: start;
}

.trust-section h2 {
  font-size: 3.4rem;
  max-width: 15ch;
}

.mission-section {
  padding: 0 0 2.5rem;
}

.mission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.mission-image-wrap {
  flex: 1 1 260px;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.mission-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.mission-copy {
  flex: 1 1 420px;
  display: grid;
  gap: 0.75rem;
}

.mission-text {
  margin: 0;
  color: rgba(54, 48, 42, 0.82);
  font-size: 1.04rem;
  line-height: 1.75;
}

.trust-content {
  display: grid;
  gap: 1rem;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-points article,
.process-card,
.service-card,
.about-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: var(--shadow);
}

.trust-points article {
  overflow: hidden;
  padding: 0;
}

.trust-points article img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.trust-points article h3,
.trust-points article p {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.trust-points article h3 {
  padding-top: 1.25rem;
}

.trust-points h3,
.process-card h3,
.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.28rem;
  line-height: 1.15;
}

.trust-points p,
.process-card p,
.service-card p,
.section-heading p,
.about-copy p,
.footer-meta,
.footer-links a {
  margin: 0;
  color: rgba(54, 48, 42, 0.78);
  font-size: 1rem;
}

.trust-points article p {
  padding-bottom: 1.4rem;
}

.centered {
  text-align: center;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.centered {
  grid-template-columns: 1fr;
  justify-items: center;
}

.section-heading.centered p {
  max-width: 42rem;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
}

.process-grid,
.services-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  padding: 1.6rem;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-deep);
  font-weight: 800;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.service-detail {
  cursor: pointer;
}

.service-summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.service-summary::-webkit-details-marker {
  display: none;
}

.service-card-media {
  width: 100%;
  max-width: 100%;
  height: 10rem;
  overflow: hidden;
}

.service-card-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.5rem;
  min-height: 13.5rem;
}

.service-card-body h3,
.service-card-body p {
  margin: 0;
}

.service-expand-hint {
  margin-top: auto;
  align-self: end;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.service-detail-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 260ms ease, opacity 180ms ease;
}

.service-detail-panel-inner {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  width: 100%;
  min-height: 100%;
  padding: 1.4rem 1.5rem 1.5rem;
  background: rgba(255, 253, 250, 0.98);
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-detail-close {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.service-detail-panel-inner h4 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

.service-detail-panel p {
  margin: 0;
  color: rgba(54, 48, 42, 0.8);
}

.service-detail.is-open {
  box-shadow: 0 24px 54px rgba(87, 76, 63, 0.16);
}

.service-detail.is-open .service-expand-hint {
  opacity: 0.7;
}

.service-detail.is-open .service-detail-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.about-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 9ch;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.image-break-section {
  padding: 0 0 2.5rem;
}

.image-break-shell {
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.image-break {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.6fr);
  gap: 2rem;
  align-items: start;
}

.page-title {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.page-summary {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(54, 48, 42, 0.82);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  width: 100%;
  margin-top: 0;
}

.contact-submit {
  margin-top: 0.25rem;
  justify-self: start;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.55rem;
}

.contact-field span {
  color: rgba(54, 48, 42, 0.92);
  font-size: 0.96rem;
  font-weight: 500;
}

.contact-field em {
  color: rgba(54, 48, 42, 0.55);
  font-style: normal;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  border-radius: 1.5rem;
  background: rgba(255, 253, 250, 0.82);
  color: var(--text);
  font: inherit;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  outline: none;
}

.contact-field input {
  min-height: 3.1rem;
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  box-shadow: 0 0 0 2px rgba(87, 76, 63, 0.18), var(--shadow);
}

.about-story-section {
  padding: 2.5rem 0 1.25rem;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 2.5rem;
  align-items: stretch;
}

.about-story-heading {
  grid-column: 1 / -1;
}

.about-story-copy {
  min-width: 0;
}

.about-story-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-transform: uppercase;
}

.about-story-body {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.about-story-body p {
  margin: 0;
  color: rgba(54, 48, 42, 0.86);
  font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.16rem);
  line-height: 1.6;
}

.about-story-signoff {
  font-weight: 800;
}

.about-story-image-wrap {
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.about-story-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.page-side-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: var(--shadow);
}

.page-side-card {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.page-side-card p {
  margin: 0;
  color: rgba(54, 48, 42, 0.82);
}

.page-side-logo-wrap {
  display: grid;
  place-items: center;
}

.page-side-logo {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  border-radius: 1.5rem;
}

.page-side-image-wrap {
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.page-side-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
  max-height: 30rem;
}

.trust-section {
  padding: 0 0 2.5rem;
}

.content-section {
  padding: 1rem 0 2.5rem;
}

.content-grid,
.contact-grid,
.contact-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-info-grid {
  margin-top: 1.5rem;
}

.content-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  padding: 1.6rem;
}

.content-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  line-height: 1.15;
}

.content-card p {
  margin: 0;
  color: rgba(54, 48, 42, 0.8);
}

.contact-link {
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  background: var(--accent-deep);
  color: var(--text-inverse);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  margin-top: auto;
}

.footer-brand {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-meta {
  margin-top: 0.5rem;
  color: rgba(246, 243, 236, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-links a {
  color: var(--text-inverse);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .trust-grid,
  .section-heading,
  .about-card,
  .page-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    flex-wrap: wrap-reverse;
  }

  .trust-points,
  .process-grid,
  .services-grid,
  .content-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-section h2,
  .about-card h2 {
    max-width: none;
  }

  .about-story-image {
    max-height: 30rem;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-shell {
    min-height: auto;
    padding: 1rem 0 0 0;
    gap: 1rem;
  }

  .brand {
    gap: 0.7rem;
    padding-right: 3.1rem;
  }

  .brand-logo {
    width: 2.25rem;
    height: 2.25rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav-links,
  .footer-links {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 1rem;
    right: 0;
  }

  .site-nav-links {
    position: absolute;
    top: calc(100% - 0.25rem);
    right: 0;
    display: grid;
    gap: 0;
    padding: 0;
    width: max-content;
    min-width: 13rem;
    border: 1px solid rgba(246, 243, 236, 0.12);
    border-radius: 1rem;
    background: var(--accent-deep);
    box-shadow: 0 18px 40px rgba(25, 20, 15, 0.24);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav-links a {
    display: block;
    box-sizing: border-box;
    width: 208px;
    min-width: 100%;
    padding: 1rem 1.1rem;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav-links a + a {
    border-top: 1px solid rgba(246, 243, 236, 0.08);
  }

  .site-header.menu-open .site-nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: none;
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    transform: none;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: none;
  }

  .hero-copy h1,
  .section-heading h2,
  .trust-section h2,
  .about-card h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .about-story-title {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .trust-points,
  .process-grid,
  .services-grid,
  .contact-form-grid,
  .content-grid,
  .contact-grid,
  .content-grid-wide {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .about-card,
  .footer-shell,
  .content-card,
  .page-side-card {
    padding: 1.5rem;
  }

  .footer-links {
    align-items: flex-start;
  }
}
