:root {
  --forest: #113322;
  --forest-2: #0c2619;
  --gold: #b9852d;
  --gold-2: #d3a552;
  --ivory: #fbf8f1;
  --stone: #ebe4d8;
  --linen: #f5efe5;
  --ink: #111711;
  --muted: #6e665b;
  --glass: rgba(255, 255, 255, 0.58);
  --line: rgba(17, 51, 34, 0.16);
  --shadow: 0 28px 70px rgba(17, 23, 17, 0.16);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Josefin Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(185, 133, 45, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--forest);
  color: white;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 10px clamp(14px, 3vw, 36px);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: padding 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
}

.site-header.is-scrolled {
  padding-block: 8px;
  background: rgba(251, 248, 241, 0.78);
  border-bottom-color: rgba(17, 51, 34, 0.08);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 44px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  image-rendering: auto;
}

.brand-logo-header {
  height: clamp(44px, 5vw, 62px);
  width: auto;
  max-width: min(190px, 32vw);
}

.brand-name {
  font-family: "Cinzel", serif;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: rgba(17, 23, 17, 0.78);
  text-decoration: none;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease;
}

.nav-links a:hover {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.5);
}

.nav-quote {
  min-height: 44px;
  padding: 8px 15px 7px;
  color: white;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.nav-quote:hover {
  transform: translateY(-1px);
  background: var(--forest-2);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--forest);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
}

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

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 122px clamp(18px, 5vw, 64px) 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background: var(--stone);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.92), rgba(251, 248, 241, 0.55) 45%, rgba(251, 248, 241, 0.1)),
    linear-gradient(0deg, rgba(17, 51, 34, 0.68), rgba(17, 51, 34, 0.03) 50%);
}

.hero-content {
  width: min(720px, 100%);
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: clamp(24px, 5.8vw, 64px);
  position: relative;
  z-index: 2;
}

.hero-panel {
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(44px, 7.3vw, 98px);
}

h2 {
  color: var(--forest);
  font-size: clamp(36px, 5.6vw, 82px);
}

h3 {
  color: var(--forest);
  font-size: clamp(24px, 3vw, 38px);
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(17, 23, 17, 0.78);
  font-size: clamp(18px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 18px 36px rgba(17, 51, 34, 0.18);
}

.button.ghost {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(17, 51, 34, 0.18);
  backdrop-filter: blur(16px);
}

.hero-panel {
  width: min(100%, 720px);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: clamp(18px, 3vw, 28px);
  border-right: 1px solid rgba(17, 51, 34, 0.12);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  color: var(--forest);
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

section:not(.hero) {
  padding: clamp(72px, 10vw, 150px) clamp(18px, 5vw, 64px);
}

.intro-section,
.process-section,
.contact-section {
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(30px, 5.5vw, 90px);
  align-items: center;
}

.about-grid {
  align-items: center;
}

.about-copy h2 {
  max-width: 10ch;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
}

.about-copy h2 span {
  display: block;
}

.about-h2-accent {
  color: var(--gold);
}

.about-lead {
  margin: 22px 0 18px;
  color: var(--forest);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.6;
}

.about-quote {
  margin: 0;
  padding: 18px 0 18px 18px;
  border-left: 2px solid rgba(185, 133, 45, 0.45);
  color: var(--forest);
  font-family: "Cinzel", serif;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.5;
}

.intro-copy {
  color: var(--muted);
  font-size: 20px;
}

.intro-copy p {
  margin: 0 0 22px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  align-items: stretch;
}

.about-points div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(17, 51, 34, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 241, 230, 0.62));
  box-shadow: 0 12px 30px rgba(17, 35, 24, 0.05);
  min-height: 156px;
}

.about-points strong {
  display: block;
  color: var(--forest);
  font-family: "Cinzel", serif;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.08;
}

.about-points span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: none;
}

.founder-portrait {
  position: relative;
  margin: 0;
  width: min(100%, 760px);
  justify-self: end;
  padding: 20px 20px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 231, 0.88)),
    var(--linen);
  border: 1px solid rgba(17, 51, 34, 0.08);
  box-shadow: 0 32px 88px rgba(17, 35, 24, 0.12);
  overflow: hidden;
}

.founder-portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(185, 133, 45, 0.1);
  pointer-events: none;
}

.founder-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  filter: saturate(0.98) contrast(1.02);
}

.founder-portrait figcaption {
  display: grid;
  gap: 3px;
  margin-top: 16px;
  padding: 0 4px 2px;
}

.founder-portrait figcaption strong {
  color: var(--forest);
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 500;
}

.founder-portrait figcaption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-inline: clamp(18px, 5vw, 64px);
  background: var(--forest);
  align-items: stretch;
}

.principle {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--linen);
}

.principle span,
.process-list span {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.principle h3 {
  margin-top: 26px;
  min-height: 3.2em;
  max-width: 10ch;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.principle p {
  margin-top: auto;
  color: var(--muted);
  max-width: 24ch;
}

@media (max-width: 980px) {
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle:last-child {
    grid-column: 1 / -1;
  }
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.design-library {
  margin-top: clamp(96px, 14vw, 180px);
  margin-bottom: clamp(48px, 8vw, 120px);
  padding-top: clamp(54px, 7vw, 88px);
  padding-inline: clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  max-width: calc(var(--max) + 128px);
  margin-left: auto;
  margin-right: auto;
}

.library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.library-heading h2 {
  max-width: 680px;
}

.library-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 380px;
  gap: 16px;
}

.module-card {
  position: relative;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
  color: white;
  border: 0;
  border-radius: var(--radius);
  background: var(--forest);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  box-shadow: 0 22px 52px rgba(17, 35, 24, 0.12);
}

.module-card-wide {
  grid-column: span 2;
}

.module-card-tall {
  grid-row: span 2;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 24, 14, 0.86), rgba(5, 24, 14, 0.04) 70%);
  transition: background 300ms ease;
}

.module-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 400ms ease;
}

.module-card:hover img,
.module-card:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.module-card-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: clamp(22px, 4vw, 38px);
}

.module-card-copy small,
.module-card-copy em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.module-card-copy strong {
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.module-card-copy em {
  margin-top: 8px;
  color: var(--gold-2);
}

.services-section {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--forest);
  color: white;
}

.service-image {
  min-height: 620px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-content {
  max-width: 680px;
}

.services-content h2 {
  color: white;
}

.accordion {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.accordion button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: white;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.accordion svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 260ms var(--ease);
}

.accordion button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 18px 0 28px;
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list li {
  position: relative;
  min-height: 290px;
  padding: clamp(24px, 4vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 52px;
  color: rgba(17, 51, 34, 0.34);
  font-family: "Cinzel", serif;
  font-size: 34px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-list span {
  display: block;
  min-height: 42px;
  color: var(--forest);
  font-family: "Cinzel", serif;
  font-size: 19px;
  line-height: 1.25;
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -7px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(185, 133, 45, 0.3);
}

.process-list li:nth-child(3n)::after,
.process-list li:last-child::after {
  display: none;
}

.payment-tag {
  min-height: auto !important;
  display: inline-flex !important;
  align-items: center;
  margin: 14px 0 0;
  padding: 6px 10px 4px;
  color: var(--gold) !important;
  border: 1px solid rgba(185, 133, 45, 0.32);
  border-radius: 999px;
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1fr);
  gap: clamp(44px, 9vw, 130px);
  align-items: start;
  background: var(--forest-2);
  color: white;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  color: white;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.faq-intro .button {
  background: var(--gold);
  box-shadow: none;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-list > button {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: white;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-list > button span {
  font-family: "Cinzel", serif;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
}

.faq-list svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.8;
  transition: transform 260ms var(--ease);
}

.faq-list > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-list .accordion-panel {
  max-width: 700px;
  padding: 18px 44px 30px 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 7vw, 90px);
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

address {
  margin-top: 34px;
  display: grid;
  gap: 10px;
  color: var(--forest);
  font-style: normal;
}

address a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration-color: rgba(185, 133, 45, 0.45);
  text-underline-offset: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 16px;
  color: var(--forest);
  border: 1px solid rgba(17, 51, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(17, 35, 24, 0.08);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(185, 133, 45, 0.72);
  background: white;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link {
  margin-top: 22px;
}

.office-address {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  opacity: 0.76;
}

.contact-form,
.quote-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(17, 51, 34, 0.12);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.contact-form label,
.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--forest);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px 11px;
  color: var(--ink);
  border: 1px solid rgba(17, 51, 34, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-form textarea,
.quote-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(185, 133, 45, 0.12);
  outline: 0;
}

.quote-form {
  margin-top: 26px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.quote-form-grid label {
  margin-bottom: 0;
}

.quote-form-full {
  grid-column: 1 / -1;
}

.quote-submit {
  margin-top: 18px;
}

.budget-options button.is-selected {
  border-color: rgba(185, 133, 45, 0.9);
  background: rgba(255, 248, 236, 0.92);
  box-shadow: 0 16px 34px rgba(17, 51, 34, 0.12);
}

.form-status {
  min-height: 26px;
  margin: 14px 0 0;
  color: var(--forest);
}

.quote-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(185, 133, 45, 0.3);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.96);
  box-shadow: 0 44px 120px rgba(5, 20, 12, 0.38);
  overflow: auto;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 260ms ease, transform 360ms var(--ease), overlay 260ms allow-discrete,
    display 260ms allow-discrete;
}

.quote-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .quote-dialog[open] {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
}

.quote-dialog::backdrop {
  background: rgba(5, 20, 12, 0.64);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 260ms ease, overlay 260ms allow-discrete, display 260ms allow-discrete;
}

.quote-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .quote-dialog[open]::backdrop {
    opacity: 0;
  }
}

.quote-dialog-shell {
  position: relative;
  padding: clamp(28px, 6vw, 58px);
}

.quote-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.quote-close:hover {
  transform: rotate(6deg);
  background: white;
}

.quote-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.quote-dialog-heading {
  max-width: 620px;
  padding-right: 48px;
}

.quote-dialog-heading h2 {
  font-size: clamp(32px, 5vw, 54px);
}

.quote-dialog-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.budget-options button {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 20px;
  color: var(--forest);
  border: 1px solid rgba(17, 51, 34, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  text-align: left;
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.budget-options button:hover,
.budget-options button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(185, 133, 45, 0.72);
  background: white;
  box-shadow: 0 16px 34px rgba(17, 51, 34, 0.1);
}

.budget-options span {
  font-family: "Cinzel", serif;
  font-size: 19px;
  font-weight: 600;
}

.budget-options small,
.quote-note {
  color: var(--muted);
}

.gallery-dialog {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(185, 133, 45, 0.26);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 44px 120px rgba(5, 20, 12, 0.42);
  overflow: auto;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 260ms ease, transform 360ms var(--ease), overlay 260ms allow-discrete,
    display 260ms allow-discrete;
}

.gallery-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .gallery-dialog[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

.gallery-dialog::backdrop {
  background: rgba(5, 20, 12, 0.72);
  backdrop-filter: blur(14px);
}

.gallery-shell {
  padding: clamp(22px, 4vw, 48px);
}

.gallery-bar,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gallery-bar {
  margin-bottom: 28px;
}

.gallery-bar h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.gallery-bar .eyebrow {
  margin-bottom: 8px;
}

.gallery-bar .quote-close {
  position: static;
  flex: 0 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid--story {
  display: block;
}

.gallery-grid--slideshow {
  display: block;
}

.story-view {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.story-view--slideshow {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.story-stage {
  display: grid;
  gap: 16px;
}

.story-stage--slideshow {
  gap: 14px;
}

.story-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 51, 34, 0.1);
  border-radius: var(--radius);
  background: #efe7da;
  box-shadow: 0 24px 56px rgba(17, 35, 24, 0.12);
}

.story-frame--slideshow {
  background: linear-gradient(180deg, rgba(10, 18, 12, 0.96), rgba(10, 18, 12, 0.9));
  box-shadow: 0 28px 72px rgba(10, 18, 12, 0.22);
}

.story-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-main-image--slideshow {
  height: min(74dvh, 760px);
  aspect-ratio: auto;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.story-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--forest);
  border: 1px solid rgba(17, 51, 34, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 220ms var(--ease), background 220ms ease;
}

.story-nav:hover,
.story-nav:focus-visible {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.story-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.story-nav-prev {
  left: 14px;
}

.story-nav-next {
  right: 14px;
}

.story-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: white;
  border-radius: 999px;
  background: rgba(17, 35, 24, 0.72);
  backdrop-filter: blur(10px);
}

.story-page-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.story-caption {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.story-caption--slideshow {
  max-width: 860px;
}

.story-caption h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.story-caption p {
  margin: 0;
  color: var(--muted);
}

.story-rail {
  max-height: calc(100dvh - 260px);
  overflow: auto;
  padding-right: 4px;
}

.story-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.story-thumb {
  display: grid;
  gap: 8px;
  padding: 8px;
  color: var(--forest);
  border: 1px solid rgba(17, 51, 34, 0.12);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-align: left;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.story-thumb:hover,
.story-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(185, 133, 45, 0.72);
  background: white;
  box-shadow: 0 16px 34px rgba(17, 51, 34, 0.1);
}

.story-thumb.is-active {
  border-color: rgba(185, 133, 45, 0.92);
  box-shadow: 0 18px 36px rgba(185, 133, 45, 0.16);
}

.story-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.story-thumb span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.gallery-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.gallery-figure:nth-child(1),
.gallery-figure:nth-child(4) {
  grid-column: span 2;
}

.gallery-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.gallery-figure:nth-child(1) img,
.gallery-figure:nth-child(4) img {
  height: 520px;
}

.gallery-figure:hover img {
  transform: scale(1.025);
}

.gallery-figure figcaption {
  padding: 14px 16px 12px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.gallery-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.quote-note {
  margin: 22px 0 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--forest-2);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.social-link-footer {
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.social-link-footer:hover,
.social-link-footer:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.brand-logo-footer {
  height: clamp(120px, 15vw, 176px);
  width: auto;
  max-width: min(280px, 46vw);
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 16px auto;
    display: grid;
    gap: 2px;
    padding: 18px;
    border: 1px solid rgba(17, 51, 34, 0.12);
    background: rgba(251, 248, 241, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms var(--ease);
  }

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

  .nav-links a {
    border-radius: var(--radius);
  }

  .nav-quote {
    width: 100%;
    border-radius: var(--radius);
  }

  .hero {
    padding-top: 118px;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(17, 51, 34, 0.76), rgba(251, 248, 241, 0.68) 55%, rgba(251, 248, 241, 0.8)),
      linear-gradient(90deg, rgba(251, 248, 241, 0.78), rgba(251, 248, 241, 0.16));
  }

  .hero-panel,
  .feature-strip,
  .intro-grid,
  .portfolio-grid,
  .library-heading,
  .services-section,
  .process-list,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 320px;
  }

  .founder-portrait {
    width: 100%;
  }

  .module-card-wide {
    grid-column: span 2;
  }

  .module-card-tall {
    grid-row: span 1;
  }

  .faq-intro {
    position: static;
  }

  .process-list li::after {
    display: none;
  }

  .process-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 51, 34, 0.12);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .project-card,
  .project-card.large,
  .project-card.wide,
  .project-card.tall,
  .service-image {
    min-height: 430px;
  }

  .services-section {
    padding-top: 26px;
  }
}

@media (min-width: 901px) {
  .hero-panel {
    position: absolute;
    right: clamp(32px, 5vw, 72px);
    bottom: 28px;
    width: min(560px, 44vw);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand-name {
    max-width: 150px;
    line-height: 1.2;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quote-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .gallery-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .gallery-shell {
    padding: 22px 14px;
  }

  .gallery-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .module-card-wide,
  .module-card-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .gallery-figure:nth-child(1),
  .gallery-figure:nth-child(4) {
    grid-column: auto;
  }

  .gallery-figure img,
  .gallery-figure:nth-child(1) img,
  .gallery-figure:nth-child(4) img {
    height: 300px;
  }

  .gallery-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-dialog-shell {
    padding: 28px 20px 24px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    padding: 14px;
  }

  .quote-dialog-heading {
    padding-right: 44px;
  }

  .budget-options {
    grid-template-columns: 1fr;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .story-view {
    grid-template-columns: 1fr;
  }

  .story-rail {
    max-height: none;
  }

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

  .project-card,
  .project-card.large,
  .project-card.wide,
  .project-card.tall,
  .service-image {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .hero-media img {
    transform: none;
  }
}
