/* Casa Bassett — landing page v0 */
:root {
  --bone: #f5f0e8;
  --cream: #ece4d7;
  --sand: #d9cbb8;
  --clay: #c79a74;
  --bronze: #9a6b3f;
  --ink: #15110d;
  --espresso: #3a2f27;
  --night: #0a0807;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --arch: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .95rem + .22vw, 1.14rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--bronze); color: var(--white); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bone); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin-inline: auto; }
.section { padding: clamp(84px, 11vw, 176px) var(--gutter); }
.section--dark { background: var(--ink); color: var(--bone); }

/* ── Type ── */
.label, .eyebrow {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 400;
  color: var(--bronze); display: flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.eyebrow i { font-style: normal; opacity: .6; }
.section--dark .label, .contact .label { color: var(--clay); }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.012em;
}
.display em, .statement em, .hero__title em { color: var(--bronze); }
.section--dark em, .contact em { color: var(--clay); }
.body { max-width: 36em; color: var(--espresso); }
.body + .body { margin-top: 1em; }

/* ── Buttons & links ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.15em 2.2em; border: 1px solid currentColor; border-radius: 999px;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--solid:hover { background: var(--bronze); border-color: var(--bronze); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--light:hover { background: var(--clay); border-color: var(--clay); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7em; text-decoration: none;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

.pill {
  display: inline-block; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 400;
  padding: .7em 1.3em; border-radius: 999px; background: var(--clay); color: var(--ink);
}
.pill--outline { background: none; color: var(--clay); border: 1px solid rgba(199, 154, 116, .5); }

/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: background .4s, padding .4s var(--ease), box-shadow .4s, color .3s;
}
.site-header.is-scrolled {
  background: rgba(245, 240, 232, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 13px; box-shadow: 0 1px 0 rgba(21, 17, 13, .08);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: .8rem; letter-spacing: .38em; text-transform: uppercase; font-weight: 400; white-space: nowrap; }
.mark { width: 20px; height: 25px; flex: none; }
.nav { display: flex; gap: clamp(18px, 3vw, 46px); }
.nav a { position: relative; padding: 6px 0; text-decoration: none; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .9em 1.8em; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--bone); display: grid; align-items: center; padding: 96px var(--gutter) 48px; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.25; }
.menu a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .28em; color: var(--clay); }
.menu-open .site-header { color: var(--bone); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open body { overflow: hidden; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center;
  gap: clamp(28px, 6vw, 110px);
  padding: clamp(112px, 15vh, 170px) var(--gutter) clamp(84px, 11vh, 120px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 6%; width: 62%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(199, 154, 116, .26), transparent);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.5rem, 9vw, 9.4rem); line-height: .88; letter-spacing: -.022em;
  margin: .3em 0 .34em;
}
.hero__lede { max-width: 33em; font-size: clamp(1.04rem, 1rem + .38vw, 1.32rem); line-height: 1.6; color: var(--espresso); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 2.4em; }
.hero__art { position: relative; justify-self: end; width: min(100%, 540px, max(300px, (100svh - 262px) * .72)); }
.hero__main { aspect-ratio: 3 / 4.15; overflow: hidden; border-radius: var(--arch); background: var(--sand); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 20%; }
.hero__detail {
  position: absolute; left: -17%; bottom: 7%; width: 38%; aspect-ratio: 4 / 5; overflow: hidden;
  border: 8px solid var(--bone); background: var(--sand);
  box-shadow: 0 34px 60px -34px rgba(21, 17, 13, .55);
}
.hero__detail img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; top: -5%; right: -8%; width: clamp(104px, 11vw, 150px); color: var(--ink); animation: spin 30s linear infinite; }
.badge text { font-family: var(--sans); font-size: 12.5px; font-weight: 400; fill: currentColor; }
.hero__index { position: absolute; left: var(--gutter); bottom: 30px; display: flex; gap: 38px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; }
.hero__index span { color: var(--bronze); margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Marquee ── */
.marquee { overflow: hidden; border-block: 1px solid rgba(21, 17, 13, .14); padding: clamp(14px, 2vw, 26px) 0; }
.marquee__track {
  display: flex; align-items: center; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 4.2vw, 3.8rem); line-height: 1.2;
  animation: marquee 44s linear infinite;
}
.marquee__track > * { margin-right: clamp(26px, 3.6vw, 60px); flex: none; }
.marquee__track i { width: .4em; height: .54em; border: 1px solid var(--bronze); border-bottom: 0; border-radius: var(--arch); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── House ── */
.house__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(36px, 7vw, 130px); align-items: center; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.95rem, 3.7vw, 3.6rem); line-height: 1.12; letter-spacing: -.008em; margin: .75em 0 .8em; }
.house__figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--arch); background: var(--sand); }
.house__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4.4vw, 72px); margin-top: clamp(64px, 9vw, 130px); padding-top: clamp(30px, 4vw, 52px); border-top: 1px solid rgba(21, 17, 13, .14); }
.principles .num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--bronze); }
.principles h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 1.9vw, 1.8rem); line-height: 1.2; margin: .25em 0 .45em; }
.principles p { color: var(--espresso); }

/* ── Pillars ── */
.pillars { background: var(--cream); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 100px); }
.section__intro { max-width: 34em; font-size: clamp(1.04rem, 1rem + .3vw, 1.25rem); color: rgba(245, 240, 232, .78); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.6vw, 60px); }
.pillar:nth-child(2) { margin-top: clamp(0px, 7vw, 110px); }
.pillar figure { aspect-ratio: 3 / 4.2; overflow: hidden; border-radius: var(--arch); margin-bottom: 26px; background: var(--sand); }
.pillar img { width: 100%; height: 100%; object-fit: cover; }
.pillar__meta { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; color: var(--bronze); }
.pillar__meta span { margin-right: 14px; color: var(--ink); }
.pillar__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5.2vw, 4.8rem); line-height: 1; margin: .12em 0 .2em; }
.pillar > p:last-child { max-width: 24em; color: var(--espresso); }

/* ── Ventures ── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; scroll-margin-top: 96px; }
.feature__title { font-family: var(--serif); font-weight: 400; font-size: clamp(4.4rem, 11vw, 11rem); line-height: .84; letter-spacing: -.025em; margin: .22em 0 .24em; }
.feature__lede { max-width: 30em; font-size: clamp(1.05rem, 1rem + .4vw, 1.36rem); line-height: 1.6; color: rgba(245, 240, 232, .82); }
.ticks { display: grid; gap: .65em; margin: 1.8em 0 2.4em; color: rgba(245, 240, 232, .82); }
.ticks li { display: flex; align-items: center; gap: 16px; }
.ticks li::before { content: ""; width: 22px; height: 1px; background: var(--clay); flex: none; }
.feature__art { position: relative; display: grid; place-items: center; min-height: clamp(520px, 56vw, 760px); }
.feature__art::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(88%, 500px); height: 92%; border: 1px solid rgba(199, 154, 116, .45); border-radius: var(--arch);
}
.feature__art::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(199, 154, 116, .2), transparent);
}
.phone {
  position: relative; z-index: 2; width: min(300px, 66vw); aspect-ratio: 9 / 18.6; overflow: hidden;
  border: 9px solid #2a221b; border-radius: 44px; background: #000;
  box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: #000; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.phone__ui { position: absolute; inset: auto 0 0 0; padding: 90px 20px 30px; text-align: center; display: grid; gap: 6px; background: linear-gradient(transparent, rgba(10, 8, 7, .86)); color: var(--white); }
.phone__brand { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.phone__tag { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 400; opacity: .85; }
.feature__inset { position: absolute; z-index: 3; right: 3%; bottom: 5%; width: 32%; max-width: 190px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--arch); border: 6px solid var(--ink); background: var(--espresso); }
.feature__inset img { width: 100%; height: 100%; object-fit: cover; }

.venture-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 9vw, 130px); border-top: 1px solid rgba(245, 240, 232, .16); }
.vcard { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(30px, 3.6vw, 52px) clamp(20px, 3vw, 44px) 0 0; }
.vcard + .vcard { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid rgba(245, 240, 232, .16); }
.vcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.08; margin-top: 6px; }
.vcard p:not(.pill) { color: rgba(245, 240, 232, .72); max-width: 24em; }
.vcard .link-arrow { margin-top: auto; color: var(--clay); }

/* ── Band ── */
.band { position: relative; height: clamp(440px, 82vh, 860px); overflow: hidden; display: grid; align-items: center; color: var(--white); }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 128%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 22%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 17, 13, .74), rgba(21, 17, 13, .5) 36%, rgba(21, 17, 13, 0) 60%); }
.band__quote { position: relative; z-index: 1; margin-left: var(--gutter); max-width: 9.2em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4.1vw, 4.2rem); line-height: 1.08; }

/* ── Iza ── */
.iza__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 130px); align-items: end; }
.iza__portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.iza__portrait img { width: 100%; height: 100%; object-fit: cover; }
.iza__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(7rem, 19vw, 19rem); line-height: .78; letter-spacing: -.03em; margin: .14em 0 .16em -.04em; }
.iza__role { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; color: var(--bronze); margin-bottom: 1.8em; }
.gallery { margin-top: clamp(64px, 9vw, 130px); }
.gallery__head { display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); margin-bottom: 26px; max-width: calc(var(--maxw) + 2 * var(--gutter)); }
.iza.section { padding-inline: 0; }
.iza.section > .wrap { padding-inline: var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); }
.gallery__nav { display: flex; gap: 10px; }
.gallery__nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(21, 17, 13, .3); background: none; color: inherit; font: inherit; font-size: 1.05rem; cursor: pointer; transition: background .3s, color .3s; }
.gallery__nav button:hover { background: var(--ink); color: var(--bone); }
.gallery__track { display: flex; gap: clamp(10px, 1.4vw, 20px); overflow-x: auto; padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.gallery__track figure { flex: none; height: clamp(340px, 62vh, 640px); background: var(--sand); }
.gallery__track img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }

/* ── Contact & footer ── */
.contact { background: var(--night); color: var(--bone); overflow: hidden; padding-bottom: clamp(40px, 6vw, 90px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.8rem, 10vw, 10rem); line-height: .88; letter-spacing: -.022em; margin: .26em 0 .3em; }
.contact__lede { max-width: 30em; font-size: clamp(1.04rem, 1rem + .3vw, 1.25rem); color: rgba(245, 240, 232, .78); }
.contact__mail { display: inline-block; margin-top: 1.5em; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.2; text-decoration: none; border-bottom: 1px solid var(--clay); transition: color .3s; overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--clay); }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 2.4em; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; }
.contact__links a { text-decoration: none; color: rgba(245, 240, 232, .7); transition: color .3s; }
.contact__links a:hover { color: var(--clay); }
.contact__figure { aspect-ratio: 4 / 5; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 58% 60% at 50% 46%, #000 52%, transparent 100%); }
.contact__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.site-footer { background: var(--night); color: rgba(245, 240, 232, .62); margin-top: -1px; padding: 1px var(--gutter) 34px; overflow: hidden; }
.footer__word { font-family: var(--serif); font-weight: 400; font-size: 17.6vw; line-height: .9; letter-spacing: -.02em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(245, 240, 232, .24); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(245, 240, 232, .14); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--clay); }

/* ── Motion ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .zoom img { transform: scale(1.12); transition: transform 1.8s var(--ease) var(--d, 0s); }
.js .zoom.in img { transform: scale(1); }
.js .pillar:hover .zoom.in img { transform: scale(1.05); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .zoom img { opacity: 1; transform: none; transition: none; }
  .marquee__track, .badge { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 64px; gap: 56px; }
  .hero__art { justify-self: center; width: min(78%, 420px); margin-left: 12%; }
  .hero__index { display: none; }
  .house__grid, .feature, .iza__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .house__figure { width: min(78%, 400px); margin-inline: auto; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .pillars__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .pillar { max-width: 460px; margin-inline: auto; width: 100%; }
  .pillar:nth-child(2) { margin-top: 0; }
  .feature__art { min-height: 0; padding-block: 40px; }
  .venture-cards { grid-template-columns: minmax(0, 1fr); }
  .vcard { padding: 34px 0; }
  .vcard + .vcard { padding-left: 0; border-left: 0; border-top: 1px solid rgba(245, 240, 232, .16); }
  .vcard:last-child { padding-bottom: 0; }
  .band { align-items: end; }
  .band::after { background: linear-gradient(rgba(21, 17, 13, .05) 30%, rgba(21, 17, 13, .78)); }
  .band__img img { width: 100%; object-position: 54% 22%; }
  .band__quote { margin: 0 var(--gutter) 44px; max-width: 12em; }
  .iza__grid { align-items: start; }
  .contact__figure { width: min(78%, 400px); margin-inline: auto; }
  .footer__row { justify-content: center; text-align: center; }
}
