/* ============================================================
   Bianca Kau · textile art, made by hand
   Photo-led. Palette: the Bianca Kau brand book — Raw Cotton, Indigo, Madder, Ochre.
   Type: Fraunces (display) + Mulish (text), per the Bianca Kau brand book.
   ============================================================ */

:root {
  /* Brand-book palette. Legacy variable names are kept so the cascade is untouched;
     the values are the Bianca Kau brand book's natural-dye tones. */
  --cream:       #F2E9DA;   /* Raw Cotton — primary ground */
  --cream-deep:  #EADFCB;   /* warm cotton — soft bands */
  --linen:       #E4D7C1;   /* Linen — surfaces, hero stage */
  --oat:         #DACBB0;   /* deeper linen — hairlines, borders */
  --ink:         #3A2D24;   /* Graphite Ink — headlines, body */
  --ink-soft:    #6B5644;   /* Walnut — soft text, captions */
  --ink-faint:   #9B8A72;   /* faint walnut */

  --clay:        #243B57;   /* Indigo — PRIMARY accent: thread, links, key UI */
  --clay-deep:   #1B2C42;   /* Indigo deep */
  --sage:        #356A66;   /* Verdigris — cool jewel accent */
  --ochre:       #C28A3E;   /* Ochre / Weld — warm highlight, CTAs on dark */
  --green:       #356A66;   /* Verdigris */
  --ember:       #7A2E37;   /* Madder — emotional / memorial accent */
  --blush:       #B98A86;   /* soft madder */
  --paper:       #FBF7EF;   /* Paper — lightest card surface */
  --madder:      #7A2E37;   /* Madder — eyebrows, the linking stitch */

  --bg: var(--cream);
  --fg: var(--ink);
  --rule: color-mix(in oklab, var(--oat) 70%, var(--ink) 8%);

  --display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text:    "Mulish", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --script:  "Ms Madi", "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;

  --pad: clamp(1.25rem, 4.2vw, 5rem);
  --maxw: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--text);
  font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.18rem);
  line-height: 1.6; color: var(--fg); background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.12' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: color-mix(in oklab, var(--ochre) 60%, white); color: var(--ink); }

.skip-link {
  position: fixed; left: 0; top: 0;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  background: var(--ink); color: var(--cream); font-size: .85rem; letter-spacing: .06em;
  text-transform: uppercase; z-index: 100;
}
.skip-link:focus {
  width: auto; height: auto; padding: .6rem 1rem; margin: 0; overflow: visible;
  clip: auto; clip-path: none; border-radius: 0 0 .4rem 0;
}
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; }

/* ---------------------------------------------------------- shared */
.kicker {
  font-family: var(--text); font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: .7em; font-variant: small-caps;
}
.kicker__no { font-family: var(--display); font-style: italic; font-size: 1.15rem; letter-spacing: 0; color: var(--clay); text-transform: none; }

.section-head { max-width: 32ch; margin: 0 0 clamp(2rem, 5vw, 3.4rem); }
.section-head h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.04; letter-spacing: -0.01em; margin-top: .5rem; text-wrap: balance;
}

.btn {
  --bg-btn: var(--clay); display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--text); font-size: 1.02rem; letter-spacing: .02em; padding: .72em 1.4em;
  border-radius: 999px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.btn--sm { padding: .55em 1.1em; font-size: .94rem; }
.btn--solid {
  background: var(--bg-btn); color: var(--cream);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--clay-deep) 80%, black), 0 10px 22px -12px color-mix(in oklab, var(--clay) 60%, transparent);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--clay-deep), 0 16px 28px -12px color-mix(in oklab, var(--clay) 70%, transparent); }
.btn--line { border: 1.5px solid color-mix(in oklab, var(--ink) 35%, var(--oat)); color: var(--ink); background: transparent; }
.btn--line:hover { transform: translateY(-2px); border-color: var(--clay); color: var(--clay); }

.halo { width: 1.05em; height: .42em; border: 2.5px solid var(--ochre); border-radius: 50%; display: inline-block; transform: rotate(-6deg); }
.halo--inline { margin-left: .2em; }

/* ---------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .8rem var(--pad);
  background: color-mix(in oklab, var(--cream) 85%, transparent);
  backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid color-mix(in oklab, var(--oat) 60%, transparent);
}
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.nav__mark { display: inline-grid; place-items: center; width: 40px; height: 40px; }
.nav__mark svg, .nav__mark img { width: 100%; height: 100%; display: block; }
.nav__word { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, .4vw + .95rem, 1.22rem); line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: color .25s var(--ease); }
.nav__brand:hover .nav__word { color: var(--clay); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav__links a { font-family: var(--text); font-size: .8rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); transition: color .25s var(--ease); text-transform: uppercase; letter-spacing: .14em; }
.nav__links a:hover { color: var(--clay); }
.nav__cta { border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--oat)); padding: .35em 1em; border-radius: 999px; }
.nav__cta:hover { border-color: var(--clay); background: color-mix(in oklab, var(--clay) 8%, transparent); }
/* narrow desktop: tighten the links so the full nav still fits on one line */
@media (max-width: 1120px) {
  .nav__links { gap: clamp(.7rem, 1.5vw, 1.3rem); }
  .nav__links a { font-size: .74rem; letter-spacing: .1em; white-space: nowrap; }
  .nav__word { white-space: nowrap; }
}
/* tablet and below: collapse to brand + CTA (links would crowd) */
@media (max-width: 1024px) {
  .nav__links a:not(.nav__cta) { display: none; }
}
@media (max-width: 680px) {
  .nav { padding-inline: clamp(.9rem, 4vw, 1.2rem); gap: .5rem; }
  .nav__word { font-size: 1rem; letter-spacing: .12em; }
  .nav__cta { padding: .32em .8em; font-size: .72rem; letter-spacing: .1em; }
}

/* ---------------------------------------------------------- hero (full-bleed, immersive) */
.hero {
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch;
  min-height: clamp(560px, 84vh, 900px);
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: 0; } }

.hero__intro { align-self: center; max-width: 42rem; padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3.2rem); }
.hero__eyebrow { font-variant: small-caps; letter-spacing: .2em; font-size: .92rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.hero__word {
  font-family: var(--display); font-weight: 500; font-size: clamp(2.7rem, 5.9vw, 4.9rem);
  line-height: .98; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.hero__word em { font-style: italic; font-weight: 500; color: var(--clay); }
.hero__tag { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.18rem, .8vw + 1rem, 1.6rem); line-height: 1.3; color: var(--ink-soft); margin-top: .9rem; max-width: 36ch; }
.hero__lede { font-size: clamp(1.08rem, .8vw + .95rem, 1.32rem); line-height: 1.55; color: var(--ink-soft); max-width: 42ch; margin-top: 1.4rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__sig { margin-top: 1.7rem; font-style: italic; color: var(--ink-faint); font-size: 1rem; letter-spacing: .01em; }

.hero__stage { position: relative; margin: 0; overflow: hidden; background: var(--linen); min-height: 340px; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero__stage { height: 66vh; min-height: 420px; } }

/* ---------------------------------------------------------- statement band */
.band { border-block: 1px solid var(--rule); background: color-mix(in oklab, var(--cream-deep) 60%, var(--cream)); overflow: hidden; }
.marquee { display: flex; overflow: hidden; user-select: none; padding: 1rem 0; }
.marquee__track { display: flex; gap: 0; flex-shrink: 0; min-width: 100%; animation: slide 38s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 1.4rem; padding-inline: 1.4rem;
  font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  white-space: nowrap; color: var(--ink);
}
.sep { width: .42em; height: .42em; border-radius: 50%; background: var(--clay); flex: none; }
.sep--gold { background: var(--ochre); } .sep--teal { background: var(--sage); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------------------------------------------------- gallery (full-bleed feed) */
.work { padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.work__head { max-width: var(--maxw); margin: 0 auto clamp(1.6rem, 3.5vw, 2.6rem); padding: 0 var(--pad); }
.work__head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -0.01em; margin-top: .5rem; text-wrap: balance; }

/* portfolio header lede + filter chips */
.work__lede { margin-top: 1rem; max-width: 56ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem); text-wrap: pretty; }
.filters { max-width: var(--maxw); margin: clamp(1.4rem, 3vw, 2.2rem) auto clamp(1.4rem, 3vw, 2rem); padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--text); font-variant: small-caps; letter-spacing: .08em; font-size: .98rem;
  padding: .5em 1.15em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid color-mix(in oklab, var(--ink) 22%, var(--oat));
  background: transparent; color: var(--ink-soft);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--clay); color: var(--clay); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* captioned masonry — title + subject subtitle below each photo */
.gallery { columns: 4 250px; column-gap: clamp(14px, 2vw, 24px); max-width: var(--maxw); margin-inline: auto; padding: 0 var(--pad); }
.g-item, .g-cta { break-inside: avoid; margin: 0 0 clamp(1.4rem, 2.4vw, 2.1rem); }
.g-item { display: block; }
.gallery .g-item { cursor: zoom-in; }
.g-item__media { display: block; overflow: hidden; border-radius: 3px; background: var(--linen); }
.g-item__media img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.g-item:hover .g-item__media img, .g-item:focus-visible .g-item__media img { transform: scale(1.045); }
.g-item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-top: .65rem; }
.g-item__t { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.05rem, 1.1vw + .7rem, 1.24rem); line-height: 1.2; color: var(--ink); display: inline-flex; align-items: center; gap: .4em; }
.g-item__c { font-variant: small-caps; letter-spacing: .12em; font-size: .82rem; color: var(--madder); white-space: nowrap; }
.g-item.is-hidden { display: none; }

.g-cta {
  display: flex; flex-direction: column; justify-content: center; gap: .55rem;
  min-height: 230px; text-decoration: none; padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--clay); color: var(--cream); border-radius: 3px; overflow: hidden;
  transition: background-color .3s var(--ease);
}
.g-cta:hover { background: var(--clay-deep); }
.g-cta__k { color: var(--ochre); line-height: 1; }
.g-cta__k svg { width: 46px; height: 12px; display: block; }
.g-cta__h { font-family: var(--display); font-weight: 600; font-size: 1.85rem; line-height: 1.05; }
.g-cta__go { font-variant: small-caps; letter-spacing: .06em; color: color-mix(in oklab, var(--cream) 80%, var(--ochre)); }

/* lightbox — click a piece to enlarge with its story */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: clamp(1.4rem, 5vw, 3rem);
  background: color-mix(in oklab, var(--ink) 86%, black);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: 560px; width: 100%; text-align: center; }
.lightbox__fig img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 3px; background: var(--linen); }
.lightbox__cap { margin-top: 1rem; }
.lightbox__title { font-family: var(--display); font-weight: 500; font-size: 1.7rem; color: var(--cream); }
.lightbox__cat { display: block; margin-top: .3rem; font-variant: small-caps; letter-spacing: .16em; font-size: .85rem; color: var(--ochre); }
.lightbox__desc { margin: .55rem auto 0; max-width: 46ch; color: color-mix(in oklab, var(--cream) 82%, var(--oat)); font-size: .98rem; line-height: 1.6; }
.lightbox__close {
  position: absolute; top: 1.1rem; right: 1.3rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid color-mix(in oklab, var(--cream) 45%, transparent);
  background: transparent; color: var(--cream); font-size: 1.5rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lightbox__close:hover { background: var(--cream); color: var(--ink); }

/* ---------------------------------------------------------- the craft (3-up, line-icon process) */
.craft {
  --craft-bg: color-mix(in oklab, var(--linen) 55%, var(--cream));
  background: var(--craft-bg); border-block: 1px solid var(--rule);
  padding: clamp(3.2rem, 7vw, 6rem) var(--pad); text-align: center;
}
.craft__head { max-width: min(92vw, 52rem); margin-inline: auto; }
.craft__head .kicker { justify-content: center; }
.craft__head h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 1rem + 3.8vw, 3.7rem); line-height: 1.08;
  letter-spacing: -0.01em; margin-top: .7rem; text-wrap: balance;
}
/* a short vertical seam ending in a clay needle-knot, echoing the reference divider */
.craft__seam {
  display: block; width: 1px; height: clamp(2.2rem, 4.5vw, 3.3rem);
  margin: clamp(1.5rem, 3vw, 2.1rem) auto clamp(2.6rem, 5.5vw, 3.8rem);
  background: linear-gradient(var(--rule), color-mix(in oklab, var(--clay) 45%, transparent));
  position: relative;
}
.craft__seam::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--clay);
  transform: translate(-50%, 50%); box-shadow: 0 0 0 4px var(--craft-bg);
}

.craft__grid { position: relative; max-width: var(--maxw); margin-inline: auto; }
/* one thread drawn left-to-right through the three icons, on reveal */
.craft__thread {
  position: absolute; top: clamp(42px, 7vw, 54px); left: 17%; right: 17%; height: 2px;
  background-image: linear-gradient(to right,
    color-mix(in oklab, var(--clay) 45%, var(--oat)) 0 6px, transparent 6px 13px);
  background-size: 13px 2px; background-repeat: repeat-x;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.5s var(--ease) .3s; pointer-events: none;
}
.craft__grid.in .craft__thread { transform: scaleX(1); }

.craft__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem);
}
.craft__step {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  padding-inline: clamp(.4rem, 1.6vw, 1.2rem);
}
.craft__icon {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: clamp(86px, 14vw, 108px); height: clamp(86px, 14vw, 108px);
  border-radius: 50%; background: var(--craft-bg); color: var(--clay);
  transition: transform .4s var(--ease), color .35s var(--ease);
}
.craft__icon svg { width: clamp(56px, 9.5vw, 76px); height: auto; display: block; }
.craft__step:nth-child(2) .craft__icon { color: var(--sage); }
.craft__step:nth-child(3) .craft__icon { color: var(--ochre); }
.craft__step h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem); letter-spacing: -0.01em;
}
.craft__step p { color: var(--ink-soft); max-width: 28ch; margin-inline: auto; }
.craft__step:hover .craft__icon { transform: translateY(-6px); }

@media (max-width: 820px) {
  .craft__steps { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 2.8rem); max-width: 30rem; margin-inline: auto; }
  .craft__thread { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .craft__thread { transition: none; transform: scaleX(1); }
}

/* ---------------------------------------------------------- commissions */
.commissions { max-width: var(--maxw); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.commissions__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
@media (max-width: 820px) { .commissions__grid { grid-template-columns: 1fr; max-width: 30rem; } }
.comm__thumb { margin: 0 0 1.1rem; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid var(--oat); box-shadow: 0 16px 30px -22px rgba(60,40,16,.5); }
.comm__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.comm:hover .comm__thumb img { transform: scale(1.04); }
.comm h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); display: inline-flex; align-items: center; }
.comm p { color: var(--ink-soft); margin-top: .35rem; max-width: 40ch; }
.commissions__avail { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.4vw, 1.45rem); color: var(--ink-soft); max-width: 48ch; }
.commissions__cta { margin-top: clamp(1.3rem, 3vw, 2rem); }

/* ---------------------------------------------------------- studio */
.studio {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--pad);
  display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 820px) { .studio { grid-template-columns: 1fr; gap: 2rem; } }
.studio__media { margin: 0; }
.studio__media img { width: 100%; border-radius: 8px; border: 1px solid var(--oat); box-shadow: 0 28px 54px -30px rgba(60,40,16,.55); }
.studio__lede { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; margin: .6rem 0 1.2rem; text-wrap: balance; }
.studio__title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.01em; margin: .5rem 0 1.2rem; text-wrap: balance; }
.studio__cta { margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }
.studio__text { color: var(--ink-soft); max-width: 56ch; font-size: 1.12rem; }
.studio__text + .studio__text { margin-top: 1rem; }
.studio__text em { font-style: italic; color: var(--sage); }
.studio__sign { font-family: var(--script); font-style: normal; font-size: clamp(2.1rem, 4vw, 2.7rem); line-height: 1; color: var(--ink); margin-top: 1rem; }

/* ---------------------------------------------------------- contact */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, color-mix(in oklab, var(--clay) 8%, var(--cream)) 100%);
  color: var(--ink); border-top: 1px solid var(--rule);
  padding: clamp(3.5rem, 9vw, 7rem) var(--pad);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.01em; margin: .8rem 0 1.6rem; color: var(--ink); }
.contact__mail {
  font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--clay); text-decoration: none;
  background-image: linear-gradient(to right, var(--ochre) 55%, transparent 55%); background-size: 12px 2px; background-repeat: repeat-x; background-position: 0 1.25em; padding-bottom: .18em;
}
.contact__mail:hover { color: var(--clay-deep); }
.contact__actions { margin: .2rem 0 1.1rem; }
.contact__or { color: var(--ink-faint); font-style: italic; font-size: .96rem; margin-bottom: .5rem; }
.contact__note { margin-top: 1.3rem; color: var(--ink-soft); max-width: 42ch; }
.contact__media { margin: 0; }
.contact__media img { width: 100%; max-width: 360px; margin-inline: auto; border-radius: 8px; border: 1px solid var(--oat); box-shadow: 0 26px 50px -28px rgba(60,40,16,.55); }
@media (max-width: 760px) { .contact__media { display: none; } }

/* ---------------------------------------------------------- newsletter */
.letter {
  border-top: 1px solid var(--rule);
  background: color-mix(in oklab, var(--cream-deep) 55%, var(--cream));
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad);
}
.letter__inner { max-width: 56ch; margin-inline: auto; text-align: center; }
.letter__inner .kicker { justify-content: center; }
.letter__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.01em; margin: .7rem 0 1rem; color: var(--ink); }
.letter__lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; margin: 0 auto 2rem; text-wrap: pretty; }
.letter__form { margin-inline: auto; max-width: 30rem; }
.letter__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.letter__row { display: flex; gap: .6rem; }
@media (max-width: 460px) { .letter__row { flex-direction: column; } }
.letter__input {
  flex: 1; min-width: 0; font-family: var(--text); font-size: 1.02rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid color-mix(in oklab, var(--ink) 22%, var(--oat));
  border-radius: 999px; padding: .72em 1.15em; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.letter__input::placeholder { color: var(--ink-faint); }
.letter__input:focus-visible {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ochre) 45%, transparent);
}
.letter__btn { flex: none; white-space: nowrap; }
.letter__note { margin-top: 1.1rem; color: var(--ink-faint); font-style: italic; font-size: .96rem; }
.letter__link {
  color: var(--clay); text-decoration: none;
  background-image: linear-gradient(to right, var(--ochre) 55%, transparent 55%); background-size: 10px 2px; background-repeat: repeat-x; background-position: 0 1.15em; padding-bottom: .12em;
}
.letter__link:hover { color: var(--clay-deep); }

/* ---------------------------------------------------------- footer (dark, 3-column) */
.footer { background: var(--ink); color: var(--linen); padding: clamp(3rem, 6vw, 4.5rem) var(--pad) clamp(1.6rem, 3vw, 2.2rem); }
.footer__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.8rem);
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 14%, transparent);
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 440px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__word { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.footer__tag { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.05rem; color: color-mix(in oklab, var(--linen) 92%, white); margin-top: .7rem; max-width: 34ch; }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1.3rem; }
.footer__social a { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: color-mix(in oklab, var(--linen) 82%, transparent); transition: color .25s var(--ease); }
.footer__social a:hover { color: var(--ochre); }
.footer__h { font-family: var(--text); font-weight: 600; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre); margin-bottom: 1rem; }
.footer__col a { display: block; color: color-mix(in oklab, var(--linen) 88%, transparent); font-size: .98rem; padding: .32rem 0; text-decoration: none; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--cream); }
.footer__legal {
  max-width: var(--maxw); margin: clamp(1.4rem, 3vw, 2rem) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem;
  font-size: .8rem; letter-spacing: .04em; color: color-mix(in oklab, var(--linen) 48%, transparent);
}
.footer__policy { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer__policy a { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; text-decoration: none; color: color-mix(in oklab, var(--linen) 62%, transparent); transition: color .25s var(--ease); }
.footer__policy a:hover { color: var(--ochre); }

/* ---------------------------------------------------------- entrance reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------- thread cursor */
.thread-cursor { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------------------------------------------------------- brand-book type (Fraunces)
   Fraunces renders a touch heavier than Cormorant at the same weight, so the display
   scale is lightened to match the Bianca Kau brand book (Fraunces 300 display, 400 headings). */
.hero__word { font-weight: 300; letter-spacing: -0.012em; line-height: 1.04; }
.hero__word em { font-weight: 400; }
.section-head h2, .work__head h2, .craft__head h2,
.letter__title, .contact__title { font-weight: 400; }
.studio__lede, .marquee__track span, .commissions__avail { font-weight: 400; }
.craft__step h3, .comm h3, .g-cta__h { font-weight: 500; }

/* ---------------------------------------------------------- hero signature name (new-design treatment) */
.hero__name {
  font-family: var(--display); font-weight: 300; text-transform: uppercase;
  letter-spacing: .15em; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.05;
  color: var(--ink); margin-bottom: .9rem;
}

/* ---------------------------------------------------------- eyebrows in madder (brand book) */
.hero__eyebrow { color: var(--madder); font-weight: 600; }
.kicker__no { color: var(--madder); }

/* ---------------------------------------------------------- the letter — full-bleed dark band (new design) */
.letter { background: var(--ink); color: var(--cream); border-top-color: color-mix(in oklab, var(--ink) 70%, var(--oat)); }
.letter .kicker, .letter .kicker__no { color: var(--ochre); }
.letter__title { color: var(--cream); }
.letter__lede { color: color-mix(in oklab, var(--linen) 90%, white); }
.letter__input {
  background: color-mix(in oklab, var(--ink) 80%, black); color: var(--cream);
  border-color: color-mix(in oklab, var(--cream) 26%, transparent);
}
.letter__input::placeholder { color: color-mix(in oklab, var(--linen) 60%, transparent); }
.letter__input:focus-visible { border-color: var(--ochre); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ochre) 40%, transparent); }
.letter__btn { background: var(--ochre); color: var(--ink); box-shadow: none; }
.letter__btn:hover { background: color-mix(in oklab, var(--ochre) 86%, white); transform: translateY(-2px); }
.letter__note { color: color-mix(in oklab, var(--linen) 72%, transparent); }
.letter__link { color: var(--ochre); }
.letter__link:hover { color: color-mix(in oklab, var(--ochre) 82%, white); }

/* ============================================================
   Home · selected-work strip (full-bleed row + painterly border)
   ============================================================ */
.strip-sec { padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 4rem); }
.strip-head { max-width: var(--maxw); margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); padding: 0 var(--pad); text-align: center; }
.strip-head .kicker { justify-content: center; }
.strip-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -0.01em; margin-top: .5rem; text-wrap: balance; }

/* full-bleed watercolour-stripe band framing the photos */
.strip-band {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  background: url("/assets/stripe-bg.jpg") center / cover, var(--linen);
  padding: clamp(16px, 2.4vw, 34px) 0;
}
/* static row of selected pieces, framed in the stripes */
.strip { display: flex; gap: clamp(8px, 1.1vw, 15px); }
.strip__item {
  flex: 1 1 0; min-width: 0;
  display: block; position: relative;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--cream);
  box-shadow: 0 2px 4px rgba(40,28,16,.18), 0 14px 26px -14px rgba(40,28,16,.55);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.strip__item:hover img, .strip__item:focus-visible img { transform: scale(1.04); }
.strip__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .7rem; font-family: var(--display); font-style: italic; font-size: 1.02rem; color: #fff; background: linear-gradient(transparent, rgba(20,16,10,.66)); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.strip__item:hover .strip__cap, .strip__item:focus-visible .strip__cap { opacity: 1; transform: none; }

.strip-tools { max-width: var(--maxw); margin: clamp(1.3rem, 2.8vw, 2rem) auto 0; padding: 0 var(--pad); display: flex; align-items: center; justify-content: center; gap: 1rem; }
.viewall { font-variant: small-caps; letter-spacing: .14em; font-size: 1.02rem; color: var(--ink); text-decoration: none; padding-bottom: .35rem; border-bottom: 1.5px solid var(--ink); transition: color .25s var(--ease), border-color .25s var(--ease); }
.viewall:hover { color: var(--clay); border-color: var(--clay); }

@media (hover: none) { .strip__cap { opacity: 1; transform: none; } }
/* on small screens the 7-up row would be too tiny — make it a swipeable static row */
@media (max-width: 760px) {
  .strip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .strip::-webkit-scrollbar { height: 0; }
  .strip__item { flex: 0 0 clamp(150px, 44vw, 220px); scroll-snap-align: start; }
}

/* ============================================================
   Portfolio page header (gallery.html)
   ============================================================ */
.pf-head { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.4rem, 6vw, 4.5rem) var(--pad) 0; }
.pf-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.03; letter-spacing: -.01em; margin-top: .4rem; text-wrap: balance; }
.pf-lede { margin-top: 1rem; max-width: 54ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem); text-wrap: pretty; }

/* gallery closing CTA */
.gallery-end { max-width: 44rem; margin: clamp(3rem, 7vw, 5.5rem) auto clamp(2.5rem, 6vw, 4rem); padding: 0 var(--pad); text-align: center; }
.gallery-end h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.gallery-end p { color: var(--ink-soft); max-width: 50ch; margin: 1rem auto clamp(1.4rem, 3vw, 2rem); text-wrap: pretty; }
