/* ============================================================
   HAVEN INTERIORS — placeholder template
   Recreated layout system + motion from ndarenovations.zerasoftwarestudio.com
   (Zera Studio build). All copy, brand and imagery are PLACEHOLDERS.
   Tokens and measurements mined from the source CSS; stylesheet authored fresh.
   ============================================================ */

/* ---------- tokens (mined, transferred unchanged) ---------- */
:root {
  --color-fg-black: #0b1012;
  --color-fg-white: #fff;
  --color-fg-cream: #f3f0ec;
  --color-fg-taupe: #d4cec6;
  --color-fg-grey: #212325;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --ease-in-out-quad: cubic-bezier(.455, .03, .515, .955);

  /* fluid unit: whole site scales with viewport (source system) */
  --viewport-base: 1600;
  --fluid-unit: calc((100vw / var(--viewport-base)) * 10);
}
@media (max-width: 600px) { :root { --viewport-base: 375; } }

/* ---------- base ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: var(--fluid-unit);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
}
::-webkit-scrollbar { display: none; }
html, body { overscroll-behavior: none; }
body {
  font-family: var(--font-sans);
  color: var(--color-fg-black);
  background-color: var(--color-fg-black);
  font-weight: 400;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; color: inherit; background: none; border: none; font-family: inherit; }
ol, ul { list-style: none; }

.page-wrapper {
  position: relative;
  z-index: 1;
  transform-origin: center top;
  background: var(--color-fg-cream);
}

/* type helpers used across sections */
.u-mono-label {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
}
.u-mono-label::before {
  content: "";
  background: currentColor;
  width: .6rem; height: .6rem;
  margin-right: 1.2rem;
  display: block;
  transform: rotate(45deg) translateY(-.2rem);
}

/* ---------- page-header (intro lockup over hero) ---------- */
.page-header {
  z-index: 5;
  justify-content: center;
  align-items: center;
  height: 6rem;
  display: flex;
  position: absolute;
  inset: 0 4rem auto;
}
.page-header.is-white { color: var(--color-fg-white); }
.page-header.is-black { color: var(--color-fg-grey); }
.page-header.is-taupe { color: var(--color-fg-taupe); }
.page-header .logo { position: absolute; }
.page-header .wordmark-text {
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 700;
}
.page-header h1 {
  clip: rect(0,0,0,0);
  border: 0; width: 1px; height: 1px; margin: -1px; padding: 0;
  position: absolute; overflow: hidden;
}
.page-header .base-button.is-alpha {
  color: inherit;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
  position: absolute;
  right: 0;
}
.page-header .arrow-svg { width: 1.4rem; height: 1.1rem; margin-right: 1.2rem; transform: translateY(-.1rem); }
.page-header .label { height: 1rem; overflow: hidden; }
.page-header .label .line { will-change: transform; height: 1.5rem; display: block; text-align: left; }
@media (hover: hover) {
  .page-header .base-button .label .line { transition: transform 1s cubic-bezier(.33,1,.68,1); }
  .page-header .base-button:hover .label .line { transform: translateY(-100%); }
}
@media (max-width: 600px) {
  .page-header { inset: 0 2rem auto; }
  .page-header .logo { left: 0; }
}

/* ---------- fixed pill header (appears on scroll) ---------- */
.site-header {
  color: var(--color-fg-white);
  user-select: none;
  z-index: 5;
  justify-content: center;
  align-items: center;
  width: 27.6rem;
  height: 5rem;
  margin-left: auto; margin-right: auto;
  display: flex;
  position: fixed;
  left: 0; right: 0;
  overflow: hidden;
}
@media (max-width: 600px) { .site-header { bottom: 3rem; } }
@media (min-width: 601px) { .site-header { bottom: 4rem; } }
.site-header-bg {
  -webkit-backdrop-filter: blur(2rem);
  backdrop-filter: blur(2rem);
  background: color-mix(in srgb, var(--color-fg-black) 80%, transparent);
  z-index: -1;
  border-radius: 9999px;
  width: 100%; height: 100%;
  position: absolute;
}
.site-header-logo { justify-content: center; align-items: center; width: 5rem; height: 5rem; display: flex; position: absolute; left: 0; }
.site-header-logo svg { width: 2.4rem; height: 2.4rem; }
.site-header-title {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  width: 17rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 5rem;
  overflow: hidden;
  will-change: transform;
  align-items: center;
  height: 5rem;
}
.site-header-title-inner { white-space: nowrap; display: inline-flex; will-change: transform; align-items: center; height: 5rem; }
.site-header-burger, .site-header-close { justify-content: center; align-items: center; width: 5rem; height: 5rem; display: flex; position: absolute; right: 0; }
.site-header-burger svg { width: 2rem; height: 1.1rem; }
.site-header-close { visibility: hidden; margin: 0 auto; left: 0; }
.site-header-close svg { width: 1.3rem; height: 1.3rem; }
.site-header-arrow { visibility: hidden; justify-content: center; align-items: center; width: 5rem; height: 5rem; display: flex; position: absolute; }
.site-header-arrow svg { width: 1.1rem; height: 1.2rem; }

/* ---------- fullscreen-ish menu (floating card) ---------- */
.site-menu {
  color: var(--color-fg-white);
  pointer-events: none;
  visibility: hidden;
  z-index: 9;
  padding: 6rem;
  position: fixed;
  bottom: 10rem;
  left: 50%;
  transform: translate(-50%);
}
@media (max-width: 600px) { .site-menu { width: 32rem; padding: 6rem 4rem 3rem; } }
@media (min-width: 601px) { .site-menu { width: 40rem; } }
.site-menu.is-open { pointer-events: auto; }
.site-menu-bg {
  -webkit-backdrop-filter: blur(2rem);
  backdrop-filter: blur(2rem);
  background: color-mix(in srgb, var(--color-fg-black) 80%, transparent);
  transform-origin: bottom;
  z-index: -1;
  border-radius: 2rem;
  position: absolute;
  inset: 0;
}
.site-menu-title {
  color: color-mix(in srgb, currentcolor 60%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}
.site-menu .main-item { align-items: center; display: flex; position: relative; }
.site-menu .main-link, .site-menu .main-mask { display: flex; overflow: hidden; }
.site-menu .main-link {
  height: 3.6rem;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  flex-direction: column;
  align-items: flex-start;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 3.6rem;
  transition: color .5s;
}
.site-menu .main-line { will-change: transform; height: 3.6rem; display: block; }
.site-menu .main-nav:hover .main-mask { color: color-mix(in srgb, currentcolor 40%, transparent); transition: color .5s; }
.site-menu .main-nav:hover .main-mask:hover { color: currentColor; }
.site-menu .sub-links { color: color-mix(in srgb, currentcolor 60%, transparent); flex-direction: column; display: flex; }
@media (max-width: 600px) { .site-menu .sub-links { gap: .4rem; margin: 3rem 0; } }
@media (min-width: 601px) { .site-menu .sub-links { gap: .4rem; margin: 4rem 0 6rem; } }
.site-menu .sub-mask { margin: .2rem 0; display: flex; overflow: hidden; }
.site-menu .sub-link { font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; line-height: 1.3; position: relative; }
.site-menu .sub-link::after {
  content: "";
  transform-origin: 100%;
  will-change: transform;
  background: currentColor;
  width: 100%; height: 1px;
  transition: transform .5s cubic-bezier(1,0,0,1);
  position: absolute;
  inset: auto auto 0 0;
  transform: scaleX(0);
}
@media (hover: hover) { .site-menu .sub-link:hover::after { transform-origin: 0; transform: scaleX(1); } }
.site-menu .menu-cta {
  background: var(--color-fg-black);
  color: var(--color-fg-white);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
}
@media (max-width: 600px) { .site-menu .menu-cta { padding: 1.5rem 1.8rem; } }
@media (min-width: 601px) { .site-menu .menu-cta { padding: 1.5rem 2.4rem; } }
.site-menu .cta-arrow { width: 1.4rem; height: 1.1rem; margin-right: 1.2rem; transform: translateY(-.1rem); }
.site-menu .cta-label { height: 1rem; overflow: hidden; }
.site-menu .cta-line { will-change: transform; height: 1.5rem; display: block; }

.page-leave { pointer-events: none; }

/* ---------- buttons ---------- */
.base-btn {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  pointer-events: auto;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
  position: relative;
}
.base-btn.is-black { background: var(--color-fg-grey); color: var(--color-fg-white); }
@media (max-width: 600px) { .base-btn.is-black { padding: 1.5rem 1.8rem; } }
@media (min-width: 601px) { .base-btn.is-black { padding: 1.5rem 2.4rem; } }
.base-btn .arrow-svg, .sb-base-button .arrow-svg, .fp-link .arrow-svg { width: 1.4rem; height: 1.1rem; }
.base-btn .arrow-svg, .sb-base-button .arrow-svg { margin-right: 1.2rem; transform: translateY(-.1rem); }
.btn-label { flex-direction: column; overflow: hidden; }
.btn-label, .btn-line { height: 1.5rem; display: flex; }
.btn-line { will-change: transform; flex-shrink: 0; align-items: center; transition: transform .35s cubic-bezier(.76,0,.24,1); }
@media (hover: hover) {
  .base-btn:hover .btn-line, .qp-submit:hover .btn-line, .sb-base-button:hover .btn-line { transform: translateY(-100%); }
}
.hover-underline { position: relative; }
@media (hover: hover) {
  .hover-underline::after {
    content: "";
    transform-origin: 100%;
    will-change: transform;
    background: currentColor;
    width: 100%; height: 1px;
    transition: transform .5s cubic-bezier(1,0,0,1);
    position: absolute;
    inset: auto auto 0 0;
    transform: scaleX(0);
  }
  .hover-underline:hover::after { transform-origin: 0; transform: scaleX(1); }
}

/* ---------- home hero ---------- */
.home-header { color: var(--color-fg-white); position: relative; }
.hh-container { z-index: 2; position: relative; }
@media (max-width: 600px) { .hh-container { margin: 0 2rem; } }
@media (min-width: 601px) { .hh-container { margin: 0 4rem; } }
.hh-row { position: relative; }
@media (max-width: 600px) { .hh-row { display: flex; } }
@media (min-width: 601px) { .hh-row { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); display: grid; } }
.hh-row-1 { justify-content: center; align-items: flex-end; height: 100svh; }
@media (max-width: 600px) { .hh-row-1 { padding: 14rem 0; } }
@media (min-width: 601px) { .hh-row-1 { padding: 16rem 0; } }
.hh-row-2 { flex-direction: column; padding: 1.5rem 0 6rem; }
@media (max-width: 600px) { .hh-row-2 { border-top: 1px solid color-mix(in srgb, var(--color-fg-white) 20%, transparent); } }
@media (min-width: 601px) { .hh-row-2 { justify-content: center; align-items: flex-start; padding: 2rem 0 32.8rem; } }
.hh-row-2::before {
  border-top: 1px solid color-mix(in srgb, var(--color-fg-white) 20%, transparent);
  width: 86rem;
  position: absolute;
  inset: 0 0 auto auto;
}
@media (min-width: 601px) { .hh-row-2::before { content: ""; } }
.hh-heading { text-align: center; }
@media (max-width: 600px) { .hh-heading { font-family: var(--font-sans); letter-spacing: -.02em; font-size: 4rem; font-weight: 400; line-height: 1; } }
@media (min-width: 601px) { .hh-heading { font-family: var(--font-sans); letter-spacing: -.03em; grid-column: 6/20; font-size: 6.4rem; font-weight: 400; line-height: 1; } }
.line-mask { margin: -2rem 0; padding: 1rem 0; overflow: clip; }
.line, .line-mask { text-align: center; display: block; position: relative; }
.line { will-change: transform; }
.hh-indicator {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  position: absolute;
}
@media (max-width: 600px) { .hh-indicator { color: color-mix(in srgb, var(--color-fg-white) 40%, transparent); bottom: 10.5rem; } }
@media (min-width: 601px) { .hh-indicator { display: none; } }
.hh-title {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
}
.hh-title-diamond { background: currentColor; width: .6rem; height: .6rem; margin-right: 1.2rem; display: block; transform: rotate(45deg) translateY(-.2rem); }
@media (max-width: 600px) { .hh-title { margin-bottom: 2rem; } }
@media (min-width: 601px) { .hh-title { text-align: center; position: absolute; top: 2rem; left: 50%; transform: translate(-50%); } }
.hh-text { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .hh-text { font-size: 1.6rem; } }
@media (min-width: 601px) { .hh-text { grid-column: 20/25; font-size: 1.8rem; } }
.hh-background { background: var(--color-fg-grey); position: absolute; inset: 0; overflow: hidden; }
.hh-background::before {
  content: "";
  opacity: .5;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(#0000, #000);
  position: absolute;
  inset: 0;
}
.hh-asset { opacity: .8; will-change: transform; position: absolute; inset: 0; }
.hh-media { object-fit: cover; object-position: center; width: 100%; height: 100%; }

/* ---------- text CTA ---------- */
@media (max-width: 600px) { .text-cta { margin: 8rem 0; } }
@media (min-width: 601px) { .text-cta { margin: 15rem 0; } }
@media (max-width: 600px) { .tc-container { margin: 0 2rem; } }
@media (min-width: 601px) { .tc-container { text-align: center; flex-direction: column; align-items: center; margin: 0 4rem; display: flex; } }
@media (max-width: 600px) { .tc-base-heading { font-family: var(--font-sans); letter-spacing: -.02em; margin: 3rem 0; font-size: 3.2rem; font-weight: 400; line-height: 1; } }
@media (min-width: 601px) { .tc-base-heading { font-family: var(--font-sans); letter-spacing: -.03em; width: 100.6rem; margin: 4rem 0; font-size: 6.4rem; font-weight: 400; line-height: 1; } }

/* ---------- product collection (services blocks) ---------- */
@media (max-width: 600px) { .product-collection { margin: 8rem 0; } }
@media (min-width: 601px) { .product-collection { margin: 15rem 0; } }
.pc-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); padding-top: 2rem; position: relative; }
@media (max-width: 600px) { .pc-container { margin: 0 2rem; } }
@media (min-width: 601px) { .pc-container { margin: 0 4rem; } }
@media (max-width: 600px) { .pc-content { margin: 2rem 0 4rem; } }
@media (min-width: 601px) { .pc-content { width: 30.1rem; position: absolute; inset: 22rem 23.2rem auto auto; } }
@media (max-width: 600px) { .pc-richtext { margin-bottom: 3rem; } }
@media (min-width: 601px) { .pc-richtext { margin-bottom: 5rem; } }
.pc-richtext p { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .pc-richtext p { font-size: 1.6rem; } }
@media (min-width: 601px) { .pc-richtext p { font-size: 1.8rem; } }
.pc-richtext p strong { font-weight: 700; }
@media (max-width: 600px) { .pc-blocks { grid-template-columns: repeat(2,1fr); align-items: flex-start; gap: 1.5rem; display: grid; } }
@media (min-width: 601px) { .pc-blocks { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); padding-top: 8rem; display: grid; } }
.pc-block { aspect-ratio: 500/617; justify-content: center; align-items: center; display: flex; position: relative; overflow: hidden; }
@media (min-width: 601px) {
  .pc-block-1 { grid-column: 8/15; }
  .pc-block-2 { grid-column: 18/24; margin-top: 45rem; }
  .pc-block-3 { grid-column: 1/7; margin-top: 4.5rem; }
}
@media (max-width: 600px) {
  .pc-block-2 { margin-top: 8.4rem; }
  .pc-block-3 { margin-top: -8.4rem; }
}
.pc-title { color: var(--color-fg-white); z-index: 1; position: absolute; }
@media (max-width: 600px) { .pc-title { font-family: var(--font-sans); font-size: 2.4rem; font-weight: 400; line-height: 1.2; } }
@media (min-width: 601px) { .pc-title { font-family: var(--font-sans); letter-spacing: -.02em; font-size: 4rem; font-weight: 400; line-height: 1; } }
.product-image { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- banner showroom (sticky scrub reveal) ---------- */
.banner-showroom { background: var(--color-fg-grey); color: var(--color-fg-white); pointer-events: none; position: relative; }
@media (max-width: 600px) { .banner-showroom { height: 100svh; padding-top: 3rem; } }
@media (min-width: 601px) { .banner-showroom { height: 200svh; padding-top: 4rem; } }
.sb-base-title {
  border-top: 1px solid color-mix(in srgb, var(--color-fg-cream) 20%, transparent);
  align-items: center;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  position: relative;
}
@media (max-width: 600px) { .sb-base-title { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .sb-base-title { margin: 0 4rem; padding-top: 2rem; } }
.sb-title { pointer-events: all; }
.sb-container { align-items: center; display: flex; }
@media (max-width: 600px) { .sb-container { position: absolute; inset: 0; } }
@media (min-width: 601px) { .sb-container { justify-content: center; height: 100svh; position: sticky; top: 0; } }
.sb-border {
  background: color-mix(in srgb, var(--color-fg-white) 20%, transparent);
  transform-origin: 0;
  width: 152rem; height: 1px;
  position: absolute;
  transform: scaleX(0);
}
@media (max-width: 600px) { .sb-border { display: none; } }
@media (min-width: 601px) { .sb-border { margin-top: -20rem; } }
.sb-content { z-index: 1; justify-content: space-between; width: 100%; display: flex; position: relative; }
@media (max-width: 600px) { .sb-content { text-align: center; flex-direction: column; align-items: center; margin: 0 2rem; } }
@media (min-width: 601px) {
  .sb-content { margin: 0 4rem; }
  .sb-column { position: absolute; }
  .sb-column:first-child { top: -17rem; }
  .sb-column:nth-child(2) { top: 15rem; text-align: right; }
}
.sb-base-heading { margin: 1rem 0; }
@media (max-width: 600px) { .sb-base-heading { font-family: var(--font-sans); font-size: 2.4rem; font-weight: 400; line-height: 1.2; } }
@media (min-width: 601px) { .sb-base-heading { font-family: var(--font-sans); letter-spacing: -.02em; width: 45rem; font-size: 4rem; font-weight: 400; line-height: 1; } }
.sb-text { color: color-mix(in srgb, currentcolor 80%, transparent); font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; line-height: 1.3; }
.sb-address {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 600px) { .sb-address { margin-bottom: 1.5rem; } }
@media (min-width: 601px) { .sb-address { margin-bottom: 3rem; } }
.sb-base-button {
  -webkit-backdrop-filter: blur(2rem);
  backdrop-filter: blur(2rem);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  pointer-events: auto;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
  background: linear-gradient(#ffffff26, #fff3);
  justify-content: center;
  align-items: center;
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
  position: relative;
}
@media (max-width: 600px) { .sb-base-button { padding: 1.5rem 1.8rem; } }
@media (min-width: 601px) { .sb-base-button { padding: 1.5rem 2.4rem; } }
.sb-background { pointer-events: auto; position: absolute; inset: 0; }
@media (max-width: 600px) { .sb-background { justify-content: center; align-items: center; margin: 0 2rem; display: flex; } }
.sb-video { position: absolute; overflow: hidden; }
@media (max-width: 600px) { .sb-video { opacity: .7; width: 33.5rem; height: 18.6rem; } }
@media (min-width: 601px) { .sb-video { width: 100%; height: 100%; inset: 0; } }
.sb-video-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- featured projects ---------- */
@media (max-width: 600px) { .featured-projects { margin: 3rem 0 8rem; } }
@media (min-width: 601px) { .featured-projects { margin: 4rem 0 15rem; } }
.fp-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .fp-container { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .fp-container { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); align-items: flex-start; margin: 0 4rem; padding-top: 2rem; display: grid; } }
@media (max-width: 600px) { .fp-base-heading { font-family: var(--font-sans); letter-spacing: -.02em; margin: 6rem 0 3rem; font-size: 3.2rem; font-weight: 400; line-height: 1; } }
@media (min-width: 601px) { .fp-base-heading { font-family: var(--font-sans); letter-spacing: -.03em; margin: 1rem 0 4rem; font-size: 6.4rem; font-weight: 400; line-height: 1; } }
.fp-base-title { grid-column: 1/11; }
.fp-content { grid-column: 11/25; }
.fp-text { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .fp-text { font-size: 1.6rem; } }
@media (min-width: 601px) { .fp-text { font-size: 1.8rem; } }
.fp-link {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
  transition: opacity .3s;
}
@media (hover: hover) { .fp-link:hover { opacity: .6; } }
.fp-projects { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 10%, transparent); }
@media (max-width: 600px) { .fp-projects { margin-top: 3rem; } }
@media (min-width: 601px) { .fp-projects { grid-column: 1/25; margin-top: 12rem; } }
.fp-project {
  border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 10%, transparent);
  align-items: center;
  transition: border-color .3s;
  display: flex;
  position: relative;
}
@media (max-width: 600px) { .fp-project { padding: 2.6rem 0; } }
@media (min-width: 601px) { .fp-project { padding: 2.4rem 0; } }
@media (hover: hover) {
  .fp-project:hover { border-color: color-mix(in srgb, var(--color-fg-grey) 60%, transparent); }
  .fp-project:hover .fp-arrow-svg, .fp-project:hover .fp-image,
  .fp-project:hover .fp-product, .fp-project:hover .fp-proj-title { opacity: 1; }
}
.fp-proj-title { font-family: var(--font-sans); font-size: 2.4rem; font-weight: 400; line-height: 1.2; transition: opacity .3s; }
@media (min-width: 601px) { .fp-proj-title { opacity: .4; width: 64.2rem; } }
.fp-products { gap: 1rem; display: flex; }
@media (max-width: 600px) { .fp-products { display: none; } }
.fp-product {
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  opacity: .4;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2rem;
  height: 2.6rem;
  padding: .5rem 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5rem;
  transition: opacity .3s;
}
.fp-image {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 23.6rem; height: 29.6rem;
  transition: opacity .3s ease-out;
  position: absolute;
  left: 29.7rem;
  overflow: hidden;
}
@media (max-width: 600px) { .fp-image { display: none; } }
.fp-image img { object-fit: cover; width: 100%; height: 100%; }
.fp-arrow-svg { flex-shrink: 0; width: 1.5rem; height: 1.1rem; transition: opacity .3s; }
@media (max-width: 600px) { .fp-arrow-svg { margin: 0 2rem 0 auto; } }
@media (min-width: 601px) { .fp-arrow-svg { opacity: .2; margin: 0 3rem 0 auto; } }

/* ---------- assets duo ---------- */
@media (max-width: 600px) { .assets-duo { margin: 3rem 0; } }
@media (min-width: 601px) { .assets-duo { margin: 4rem 0; } }
.ad-container { gap: 2rem; display: grid; }
@media (max-width: 600px) { .ad-container { grid-template-columns: 12.4rem 1fr; gap: 1.5rem; margin: 0 2rem; } }
@media (min-width: 601px) { .ad-container.is-portrait-6 { grid-template-columns: repeat(24,1fr); margin: 0 4rem; } }
.ad-block { position: relative; overflow: hidden; }
@media (max-width: 600px) { .ad-block { aspect-ratio: 1/1.4; } }
@media (min-width: 601px) { .ad-block { aspect-ratio: 500/617; } }
.ad-block-1 { grid-column: 5/13; }
.ad-block-2 { grid-column: 13/25; }
.ad-block img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }
.ad-img-left { will-change: transform; }

/* ---------- banner CTA ---------- */
.banner-cta { margin: 8rem 0; }
@media (min-width: 601px) { .banner-cta { margin: 15rem 0; } }
.bc-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .bc-container { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .bc-container { margin: 0 4rem; padding-top: 2rem; } }
@media (max-width: 600px) { .bc-inner { flex-direction: column; display: flex; } }
@media (min-width: 601px) { .bc-inner { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); align-items: start; display: grid; } }
.bc-left { grid-column: 1/13; }
.bc-right { grid-column: 14/25; padding-top: 1rem; }
.bc-heading { font-family: var(--font-sans); font-weight: 400; line-height: 1.05; }
@media (max-width: 600px) { .bc-heading { letter-spacing: -.02em; margin: 3rem 0; font-size: 3.2rem; } }
@media (min-width: 601px) { .bc-heading { letter-spacing: -.03em; margin: 4rem 0 2rem; font-size: 4.8rem; } }
.bc-text { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); font-family: var(--font-sans); font-weight: 400; line-height: 1.5; }
@media (max-width: 600px) { .bc-text { font-size: 1.6rem; } }
@media (min-width: 601px) { .bc-text { font-size: 1.8rem; } }
.bc-actions { align-items: center; gap: 2.5rem; display: flex; }
@media (max-width: 600px) { .bc-actions { margin-top: 3rem; } }
@media (min-width: 601px) { .bc-actions { margin-top: 4rem; } }
.bc-link { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-size: 1.2rem; font-weight: 500; line-height: 1; }

/* ---------- footer ---------- */
.ft { background: #000; color: var(--color-fg-white); height: 100svh; position: relative; overflow: hidden; }
.ft-container { justify-content: center; display: flex; position: absolute; inset: 0; }
.ft-logo { opacity: 0; pointer-events: none; z-index: 3; width: 4.2rem; height: 4.2rem; position: absolute; top: 3rem; }
.ft-logo svg { width: 100%; height: 100%; }
.ft-bottom { font-family: var(--font-sans); pointer-events: all; z-index: 3; font-size: 1.4rem; font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ft-bottom { color: var(--color-fg-white); } }
@media (min-width: 601px) { .ft-bottom { color: #fff9; display: flex; position: absolute; inset: auto 4rem 4rem; } }
.ft-copyright { position: absolute; }
@media (max-width: 600px) { .ft-copyright { opacity: .8; bottom: 4rem; left: 2rem; } }
.ft-nav { flex-direction: column; align-items: center; display: flex; position: absolute; }
@media (max-width: 600px) { .ft-nav { justify-content: center; inset: auto 2rem 25svh; } }
@media (min-width: 601px) { .ft-nav { flex-direction: row; position: static; } }
.ft-legal { margin: 0; padding: 0; display: inline-flex; }
@media (min-width: 601px) { .ft-legal { position: absolute; right: 14rem; } }
.ft-item { margin-left: 1.5rem; }
@media (min-width: 601px) { .ft-item { margin-left: 2rem; } }
@media (max-width: 600px) { .ft-item:first-child { margin-left: 0; } }
.ft-link { color: inherit; position: relative; }
.ft-link::after {
  content: "";
  transform-origin: 100%;
  will-change: transform;
  background: currentColor;
  width: 100%; height: 1px;
  transition: transform .5s cubic-bezier(1,0,0,1);
  position: absolute;
  inset: auto auto 0 0;
  transform: scaleX(0);
}
@media (min-width: 601px) and (hover: hover) { .ft-link:hover::after { transform-origin: 0; transform: scaleX(1); } }
.ft-background, .ft-background::before { position: absolute; inset: 0; }
.ft-background::before { content: ""; z-index: 2; }
@media (max-width: 600px) { .ft-background::before { background: #0006; } }
@media (min-width: 601px) { .ft-background::before { background: linear-gradient(#0000 50%, #000000b3); } }
.ft-bg-image { object-fit: cover; object-position: bottom; width: 100%; height: 100%; }
/* PLACEHOLDER brand: wordmark text baked into the mask below — swap "HAVEN" for the real brand */
.ft-wordmark {
  z-index: 2;
  background: #fff;
  position: absolute;
  inset: 0;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 280'%3E%3Ctext x='50%25' y='75%25' font-family='Arial,Helvetica,sans-serif' font-size='230' font-weight='700' fill='currentcolor' text-anchor='middle'%3EHAVEN%3C/text%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 280'%3E%3Ctext x='50%25' y='75%25' font-family='Arial,Helvetica,sans-serif' font-size='230' font-weight='700' fill='currentcolor' text-anchor='middle'%3EHAVEN%3C/text%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (max-width: 600px) { .ft-wordmark { opacity: .5; -webkit-mask-position: 50%; mask-position: 50%; -webkit-mask-size: 100vw 20vw; mask-size: 100vw 20vw; } }
@media (min-width: 601px) { .ft-wordmark { opacity: .3; -webkit-mask-position: left 50% bottom 11rem; mask-position: left 50% bottom 11rem; -webkit-mask-size: 130rem 26rem; mask-size: 130rem 26rem; } }
.ft-wordmark .ft-bg-image { opacity: 1; transform: scale(1.5); }
@media (min-width: 601px) { .ft-wordmark .ft-bg-image { opacity: .8; } }

/* ---------- about ---------- */
.ab-hero { background: var(--color-fg-grey); color: var(--color-fg-taupe); z-index: 1; position: relative; }
@media (max-width: 600px) { .ab-hero { padding-top: 16rem; } }
@media (min-width: 601px) { .ab-hero { padding-top: 22rem; } }
.ab-hero-container { text-align: center; flex-direction: column; align-items: center; display: flex; }
@media (max-width: 600px) { .ab-hero-container { margin: 0 2rem; } }
@media (min-width: 601px) { .ab-hero-container { margin: 0 4rem; } }
@media (max-width: 600px) { .ab-hero-heading { font-family: var(--font-sans); letter-spacing: -.02em; margin: 2rem 0 3rem; font-size: 4rem; font-weight: 400; line-height: 1; } }
@media (min-width: 601px) { .ab-hero-heading { font-family: var(--font-sans); letter-spacing: -.03em; width: 75rem; margin: 3rem 0 6rem; font-size: 6.4rem; font-weight: 400; line-height: 1; } }
.ab-hero-mask { overflow: clip; }
.ab-hero-line, .ab-hero-mask { display: block; position: relative; }
.ab-hero-line { will-change: transform; }
.ab-hero-asset { z-index: 1; width: 100%; position: relative; }
@media (max-width: 600px) { .ab-hero-asset { height: 19.8rem; } }
@media (min-width: 601px) { .ab-hero-asset { height: 63.3rem; } }
.ab-hero-asset { overflow: hidden; }
.ab-hero-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-hero-ornament { color: color-mix(in srgb, currentcolor 20%, transparent); pointer-events: none; position: absolute; inset: 0; }
.ab-hero-ornament svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .ab-hero-ornament { display: none; } }
@media (min-width: 601px) { .ab-hero-ornament { width: 123.9rem; height: 161.7rem; } }

.ab-manifesto { background: var(--color-fg-grey); color: var(--color-fg-taupe); }
@media (max-width: 600px) { .ab-manifesto { padding: 1.5rem 0 0; } }
@media (min-width: 601px) { .ab-manifesto { padding: 4rem 0 15rem; } }
.ab-mf-container { position: relative; }
@media (max-width: 600px) { .ab-mf-container { margin: 0 2rem; } }
@media (min-width: 601px) { .ab-mf-container { margin: 0 4rem; } }
.ab-mf-title { border-top: 1px solid color-mix(in srgb, var(--color-fg-cream) 20%, transparent); }
@media (max-width: 600px) { .ab-mf-title { padding-top: 1.5rem; } }
@media (min-width: 601px) { .ab-mf-title { padding-top: 2rem; } }
.ab-mf-heading { font-family: var(--font-sans); letter-spacing: -.03em; font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .ab-mf-heading { letter-spacing: -.02em; margin: 1rem 0 3rem; font-size: 3.2rem; } }
@media (min-width: 601px) { .ab-mf-heading { width: 100.7rem; margin-bottom: 4rem; padding-top: 23.5rem; font-size: 6.4rem; } }
.ab-mf-text { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ab-mf-text { margin: 2rem 0 8rem; font-size: 1.6rem; } }
@media (min-width: 601px) { .ab-mf-text { width: 55.7rem; font-size: 1.8rem; position: absolute; top: -1.5rem; right: 0; } }
.ab-mf-mask { overflow: clip; }
.ab-mf-line, .ab-mf-mask { display: block; position: relative; }
.ab-mf-line { will-change: transform; }

.ab-manifesto + .ab-intro { background: var(--color-fg-grey); color: var(--color-fg-cream); margin: 0; }
@media (max-width: 600px) { .ab-intro { padding: 8rem 0; } }
@media (min-width: 601px) { .ab-intro { padding: 15rem 0; } }
@media (max-width: 600px) { .ab-intro-container { flex-direction: column; margin: 0 2rem; display: flex; } }
@media (min-width: 601px) { .ab-intro-container { grid-template-columns: repeat(24,1fr); gap: 2rem; margin: 0 4rem; display: grid; } }
@media (max-width: 600px) { .ab-intro-col-text { order: 2; } }
@media (min-width: 601px) {
  .ab-intro-col-text { grid-column: 2/11; }
  .ab-intro-col-asset { grid-column: 13/25; }
}
.ab-intro-asset { aspect-ratio: 500/617; background: color-mix(in srgb, var(--color-fg-cream) 10%, transparent); width: 100%; position: relative; overflow: hidden; }
.ab-intro-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 600px) { .ab-intro-asset { margin-bottom: 4rem; } }
@media (max-width: 600px) { .ab-intro-label { margin: 3rem 0 2rem; } }
@media (min-width: 601px) { .ab-intro-label { margin: 2rem 0; } }
.ab-intro-heading { font-family: var(--font-sans); font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .ab-intro-heading { letter-spacing: -.02em; margin: 5rem 0; font-size: 3.2rem; } }
@media (min-width: 601px) { .ab-intro-heading { letter-spacing: -.03em; margin: 1rem 0 7rem; font-size: 4.8rem; } }
.ab-intro-content { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ab-intro-content { margin-top: 3rem; font-size: 1.6rem; } }
@media (min-width: 601px) { .ab-intro-content { width: 36.5rem; margin-top: 4rem; margin-left: 12.9rem; font-size: 1.8rem; } }
.ab-intro-text { color: color-mix(in srgb, currentcolor 80%, transparent); }
.ab-intro-mask { margin-bottom: 1.5rem; overflow: clip; }
.ab-intro-line, .ab-intro-mask { display: block; position: relative; }
.ab-intro-line { will-change: transform; }

@media (max-width: 600px) { .ab-beliefs { margin: 3rem 0; } }
@media (min-width: 601px) { .ab-beliefs { margin: 4rem 0; } }
.ab-bl-title { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .ab-bl-title { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .ab-bl-title { margin: 0 4rem; padding-top: 2rem; } }
.ab-bl-container { flex-direction: column; display: flex; position: relative; overflow: hidden; }
@media (max-width: 600px) { .ab-bl-container { margin: 0 2rem; padding: 5rem 0; } }
@media (min-width: 601px) { .ab-bl-container { margin: 0 4rem; padding: 18rem 0; } }
.ab-bl-block { display: inline-flex; }
@media (max-width: 600px) { .ab-bl-block { flex-direction: column; align-items: flex-start; } }
@media (min-width: 601px) { .ab-bl-block { align-items: flex-end; margin: .5rem 0; } }
@media (max-width: 600px) { .ab-bl-block-1 { margin-left: auto; } }
@media (min-width: 601px) { .ab-bl-block-1 { margin-left: 54rem; } }
.ab-bl-block-2 { margin: 3rem 0; }
@media (min-width: 601px) { .ab-bl-block-2 { margin-left: 31rem; } }
@media (max-width: 600px) { .ab-bl-block-3 { margin-left: auto; margin-right: 4rem; } }
@media (min-width: 601px) { .ab-bl-block-3 { margin-left: 54rem; } }
.ab-bl-block-heading { margin: -2rem 0; padding: 1rem; overflow: hidden; }
@media (max-width: 600px) { .ab-bl-block-heading { font-family: var(--font-sans); letter-spacing: -.03em; font-size: 8.8rem; font-weight: 400; line-height: 1; } }
@media (min-width: 601px) { .ab-bl-block-heading { font-family: var(--font-sans); letter-spacing: -.0322917em; font-size: 19.2rem; font-weight: 400; line-height: 1; } }
.ab-bl-block-text { will-change: transform; display: block; }
.ab-bl-block-pill {
  background: var(--color-fg-cream);
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  color: var(--color-fg-grey);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2rem;
  align-items: center;
  height: 2.6rem;
  padding: .5rem 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5rem;
  display: inline-flex;
}
@media (max-width: 600px) { .ab-bl-block-pill { margin-top: 1rem; } .ab-bl-block-1 .ab-bl-block-pill { transform: translate(-2rem); } }
@media (min-width: 601px) { .ab-bl-block-pill { transform: translate(2rem, -3rem); } }
@media (max-width: 600px) { .ab-bl-block-3 .ab-bl-block-heading { margin-left: auto; } }
.ab-bl-ornament { color: color-mix(in srgb, var(--color-fg-grey) 20%, transparent); pointer-events: none; z-index: -1; height: 100rem; position: absolute; }
.ab-bl-ornament svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .ab-bl-ornament { display: none; } }
@media (min-width: 601px) { .ab-bl-ornament { width: 160rem; inset: 15rem 0 0; } }

@media (max-width: 600px) { .ab-values { margin: 8rem 0; } .ab-beliefs + .ab-values { margin-top: 0; } }
@media (min-width: 601px) { .ab-values { margin: 15rem 0; } .ab-beliefs + .ab-values { margin-top: 3rem; } }
.ab-val-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .ab-val-container { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .ab-val-container { grid-template-columns: repeat(24,1fr); gap: 2rem; margin: 0 4rem; padding-top: 2rem; display: grid; } }
@media (min-width: 601px) { .ab-val-title { grid-column: 1/11; } }
.ab-val-heading { font-family: var(--font-sans); font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .ab-val-heading { letter-spacing: -.02em; margin: 6rem 0 4rem; font-size: 3.2rem; } }
@media (min-width: 601px) { .ab-val-heading { letter-spacing: -.03em; grid-column: 11/24; margin: 1rem 0 13rem; font-size: 4.8rem; } }
.ab-val-blocks { flex-direction: column; display: flex; }
@media (min-width: 601px) { .ab-val-blocks { grid-column: 11/24; } }
.ab-val-block { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 10%, transparent); }
@media (max-width: 600px) { .ab-val-block { padding: 2rem 0 4rem; } }
@media (min-width: 601px) { .ab-val-block { flex-direction: row; padding: 2rem 0 6rem; display: flex; } }
.ab-val-block-title { font-family: var(--font-sans); font-size: 1.8rem; font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ab-val-block-title { margin-bottom: 1.5rem; } }
@media (min-width: 601px) { .ab-val-block-title { flex-shrink: 0; width: 32.1rem; } }
.ab-val-block-richtext { font-family: var(--font-sans); font-weight: 400; line-height: 1.5; }
@media (max-width: 600px) { .ab-val-block-richtext { font-size: 1.6rem; } }
@media (min-width: 601px) { .ab-val-block-richtext { width: 49.3rem; margin-left: auto; font-size: 1.8rem; } }
.ab-val-block-richtext p { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); }

@media (max-width: 600px) { .ab-founders { margin: 8rem 0; } }
@media (min-width: 601px) { .ab-founders { margin: 15rem 0; } }
.ab-fd-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .ab-fd-container { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .ab-fd-container { grid-template-columns: repeat(24,1fr); gap: 2rem; margin: 0 4rem; padding-top: 2rem; display: grid; } }
@media (min-width: 601px) { .ab-fd-title { grid-column: 1/25; } }
.ab-fd-text { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ab-fd-text { margin-bottom: 3rem; font-size: 1.6rem; } }
@media (min-width: 601px) { .ab-fd-text { grid-column: 1/7; margin: auto 0 7rem; font-size: 1.8rem; } }
.ab-fd-blocks { gap: 2rem; display: flex; }
@media (max-width: 600px) { .ab-fd-blocks { flex-direction: column; } }
@media (min-width: 601px) { .ab-fd-blocks { flex-direction: row; grid-column: 11/25; } }
.ab-fd-card { flex: 1; }
.ab-fd-avatar { aspect-ratio: 1; background: color-mix(in srgb, var(--color-fg-grey) 10%, transparent); width: 100%; margin-bottom: 2rem; position: relative; overflow: hidden; }
.ab-fd-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-fd-name { font-family: var(--font-sans); font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) { .ab-fd-name { font-size: 2rem; } }
@media (min-width: 601px) { .ab-fd-name { font-size: 2.4rem; } }
.ab-fd-role {
  color: color-mix(in srgb, var(--color-fg-grey) 60%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- services ---------- */
.co-hero { background: var(--color-fg-cream); }
@media (max-width: 600px) { .co-hero { padding: 16rem 2rem 6rem; } }
@media (min-width: 601px) { .co-hero { padding: 22rem 4rem 8rem; } }
.co-hero-grid { display: grid; }
@media (max-width: 600px) { .co-hero-grid { grid-template-columns: repeat(6,1fr); gap: 1.5rem; } }
@media (min-width: 601px) { .co-hero-grid { grid-template-columns: repeat(24,1fr); gap: 2rem; } }
.co-hero-heading { font-family: var(--font-sans); letter-spacing: -.03em; color: var(--color-fg-grey); font-weight: 400; line-height: 1.05; }
@media (max-width: 600px) { .co-hero-heading { grid-column: 1/-1; font-size: 4rem; } }
@media (min-width: 601px) { .co-hero-heading { grid-column: 1/17; font-size: 8rem; } }

.pm-section, .fc-section, .br-section { background: var(--color-fg-cream); }
@media (max-width: 600px) { .pm-section, .fc-section, .br-section { padding: 6rem 2rem; } }
@media (min-width: 601px) { .pm-section, .fc-section, .br-section { padding: 10rem 4rem; } }
.pm-wrap, .fc-wrap, .br-wrap { position: relative; }
.pm-label-row, .fc-label-row, .br-label-row { align-items: center; gap: 1rem; display: flex; }
@media (max-width: 600px) { .pm-label-row, .fc-label-row, .br-label-row { margin-bottom: 3rem; } }
@media (min-width: 601px) { .pm-label-row, .fc-label-row, .br-label-row { margin-bottom: 4rem; } }
.section-rule { background: color-mix(in srgb, var(--color-fg-grey) 20%, transparent); flex: 1; height: 1px; display: block; margin-left: 1.5rem; }
.pm-heading, .fc-heading, .br-heading { font-family: var(--font-sans); letter-spacing: -.03em; color: var(--color-fg-grey); font-weight: 400; line-height: 1.05; }
@media (max-width: 600px) { .pm-heading { margin-bottom: 4rem; font-size: 4rem; } }
@media (min-width: 601px) { .pm-heading { margin-bottom: 6rem; font-size: 8rem; } }
.pm-track { gap: 2rem; display: flex; }
@media (max-width: 600px) { .pm-track { flex-direction: column; gap: 3rem; } }
@media (min-width: 601px) { .pm-track { flex-direction: row; } }
.pm-card { flex: 1; color: inherit; display: block; }
.pm-card-asset { aspect-ratio: 430/600; position: relative; overflow: hidden; }
.pm-card-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.33,1,.68,1); }
@media (hover: hover) { .pm-card:hover .pm-card-img { transform: scale(1.04); } }
.pm-card-gradient { pointer-events: none; background: linear-gradient(#0000 50%, #0000008c); position: absolute; inset: 0; }
.pm-badge {
  color: var(--color-fg-white);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
  border: 1px solid #fff6;
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
  top: 1.5rem; right: 1.5rem;
}
.pm-card-name { font-family: var(--font-sans); color: var(--color-fg-grey); margin-top: 1.5rem; font-size: 2rem; font-weight: 400; line-height: 1.3; }
.pm-card-sub { color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent); }

@media (max-width: 600px) { .fc-heading { font-size: 4rem; } }
@media (min-width: 601px) { .fc-heading { font-size: 8rem; } }
.fc-description { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); font-family: var(--font-sans); max-width: 50rem; font-size: 1.6rem; font-weight: 400; line-height: 1.5; }
@media (max-width: 600px) { .fc-description { margin-top: 1.5rem; } }
@media (min-width: 601px) { .fc-description { margin-top: 2rem; } }
.fc-nav { border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 15%, transparent); gap: 0; display: flex; }
@media (max-width: 600px) { .fc-nav { scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-top: 3rem; overflow-x: auto; } .fc-nav::-webkit-scrollbar { display: none; } }
@media (min-width: 601px) { .fc-nav { margin-top: 4rem; } }
.fc-nav-btn {
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent);
  border-bottom: none;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background .2s, color .2s, border-color .2s;
}
@media (max-width: 600px) { .fc-nav-btn { padding: 1.2rem 1.6rem; } }
@media (min-width: 601px) { .fc-nav-btn { padding: 1.5rem 2.4rem; } }
.fc-nav-btn.is-active { background: var(--color-fg-grey); border-color: var(--color-fg-grey); color: var(--color-fg-white); }
@media (hover: hover) { .fc-nav-btn:not(.is-active):hover { background: color-mix(in srgb, var(--color-fg-grey) 8%, transparent); color: var(--color-fg-grey); } }
.fc-grid { gap: 2rem; display: grid; }
@media (max-width: 600px) { .fc-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; } }
@media (min-width: 601px) { .fc-grid { grid-template-columns: repeat(4,1fr); margin-top: 4rem; } }
.fc-item { color: inherit; display: block; }
.fc-item.is-hidden { display: none; }
.fc-item-asset { aspect-ratio: 430/530; position: relative; overflow: hidden; }
.fc-item-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.33,1,.68,1); }
@media (hover: hover) { .fc-item:hover .fc-item-img { transform: scale(1.04); } }
.fc-item-info { justify-content: center; align-items: center; gap: 1rem; margin-top: 1.2rem; display: flex; }
.fc-item-name { color: var(--color-fg-grey); font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; line-height: 1.3; }
.fc-badge {
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 25%, transparent);
  color: color-mix(in srgb, var(--color-fg-grey) 60%, transparent);
  border-radius: 2rem;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .3rem .8rem;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 600px) { .br-heading { margin-bottom: 3rem; font-size: 4rem; } }
@media (min-width: 601px) { .br-heading { margin-bottom: 6rem; font-size: 8rem; } }
.br-table-head {
  border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  display: none;
}
@media (min-width: 601px) { .br-table-head { grid-template-columns: repeat(24,1fr); gap: 2rem; margin-bottom: 4rem; display: grid; } }
.br-table-head .br-th:first-child { grid-column: 1/11; }
.br-table-head .br-th:last-child { grid-column: 11/25; }
.br-group-title { color: var(--color-fg-grey); font-family: var(--font-sans); font-size: 2.4rem; font-weight: 400; line-height: 1.3; }
@media (max-width: 600px) {
  .br-group-title { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); margin-bottom: 1.5rem; padding-top: 2rem; }
}
@media (min-width: 601px) {
  .br-group { grid-template-columns: repeat(24,1fr); gap: 2rem; margin-bottom: 4rem; display: grid; }
  .br-group-title { grid-column: 1/11; padding-top: 1.4rem; }
  .br-list { grid-column: 11/25; }
}
.br-row { border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 10%, transparent); }
.br-row:first-child { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 10%, transparent); }
.br-row-link { color: inherit; justify-content: space-between; align-items: center; padding: 1.4rem 0; transition: opacity .2s; display: flex; }
@media (hover: hover) { .br-row-link:hover { opacity: .6; } }
.br-row-name { color: var(--color-fg-grey); font-family: var(--font-sans); align-items: center; gap: 1rem; font-size: 1.6rem; font-weight: 400; line-height: 1.3; display: flex; }
.br-premium {
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 25%, transparent);
  color: color-mix(in srgb, var(--color-fg-grey) 60%, transparent);
  border-radius: 2rem;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .2rem .7rem;
  font-size: 1rem;
  font-weight: 500;
}
.br-row-action {
  color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: .8rem;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
}

/* ---------- contact ---------- */
.ct-heading { background: var(--color-fg-cream); color: var(--color-fg-grey); }
@media (max-width: 600px) { .ct-heading { padding: 12rem 2rem 0; } }
@media (min-width: 601px) { .ct-heading { padding: 18rem 4rem 0; } }
.ct-heading-text { font-weight: 400; line-height: 1.1; }
@media (max-width: 600px) { .ct-heading-text { letter-spacing: -.02em; margin-top: 1.5rem; font-size: 4rem; } }
@media (min-width: 601px) { .ct-heading-text { letter-spacing: -.03em; margin-top: 2rem; font-size: 6.4rem; } }
.ct-heading-mask { padding-bottom: .15em; display: block; overflow: clip; }
.ct-heading-line { display: block; will-change: transform; }
.ct-details { background: var(--color-fg-cream); }
@media (max-width: 600px) { .ct-details { margin: 8rem 0; } }
@media (min-width: 601px) { .ct-details { margin: 15rem 0; } }
@media (max-width: 600px) { .cd-container { margin: 0 2rem; } }
@media (min-width: 601px) { .cd-container { margin: 0 4rem; } }
.cd-row { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .cd-row { margin-bottom: 4rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .cd-row { grid-column-gap: 2rem; margin-bottom: 10rem; padding-top: 2rem; } }
.cd-cols, .cd-row { grid-template-columns: repeat(2,1fr); display: grid; }
.cd-block:not(:last-child) { margin-bottom: 2rem; }
@media (max-width: 600px) { .cd-block { margin-top: 2rem; } }
.cd-block-label { line-height: 1.3; }
.cd-block-areas, .cd-block-label { font-family: var(--font-sans); font-size: 1.8rem; font-weight: 400; }
.cd-block-areas { margin-top: 1rem; line-height: 1.5; }
.cd-link { font-family: var(--font-mono); text-transform: uppercase; margin-top: 1rem; text-decoration: underline; transition: opacity .3s; display: inline-flex; }
@media (max-width: 600px) { .cd-link { letter-spacing: .1em; font-size: 1.4rem; font-weight: 600; line-height: 1.3; } }
@media (min-width: 601px) { .cd-link { letter-spacing: .08em; font-size: 1.2rem; font-weight: 500; line-height: 1.3; } }
@media (hover: hover) { .cd-link:hover { opacity: .6; } }

@media (max-width: 600px) { .text-asset { margin: 8rem 0; } }
@media (min-width: 601px) { .text-asset { margin: 15rem 0; } }
@media (max-width: 600px) { .ta-container { flex-direction: column; margin: 0 2rem; display: flex; } }
@media (min-width: 601px) { .ta-container { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); align-items: center; margin: 0 4rem; display: grid; } }
@media (max-width: 600px) { .ta-col-text { order: 1; } .ta-col-img { order: 2; margin-top: 4rem; } }
@media (min-width: 601px) { .ta-col-text { grid-column: 2/11; } .ta-col-img { grid-column: 13/25; } }
.ta-heading { font-family: var(--font-sans); font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .ta-heading { letter-spacing: -.02em; margin: 5rem 0; font-size: 3.2rem; } }
@media (min-width: 601px) { .ta-heading { letter-spacing: -.03em; margin: 1rem 0 7rem; font-size: 4.8rem; } }
@media (max-width: 600px) { .ta-content { margin: 3rem 0 2rem; } }
@media (min-width: 601px) { .ta-content { margin: 2rem 0; } }
.ta-title { margin-bottom: 2rem; }
.ta-richtext p { color: color-mix(in srgb, currentcolor 80%, transparent); font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; line-height: 1.3; }
.ta-richtext p strong { font-weight: 700; }
.ta-richtext p:not(:last-child) { margin-bottom: 2rem; }
.ta-img { object-fit: cover; object-position: center; width: 100%; height: auto; display: block; }

.ct-faq { background: var(--color-fg-cream); }
@media (max-width: 600px) { .ct-faq { margin: 8rem 0; } }
@media (min-width: 601px) { .ct-faq { margin: 15rem 0; } }
.cf-container { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (max-width: 600px) { .cf-container { margin: 0 2rem; padding-top: 1.5rem; } }
@media (min-width: 601px) { .cf-container { grid-column-gap: 2rem; grid-template-columns: repeat(24,1fr); margin: 0 4rem; padding-top: 2rem; display: grid; } }
@media (max-width: 600px) { .cf-title { margin-bottom: 5rem; } }
@media (min-width: 601px) { .cf-title { grid-column: 1/25; margin-bottom: 12rem; } }
.cf-heading { font-weight: 400; line-height: 1; }
@media (max-width: 600px) { .cf-heading { letter-spacing: -.02em; margin-bottom: 3rem; font-size: 3.2rem; } }
@media (min-width: 601px) { .cf-heading { letter-spacing: -.03em; grid-column: 1/9; font-size: 4.8rem; } }
.cf-blocks { border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); }
@media (min-width: 601px) { .cf-blocks { grid-column: 13/25; } }
.cf-block { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent); position: relative; overflow: hidden; }
.cf-trigger { color: inherit; font-family: inherit; font-size: inherit; text-align: left; width: 100%; position: relative; }
.cf-question { font-weight: 400; line-height: 1.3; display: block; }
@media (max-width: 600px) { .cf-question { margin: 2rem 0; padding-right: 4rem; font-size: 1.8rem; } }
@media (min-width: 601px) { .cf-question { margin: 3rem 0; padding-right: 10rem; font-size: 2rem; } }
.cf-plus { flex-shrink: 0; width: 1rem; height: 1rem; transition: transform .4s cubic-bezier(.33,1,.68,1); }
@media (max-width: 600px) { .cf-plus { position: absolute; top: 2.5rem; right: 0; } }
@media (min-width: 601px) { .cf-plus { position: absolute; top: 4rem; right: 3rem; } }
.cf-block.is-open .cf-plus { transform: rotate(45deg); }
.cf-body { height: 0; overflow: hidden; }
.cf-richtext { font-size: 1.8rem; line-height: 1.3; }
@media (max-width: 600px) { .cf-richtext { padding: 0 5.8rem 6rem 0; } }
@media (min-width: 601px) { .cf-richtext { padding: 0 19.2rem 3rem 0; } }

/* ---------- project (case study) pages ---------- */
.sp-hero { background: var(--color-fg-cream); width: 100%; padding: clamp(160px, 22vh, 280px) clamp(32px, 5vw, 80px) 0; }
.sp-hero, .sp-hero__stack { flex-direction: column; align-items: center; display: flex; }
.sp-hero__stack { text-align: center; gap: 0; max-width: 800px; margin-bottom: clamp(48px, 6vh, 80px); }
.sp-hero__eyebrow {
  color: color-mix(in srgb, currentcolor 35%, transparent);
  margin: 0 0 clamp(16px, 2vh, 28px);
  font-family: var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.sp-hero__title {
  color: color-mix(in srgb, currentcolor 88%, transparent);
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: -.03em;
  will-change: opacity, transform;
  font-size: clamp(4.2rem, 6.5vw, 10rem);
  font-weight: 300;
  line-height: 1.02;
}
.sp-hero__tagline {
  color: color-mix(in srgb, currentcolor 40%, transparent);
  margin: clamp(16px, 2vh, 28px) 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 1.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.6;
}
.sp-hero__image {
  aspect-ratio: 16/10;
  background-color: color-mix(in srgb, var(--color-fg-grey) 10%, var(--color-fg-cream));
  width: 100%;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.sp-hero__img { will-change: transform; position: absolute; inset: -12% 0; }
.sp-cover-img { object-fit: cover; position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-text { border-top: 1px solid color-mix(in srgb, currentcolor 7%, transparent); width: 100%; padding: clamp(60px, 10vh, 120px) clamp(32px, 5vw, 80px); }
.sp-text__inner { grid-template-columns: 5fr 6fr; gap: clamp(40px, 5vw, 100px); max-width: 1100px; margin: 0 auto; display: grid; }
.sp-text__left { flex-direction: column; gap: clamp(16px, 2vh, 24px); display: flex; }
.sp-text__label {
  color: color-mix(in srgb, currentcolor 35%, transparent);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.sp-text__heading {
  color: color-mix(in srgb, currentcolor 88%, transparent);
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  font-size: clamp(2.4rem, 2.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.2;
}
.sp-text__right { flex-direction: column; gap: clamp(16px, 2vh, 24px); padding-top: clamp(32px, 4vh, 48px); display: flex; }
.sp-text__body {
  color: color-mix(in srgb, currentcolor 45%, transparent);
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  font-weight: 400;
  line-height: 1.7;
}
.sp-asset { width: 100%; padding: clamp(60px, 8vh, 100px) clamp(32px, 5vw, 80px); }
.sp-asset__frame {
  aspect-ratio: 16/9;
  background-color: color-mix(in srgb, var(--color-fg-grey) 10%, var(--color-fg-cream));
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.sp-asset__img { will-change: transform; position: absolute; inset: -12% 0; }
.sp-duo { width: 100%; padding: clamp(60px, 8vh, 100px) clamp(32px, 5vw, 80px); }
.sp-duo__inner { align-items: start; gap: clamp(12px, 1.5vw, 24px); max-width: 1100px; margin: 0 auto; display: grid; }
.sp-duo--wide-left { grid-template-columns: 7fr 4fr; }
.sp-duo--wide-right { grid-template-columns: 4fr 7fr; }
.sp-duo__block { background-color: color-mix(in srgb, var(--color-fg-grey) 10%, var(--color-fg-cream)); position: relative; overflow: hidden; }
.sp-duo__block--wide { aspect-ratio: 3/5; }
.sp-duo__block--narrow { aspect-ratio: 4/5; align-self: start; position: sticky; top: 100px; }
.sp-duo__img { will-change: transform; position: absolute; inset: -12% 0; }
.sp-list { width: 100%; padding: clamp(80px, 12vh, 140px) clamp(32px, 5vw, 80px); }
.sp-list__inner { flex-direction: column; width: 100%; max-width: 1100px; margin: 0 auto; display: flex; }
.sp-list__eyebrow {
  color: color-mix(in srgb, currentcolor 50%, transparent);
  font-size: 1.1rem;
  font-family: var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 clamp(40px, 5vh, 64px);
  font-weight: 400;
  line-height: 1;
}
.sp-list__items { flex-direction: column; display: flex; }
.sp-list__item {
  border-top: 1px solid color-mix(in srgb, currentcolor 10%, transparent);
  justify-content: space-between;
  align-items: baseline;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(20px, 2.5vh, 32px) 0;
  display: flex;
}
.sp-list__item:last-child { border-bottom: 1px solid color-mix(in srgb, currentcolor 10%, transparent); }
.sp-list__name {
  color: color-mix(in srgb, currentcolor 88%, transparent);
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  font-size: clamp(2rem, 2.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.2;
}
.sp-list__desc {
  color: color-mix(in srgb, currentcolor 50%, transparent);
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: -.005em;
  text-align: right;
  max-width: 320px;
  font-size: clamp(1.3rem, 1.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
}
.sp-next { contain: layout style paint; height: 100vh; overflow: hidden; }
.sp-next, .sp-next__link { width: 100%; position: relative; }
.sp-next__link { height: 100%; color: inherit; cursor: pointer; display: block; }
.sp-next__asset { z-index: 1; will-change: transform; inset: 0; overflow: hidden; }
.sp-next__asset, .sp-next__img { position: absolute; transform: translateZ(0); }
.sp-next__img { inset: -5% 0; }
.sp-next__img .sp-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-next__name {
  z-index: 2;
  text-align: center;
  pointer-events: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vh, 24px);
  display: flex;
  position: absolute;
  inset: 0;
}
.sp-next__label {
  color: #ffffff80;
  font-family: var(--font-mono);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.sp-next__title {
  color: #ffffffeb;
  font-family: var(--font-sans);
  letter-spacing: -.03em;
  text-shadow: 0 2px 40px #0000004d;
  margin: 0;
  font-size: clamp(4.8rem, 8vw, 12rem);
  font-weight: 300;
  line-height: 1;
}
@media (max-width: 768px) {
  .sp-hero { padding: 140px 24px 0; }
  .sp-hero__image { aspect-ratio: 3/4; }
  .sp-text__inner { grid-template-columns: 1fr; gap: 24px; }
  .sp-text__right { padding-top: 0; }
  .sp-asset { padding: 40px 24px; }
  .sp-asset__frame { aspect-ratio: 4/3; }
  .sp-duo { padding: 40px 24px; }
  .sp-duo--wide-left, .sp-duo--wide-right { grid-template-columns: 1fr; }
  .sp-duo__block--narrow, .sp-duo__block--wide { aspect-ratio: 4/3; position: static; }
  .sp-list__item { flex-direction: column; gap: 6px; }
  .sp-list__desc { text-align: left; max-width: none; }
}

/* ---------- legal pages ---------- */
.legal-updated {
  color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 600px) { .legal-updated { margin-top: 2rem; } }
@media (min-width: 601px) { .legal-updated { margin-top: 3rem; } }
.legal-content { background: var(--color-fg-cream); }
@media (max-width: 600px) { .legal-content { padding: 6rem 0 8rem; } }
@media (min-width: 601px) { .legal-content { padding: 10rem 0 15rem; } }
@media (max-width: 600px) { .legal-container { margin: 0 2rem; } }
@media (min-width: 601px) { .legal-container { max-width: 72rem; margin: 0 auto; padding: 0 4rem; } }
.legal-block { border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 12%, transparent); }
@media (max-width: 600px) { .legal-block { padding: 3rem 0; } }
@media (min-width: 601px) { .legal-block { padding: 4rem 0; } }
.legal-heading { color: var(--color-fg-grey); font-family: var(--font-sans); font-weight: 400; line-height: 1.2; }
@media (max-width: 600px) { .legal-heading { margin-bottom: 1.5rem; font-size: 2rem; } }
@media (min-width: 601px) { .legal-heading { margin-bottom: 2rem; font-size: 2.4rem; } }
.legal-text { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); font-family: var(--font-sans); font-weight: 400; line-height: 1.6; }
@media (max-width: 600px) { .legal-text { font-size: 1.5rem; } }
@media (min-width: 601px) { .legal-text { font-size: 1.6rem; } }
.legal-text:not(:last-child) { margin-bottom: 1.5rem; }

/* ---------- quote panel ---------- */
.qp-scene { position: relative; }
.qp-content { transition: transform .7s cubic-bezier(.76,0,.24,1); }
.qp-scene.is-open .qp-content { pointer-events: none; }
@media (max-width: 600px) { .qp-scene.is-open .qp-content { transform: translate(-15vw); } }
@media (min-width: 601px) { .qp-scene.is-open .qp-content { transform: translate(-18vw); } }
.qp-overlay {
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  background: #0000004d;
  transition: opacity .5s cubic-bezier(.76,0,.24,1);
  position: fixed;
  inset: 0;
}
.qp-scene.is-open .qp-overlay { opacity: 1; pointer-events: auto; }
.qp-panel {
  background: var(--color-fg-cream);
  color: var(--color-fg-grey);
  will-change: transform;
  z-index: 1000;
  flex-direction: column;
  transition: transform .7s cubic-bezier(.76,0,.24,1);
  display: flex;
  position: fixed;
  top: 0; bottom: 0; right: 0;
  overflow-y: auto;
  transform: translate(100%);
}
.qp-scene.is-open .qp-panel { transform: translate(0); }
@media (max-width: 600px) { .qp-panel { width: 100%; } }
@media (min-width: 601px) { .qp-panel { width: 50%; } }
.qp-header {
  border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 15%, transparent);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
@media (max-width: 600px) { .qp-header { padding: 2rem; } }
@media (min-width: 601px) { .qp-header { padding: 2.5rem 4rem; } }
.qp-title { font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.qp-close {
  border: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  color: var(--color-fg-grey);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 4rem; height: 4rem;
  transition: border-color .3s, background .3s;
  display: flex;
}
@media (hover: hover) {
  .qp-close:hover { background: color-mix(in srgb, var(--color-fg-grey) 8%, transparent); border-color: color-mix(in srgb, var(--color-fg-grey) 40%, transparent); }
}
.qp-close svg { width: 1.1rem; height: 1.1rem; }
.qp-body { flex-direction: column; flex: 1; display: flex; }
@media (max-width: 600px) { .qp-body { padding: 3rem 2rem 4rem; } }
@media (min-width: 601px) { .qp-body { padding: 4rem; } }
.qp-intro { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); font-family: var(--font-sans); margin-bottom: 3rem; font-size: 1.6rem; font-weight: 400; line-height: 1.5; }
.qp-form { gap: 2rem; }
.qp-field, .qp-form { flex-direction: column; display: flex; }
.qp-label { color: var(--color-fg-grey); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; font-size: 1.2rem; font-weight: 500; }
.qp-input {
  background: none;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-fg-grey) 20%, transparent);
  color: var(--color-fg-grey);
  font-family: var(--font-sans);
  outline: none;
  padding: 1rem 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .3s;
}
.qp-input::placeholder { color: color-mix(in srgb, var(--color-fg-grey) 35%, transparent); }
.qp-input:focus { border-color: var(--color-fg-grey); }
.qp-textarea { resize: vertical; min-height: 10rem; }
.qp-submit {
  background: var(--color-fg-grey);
  color: var(--color-fg-cream);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  padding: 1.8rem 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
}
.qp-submit-arrow { width: 1.4rem; height: 1.1rem; }
.qp-contact {
  border-top: 1px solid color-mix(in srgb, var(--color-fg-grey) 15%, transparent);
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
  padding-top: 3rem;
  display: flex;
}
.qp-contact-label { color: color-mix(in srgb, var(--color-fg-grey) 50%, transparent); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5rem; font-size: 1.2rem; font-weight: 500; }
.qp-contact-link { color: var(--color-fg-grey); font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; line-height: 1.5; transition: opacity .3s; }
@media (hover: hover) { .qp-contact-link:hover { opacity: .6; } }
.qp-success { flex-direction: column; align-items: flex-start; padding-top: 2rem; display: none; }
.qp-success.is-visible { display: flex; }
.qp-success-heading { font-family: var(--font-sans); letter-spacing: -.02em; margin-bottom: 1.5rem; font-size: 3.2rem; font-weight: 400; line-height: 1.1; }
.qp-success-text { color: color-mix(in srgb, var(--color-fg-grey) 70%, transparent); font-size: 1.6rem; line-height: 1.5; font-family: var(--font-sans); font-weight: 400; }

/* ---------- reveal helpers ---------- */
.cta-animate { opacity: 0; }
html.no-js .cta-animate, html.still .cta-animate { opacity: 1 !important; transform: none !important; }

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