:root {
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --ink: #141414;
  --muted: #6b6560;
  --line: rgba(20, 20, 20, 0.1);
  --accent: #b8952a;
  --accent-strong: #c9a63a;
  --accent-soft: rgba(184, 149, 42, 0.12);
  --danger: #c0574a;
  --ok: #3f8f6b;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(184, 149, 42, 0.1), transparent 55%),
    radial-gradient(700px 360px at 0% 20%, rgba(20, 20, 20, 0.03), transparent 50%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.screen-reader-text,
.sb-skip { position: absolute; left: -9999px; }
.sb-skip:focus {
  left: 12px; top: 12px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 8px 12px;
}

.sb-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.sb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(250, 249, 246, 0.88);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.sb-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 84px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: visible;
}

.sb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
  flex: 0 0 auto;
}

.sb-brand__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 149, 42, 0.45);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 149, 42, 0.14), transparent 65%),
    #fff;
  box-shadow: 0 4px 14px rgba(184, 149, 42, 0.12);
}

.sb-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 4px 2px 2px;
}

.sb-brand__script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 3.2vw, 2.55rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #1a1712;
  padding: 0.15em 0.18em 0.05em;
  margin: 0;
  white-space: nowrap;
  overflow: visible;
}

.sb-brand__sub {
  margin-top: 0;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.2em;
}

.sb-brand--footer {
  align-items: center;
}

.sb-brand--footer .sb-brand__mark {
  width: 36px;
  height: 36px;
}

.sb-brand--footer .sb-brand__script {
  font-size: 2.05rem;
  line-height: 1.4;
  padding: 0.1em 0.12em;
}

.sb-brand--footer .sb-brand__text {
  padding: 6px 2px 4px;
}

.sb-nav { display: flex; align-items: center; gap: 22px; }
.sb-nav__list {
  list-style: none; display: flex; gap: 18px; margin: 0; padding: 0;
}
.sb-nav__list a,
.sb-nav__ig {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.sb-nav__list a:hover,
.sb-nav__list .current-menu-item > a,
.sb-nav__ig:hover { color: var(--ink); }

.sb-nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.sb-nav-toggle__bar { display: block; height: 1px; background: currentColor; margin: 7px 0; }

@media (max-width: 820px) {
  .sb-nav-toggle { display: block; }
  .sb-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 20px 18px 24px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .sb-nav.is-open { display: flex; }
  .sb-nav__list { flex-direction: column; gap: 12px; }
}

/* Intro — compact portrait + headline */
.sb-intro {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(184, 149, 42, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.sb-intro__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

@media (max-width: 720px) {
  .sb-intro__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 28px;
    gap: 18px;
  }
}

.sb-intro__portrait {
  position: relative;
  margin: 0;
  width: 148px;
  height: 148px;
  min-width: 148px;
  min-height: 148px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.12);
  outline: 1px solid rgba(184, 149, 42, 0.55);
  outline-offset: 4px;
  animation: sb-fade-up 0.75s ease both;
  align-self: center;
  justify-self: start;
}

.sb-intro__portrait img {
  width: 148px !important;
  height: 148px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 15%;
  border-radius: 50%;
  display: block;
  background: #eceae4;
}

@media (max-width: 720px) {
  .sb-intro__portrait {
    width: 128px;
    height: 128px;
    min-width: 128px;
    min-height: 128px;
    justify-self: center;
  }
  .sb-intro__portrait img {
    width: 128px !important;
    height: 128px !important;
  }
}

.sb-intro__copy {
  animation: sb-fade-up 0.85s ease 0.06s both;
  min-width: 0;
}

@media (max-width: 720px) {
  .sb-intro__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.sb-intro__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.sb-intro__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.sb-intro__handle {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.sb-intro__lead {
  margin: 14px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.sb-intro__meta {
  margin-top: 18px;
  display: flex;
  gap: 28px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 20rem;
}

@media (max-width: 720px) {
  .sb-intro__meta {
    justify-content: center;
  }
}

.sb-intro__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.sb-intro__meta span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sb-intro__cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 720px) {
  .sb-intro__cta {
    justify-content: center;
  }
}

/* Buttons */
.sb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px;
  border: 1px solid transparent; cursor: pointer;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.sb-btn--primary { background: var(--accent); color: #fff; }
.sb-btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.sb-btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.sb-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.sb-link {
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
  border-bottom: 1px solid transparent;
}
.sb-link:hover { border-color: var(--accent); }

/* Sections */
.sb-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 56px;
}
.sb-section__head { margin-bottom: 18px; max-width: 40rem; }
.sb-section__head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.sb-section__head h2,
.sb-page-hero h1,
.sb-split h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin: 0 0 8px;
}
.sb-section__head p,
.sb-page-hero p,
.sb-split p { margin: 0; color: var(--muted); }
.sb-section__foot { margin-top: 28px; }

.sb-page-hero {
  padding: 40px 18px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.sb-page-hero__inner { max-width: var(--max); margin: 0 auto; }
.sb-page-hero--compact { padding-top: 28px; }
.sb-page-hero__lead { margin-top: 10px; color: var(--muted); max-width: 42rem; }
.sb-eyebrow { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

.sb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
@media (max-width: 720px) { .sb-split { grid-template-columns: 1fr; } }
.sb-empty { color: var(--muted); }

/* Instagram-like mosaic */
.sb-mosaic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

@media (max-width: 1100px) {
  .sb-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sb-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sb-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
}

.sb-tile { margin: 0; }
.sb-tile__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #eceae4;
  overflow: hidden;
  cursor: pointer;
}
.sb-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.sb-tile__btn:hover .sb-tile__img { transform: scale(1.04); }
.sb-tile__fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  background: linear-gradient(160deg, var(--accent-soft), #eceae4);
}
.sb-tile__shade {
  position: absolute; inset: 0;
  background: rgba(20, 20, 20, 0);
  transition: background 0.25s ease;
}
.sb-tile__btn:hover .sb-tile__shade { background: rgba(20, 20, 20, 0.12); }
.sb-tile__play {
  position: absolute;
  top: 10px; right: 10px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
  z-index: 2;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Filters */
.sb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sb-filter {
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sb-filter.is-active,
.sb-filter:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* Single / embed */
.sb-embed { max-width: 540px; margin: 0 auto; }
.sb-embed iframe,
.sb-embed blockquote { margin: 0 auto !important; max-width: 100% !important; }
.sb-single__source { text-align: center; margin: 20px 0 0; }
.sb-prose { max-width: 42rem; margin: 24px auto 0; color: var(--muted); }
.sb-prose p:first-child { margin-top: 0; }

.sb-about,
.sb-contact {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .sb-about, .sb-contact { grid-template-columns: 1fr; }
}
.sb-about__aside,
.sb-contact__aside {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.sb-about__label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sb-about__note { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

/* Forms */
.sb-form { display: grid; gap: 14px; }
.sb-field { display: grid; gap: 7px; }
.sb-field span {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.sb-field input,
.sb-field textarea,
.sb-form input[type="text"],
.sb-form input[type="email"],
.sb-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}
.sb-field input:focus,
.sb-field textarea:focus,
.sb-form input:focus,
.sb-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.sb-hp { position: absolute !important; left: -9999px !important; }
.sb-alert { padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--line); background: #fff; }
.sb-alert--success { border-color: var(--ok); color: var(--ok); }
.sb-alert--error { border-color: var(--danger); color: var(--danger); }
.sb-comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.sb-comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sb-comment-note { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.sb-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 36px 18px 24px;
  background: #fff;
}
.sb-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 22px;
}
@media (max-width: 820px) { .sb-footer__inner { grid-template-columns: 1fr; } }
.sb-footer__brand {
  overflow: visible;
}
.sb-footer__brand .sb-brand {
  margin-bottom: 10px;
}
.sb-footer__note, .sb-footer__copy { color: var(--muted); font-size: 0.88rem; }
.sb-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.sb-footer__copy {
  max-width: var(--max); margin: 22px auto 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.sb-pagination { margin-top: 28px; }
.sb-pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.sb-pagination a, .sb-pagination span { color: var(--muted); }

/* Lightbox */
.sb-lightbox[hidden] { display: none !important; }
.sb-lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 16px;
}
.sb-lightbox__backdrop {
  position: absolute; inset: 0; background: rgba(20, 20, 20, 0.72);
}
.sb-lightbox__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 960px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  animation: sb-fade-up 0.3s ease both;
}
.sb-lightbox__close {
  position: absolute; top: 6px; right: 10px;
  border: 0; background: transparent; color: var(--ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.sb-lightbox__media { min-height: 160px; }
.sb-lightbox__iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  max-height: 75vh;
  border: 0;
  background: #fafafa;
}
.sb-lightbox__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 14px 0 10px;
}
.sb-lightbox__title[hidden] { display: none !important; }
.sb-lightbox__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 900px) {
  .sb-lightbox__dialog {
    width: min(100%, 520px);
    padding: 14px;
  }
  .sb-lightbox__iframe {
    min-height: 560px;
  }
}

@keyframes sb-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Legacy grid class maps to mosaic if used */
.sb-grid { display: contents; }
