@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f2ec;
  --bg-2: #fbf9f5;
  --blush: #f3e7df;
  --ink: #1b1714;
  --soft: #4e453f;
  --muted: #645b54;
  --line: #ddd6cc;
  --accent: #7a5b4e;
  --deep: #231c19;
  --cream: #f7f3ed;
  --header: 3.65rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(122, 91, 78, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p, blockquote, figure, ul, ol { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 8.6vw, 4.7rem); }
h2 { font-size: clamp(1.85rem, 5.4vw, 2.85rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }

p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

:focus:not(:focus-visible) { outline: none; }

::selection { background: #e6d3c8; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--deep);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
}

.skip:focus { top: 0.7rem; }

.wrap {
  width: min(1080px, calc(100% - 2.25rem));
  margin-inline: auto;
}

.narrow {
  width: min(40rem, calc(100% - 2.25rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  color: var(--soft);
  max-width: 38rem;
}

.follow { margin-top: 0.85rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  min-height: 2.75rem;
  text-decoration: none;
}

.mark { width: 2.05rem; height: 2.05rem; display: block; flex: none; object-fit: contain; color: var(--deep); }

.brand__text {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.02;
  font-weight: 520;
}

.brand__text span {
  display: block;
  font-style: italic;
  font-weight: 450;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 50;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.1rem 0.35rem 0.45rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.js .nav-toggle { display: inline-flex; }

.nav-toggle__bars { display: grid; gap: 5px; }

.nav-toggle__bars i {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
}

.nav { width: 100%; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.8rem;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  font-weight: 500;
}

.nav__list a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }

.nav__phone { margin: 0 0 0.8rem; }

.nav__phone span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__phone a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  text-decoration: none;
}

.js .nav {
  position: fixed;
  inset: 0;
  z-index: 35;
  width: auto;
  background: var(--bg);
  padding: calc(var(--header) + 0.75rem) 1.125rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: auto;
}

.js .nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.js .nav__panel {
  min-height: calc(100svh - var(--header) - 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.js .nav__list {
  flex-direction: column;
  gap: 0;
  padding: 0.4rem 0 0;
}

.js .nav__list a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.1;
  min-height: 0;
  padding: 0.38rem 0;
  box-shadow: none;
}

.js .nav__list a[aria-current="page"] { font-style: italic; }

.hero { padding: 1.6rem 0 3.2rem; overflow: visible; }

.hero__grid { display: grid; gap: 1.75rem; overflow: visible; }

.hero__role {
  margin-top: 1rem;
  font-size: 1.02rem;
}

.hero__lead {
  margin-top: 0.7rem;
  max-width: 18em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.hero__grid > div {
  min-width: 0;
  width: 100%;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.45rem;
  width: 100%;
}

.hero__actions .btn {
  flex: 0 0 auto;
  margin-left: 0;
}

.hero__actions .btn--quiet {
  flex: 0 0 auto;
  margin-top: 0;
}

.hero__wing {
  width: min(11.5rem, 50vw);
  height: auto;
  aspect-ratio: 1198 / 1200;
  justify-self: end;
  margin-top: 0.35rem;
  display: block;
  color: var(--deep);
  overflow: visible;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfc6bc;
}

.btn--quiet {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.1rem;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  box-shadow: inset 0 -1px 0 currentColor;
}

.hero__actions .btn--quiet { margin-top: 0; }

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.actions .btn { width: 100%; }

@media (hover: hover) {
  .btn:hover { background: #3a312c; border-color: #3a312c; }
  .btn--ghost:hover,
  .btn--quiet:hover { background: transparent; color: var(--soft); border-color: #cfc6bc; }
}

.band { padding: 3.4rem 0; border-top: 1px solid var(--line); }

.band__grid { display: grid; gap: 0.85rem; }

.values, .steps {
  list-style: none;
  margin-top: 1.25rem;
  padding: 0;
  display: grid;
  gap: 0;
}

.values li, .steps li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.values li:last-child, .steps li:last-child { border-bottom: 1px solid var(--line); }

.values h3, .steps h3 { margin-bottom: 0.35rem; }

.values p, .steps p { color: var(--soft); }

.steps span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}

.letter {
  background: var(--blush);
  padding: 3.4rem 0;
}

.letter blockquote p {
  max-width: 22em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.sign {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
}

.sign::before { content: "\2014\00a0"; }

.creds {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero .creds + .hero__role {
  margin-top: 0.35rem;
}


.menu { margin-top: 0.4rem; }

.tabs {
  position: sticky;
  top: var(--header);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.4rem;
  padding: 0.55rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.tab {
  appearance: none;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}

@media (hover: hover) {
  .tab:hover { color: var(--ink); border-color: var(--line); }
  .tab[aria-selected="true"]:hover { color: var(--cream); border-color: var(--deep); }
}

.panel > .group {
  margin-top: 0;
  scroll-margin-top: calc(var(--header) + 4.5rem);
}

.item {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  gap: 0.55rem 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.menu .item:last-child { border-bottom: 1px solid var(--line); }

.thumb {
  display: block;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--blush);
  color: var(--accent);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb--empty {
  background: transparent;
}

.thumb svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  margin: 1.35rem auto;
}

.index {
  padding-top: 0.2rem;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}

.item__body h3 { margin: 0; }

.item__meta {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.item__desc {
  margin-top: 0.35rem;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: 34rem;
}

.item p { margin-top: 0.15rem; color: var(--soft); }

.item p.price {
  margin: 0;
  padding-top: 0.15rem;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  align-self: start;
}

.price small {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.item__ask {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid #cfc6bc;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.group {
  margin: 2.1rem 0 0.15rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.group:first-child { margin-top: 0; }

.note {
  margin-top: 1.35rem;
  color: var(--soft);
  max-width: 38rem;
}

.quote {
  background: var(--deep);
  color: var(--cream);
  padding: 3.6rem 0;
}

.quote p {
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.9rem, 6.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.quote__by {
  margin-top: 0.9rem;
  max-width: none;
  color: #eadfd6;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.page-hero { padding: 1.7rem 0 0.3rem; }

.page-hero h1 { max-width: 12em; }

.prose { padding: 1.35rem 0 3.2rem; }

.prose p, .prose li { color: var(--soft); }

.prose p + p { margin-top: 0.9rem; }

.prose h2 {
  margin: 2.15rem 0 0.7rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
}

.prose ul, .prose ol { padding-left: 1.15rem; }

.prose li + li { margin-top: 0.35rem; }

.lead-in::first-letter {
  float: left;
  padding: 0.12rem 0.4rem 0 0;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.8;
  font-weight: 520;
  color: var(--ink);
}

.path {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.path li {
  position: relative;
  padding: 0 0 1.45rem 1.05rem;
}

.path li::before {
  content: "";
  position: absolute;
  left: -0.28rem;
  top: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
}

.when {
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.path h3 { margin-bottom: 0.3rem; font-size: 1.3rem; }

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin-top: 1.1rem;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  color: var(--ink);
}

.phone {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.for-soin {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}

.for-soin[hidden] { display: none !important; }

.socials { list-style: none; margin-top: 0.8rem; padding: 0; }

.socials a {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-height: 3.3rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.socials li:last-child a { border-bottom: 1px solid var(--line); }

.socials span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.socials strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 520;
}

.card-photo {
  margin-top: 1.8rem;
  padding: 0.65rem 0.65rem 0.85rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.card-photo img { width: 100%; border-radius: 0.75rem; }

.card-photo figcaption {
  padding-top: 0.7rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}

.site-footer {
  padding: 2.3rem 0 calc(1.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.footer-name a { text-decoration: none; }

.quiet {
  margin-top: 0.35rem;
  color: var(--muted);
}

address.quiet { font-style: normal; }
address.quiet a { color: inherit; }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.15rem;
}

.jump a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  margin-top: 1.1rem;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  text-decoration: none;
}

.legal-links { margin-top: 0.15rem; }

.fine {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .actions { flex-direction: row; flex-wrap: wrap; }
  .actions .btn { width: auto; }
  .wrap, .narrow { width: min(1080px, calc(100% - 3.5rem)); }
  .narrow { width: min(40rem, calc(100% - 3.5rem)); }
}

@media (min-width: 760px) {
  .values, .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .values li, .steps li { border-top: 1px solid var(--line); border-bottom: 0; padding-right: 1rem; }
  .values li:last-child, .steps li:last-child { border-bottom: 0; }
}

@media (min-width: 960px) {
  .bar { flex-wrap: nowrap; }
  .nav-toggle, .js .nav-toggle { display: none; }

  .js .nav,
  .js .nav.is-open,
  .nav {
    position: static;
    inset: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    padding: 0;
  }

  .js .nav__panel, .nav__panel {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .js .nav__list, .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
    padding: 0;
  }

  .js .nav__list a, .nav__list a {
    font-family: var(--sans);
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    min-height: 2.75rem;
    padding: 0;
  }

  .js .nav__list a[aria-current="page"] {
    font-style: normal;
    box-shadow: inset 0 -1px 0 currentColor;
  }

  .nav__phone { display: none; }

  .hero {
    min-height: calc(100svh - var(--header));
    display: flex;
    align-items: center;
    padding: 2rem 0;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
    align-items: center;
    gap: 3rem;
  }

  .hero__wing { width: min(20rem, 30vw); aspect-ratio: 1198 / 1200; }

  .band { padding: 4.5rem 0; }

  .band__grid {
    grid-template-columns: 8.5rem 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
  }

  .page-hero { padding-top: 2.6rem; }
}

@media print {
  .site-header, .nav-toggle { display: none !important; }
  body { background: white; }
  a { text-decoration: underline; }
}


.item__more {
  appearance: none;
  margin: 0.55rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (hover: hover) {
  .item__more:hover { color: var(--ink); }
}

.soin-modal[hidden] { display: none !important; }

.soin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.soin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 32, 28, 0.45);
}

.soin-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 3rem rgba(40, 32, 28, 0.18);
}

.soin-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.soin-modal__grid {
  display: grid;
  gap: 1.1rem;
  padding: 1.25rem 1.15rem 1.4rem;
}

.soin-modal__media {
  width: min(14rem, 62%);
  margin: 0.35rem auto 0;
}

.soin-modal__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--blush);
}

.soin-modal__body h2 {
  margin: 0;
  padding-right: 2rem;
  font-size: 1.35rem;
}

.soin-modal__meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.soin-modal__price {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-weight: 500;
}

.soin-modal__text {
  margin-top: 0.85rem;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-line;
}

.soin-modal__actions {
  margin: 1.15rem 0 0;
}

.soin-modal__actions .btn {
  width: 100%;
}

@media (min-width: 720px) {
  .soin-modal__grid {
    grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
  }

  .soin-modal__media {
    width: 100%;
    margin: 0;
  }

  .soin-modal__actions .btn {
    width: auto;
  }
}

/* Créations */
.gallery-section { padding: 1.2rem 0 3.4rem; }

.gallery-empty {
  color: var(--soft);
  max-width: 28rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.5rem; }
}

.gallery__item { margin: 0; }

.gallery__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--blush);
}

.gallery__item figcaption {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.gallery__item figcaption strong {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.gallery__item figcaption span {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Studio (privé) */
.studio { padding: 0.6rem 0 3.4rem; max-width: 36rem; }

.studio-flash {
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.studio-error {
  margin-bottom: 1rem;
  color: #8a2f2f;
  font-weight: 500;
}

.studio-form {
  display: grid;
  gap: 1rem;
}

.studio-form label {
  display: grid;
  gap: 0.35rem;
}

.studio-form label span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio-form input[type="text"],
.studio-form input[type="password"],
.studio-form input[type="file"],
.studio-form textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.studio-form textarea { min-height: 6rem; resize: vertical; }

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.studio-logout { margin-top: 1.4rem; }

.text-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0.35rem 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.studio-list-title {
  margin: 2.4rem 0 0.9rem;
  font-size: 1.35rem;
}

.studio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.studio-list li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.studio-list img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  display: block;
  background: var(--blush);
}

.studio-list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 520;
}

.studio-list span {
  display: block;
  color: var(--soft);
  font-size: 0.92rem;
}

.studio-ghost {
  color: transparent;
  text-decoration: none;
  margin-left: 0.15rem;
}
.studio-ghost:focus,
.studio-ghost:hover { color: var(--muted); }

.studio-hint {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-current {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  color: var(--soft);
  font-size: 0.95rem;
}

.studio-current img {
  width: 7.5rem;
  height: 9.4rem;
  object-fit: cover;
  display: block;
  background: var(--blush);
}

.studio-item-actions {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
}

.studio-list li {
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
}

/* Lightbox */
body.lightbox-open { overflow: hidden; }

.gallery__link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  text-align: left;
}

.lightbox[hidden] { display: none !important; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 18, 0.72);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 980px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

.lightbox__figure {
  margin: 0;
  background: var(--cream);
  padding: 0.75rem 0.75rem 1rem;
  max-height: min(92vh, 980px);
  overflow: auto;
}

.lightbox__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 820px);
  object-fit: contain;
  background: #ebe4db;
}

.lightbox__figure figcaption {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.25rem;
  text-align: center;
}

.lightbox__figure strong {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 520;
  color: var(--ink);
}

.lightbox__figure span {
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.4;
}

.lightbox__close,
.lightbox__nav {
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.lightbox__close {
  position: absolute;
  top: -0.2rem;
  right: 0.1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.8rem;
}

.lightbox__nav {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
}

@media (max-width: 700px) {
  .lightbox__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
  }
  .lightbox__nav--prev { order: 2; }
  .lightbox__figure { order: 1; width: 100%; }
  .lightbox__nav--next { order: 3; }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.pager__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pager__link,
.pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.pager__link--disabled {
  color: var(--muted);
  pointer-events: none;
}

.pager__num[aria-current="page"] {
  background: var(--deep);
  color: var(--cream);
  border-radius: 999px;
}

.pager__meta {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-order {
  display: inline-flex;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.order-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: hover) {
  .order-btn:not(:disabled):hover {
    border-color: #cfc6bc;
    background: var(--bg-2, #f3eee7);
  }
}

.studio-placement {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.studio-placement legend {
  padding: 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio-placement__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}

.studio-placement__option input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--deep);
}
