/* Self-hosted webfonts (Clash Display + General Sans, Fontshare ITF Free Font License). Replaces the api.fontshare.com dependency. */
@font-face{font-family:'Clash Display';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/clash-display-500.woff2') format('woff2');}
@font-face{font-family:'Clash Display';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/clash-display-600.woff2') format('woff2');}
@font-face{font-family:'Clash Display';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/clash-display-700.woff2') format('woff2');}
@font-face{font-family:'General Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/general-sans-400.woff2') format('woff2');}
@font-face{font-family:'General Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/general-sans-500.woff2') format('woff2');}
@font-face{font-family:'General Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/general-sans-600.woff2') format('woff2');}

/* =============================================================================
   Jules Amber - julesamber.com
   Single stylesheet for the whole static site.
   Design tokens, base, components, page sections, responsive, a11y.
   Palette + type are locked from HANDOFF.md - do not invent new values.
   ============================================================================= */

/* ----------------------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------------------- */
:root {
  /* Periwinkle foundation + neutrals */
  --pearl-bg:     #F4F3FA;   /* primary background (barely-off-white, periwinkle tint) */
  --white:        #FFFFFF;   /* cards, panels */
  --peri-light:   #C7CDF1;
  --peri-fill:    #E6E7F7;   /* soft tile fill */
  --peri-soft:    #8D95D6;
  --peri:         #7387DB;   /* signature / primary action */
  --peri-hover:   #5E63C0;
  --peri-deep:    #343C6B;
  --ink:          #2E2A44;   /* text + dark sections/footer */
  --section-soft: #E7E9F8;   /* soft periwinkle section bg */

  /* Jewel accents - used in moments only */
  --teal:     #0F7C82;
  --teal-mid: #6ED8D5;
  --rose:     #C94F8C;
  --gold:     #E8C46A;

  /* Text tints used through the spec */
  --text-mut:  #5E5C7E;
  --text-mut2: #56546F;
  --text-mut3: #6E6C88;
  --text-soft: #494763;

  /* Type */
  --font-display: 'Clash Display', 'Trebuchet MS', sans-serif;
  --font-body:    'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --maxw:    1200px;
  --gutter:  44px;
  --radius:  6px;
  --radius-lg: 10px;

  --shadow-tile:  0 14px 30px rgba(40,38,70,.18);
  --shadow-card:  0 16px 34px rgba(40,38,70,.16);
  --header-h: 71px;
}

/* ----------------------------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--pearl-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--peri); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--peri);
  outline-offset: 2px;
  border-radius: 2px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--peri);
  outline-offset: 1px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; margin: 0; }

/* Visually-hidden helper for accessible labels */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 10px 18px; border-radius: 4px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  text-decoration: none; transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ----------------------------------------------------------------------------
   3. Layout helpers
   ---------------------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }

/* Decorative washes / gradient bands / motifs sit behind content */
.decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.grad { position: absolute; left: 0; right: 0; top: 0; z-index: 0; pointer-events: none; }
.wash {
  position: absolute; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--c), var(--a)), rgba(var(--c), 0));
}
.motif { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.motif--center { left: 46%; }

/* ----------------------------------------------------------------------------
   4. Header / nav
   ---------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,244,239,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E6E6F6;
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__logo { height: 30px; width: auto; }
.brand__word {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: .1em;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--text-mut); text-decoration: none;
  transition: color .15s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__shop {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  color: #6E6C88; cursor: not-allowed;
}
.nav__shop .pill {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: #6E6C88;
  border: 1px solid var(--peri-light); border-radius: 20px; padding: 2px 7px;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column;
  padding: 96px var(--gutter) 48px;
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu__link {
  font-family: var(--font-display); font-weight: 600; font-size: 34px;
  color: var(--white); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid #403D5E;
}
.mobile-menu__link[aria-current="page"] { color: var(--peri-light); }
.mobile-menu__shop {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 34px;
  color: #9A98B6; padding: 14px 0;
}
.mobile-menu__shop .pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; border: 1px solid #555273; border-radius: 20px;
  padding: 3px 9px; color: #8e8bab;
}

/* ----------------------------------------------------------------------------
   5. Buttons / links
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border-radius: 2px; padding: 15px 28px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--peri-hover); color: var(--white); }
.btn--primary:hover { background: var(--peri-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--peri-light); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 13px 24px; font-size: 14.5px; }
.btn--wide { padding: 15px 32px; }

.link-underline {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--peri-hover); text-decoration: none;
  border-bottom: 1.5px solid var(--peri-hover); padding-bottom: 3px;
  transition: opacity .15s ease;
}
.link-underline:hover { opacity: .75; }

/* Inline sparkle cluster sizing helper */
.spark { flex: none; }

/* Section heading row: big display title + sparkle */
.head-row { display: flex; align-items: center; gap: 15px; }
.head-row h1, .head-row h2 { line-height: .9; }

/* ----------------------------------------------------------------------------
   6. Home
   ---------------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding: 66px 0 56px;
}
.hero__eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--peri-hover);
  margin-bottom: 26px;
}
.hero__title {
  margin: 0 0 28px; font-family: var(--font-display); font-weight: 600;
  font-size: 56px; line-height: .96; letter-spacing: -.02em;
}
.hero__title .accent-art { position: relative; display: inline-block; }
.hero__title .accent-art .brush {
  position: absolute; left: -22%; top: 6%; width: 146%; height: 92%; opacity: .5;
}
.hero__title .accent-art span { position: relative; }
.hero__title .classes { color: var(--peri); }
.hero__lead {
  margin: 0 0 34px; max-width: 560px;
  font-size: 16.5px; line-height: 1.6; color: var(--text-mut);
}
.hero__lead p { margin: 0 0 14px; }
.hero__lead p:last-child { margin-bottom: 0; }
.hero__cta { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; height: 520px; border-radius: var(--radius);
  overflow: hidden; background: var(--peri-fill); border: 1px solid var(--peri-light);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__spark-tl { position: absolute; top: -18px; left: -18px; }
.hero__spark-tr { position: absolute; top: 36px; right: -10px; }

/* Hero montage slot (client supplying video later) */
.hero__frame video { width: 100%; height: 100%; object-fit: cover; }

.collage {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 8px 0 74px;
}
.collage__item {
  position: relative; height: 230px; border-radius: var(--radius);
  overflow: hidden; background: var(--peri-fill);
}
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item:nth-child(1) { transform: rotate(-1.4deg); }
.collage__item:nth-child(2) { transform: rotate(1deg); }
.collage__item:nth-child(3) { transform: rotate(-.7deg); }
.collage__item:nth-child(4) { transform: rotate(1.3deg); }

.brush-divider { display: block; width: 100%; height: 22px; opacity: .5; }

/* Meet Jules teaser */
.teaser-artist {
  display: grid; grid-template-columns: 400px 1fr; gap: 72px;
  align-items: center; padding: 74px 0;
}
.teaser-artist__photo {
  position: relative; height: 440px; border-radius: var(--radius);
  overflow: hidden; background: var(--peri-fill); border: 1px solid var(--peri-light);
}
.teaser-artist__photo img { width: 100%; height: 100%; object-fit: cover; }
.teaser-artist h2 { font-size: 62px; line-height: .95; }
.teaser-artist__lead {
  margin: 22px 0 28px; max-width: 500px;
  font-size: 18px; line-height: 1.6; color: var(--text-soft);
}

/* Studio teaser */
.teaser-studio { background: var(--section-soft); padding: 80px 0; }
.teaser-studio h2 { font-size: 62px; line-height: .9; }
.teaser-studio__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px;
}
.offer-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid #DCDEF4; border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
  text-decoration: none; color: inherit;
}
.offer-card:hover { border-color: var(--peri-soft); box-shadow: var(--shadow-card); }
.offer-card__bar { height: 4px; }
.offer-card__media { position: relative; height: 150px; background: var(--peri-fill); overflow: hidden; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__tag {
  position: absolute; left: 11px; bottom: 11px;
  font-family: var(--font-mono); font-size: 9.5px;
  background: rgba(251,250,246,.86); padding: 3px 7px; border-radius: 2px;
}
.offer-card__body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.offer-card__body h3 { font-size: 19px; margin-bottom: 9px; }
.offer-card__short { margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--text-mut3); flex: 1; }
.offer-card__cta { font-family: var(--font-body); font-weight: 600; font-size: 14px; }

/* Gallery teaser */
.teaser-gallery { padding: 80px 0; }
.teaser-gallery h2 { font-size: 62px; line-height: .9; }
.teaser-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.gallery-card {
  position: relative; height: 380px; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; text-decoration: none; color: var(--white);
  background: var(--peri-fill);
  transition: box-shadow .18s ease;
}
.gallery-card:hover { box-shadow: var(--shadow-card); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,38,47,0) 45%, rgba(36,38,47,.5) 100%);
}
.gallery-card__label {
  position: absolute; left: 28px; bottom: 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 40px; color: var(--white);
}

/* ----------------------------------------------------------------------------
   7. Gallery page
   ---------------------------------------------------------------------------- */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 30px;
}
.gallery-head h1 { font-size: 66px; line-height: .9; }

.viewtoggle {
  display: flex; align-items: center; gap: 6px;
  background: #E7E5F4; border-radius: 30px; padding: 5px;
}
.viewtoggle button {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 30px; cursor: pointer;
  border: 0; background: transparent; color: #605E7C;
  transition: background .15s ease, color .15s ease;
}
.viewtoggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); }

.tabs { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.tab {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  padding: 7px 4px; cursor: pointer; background: transparent; border: 0;
  color: #6B6889; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.tab[aria-selected="true"] { color: var(--peri-hover); border-bottom-color: var(--peri-hover); }
.tabs .sep { color: var(--peri-light); }

.collection-label {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--peri-hover);
  margin: 6px 0 16px;
}

/* Masonry grid via CSS columns */
.masonry { column-count: 3; column-gap: 18px; margin-bottom: 40px; }
.masonry:last-child { margin-bottom: 0; }
.tile {
  position: relative; display: inline-block; width: 100%; margin: 0 0 18px;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(40,45,58,.07); background: var(--peri-fill);
  padding: 0;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}
.tile img { width: 100%; height: auto; display: block; }
.tile__scrim {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(36,38,47,0) 55%, rgba(36,38,47,.42) 100%);
  transition: opacity .18s ease;
}
.tile:hover { box-shadow: var(--shadow-tile); }
.tile:hover .tile__scrim { opacity: 1; }

/* Slideshow */
.slideshow { display: none; }
.slideshow.is-active { display: block; }
.slide-stage {
  position: relative; height: 560px; border-radius: 8px; overflow: hidden;
  background: var(--ink); border: 1px solid var(--peri-light);
}
.slide-stage img { width: 100%; height: 100%; object-fit: contain; background: #23262F; }
.slide-label, .slide-counter {
  position: absolute; font-family: var(--font-mono); font-size: 11px;
  color: var(--peri-deep); background: rgba(245,244,239,.9);
  padding: 5px 10px; border-radius: 3px;
}
.slide-label { left: 18px; bottom: 18px; }
.slide-counter { right: 18px; top: 18px; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(245,244,239,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
}
.slide-nav--prev { left: 18px; }
.slide-nav--next { right: 18px; }
.slide-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.slide-thumb {
  flex: 0 0 84px; height: 60px; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent; overflow: hidden; padding: 0; background: var(--peri-fill);
}
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb[aria-current="true"] { border-color: var(--peri); }

.grid-view.is-hidden { display: none; }

/* ----------------------------------------------------------------------------
   8. Studio page
   ---------------------------------------------------------------------------- */
.studio-page .wrap { max-width: 1100px; }
.studio-page h1 { font-size: 66px; line-height: .9; }
.studio-intro {
  margin: 18px 0 50px; max-width: 560px;
  font-size: 18px; line-height: 1.6; color: var(--text-mut);
}
.offer-rows { display: flex; flex-direction: column; gap: 24px; }
.offer-row {
  display: grid; gap: 42px; align-items: center;
  background: var(--white); border: 1px solid #E6E6F6;
  border-radius: var(--radius-lg); overflow: hidden;
}
.offer-row--img-left  { grid-template-columns: 0.9fr 1.1fr; }
.offer-row--img-right { grid-template-columns: 1.1fr 0.9fr; }
.offer-row__media { position: relative; height: 300px; overflow: hidden; }
.offer-row__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-row__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.offer-row__tag {
  position: absolute; left: 13px; bottom: 13px;
  font-family: var(--font-mono); font-size: 10px;
  background: rgba(251,250,246,.86); padding: 4px 8px; border-radius: 2px;
}
.offer-row__body { padding: 34px 38px; }
.offer-row--img-right .offer-row__media { order: 1; }
.offer-row--img-right .offer-row__body { order: 0; }
.offer-row__body h3 { font-size: 30px; letter-spacing: -.01em; margin-bottom: 14px; }
.offer-row__copy { margin: 0 0 24px; font-size: 15.5px; line-height: 1.62; color: var(--text-mut2); }
.offer-row__cta {
  display: inline-flex; padding: 13px 26px; color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  border-radius: 2px; text-decoration: none;
  transition: filter .15s ease;
}
.offer-row__cta:hover { filter: brightness(.92); }

/* ----------------------------------------------------------------------------
   9. Artist page
   ---------------------------------------------------------------------------- */
.artist-page .wrap { max-width: 1100px; }
.artist-page h1 { font-size: 66px; line-height: .9; }
.artist-grid {
  display: grid; grid-template-columns: 440px 1fr; gap: 60px;
  align-items: start; margin: 40px 0 54px;
}
.artist-photo {
  position: relative; height: 540px; border-radius: 8px; overflow: hidden;
  background: var(--peri-fill); border: 1px solid var(--peri-light);
}
.artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.artist-bio p { margin: 0 0 22px; }
.artist-bio p:first-child { font-size: 19px; line-height: 1.66; color: var(--peri-deep); }
.artist-bio p.secondary { font-size: 16.5px; line-height: 1.66; color: var(--text-mut2); }
/* Reserved slot for the additional bio Jules will supply */
.artist-bio__reserved { margin: 0; }
.artist-bio__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.studio-strip {
  background: var(--ink); width: 100vw; margin-left: calc(50% - 50vw); padding: 66px 0;
}
.studio-strip__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.studio-strip h2 { font-size: 38px; color: var(--white); margin-bottom: 30px; }
.studio-strip__head { display: flex; align-items: center; gap: 14px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.bento > * { border-radius: 8px; overflow: hidden; background: #3a3650; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento__big { grid-column: span 2; grid-row: span 2; }
.bento__wide { grid-column: span 2; }
.bento__wide img { object-position: center 25%; }

.artist-cta { padding: 62px 0 0; text-align: center; }
.artist-cta h2 { font-size: 44px; color: var(--ink); margin-bottom: 16px; }
.artist-cta p { margin: 0 auto 26px; max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--text-mut2); }

/* ----------------------------------------------------------------------------
   10. Contact page
   ---------------------------------------------------------------------------- */
.contact-page .wrap { max-width: 1040px; }
.contact-page h1 { font-size: 66px; line-height: .9; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 54px; margin-top: 24px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field label, .field-row label {
  display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-mut3); margin-bottom: 7px;
}
.input, .select, .textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--peri-light);
  border-radius: 4px; background: var(--white);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.textarea { resize: vertical; min-height: 110px; }
.field-error { color: var(--rose); font-size: 13px; margin-top: 6px; display: none; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--rose); }
.field.has-error .field-error { display: block; }

/* honeypot - hidden from humans, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside {
  background: var(--section-soft); border-radius: var(--radius-lg);
  padding: 32px 30px; align-self: start;
}
.contact-aside p { margin: 0 0 22px; font-size: 16px; line-height: 1.62; color: var(--peri-deep); }
.contact-aside hr { height: 1px; background: var(--peri-light); border: 0; margin: 22px 0; }
.contact-aside__label {
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--peri); margin-bottom: 12px;
}
.contact-aside__links { display: flex; flex-direction: column; gap: 10px; }
.contact-aside__links a { font-size: 15px; color: var(--ink); text-decoration: none; transition: color .15s ease; }
.contact-aside__links a:hover { color: var(--peri); }

/* Confirmation state */
.confirm {
  max-width: 640px; margin: 40px 0; background: var(--white);
  border: 1px solid #E6E6F6; border-radius: 12px; padding: 54px 50px;
  position: relative; overflow: hidden;
}
.confirm h2 { font-size: 38px; margin: 0 0 14px; }
.confirm p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: var(--text-mut2); }
.confirm p.muted { font-size: 15px; color: #6F6D8A; margin-bottom: 28px; }
.confirm__actions { display: flex; gap: 13px; flex-wrap: wrap; }
.is-hidden { display: none !important; }

/* ----------------------------------------------------------------------------
   11. Footer
   ---------------------------------------------------------------------------- */
.site-footer { background: var(--ink); }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 58px var(--gutter) 36px; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid #403D5E;
}
.site-footer .brand__word { color: var(--white); font-size: 19px; }
.site-footer__social { display: flex; gap: 28px; }
.site-footer__social a { display: inline-flex; align-items: center; font-size: 14.5px; color: #D6D6E6; text-decoration: none; transition: color .15s ease; }
.site-footer__social svg { display: block; }
.site-footer__social a:hover { color: var(--white); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 22px;
}
.site-footer__copy { font-size: 13px; color: #9A98B6; }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer__nav a { font-size: 13px; color: #9A98B6; text-decoration: none; transition: color .15s ease; }
.site-footer__nav a:hover { color: #D6D6E6; }

/* ----------------------------------------------------------------------------
   12. Lightbox
   ---------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28,30,38,.86);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; cursor: zoom-out; border: 0; background: transparent; }
.lightbox__btn {
  position: absolute; border-radius: 50%; border: 0;
  background: rgba(245,244,239,.14); color: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
  transition: background .15s ease;
}
.lightbox__btn:hover { background: rgba(245,244,239,.26); }
.lightbox__close { top: 24px; right: 28px; width: 44px; height: 44px; font-size: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; }
.lightbox__prev { left: 30px; }
.lightbox__next { right: 30px; }
.lightbox__stage {
  position: relative; z-index: 1; width: min(64vw, 720px); height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__meta {
  position: absolute; left: 0; right: 0; bottom: -34px;
  display: flex; justify-content: space-between;
}
.lightbox__label { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: #E6E6F6; }
.lightbox__counter { font-family: var(--font-mono); font-size: 12px; color: #A6AECB; }

/* ----------------------------------------------------------------------------
   13. Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 980px) {
  :root { --gutter: 28px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 36px; }
  .hero__title { font-size: 44px; }
  .hero__media { order: -1; }
  .hero__frame { height: 380px; }
  .teaser-artist { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .teaser-artist__photo { height: 380px; }
  .teaser-studio__grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid { grid-template-columns: 1fr; gap: 32px; }
  .artist-photo { height: 460px; }
  .offer-row, .offer-row--img-left, .offer-row--img-right { grid-template-columns: 1fr; }
  .offer-row--img-right .offer-row__media { order: 0; }
  .offer-row--img-right .offer-row__body { order: 1; }
  .offer-row__media { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
}

@media (max-width: 760px) {
  .nav, .nav__shop { display: none; }
  .nav-toggle { display: block; }
  .teaser-gallery__grid { grid-template-columns: 1fr; }
  .gallery-head h1 { font-size: 52px; }
  .head-row h1, .head-row h2 { font-size: 46px !important; }
  .studio-page h1, .artist-page h1, .contact-page h1 { font-size: 50px; }
  .field-row { grid-template-columns: 1fr; }
  .slide-stage { height: 420px; }
  .lightbox__stage { width: 86vw; height: 70vh; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .hero__title { font-size: 31px; }
  .teaser-studio__grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 1; }
  .teaser-artist h2 { font-size: 46px; }
  .teaser-studio h2, .teaser-gallery h2 { font-size: 44px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------------------
   14. Motion preferences
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
