/* CAB Outdoor Spaces — premium editorial minimal */

:root {
  --cobalt: #1D2C31;
  --lawn: #5C6732;
  --clay: #A95F3F;
  --clay-deep: #8A4526;
  --linen: #F5F5EF;
  --concrete: #D0CFCD;
  --paper: #FCFCF9;
  --ink: #1D2C31;
  --ink-60: rgba(29, 44, 49, 0.62);
  --ink-40: rgba(29, 44, 49, 0.4);
  --rule: rgba(29, 44, 49, 0.14);
  --head: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1320px;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.65;
  font-weight: 400;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--clay); text-decoration: none; border-bottom: 1px solid rgba(169, 95, 63, 0.35); transition: color .2s, border-color .2s; }
a:hover { color: var(--cobalt); border-color: var(--cobalt); }
a.plain, nav a, .btn, .card a, footer a { border-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  color: var(--cobalt);
}
h1 { font-size: clamp(38px, 5.4vw, 76px); }
h2 { font-size: clamp(29px, 3.4vw, 48px); }
h3 { font-size: clamp(21px, 1.7vw, 26px); font-weight: 400; letter-spacing: 0.005em; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lawn);
  margin: 0 0 22px;
  max-width: none;
}
.lede { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; color: var(--ink-60); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
section { position: relative; }
.band { padding: clamp(44px, 5.2vw, 84px) 0; }
.band--tight { padding: clamp(32px, 3.4vw, 54px) 0; }
.band--paper { background: var(--paper); }
.band--dark { background: var(--cobalt); color: rgba(245, 245, 239, 0.86); }
.band--dark h2, .band--dark h3 { color: var(--linen); }
.band--dark .eyebrow { color: rgba(245, 245, 239, 0.55); }
.rule-top { border-top: 1px solid var(--rule); }

.grid { display: grid; gap: clamp(28px, 3.2vw, 56px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--reverse > *:first-child { order: 2; } }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  min-height: 52px; padding: 0 30px; padding-right: calc(30px + 0.13em);
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  border: 1px solid var(--cobalt); background: var(--cobalt); color: var(--linen);
  cursor: pointer; transition: background .28s, color .28s, border-color .28s, transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(29,44,49,.16); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--accent { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
.btn--accent:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn--ghost { background: transparent; color: var(--cobalt); }
.btn--ghost:hover { background: var(--cobalt); color: var(--linen); }
.btn--onDark { background: transparent; border-color: rgba(245, 245, 239, 0.5); color: var(--linen); }
.btn--onDark:hover { background: var(--linen); border-color: var(--linen); color: var(--cobalt); }
.btn--sm { min-height: 44px; padding: 0 26px; padding-right: calc(26px + 0.13em); font-size: 12px; }

.textlink {
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cobalt); border-bottom: 1px solid var(--concrete);
  padding-bottom: 4px; display: inline-flex; align-items: center; gap: 10px;
  transition: color .25s, border-color .25s, gap .25s;
}
.textlink::after {
  content: "\2192"; font-size: 15px; line-height: 1;
  transform: translateX(-3px); opacity: .55;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s;
}
.textlink:hover, a.card:hover .textlink { color: var(--clay); border-color: var(--clay); }
.textlink:hover::after, a.card:hover .textlink::after { transform: translateX(3px); opacity: 1; }
.band--dark .textlink, .cta-band .textlink { color: var(--linen); border-color: rgba(245,245,239,.4); }
.band--dark .textlink:hover, .cta-band .textlink:hover { color: #fff; border-color: var(--clay); }

/* ---------- placeholders ---------- */
.ph {
  position: relative;
  background: var(--concrete);
  background-image: repeating-linear-gradient(135deg, rgba(29,44,49,.055) 0 12px, rgba(29,44,49,0) 12px 24px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow: hidden;
}
.ph span {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(29, 44, 49, 0.6); text-align: center; line-height: 1.5;
  border: 1px solid rgba(29, 44, 49, 0.2); padding: 8px 14px; background: rgba(245,245,239,.55);
  max-width: 90%;
}
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--4x5 { aspect-ratio: 4 / 5; }

/* hairline frame around imagery */
.ph { box-shadow: inset 0 0 0 1px var(--rule); }
.hero__media .ph, a.card .ph, .mosaic figure .ph { box-shadow: none; }
a.card .card__body { border-top: 1px solid var(--rule); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--linen); border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(14px, 2vw, 24px); min-height: 104px; padding: 10px var(--gutter); flex-wrap: nowrap;
  max-width: var(--wide); margin-inline: auto;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: clamp(56px, 6.4vw, 88px); width: auto; flex: none; object-fit: contain; }
.nav {
  display: flex; align-items: center; flex-wrap: nowrap;
  flex: 1 1 auto; min-width: min-content; justify-content: space-evenly;
  gap: clamp(10px, 1.6vw, 30px);
  padding-left: clamp(8px, 2.4vw, 44px);
}
.nav a { white-space: nowrap; }
.nav a:not(.btn) {
  font-family: var(--head); font-size: clamp(11.5px, 1.05vw, 12.5px); font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--cobalt);
  padding: 6px 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--lawn); transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav > .btn::after, .nav__panel a::after { display: none; }
.nav__has { position: relative; display: inline-flex; align-items: center; }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: -26px; width: max-content; min-width: 262px;
  background: var(--paper); border: 1px solid var(--rule);
  padding: 10px 0; box-shadow: 0 18px 40px rgba(29,44,49,.1);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .26s, transform .26s cubic-bezier(.22,.61,.36,1), visibility .26s;
}
.nav__has:hover .nav__panel, .nav__has:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .nav__panel a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 34px; letter-spacing: 0.06em; text-transform: none; font-size: 14px; border: 0;
  transition: background .22s, color .22s, padding-left .28s cubic-bezier(.22,.61,.36,1);
}
.nav__panel a img { transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .22s; }
.nav__panel a span { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.nav__panel a:hover img { transform: scale(1.12) rotate(-3deg); opacity: 1; }
.nav__panel a:hover span { transform: translateX(3px); }
.nav__panel a img { height: 30px; width: 30px; object-fit: contain; flex: none; opacity: .85; }
.nav__panel a:hover { background: var(--linen); color: var(--clay); padding-left: 40px; }
.nav__soon { font-style: normal; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-40); margin-left: auto; padding-left: 18px; }
.nav__item--has { display: block; position: relative; }
.nav .nav__item--has > a { padding-right: 24px; }
.nav__more { font-style: normal; font-size: 17px; line-height: 1; color: var(--ink-40); margin-left: auto; transition: transform .28s cubic-bezier(.22,.61,.36,1), color .22s; }
.nav__item--has:hover .nav__more, .nav__item--has:focus-within .nav__more { transform: translateX(4px); color: var(--clay); }
.nav__sub {
  position: absolute; top: -10px; left: 100%; width: max-content; min-width: 196px;
  background: var(--paper); border: 1px solid var(--rule);
  padding: 10px 0; box-shadow: 0 18px 40px rgba(29,44,49,.1);
  opacity: 0; visibility: hidden; transform: translateX(-8px);
  transition: opacity .24s, transform .24s cubic-bezier(.22,.61,.36,1), visibility .24s;
}
.nav__item--has:hover .nav__sub, .nav__item--has:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateX(0); }
.mobile-nav .sub2 a { padding-left: 40px; font-size: 14px; }
.header-cta { display: none; }
@media (min-width: 1040px) {
  .header-cta {
    display: inline-flex; flex: none; color: #fff; font-weight: 600;
    min-height: 42px; font-size: 11px; letter-spacing: 0.07em;
    padding: 0 16px; padding-right: calc(16px + 0.07em);
  }
}
@media (min-width: 1200px) {
  .header-cta {
    min-height: 48px; font-size: 12px; letter-spacing: 0.13em;
    padding: 0 30px; padding-right: calc(30px + 0.13em);
  }
}

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 10px; background: transparent;
  border: 1px solid var(--rule); cursor: pointer;
}
.burger i { display: block; height: 1px; background: var(--cobalt); }
@media (min-width: 900px) { .burger { display: none; } }
@media (max-width: 899px) { .nav { display: none; } }

.mobile-nav {
  display: none; border-bottom: 1px solid var(--rule); background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 12px var(--gutter) 28px; max-width: var(--wide); margin-inline: auto; }
.mobile-nav li { border-bottom: 1px solid var(--rule); }
.mobile-nav a {
  display: block; padding: 16px 0; font-family: var(--head); font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); border: 0;
}
.mobile-nav .sub a { padding-left: 20px; text-transform: none; letter-spacing: 0.03em; color: var(--ink-60); font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__media { position: absolute; inset: 0; }
.hero__media .ph { width: 100%; height: 100%; aspect-ratio: auto; align-items: flex-end; justify-content: flex-start; padding: 20px var(--gutter); }
.hero__media .ph span { position: relative; z-index: 3; background: rgba(29,44,49,.45); color: rgba(245,245,239,.7); border-color: rgba(245,245,239,.28); }
.hero__slide {
  position: absolute; inset: 0; background: center / cover no-repeat;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide-note {
  position: absolute; z-index: 4; left: var(--gutter); bottom: 18px;
  background: rgba(29,44,49,.45); color: rgba(245,245,239,.7); border-color: rgba(245,245,239,.28);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,44,49,.72) 0%, rgba(29,44,49,.5) 45%, rgba(29,44,49,.22) 100%);
  opacity: 0;
  animation: heroVeil .7s cubic-bezier(.22,.61,.36,1) .1s forwards;
}
@keyframes heroVeil { to { opacity: 1; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__inner {
  position: relative; z-index: 2;
  padding: clamp(80px, 12vw, 168px) var(--gutter) clamp(64px, 9vw, 128px);
  max-width: var(--wide); margin-inline: auto;
  min-height: min(76vh, 720px); display: flex; flex-direction: column; justify-content: center;
}
.hero--tall .hero__inner { min-height: min(86vh, 820px); }
.hero__inner > * {
  opacity: 0;
  animation: heroRise .7s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero__inner > *:nth-child(1) { animation-delay: .2s; }
.hero__inner > *:nth-child(2) { animation-delay: .32s; }
.hero__inner > *:nth-child(3) { animation-delay: .44s; }
.hero__inner > *:nth-child(4) { animation-delay: .56s; }
.hero__inner > *:nth-child(5) { animation-delay: .68s; }
.hero h1 { color: var(--linen); max-width: 20ch; margin-left: -0.035em; }
.hero .lede { color: rgba(245, 245, 239, 0.86); max-width: 54ch; margin-top: 26px; }
.hero .support { color: rgba(245, 245, 239, 0.62); font-size: 17px; margin-top: 14px; max-width: 48ch; }
.hero .eyebrow { color: rgba(245, 245, 239, 0.6); }

.trust {
  background: var(--cobalt); color: rgba(245, 245, 239, 0.78);
  border-top: 1px solid rgba(245, 245, 239, 0.12);
  overflow: hidden;
}
.trust ul {
  list-style: none; margin: 0; padding: 22px var(--gutter); max-width: var(--wide);
  margin-inline: auto; display: grid; gap: 14px clamp(24px, 4vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  font-family: var(--head); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.trust li { display: flex; align-items: center; gap: 14px; }
.trust li::before {
  content: ""; flex: none; width: 7px; height: 7px; background: var(--clay);
  transform: rotate(45deg); transition: transform .5s cubic-bezier(.22,.61,.36,1), background .3s;
}
.trust li:hover::before { transform: rotate(135deg) scale(1.25); background: var(--lawn); }
.trust li + li { border-left: 1px solid rgba(245, 245, 239, 0.14); padding-left: clamp(24px, 4vw, 60px); }
@media (max-width: 780px) {
  .trust li + li { border-left: 0; padding-left: 0; }
}

/* ---------- page header (inner pages) ---------- */
.pagehead { padding: clamp(24px, 3vw, 40px) 0 clamp(26px, 3.2vw, 44px); }
.pagehead--compact { padding: clamp(24px, 3vw, 40px) 0 clamp(18px, 2.4vw, 32px); }
.pagehead--compact .crumbs { margin-bottom: clamp(18px, 2.6vw, 32px); }
.pagehead__split { display: grid; gap: clamp(24px, 4vw, 64px); align-items: end; }
@media (min-width: 900px) { .pagehead__split { grid-template-columns: 1.1fr 1fr; } }
.pagehead h1 { max-width: 24ch; font-size: clamp(34px, 4vw, 52px); }
.pagehead .btn { padding: 14px 26px; font-size: 12px; }
.pagehead .lede { margin-top: 24px; }
.crumbs {
  font-family: var(--head); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-40); margin-bottom: clamp(28px, 4vw, 48px);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 10px; color: var(--concrete); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-60); border: 0; }
.crumbs a:hover { color: var(--clay); }

/* ---------- social ---------- */
.social { display: flex !important; flex-wrap: wrap; gap: 12px !important; }
.social li { list-style: none; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid rgba(245,245,239,.24);
  color: rgba(245,245,239,.8); transition: color .25s, border-color .25s, background .25s, transform .3s cubic-bezier(.22,.61,.36,1);
}
.social a:hover { color: var(--linen); border-color: var(--linen); background: rgba(245,245,239,.08); transform: translateY(-3px); }
.social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.social--light a { border-color: var(--concrete); color: var(--cobalt); }
.social--light a:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--linen); }
.site-footer .social a {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(245,245,239,.8); transform: none;
}
.site-footer .social a:hover { transform: translateY(-3px); color: var(--linen); }

/* ---------- map ---------- */
.map {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  border: 1px solid var(--rule); background: var(--concrete);
  filter: saturate(.82) contrast(1.02);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.card__body { padding: clamp(22px, 2.2vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__icon { height: 62px; width: auto; align-self: flex-start; flex: 0 0 auto; object-fit: contain; opacity: .92; }
.card p { color: var(--ink-60); font-size: 17px; }
.card .textlink { margin-top: auto; align-self: flex-start; }
a.card { border: 1px solid var(--rule); transition: border-color .3s, transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s; overflow: hidden; }
a.card:hover { border-color: var(--lawn); transform: translateY(-6px); box-shadow: 0 26px 50px rgba(29,44,49,.11); background: #FBFAF4; }
a.card { transition: border-color .3s, background .4s, transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s; }
a.card .card__body { transition: background .4s; }
a.card .ph { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
a.card:hover .ph { transform: scale(1.045); }
a.card .card__icon { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
a.card:hover .card__icon { transform: translateY(-4px); }
a.card h3 { transition: color .3s; }
a.card:hover h3 { color: var(--lawn); }

a.card.card--accent { background: var(--cobalt); border-color: var(--cobalt); }
a.card.card--accent h3 { color: var(--linen); }
a.card.card--accent p { color: rgba(245,245,239,.72); }
a.card.card--accent .textlink { color: var(--linen); border-color: rgba(245,245,239,.4); }
a.card.card--accent:hover { background-color: #172427; border-color: var(--clay); }
a.card.card--accent:hover h3 { color: var(--linen); }
a.card.card--accent:hover .textlink { color: #fff; border-color: var(--clay); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { padding-left: 30px; position: relative; color: var(--ink-60); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 14px; height: 1px; background: var(--lawn);
}
.band--dark .feature-list li { color: rgba(245,245,239,.8); }

.steps { counter-reset: step; }
.steps > div { border-top: 1px solid var(--rule); padding-top: 22px; }
.steps h3 { margin-bottom: 10px; }
.steps .num {
  font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--lawn); display: block; margin-bottom: 14px;
}
/* numeral variant: large clay figures with a clay rule that draws across on hover */
.steps--figures > div { position: relative; border-top: 0; padding-top: 28px; }
.steps--figures > div::before,
.steps--figures > div::after { content: ""; position: absolute; top: 0; left: 0; height: 1px; }
.steps--figures > div::before { width: 100%; background: var(--rule); }
.steps--figures > div::after {
  width: 44px; height: 3px; background: var(--clay);
  transition: width .6s cubic-bezier(.22,.61,.36,1);
}
.steps--figures > div:hover::after { width: 100%; }
.steps--figures .num {
  font-family: var(--head); font-size: clamp(38px, 3.6vw, 52px); font-weight: 400;
  letter-spacing: -0.01em; line-height: 1; color: var(--clay); margin-bottom: 16px;
}
.steps--figures h3 { margin-bottom: 12px; }

.band--dark .steps > div { border-color: rgba(245,245,239,.2); }
.band--dark .steps .num { color: rgba(245,245,239,.55); }
.band--dark .steps--figures .num { color: var(--clay); }
.band--dark .steps--figures > div::before { background: rgba(245,245,239,.2); }
.steps--figures > div h3 { transition: color .3s ease; }
.steps--figures > div:hover h3 { color: var(--clay); }

.form label .req { color: var(--clay-deep); margin-left: 4px; }
.band--dark .form label .req { color: var(--clay); }

/* ---------- carousel ---------- */
.carousel__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.carousel__nav { display: flex; gap: 10px; }
.cbtn {
  width: 52px; height: 52px; background: transparent; cursor: pointer;
  border: 1px solid var(--concrete); color: var(--cobalt);
  font-family: var(--head); font-size: 17px; line-height: 1;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.cbtn:hover:not(:disabled) { background: var(--cobalt); border-color: var(--cobalt); color: var(--linen); transform: translateY(-50%) scale(1.08); }
.cbtn:not(.cbtn--side):hover:not(:disabled) { transform: scale(1.08); }
.cbtn:disabled { opacity: .3; cursor: default; }
.carousel { margin-top: clamp(28px, 2.8vw, 44px); position: relative; }
.cbtn--side {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: var(--paper); border-color: var(--rule);
  box-shadow: 0 10px 26px rgba(29, 44, 49, .12);
}
.cbtn--prev { left: calc(-1 * clamp(18px, 2.6vw, 34px)); }
.cbtn--next { right: calc(-1 * clamp(18px, 2.6vw, 34px)); }
@media (max-width: 760px) {
  .cbtn--prev { left: 4px; }
  .cbtn--next { right: 4px; }
}
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * clamp(28px, 3.2vw, 56px)) / 3);
  gap: clamp(28px, 3.2vw, 56px);
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y pinch-zoom;
  scroll-behavior: smooth; scrollbar-width: none; padding: 10px 0 18px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--lawn); outline-offset: 6px; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - clamp(28px,3.2vw,56px)) / 2); } }
@media (max-width: 660px) { .carousel__track { grid-auto-columns: 84%; } }

/* ---------- cta band ---------- */
.cta-band { background: var(--cobalt); color: var(--linen); }
.cta-band .wrap { padding-top: clamp(40px, 4.4vw, 68px); padding-bottom: clamp(40px, 4.4vw, 68px); }
.cta-band h2 { color: var(--linen); max-width: 26ch; }
.cta-band p { color: rgba(245,245,239,.74); margin-top: 20px; }

/* ---------- configurator ---------- */
.configurator-frame {
  border: 1px solid var(--rule); background: var(--paper);
  height: min(88vh, 980px); min-height: 620px; overflow: hidden;
}
.configurator-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* script-resized embeds: wrapper follows the iframe's reported height */
.configurator-frame--auto { height: auto; min-height: 540px; overflow: visible; }
.configurator-frame--auto iframe { height: auto; }
@media (max-width: 700px) { .configurator-frame { height: 80vh; min-height: 520px; } .configurator-frame--auto { height: auto; min-height: 480px; } }

/* ---------- configurator placeholder ---------- */
.embed-slot {
  border: 1px dashed rgba(29,44,49,.4); background: var(--paper);
  padding: clamp(32px, 5vw, 64px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  min-height: 460px; justify-content: center;
}
.embed-slot .tag {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--cobalt); color: var(--linen); padding: 6px 12px;
}
.embed-slot p { color: var(--ink-60); max-width: 52ch; }

/* ---------- full-bleed section ---------- */
.bleed { width: 100%; }
.bleed .ph { width: 100%; }

/* ---------- gallery ---------- */
.wrap--bleed { max-width: 1560px; }
.mosaic {
  --mg: clamp(10px, 1.1vw, 16px);
  display: grid; gap: var(--mg);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: calc((min(100vw - 2 * var(--gutter), 1560px) - 5 * var(--mg)) / 24);
  grid-auto-flow: dense;
}
.mosaic figure { margin: 0; overflow: hidden; position: relative; grid-column: span 6; grid-row: span 8; }
.mosaic figure .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.mosaic figure:hover .ph { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 18px; font-size: 14px; line-height: 1.4; color: var(--linen);
  background: linear-gradient(to top, rgba(29,44,49,.9) 0%, rgba(29,44,49,.66) 62%, rgba(29,44,49,0) 100%);
  transition: background .35s;
}
.mosaic figure:hover figcaption { background: linear-gradient(to top, rgba(29,44,49,.96) 0%, rgba(29,44,49,.78) 70%, rgba(29,44,49,.08) 100%); }
@media (min-width: 720px) {
  .mosaic .m--wide { grid-column: span 4; grid-row: span 8; }
  .mosaic .m--tall { grid-column: span 2; grid-row: span 8; }
  .mosaic .m--sq { grid-column: span 3; grid-row: span 8; }
}
@media (max-width: 719px) {
  .mosaic figure { grid-row: span 16; }
}

/* editorial gallery — staggered two-up with captions below */
.gal-edit {
  --drift: clamp(24px, 5vw, 96px);
  display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px);
}
.gal-edit figure { margin: 0; }
.gal-edit .frame { overflow: hidden; position: relative; }
.gal-edit .ph { display: block; width: 100%; aspect-ratio: 4/3; box-shadow: none; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.gal-edit figure:hover .ph { transform: scale(1.04); }
.gal-edit figcaption { display: flex; gap: 14px; padding-top: 14px; }
.gal-edit .gal-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-60); padding-top: 3px;
}
.gal-edit .gal-cap { font-size: 15px; line-height: 1.45; color: var(--ink-60); max-width: 42ch; }
@media (min-width: 760px) {
  .gal-edit { grid-template-columns: repeat(2, 1fr); column-gap: clamp(20px, 2.8vw, 52px); row-gap: clamp(40px, 4.4vw, 80px); padding-bottom: var(--drift); }
  .gal-edit figure:nth-child(even) { transform: translateY(var(--drift)); }
  .gal-edit figure:nth-child(4n+1) .ph { aspect-ratio: 5/4; }
  .gal-edit figure:nth-child(4n+2) .ph { aspect-ratio: 4/5; }
  .gal-edit figure:nth-child(4n+3) .ph { aspect-ratio: 4/5; }
  .gal-edit figure:nth-child(4n) .ph { aspect-ratio: 5/4; }
}

/* ---------- faq layout ---------- */
.faq-layout { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.72fr 1fr; align-items: start; } }
.faq-aside { align-self: start; }
@media (min-width: 960px) { .faq-aside { position: sticky; top: 148px; } }
.ellipsis { color: var(--ink-40); }

/* ---------- gallery (legacy rows) ---------- */
.gallery { display: grid; gap: clamp(14px, 1.6vw, 26px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery figure { margin: 0; overflow: hidden; }
.gallery figure .ph { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.gallery figure:hover .ph, .gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  font-size: 15px; color: var(--ink-60); padding-top: 12px; line-height: 1.45;
}

/* ---------- finish cards ---------- */
.finishes { display: grid; gap: clamp(16px, 1.8vw, 28px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.finishes figure {
  margin: 0; background: var(--paper); border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .4s, transform .4s cubic-bezier(.22,.61,.36,1);
}
.finishes figure:hover { border-color: var(--ink-30, var(--concrete)); box-shadow: 0 18px 44px -28px rgba(29,44,49,.45); transform: translateY(-3px); }
.finishes .frame { padding: 10px 10px 0; }
.finishes .ph { box-shadow: none; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.finishes figure:hover .ph { transform: scale(1.03); }
.finishes .frame > div { overflow: hidden; }
.finishes figcaption { padding: 18px 20px 22px; }
.finishes .fname {
  font-family: var(--head); font-size: 19px; letter-spacing: .01em;
  margin: 0 0 4px;
}
.finishes .fmeta {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 10px;
}
.finishes .fdesc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-60); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 26px 46px 26px 0; position: relative;
  font-family: var(--head); font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; color: var(--cobalt);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color .25s; }
.faq summary:hover { color: var(--clay); }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--head); font-weight: 300; font-size: 26px; color: var(--clay);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), color .25s;
}
.faq summary:hover::after { color: var(--clay-deep); transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::after { content: "\2013"; color: var(--clay-deep); }
.faq details[open] summary { color: var(--clay-deep); }
.faq details { transition: border-color .3s, padding-left .35s cubic-bezier(.22,.61,.36,1); border-left: 3px solid transparent; }
.faq details[open] { border-left-color: var(--clay); padding-left: clamp(16px, 1.6vw, 26px); }
.faq .answer { padding: 0 0 28px; color: var(--ink-60); max-width: var(--measure); }
.faq .answer a { color: var(--clay-deep); }

.post { border-top: 1px solid var(--rule); padding: clamp(22px, 2.4vw, 32px) 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .post { grid-template-columns: 1fr 1.6fr; gap: 48px; } }
.post h3 { max-width: 22ch; }
.post p { color: var(--ink-60); }
.post .status {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-40);
}

/* ---------- form ---------- */
.form { display: grid; gap: 22px; }
@media (min-width: 720px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--head); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-40); opacity: 1; }
.field select:invalid { color: var(--ink-40); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--concrete);
  padding: 14px 16px; min-height: 52px; width: 100%; border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-60) 50%), linear-gradient(135deg, var(--ink-60) 50%, transparent 50%);
  background-position: right 24px top calc(50% - 2px), right 17px top calc(50% - 2px);
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 46px; cursor: pointer;
}
.field select option { font-family: var(--body); color: var(--ink); background: var(--paper); }
.field textarea { min-height: 168px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lawn); box-shadow: 0 0 0 3px rgba(92,103,50,.14);
}
.form-note { font-size: 15px; color: var(--ink-40); }

/* ---------- contact meta ---------- */
.meta-list { display: grid; gap: 26px; }
.meta-list dt {
  font-family: var(--head); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lawn); margin-bottom: 8px;
}
.meta-list dd { margin: 0; color: var(--ink-60); }
.tbc {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px;
  background: var(--concrete); color: var(--cobalt); padding: 3px 8px; letter-spacing: .04em;
}

/* ---------- footer ---------- */
.site-footer { background: var(--cobalt); color: rgba(245,245,239,.66); padding: clamp(40px, 4vw, 60px) 0 22px; }
.site-footer a { color: rgba(245,245,239,.66); }
.site-footer a:hover { color: var(--linen); }
.site-footer h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,245,239,.45); margin-bottom: 20px;
}
.footer-grid { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer img.logo { height: 116px; width: auto; margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.site-footer ul a { display: inline-block; transition: color .25s, transform .3s cubic-bezier(.22,.61,.36,1); }
.site-footer ul a:hover { transform: translateX(5px); }
.site-footer .legal {
  margin-top: clamp(24px, 2.4vw, 34px); padding-top: 20px;
  border-top: 1px solid rgba(245,245,239,.16);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-family: var(--head); font-size: 11.5px; letter-spacing: 0.08em; color: rgba(245,245,239,.45);
}
.site-footer p { font-size: 16px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--cobalt); color: var(--linen);
  padding: 12px 18px; z-index: 100; font-family: var(--head); font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.js .reveal { transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.steps--reveal > .reveal { transition-duration: .9s; }
.steps--reveal > .reveal:nth-child(2) { transition-delay: .14s; }
.steps--reveal > .reveal:nth-child(3) { transition-delay: .28s; }
.steps--reveal > .reveal:nth-child(4) { transition-delay: .42s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__inner > *, .hero__media::after { opacity: 1 !important; transform: none !important; }
}

/* ---------- blog post hero (full-bleed image + overlay title) ---------- */
.post-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(400px, 60vh, 660px); overflow: hidden; background: var(--cobalt); }
.post-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero__media.ph { aspect-ratio: auto; box-shadow: none; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,44,49,.42), rgba(29,44,49,0) 62%); }
.post-hero > .wrap { position: relative; z-index: 1; padding-top: clamp(72px, 12vw, 140px); padding-bottom: clamp(28px, 4vw, 56px); }
.post-hero__panel { container-type: inline-size; background: rgba(29,44,49,.5); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); color: var(--linen); padding: clamp(24px, 3vw, 44px); }
.post-hero__panel h1 { color: var(--linen); max-width: none; white-space: normal; margin: 0;
  font-size: clamp(24px, 5.6vw, 30px); }
@media (min-width: 900px) { .post-hero__panel h1 { white-space: nowrap; font-size: max(26px, min(44px, calc(180cqi / var(--title-ch, 40)))); } }
.post-hero__panel .eyebrow { color: rgba(245,245,239,.66); }
.post-hero__panel .crumbs { color: rgba(245,245,239,.6); margin-bottom: clamp(16px, 2vw, 24px); }
.post-hero__panel .crumbs a { color: rgba(245,245,239,.72); }
.post-hero__panel .crumbs a:hover { color: var(--linen); }
.post-hero__panel .crumbs li::after { color: rgba(245,245,239,.42); }
.post-hero__panel .actions { margin-top: clamp(20px, 2.4vw, 30px); }
.post-hero__panel .lede { color: rgba(245,245,239,.84); margin-top: 14px; }
.post-hero__caption { font-size: 14px; color: var(--ink-60); margin-top: 14px; }

.post-hero--product { min-height: clamp(440px, 64vh, 700px); }
.post-hero--product .post-hero__panel { max-width: 780px; }
.post-hero--product .post-hero__panel h1 { white-space: normal; max-width: 22ch; font-size: clamp(30px, 3.6vw, 52px); }
.post-hero--product .post-hero__panel .eyebrow { color: rgba(245,245,239,.66); margin-bottom: 14px; }
.post-hero--product .post-hero__panel .btn--ghost { color: var(--linen); border-color: rgba(245,245,239,.5); }
.post-hero--product .post-hero__panel .btn--ghost:hover { background: rgba(245,245,239,.12); border-color: var(--linen); }

/* hover lift for non-link cards (e.g. pricing cards) */
.card--hover { transition: box-shadow .35s, border-color .3s; }
.card--hover .card__body { transition: transform .35s cubic-bezier(.22,.61,.36,1), background .4s; }
.card--hover:hover { box-shadow: 0 26px 50px rgba(29,44,49,.11); }
.card--hover:hover .card__body { transform: translateY(-6px); background: #FBFAF4; }
@media (prefers-reduced-motion: reduce) { .card--hover:hover .card__body { transform: none; } }

a.card.card--orange { background: var(--clay-deep); border-color: var(--clay-deep); }
a.card.card--orange h3, a.card.card--orange:hover h3 { color: #fff; }
a.card.card--orange p { color: rgba(255,255,255,.88); }
a.card.card--orange .textlink { color: #fff; border-color: rgba(255,255,255,.5); }
a.card.card--orange:hover { background-color: var(--clay-deep); border-color: var(--clay-deep); }
a.card.card--orange:hover .textlink { color: #fff; border-color: rgba(255,255,255,.5); }

.post-hero + .band .wrap.narrow p { max-width: none; }

/* bespoke block */
.bespoke { background: var(--cobalt); color: rgba(245,245,239,.86); display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .bespoke { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 620px; } }
.bespoke__media { min-height: 340px; background-size: cover; background-position: center; position: relative; }
.bespoke { position: relative; }
.bespoke::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--clay); }
.bespoke__body { padding: clamp(44px, 6vw, 104px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.bespoke .eyebrow { color: rgba(245,245,239,.62); margin: 0; }
.bespoke h2 { color: var(--linen); font-size: clamp(34px, 4vw, 58px); line-height: 1.05; max-width: 14ch; margin-top: 14px; }
.bespoke__body > p:not(.eyebrow):not(.bespoke__meta) { color: rgba(245,245,239,.8); margin-top: 24px; max-width: 46ch; }
.bespoke__list { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; border-top: 1px solid rgba(245,245,239,.18); }
.bespoke__list li { display: grid; grid-template-columns: 7.5em minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(245,245,239,.18); font-size: 16px; line-height: 1.5; color: rgba(245,245,239,.78); }
.bespoke__list b { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--linen); padding-top: 3px; }
.bespoke .actions { margin-top: clamp(30px, 3vw, 44px); }
.bespoke__meta { font-family: var(--head); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,245,239,.55); margin-top: 18px; }
.bespoke + .cta-band { border-top: 1px solid rgba(245,245,239,.16); }

@media (max-width: 560px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .crumbs a, nav[aria-label="Breadcrumb"] a { display: inline-block; padding: 12px 0; } }
