/* Subtle Asset Management — site theme.
   Minimal, restrained palette: ink on white with one deep-navy accent. Serif headings (Newsreader)
   over a neutral sans (Inter), both from Google Fonts. */

:root {
  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ink: #16181c;
  --muted: #5d636b;
  --rule: #e3e1dc;
  --paper: #ffffff;
  --paper-alt: #f6f5f2;
  --accent: #1c2b3f;
  --accent-hover: #0d1522;
  --black: var(--ink);
  --white: var(--paper);
  --gutter: max(24px, 5vw);
  --content: 1200px;
  --col-pad: 17px;
  --header-h: 88px;

  --h1: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
  --h2: clamp(1.85rem, 1.3rem + 1.7vw, 2.75rem);
  --h3: clamp(1.4rem, 1.1rem + .9vw, 1.85rem);
  --h4: clamp(1.15rem, 1rem + .4vw, 1.35rem);
  --p-large: clamp(1.075rem, 1rem + .3vw, 1.25rem);
  --p: 1rem;
  --p-small: .85rem;
}

/* Section themes (names kept from the Squarespace export). */
.theme-light  { --bg: var(--paper); --fg: var(--ink); --link: var(--accent); --btn-bg: var(--accent); --btn-fg: var(--paper); }
.theme-white  { --bg: var(--paper); --fg: var(--ink); --link: var(--accent); --btn-bg: var(--accent); --btn-fg: var(--paper); }
.theme-dark   { --bg: var(--ink);   --fg: var(--paper); --link: var(--paper); --btn-bg: var(--paper); --btn-fg: var(--ink); }
.theme-bright { --bg: var(--paper-alt); --fg: var(--ink); --link: var(--ink); --btn-bg: var(--accent); --btn-fg: var(--paper); }
.theme-alt    { --bg: var(--paper-alt); --fg: var(--ink); --link: var(--accent); --btn-bg: var(--accent); --btn-fg: var(--paper); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--p);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip-link:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; letter-spacing: -.01em; margin: 2rem 0 1rem; }
h1 { font-size: var(--h1); line-height: 1.12; }
h2 { font-size: var(--h2); line-height: 1.18; }
h3 { font-size: var(--h3); line-height: 1.25; }
h4 { font-size: var(--h4); line-height: 1.3; }
p { margin: 1rem 0; white-space: pre-wrap; }
h1, h2, h3, h4 { white-space: pre-wrap; }
.sqsrte-large { font-size: var(--p-large); line-height: 1.6; color: var(--muted); }
.sqsrte-small { font-size: var(--p-small); line-height: 1.8; }
ul, ol { padding-left: 2em; margin: 1rem 0; }
li > p { margin: .5rem 0; }
blockquote { margin: 2rem 0; padding: 0; font-size: var(--p-large); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--btn-bg, var(--accent));
  border-radius: 2px;
  cursor: pointer;
  background: var(--btn-bg, var(--accent));
  color: var(--btn-fg, var(--white));
  padding: 1em 1.6em;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--paper); }
.btn-small { font-size: .825rem; padding: .8em 1.3em; }
.btn-large { font-size: 1rem; padding: 1.05em 1.9em; }
.btn-ghost, .sec .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .sec .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-wrap.align-center { text-align: center; }
.btn-wrap.align-right { text-align: right; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg); color: var(--fg);
  border-bottom: 1px solid var(--rule);
  transition: transform .3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 2rem;
  max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto;
  padding: 22px var(--gutter);
}
.logo { margin-right: auto; text-decoration: none; color: var(--ink); }
.wordmark { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.nav-desktop { display: flex; gap: 1.75rem; font-size: .925rem; line-height: 1.8; }
.nav-login { font-size: .925rem; text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav-login:hover { color: var(--ink); }
.nav-desktop a, .menu-overlay nav > a:not(.btn) { text-decoration: none; color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s ease; }
.nav-desktop a:hover, .nav-desktop a.active { background-size: 100% 1px; }
.header-cta { white-space: nowrap; }
.site-header .btn { background: var(--accent); color: var(--white); }
.site-header .btn:hover { background: var(--accent-hover); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: var(--fg); transition: transform .2s ease; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-overlay {
  position: fixed; inset: 0; background: var(--bg); z-index: 1;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: .6em; font-family: var(--font-head); font-size: 1.75rem; }
.menu-overlay nav .btn { font-family: var(--font-body); }
.menu-overlay .btn { margin-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- sections */

.sec { position: relative; background: var(--bg); color: var(--fg); }
.sec a { color: var(--link); }
.sec .btn { color: var(--btn-fg); background: var(--btn-bg); }
/* Every section shares the header's centred content column. */
.sec-content { padding: 0 var(--gutter); max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; box-sizing: border-box; }
.sec.h-small  .sec-content { padding-top: clamp(20px, 2.5vw, 40px); padding-bottom: clamp(20px, 2.5vw, 40px); }
.sec.h-medium .sec-content { padding-top: clamp(32px, 4vw, 64px);   padding-bottom: clamp(32px, 4vw, 64px); }
.sec.h-large  .sec-content { padding-top: clamp(48px, 6vw, 96px);   padding-bottom: clamp(48px, 6vw, 96px); }
/* Section heights are minimums (33/66/100vh) with the content placed by the vertical alignment. */
.sec.h-small, .sec.h-medium, .sec.h-large { display: flex; flex-direction: column; justify-content: center; }
/* Sections size to their content (the Squarespace 33/66/100vh minimums left large blank gaps). */
.sec.h-small, .sec.h-medium, .sec.h-large { min-height: 0; }
.sec.va-top { justify-content: flex-start; }
.sec.va-bottom { justify-content: flex-end; }
.sec > .sec-content { width: 100%; }
main > .sec:first-child .sec-content { padding-top: calc(var(--header-h) + clamp(40px, 5vw, 80px)); }
main > .sec.h-small:first-child  { --pad-top: 5.2vw; }
main > .sec.h-large:first-child { padding-top: var(--header-h); }
main > .sec.h-large:first-child > .sec-content { padding-top: 10vw; }
.sec.sec-bloglist .sec-content { padding-top: 20px; padding-bottom: 56px; }
main > .sec-bloglist:first-child .sec-content,
main > .sec-portfolio:first-child .sec-content { padding-top: calc(var(--header-h) + 3.3vw); }
main:empty { min-height: 60vh; }
main:empty::before { content: ""; display: block; height: var(--header-h); }
/* Content width applies to the layout; it hugs the side picked by the section's horizontal alignment. */
.sec.w-medium .layout { max-width: 75%; }
.sec.w-narrow .layout { max-width: 50%; }
.sec.ha-center .layout { margin-left: auto; margin-right: auto; }
.sec.ha-right .layout { margin-left: auto; }
.sec.ha-center .rte { text-align: inherit; }

/* Squarespace classic 12-column layout */
.layout > .row, .row { display: flex; margin: 0 calc(var(--col-pad) * -1); }
.row .row { margin: 0; }
.col { flex: 0 0 var(--w); max-width: var(--w); min-width: 0; }
.block { padding: var(--col-pad); position: relative; }
.block.float-right { float: right; width: var(--w); margin-left: var(--col-pad); }
.block.float-left { float: left; width: var(--w); margin-right: var(--col-pad); }
.layout::after, .col::after { content: ""; display: table; clear: both; }
.spacer { height: var(--h); }
/* Squarespace drops the top padding of blocks on the layout's top edge, and the vertical padding of a lone spacer/divider there. */
.block.edge { padding-top: 0; }
.block.edge.lone { padding-bottom: 0; }

.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte a { color: var(--link); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.theme-light .rte a, .theme-dark .rte a { text-decoration: none; }
.theme-light .rte a:hover, .theme-dark .rte a:hover { text-decoration: underline; }
.rte h1 a, .rte h2 a, .rte h3 a, .rte h4 a { color: var(--link); }

hr { border: 0; border-top: 1px solid var(--rule); margin: 8px 0; }

/* images */
figure { margin: 0; }
.img { margin: 0 auto; }
.img img { width: 100%; }
.img-box.ratio { position: relative; padding-bottom: var(--ratio); overflow: hidden; }
.img-box.ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img figcaption { margin-top: 1rem; }
.img figcaption > :first-child { margin-top: 0; }
/* Collage image: photo on 70% of the width, white text card overlapping on the other half. */
.img-collage { position: relative; display: flex; }
.img-collage .collage-img { width: 70%; }
.img-collage.pos-right .collage-img { margin-left: auto; }
.img-collage .collage-img img { width: 100%; height: auto; }
.img-collage .collage-card { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; display: flex; align-items: center; }
.img-collage.pos-right .collage-card { right: auto; left: 0; }
.card-inner { background: var(--white); color: var(--black); padding: 5%; width: 100%; }
.collage-title > * { display: inline; margin: 0; }
.collage-title > p:empty { display: none; }
.collage-sub { margin-top: 1rem; }
.collage-sub > :first-child { margin-top: 0; }
.collage-sub > :last-child { margin-bottom: 0; }

/* video */
.video { position: relative; }
.video video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.video.embed { aspect-ratio: 4 / 3; }
.video.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption > :first-child { margin-top: 1rem; }
.video-caption p { margin: 1rem 0; }

/* code / embeds */
.code iframe { border: 0; }

/* social icons */
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: inline-flex; width: 24px; height: 24px; color: var(--fg); }
.social svg { width: 100%; height: 100%; fill: currentColor; }

/* embedded CRM forms (homepage email box, Sell Your Property) */
.crm-form { display: block; width: 100%; border: 0; background: transparent; }
.newsletter { margin: 69px 0 50px; }
.newsletter .crm-form { max-width: 472px; margin-left: -16px; }

/* summary block */
.sum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 3rem 40px; }
.summary.align-center { text-align: center; }
.sum-thumb { display: block; overflow: hidden; margin-bottom: 1rem; }
.design-autogrid .sum-thumb { aspect-ratio: var(--thumb-ratio); }
.sum-thumb img { width: 100%; transition: transform .4s ease; }
.design-autogrid .sum-thumb img { height: 100%; object-fit: cover; }
.sum-thumb:hover img { transform: scale(1.03); }
.sum-title { font-family: var(--font-head); font-weight: 400; font-size: 1.1rem; line-height: 1.3; }
.sum-title a, .sec .sum-title a { color: var(--fg); text-decoration: none; }
.sum-excerpt { font-size: .8rem; line-height: 1.6; margin-top: .6rem; }
.sum-excerpt p { margin: 0; }
.sum-more, .sec .sum-more { display: inline-block; margin-top: .6rem; font-size: .8rem; color: var(--fg); text-decoration: none; }

/* blog list */
.bloglist { --cols: var(--cols-d, 3); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 100px 150px; text-align: center; }
.bloglist.bl-masonry { display: flex; gap: 150px; align-items: flex-start; }
.bl-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 133px; }
.bloglist.bl-grid { gap: 43px 60px; }
.bl-img { display: block; margin-bottom: 40px; }
.bl-img img { width: 100%; }
.bl-grid .bl-img { aspect-ratio: 3 / 4; overflow: hidden; }
.bl-grid .bl-img img { height: 100%; object-fit: cover; }
.bl-title { font-size: var(--h3); line-height: 1.4; margin: 0; }
.bl-title a, .sec .bl-title a { color: var(--fg); text-decoration: none; }
.bl-excerpt { margin-top: 20px; font-size: .9rem; }
.bl-excerpt p { margin: 0; }
.bl-more, .sec .bl-more { display: inline-block; margin-top: 10px; font-size: .9rem; color: var(--link); }

/* blog post */
main > .sec-blogitem:first-child .sec-content { padding-top: calc(var(--header-h) + 3.3vw + 11px); padding-bottom: 0; }
.post { max-width: max(600px, 47vw); margin: 0 auto; padding-bottom: 59px; }
.post-title { font-size: var(--h3); line-height: 1.4; margin: 0 0 33px; }
.post-body { margin: 0 calc(var(--col-pad) * -1); }
.post-body > .row { margin: 0; }
.post-body ul, .post-body ol { padding-left: 40px; }
.item-pagination { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: var(--gutter) 0; }
.item-pagination a, .sec .item-pagination a { display: flex; align-items: center; gap: 22px; max-width: 48%; color: var(--fg); text-decoration: none; }
.item-pagination .pg-next { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.pg-title { font-family: var(--font-head); font-weight: 400; font-size: var(--h3); line-height: 1; }
.chev { flex: none; width: 9px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pg-next .chev { transform: scaleX(-1); }

/* portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 49px; }
.pf-item { position: relative; display: block; aspect-ratio: 4 / 3; text-decoration: none; color: var(--fg); background: rgba(0, 0, 0, .04); }
.pf-item .pf-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pf-item h3 { position: absolute; left: 1.5rem; bottom: 1rem; margin: 0; font-size: var(--h4); }

/* gallery slideshow (homepage "Recent Projects") */
/* Squarespace sizes the slideshow section to the viewport height (measured: 100vh - 173px). */
.sec.sec-gallery { --img-h: calc(var(--gh) + var(--gutter)); min-height: 0; justify-content: flex-start; }
.sec.sec-gallery .sec-content { padding: var(--gutter) 0 0; min-height: calc(100vh - 173px); max-width: none; }
.slideshow { position: relative; display: flex; align-items: flex-start; }
.ss-track { position: relative; flex: 1; height: calc(var(--img-h) + 77px); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; display: flex; flex-direction: column; align-items: center; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { height: var(--img-h); width: auto; max-width: 100%; object-fit: contain; }
.slide figcaption { margin-top: 26px; font-size: .9rem; text-align: center; }
.ss-prev, .ss-next { margin-top: calc(var(--img-h) / 2 - 22px); }
.slide figcaption p { margin: 0; }
.ss-prev, .ss-next { flex: 0 0 auto; width: 3vw; min-width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; color: var(--fg); }
.ss-prev::before, .ss-next::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: solid currentColor; border-width: 0 0 1px 1px; transform: translate(-25%, -50%) rotate(45deg); }
.ss-next::before { transform: translate(-75%, -50%) rotate(-135deg); }

/* footer */
.site-footer .h4, .site-footer h4 { margin: 0; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .nav-desktop { gap: 1.25rem; }
  .wordmark { font-size: 1.2rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 92px; }
  .nav-desktop, .header-cta, .nav-login { display: none; }
  .burger { display: block; }
  .header-inner { padding: 18px var(--gutter); }
  .bloglist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 40px; }
  .bloglist.bl-masonry { --cols: 2; gap: 40px; }
  .bl-col { gap: 60px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .wordmark { font-size: 1.1rem; }
  .row, .layout > .row { display: block; margin: 0; }
  .col { max-width: none; }
  /* Phones keep the 17px vertical block padding, including on the layout's top edge. */
  .block, .block.edge, .block.edge.lone { padding: var(--col-pad) 0; }
  .btn { font-size: 15px; }
  .block.float-right, .block.float-left { float: none; width: auto; margin: 0; }
  .block-spacer { display: none; }
  .sec.h-small  .sec-content { padding-top: 16px; padding-bottom: 16px; }
  .sec.h-medium .sec-content { padding-top: 32px; padding-bottom: 32px; }
  .sec.h-large  .sec-content { padding-top: 48px; padding-bottom: 48px; }
  main > .sec:first-child .sec-content { padding-top: calc(var(--header-h) + 8vw); }
  main > .sec.h-large:first-child > .sec-content { padding-top: 21.65vw; }
  .newsletter { margin-bottom: 51px; }
  .sec.w-medium .layout, .sec.w-narrow .layout { max-width: none; }
  .post-body { margin: 0; }
  .bloglist { grid-template-columns: minmax(0, 1fr); }
  .bloglist.bl-masonry { --cols: 1; }
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .img-collage { flex-direction: column; }
  .img-collage .collage-img { width: 100%; }
  .img-collage .collage-card { position: static; width: 100%; }
  .card-inner { padding: 1.5rem; }
  .sec.sec-gallery { --img-h: calc(50vh - 53px); }
  .sec.sec-gallery .sec-content { min-height: 0; padding-bottom: 41px; }
  .item-pagination { flex-direction: column; }
  .item-pagination a { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* How It Works steps */
.how-it-works .step { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.how-it-works .step-label { color: var(--muted); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .5rem; }
.how-it-works .step h3 { margin: 0 0 1rem; }

/* ---------------------------------------------------------------- minimal page components
   Used by the hand-made homepage, portfolio page and footer (tools/overrides/). */

.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.band { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--rule); }
.band:first-child { border-top: 0; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); }
.band.alt { background: var(--paper-alt); }
.band h1, .band h2, .band h3 { margin: 0; }
.band p { white-space: normal; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
.lede { font-size: var(--p-large); line-height: 1.6; color: var(--muted); max-width: 40em; margin: 1.5rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.5rem; }
.text-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-weight: 500; font-size: .95rem; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(40px, 5vw, 64px); }

.hero h1 { max-width: 15em; font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); line-height: 1.06; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.stat { padding: 0 2rem; border-left: 1px solid var(--rule); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { font-family: var(--font-head); font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -.02em; }
.stat dt sup { font-family: var(--font-body); font-size: .8rem; vertical-align: top; margin-left: 2px; color: var(--muted); }
.stat dd { margin: 1rem 0 0; color: var(--muted); max-width: 18em; }
.footnote { font-size: .8rem; color: var(--muted); margin: 2.5rem 0 0; max-width: 60em; }

.strategies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.strategy { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.strategy .num { font-size: .8rem; color: var(--muted); letter-spacing: .08em; margin: 0 0 2.5rem; }
.strategy h3 { font-size: var(--h4); margin: 0 0 .75rem; }
.strategy p { margin: 0; color: var(--muted); }

.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-row .newsletter { margin: 0; }
.cta-row .newsletter .crm-form { margin-left: 0; max-width: none; }

/* portfolio */
.projects { display: grid; gap: clamp(56px, 8vw, 112px); }
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.project-media { background: var(--paper-alt); aspect-ratio: 4 / 3; overflow: hidden; }
.project-media img, .project-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--paper-alt); }
.project-media.contain img { object-fit: contain; background: var(--paper); }
.project-media.video { aspect-ratio: 16 / 9; }
.project-media.video video { object-fit: contain; background: #000; }
.project-media + figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.project h2 { font-size: var(--h3); margin: 0 0 .25rem; }
.project .where { color: var(--muted); margin: 0 0 2rem; }
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }

/* footer */
.site-footer { background: var(--paper-alt); color: var(--ink); border-top: 1px solid var(--rule); font-size: .9rem; }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand p { color: var(--muted); margin: 0 0 1.25rem; max-width: 22em; white-space: normal; }
.footer-brand .social a { color: var(--muted); }
.footer-brand .social a:hover { color: var(--ink); }
.footer-col h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: .2em; }
.disclosure { margin-top: clamp(48px, 6vw, 72px); padding-top: 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .78rem; line-height: 1.65; }
.disclosure h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .75rem; color: var(--ink); }
.disclosure p { margin: 0 0 .75rem; white-space: normal; max-width: 75em; }
.legal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .78rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .project, .cta-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .stats, .strategies { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .stat { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .stat:first-child { padding-top: 0; border-top: 0; }
  .band-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* invest with us */
.wrap.narrow { max-width: 760px; }
.form-panel { margin-top: 3rem; }
.form-terms { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .8rem; line-height: 1.65; color: var(--muted); }
.form-terms h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 .75rem; }
.form-terms p { white-space: normal; margin: 0; }

/* logo lockup: SAM mark + name */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 20px; width: auto; }
.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand .logo img { height: 18px; }
@media (max-width: 767px) { .site-header .logo img { height: 16px; } }
