/* ==========================================================================
   Ksorialphotography — Kiro Sorial
   Warm, minimal editorial portfolio. Neutral palette so the photographs
   carry the colour; serif display type for elegance, clean sans for reading.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink:        #141310;
  --ink-2:      #2E2A24;
  --ink-soft:   #575047;
  --muted:      #7C7466;
  --paper:      #FAF8F4;
  --paper-2:    #F2EDE5;
  --paper-3:    #E8E1D6;
  --white:      #FFFFFF;
  --accent:     #A87B4E;
  --accent-dk:  #8A6238;
  --gold:       #C9A24B;
  --gold-lt:    #F0DCA2;
  --gold-dk:    #B8860B;
  --line:       rgba(20, 19, 16, .10);
  --line-2:     rgba(20, 19, 16, .18);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gap:  clamp(1.25rem, 3vw, 2.5rem);
  --pad:  clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 1px 2px rgba(20,19,16,.05), 0 6px 18px rgba(20,19,16,.05);
  --shadow-md: 0 18px 50px rgba(20,19,16,.12);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: clamp(1rem, .35vw + .94rem, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------- structure */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.wrap--narrow { max-width: 860px; }

.section { padding: var(--pad) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.72); }
.section--ink .section__title { color: var(--paper); }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__title {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  margin-bottom: 1rem;
}
.section__lede {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  max-width: 62ch;
}
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: rgba(255,255,255,.66); }

/* ----------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 1px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--primary:hover { --btn-bg: var(--accent-dk); --btn-bd: var(--accent-dk); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }

.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--paper); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: rgba(255,255,255,.92); --btn-bd: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: #fff; }

.btn--sm { padding: .7rem 1.25rem; font-size: .6875rem; }
.btn--wide { width: 100%; padding: 1.15rem 2rem; }

/* -------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: .06em;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.brand__mark--lg { width: 54px; height: 54px; font-size: 1.25rem; }
.brand__k {
  background: linear-gradient(135deg, #F7E3A1 0%, #D4AF37 48%, #B8860B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .02em;
}
.brand__sub {
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .62;
}

.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__links a {
  font-size: .8125rem;
  letter-spacing: .04em;
  position: relative;
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }

/* over the hero: light text, no background */
.nav { color: rgba(255,255,255,.92); }
.nav .brand__mark { border-color: rgba(255,255,255,.4); }
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,11,9,.58), rgba(12,11,9,0));
  transition: opacity .4s var(--ease);
}
.nav--solid::before { opacity: 0; }
.nav--solid {
  color: var(--ink-2);
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: .7rem 0;
}
.nav--solid .brand__mark { border-color: var(--line-2); }
.nav--solid .nav__cta { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 9rem 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  animation: heroDrift 28s var(--ease) infinite alternate;
  z-index: -2;
}
.hero__media.is-ready { opacity: 1; }
.hero__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 32%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__layer.is-ready { opacity: 1; }
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.085); }
}
.hero__media--placeholder {
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(168,123,78,.42) 0%, transparent 58%),
    radial-gradient(90% 70% at 12% 88%, rgba(87,80,71,.5) 0%, transparent 62%),
    linear-gradient(150deg, #1D1A16 0%, #2A251F 48%, #141310 100%);
  opacity: 1;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(12,11,9,.9) 0%, rgba(12,11,9,.42) 32%, rgba(12,11,9,.08) 60%, rgba(12,11,9,.4) 100%);
}
.hero__title, .hero__sub, .hero .eyebrow, .hero__stats {
  text-shadow: 0 2px 22px rgba(0,0,0,.42);
}
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  color: #fff;
}
.hero__title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: .96;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -.02em;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  max-width: 46ch;
  color: rgba(255,255,255,.82);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats li { display: flex; flex-direction: column; gap: .3rem; }
.hero__stats strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.hero__stats span {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3rem, 7vw, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.7);
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__scroll svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.25;
  animation: nudge 2.4s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* ------------------------------------------------------- featured mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(230px, 23vw, 330px);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  cursor: zoom-in;
  height: 100%;
}
.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.mosaic__item img,
.tile img,
.grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease);
  opacity: 0;
}
.mosaic__item img.is-ready,
.tile img.is-ready,
.grid__item img.is-ready { opacity: 1; }
.mosaic__item:hover img,
.tile:hover img,
.grid__item:hover img { transform: scale(1.045); }

@media (max-width: 780px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(190px, 44vw, 260px);
  }
  .mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* --------------------------------------------------------- category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  text-align: left;
  border: none;
  padding: 0;
}
.tile--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .tile--wide { grid-column: span 1; aspect-ratio: 3 / 4; } }

.tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,.86) 0%, rgba(12,11,9,.28) 45%, rgba(12,11,9,.05) 100%);
  transition: opacity .5s var(--ease);
}
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  color: #fff;
}
.tile__label {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  margin: 0 0 .35rem;
}
.tile__count {
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  margin: 0;
}
.tile__cue {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.tile:hover .tile__cue, .tile:focus-visible .tile__cue { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------ filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.filter-bar__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .55rem 1.05rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: .75rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-bar__count {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------- photo grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.grid__item {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
  border: none;
  padding: 0;
  animation: riseIn .65s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.grid__item__tag {
  position: absolute;
  left: .85rem; bottom: .85rem;
  padding: .3rem .6rem;
  background: rgba(12,11,9,.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .5625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.grid__item:hover .grid__item__tag,
.grid__item:focus-visible .grid__item__tag { opacity: 1; transform: translateY(0); }

.load-more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ------------------------------------------------------------ empty state */
.empty {
  grid-column: 1 / -1;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px dashed var(--line-2);
  text-align: center;
  background: rgba(255,255,255,.4);
}
.empty h3 {
  font-size: 1.5rem;
  margin-bottom: .6rem;
}
.empty p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto .5rem; }
.empty code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8125rem;
  background: var(--paper-3);
  padding: .2rem .45rem;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- about */
.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

.about__media { position: relative; }
.about__frame {
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  overflow: hidden;
  position: relative;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: none;
}
.about__body .section__title { margin-bottom: 1.5rem; }
.about__body p { color: var(--ink-soft); }

.about__points {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.about__points li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 1px;
  background: var(--accent);
}
.about__points strong { color: var(--ink); font-weight: 500; }

.about__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* --------------------------------------------------------------- process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: step;
}
.step { padding-top: 1.75rem; border-top: 1px solid var(--line-light); }
.step__num {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .9rem;
}
.step h3 {
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: .6rem;
}
.step p { color: rgba(255,255,255,.62); font-size: .9375rem; margin: 0; }

/* -------------------------------------------------------------- packages */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.package {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.package__name { font-size: 1.6rem; margin-bottom: .35rem; }
.package__duration {
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.package__includes {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: .6rem;
  flex: 1;
}
.package__includes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.package__includes li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.package__price {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.packages__note {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: .9375rem;
  color: var(--ink-soft);
}
.packages__note a { color: var(--accent-dk); border-bottom: 1px solid currentColor; }

/* ---------------------------------------------------------------- quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.quote figcaption {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.5rem) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--accent-dk); }
.faq__icon { flex: 0 0 auto; position: relative; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq__icon::before { left: 0; top: 50%; width: 100%; height: 1px; }
.faq__icon::after  { top: 0; left: 50%; width: 1px; height: 100%; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq__a__inner {
  padding: 0 0 clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--ink-soft);
  font-size: .9375rem;
  max-width: 68ch;
}

/* --------------------------------------------------------------- inquiry */
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 940px) { .inquiry { grid-template-columns: 1fr; } }

.inquiry__intro .section__title { margin-bottom: 1.25rem; }
.inquiry__intro > p { color: var(--ink-soft); }

.inquiry__reassure {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.inquiry__reassure li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.inquiry__reassure li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-size: .875rem;
}

.inquiry__contact {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.inquiry__contact-label {
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.inquiry__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.inquiry__contact a:hover { color: var(--accent-dk); border-color: currentColor; }

/* ------------------------------------------------------------------ form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form__row--3 { grid-template-columns: 1fr 1fr .8fr; }
@media (max-width: 640px) {
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.field label {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 1px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,123,78,.13);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B4442F; background: #FDF7F6; }
.field__error {
  font-size: .75rem;
  color: #B4442F;
  margin-top: .4rem;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot {
  margin: 1rem 0 0;
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
}
.form__status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  font-size: .875rem;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-ok { border-left-color: #3F7A4F; }
.form__status.is-error { border-left-color: #B4442F; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand .brand__mark {
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--paper);
  margin: 0;
}
.footer__tag {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: .35rem 0 0;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
}
.footer__nav a {
  font-size: .875rem;
  transition: color .3s var(--ease);
}
.footer__nav a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 821px) { .footer__contact { text-align: right; } }
.footer__contact a {
  font-size: .875rem;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.footer__contact a:hover { color: #fff; border-color: currentColor; }
.footer__meta { font-size: .75rem; color: rgba(255,255,255,.45); margin: .5rem 0 0; }

.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer__legal p { font-size: .75rem; color: rgba(255,255,255,.42); margin: 0; }

/* -------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 9, 8, .97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  animation: fadeIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100svh - 13rem);
  object-fit: contain;
  opacity: 0;
  transition: opacity .45s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__stage img.is-ready { opacity: 1; }

.lightbox__loader {
  position: absolute;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.85);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
.lightbox__stage img.is-ready ~ .lightbox__loader { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Photographs are shown, not downloadable. Native image dragging, long-press
   "save image" and text selection are switched off; right-click is blocked in
   main.js. A screenshot can never be prevented, but the file is not offered. */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.lightbox__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
}
.lightbox__meta {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: .3rem 0 0;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__close {
  top: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
  width: 44px; height: 44px;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.75rem;
  line-height: 1;
}
.lightbox__nav--prev { left: clamp(.75rem, 2.5vw, 2rem); }
.lightbox__nav--next { right: clamp(.75rem, 2.5vw, 2rem); }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__stage img { max-height: calc(100svh - 16rem); }
}

/* ---------------------------------------------------------- custom cursor */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0;
  will-change: transform;
}
.cursor {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold);
  transition: opacity .35s var(--ease);
}
.cursor-follower {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(201, 162, 75, .55);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease),
              margin .35s var(--ease), background .35s var(--ease),
              border-color .35s var(--ease), opacity .35s var(--ease);
}
.cursor.is-active,
.cursor-follower.is-active { opacity: 1; }
.cursor-hover .cursor-follower {
  width: 50px; height: 50px;
  margin: -25px 0 0 -25px;
  background: rgba(201, 162, 75, .10);
  border-color: rgba(201, 162, 75, .9);
}
.cursor-hover .cursor { opacity: .35; }

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea { cursor: text !important; }
  body.has-custom-cursor select { cursor: pointer !important; }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ----------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 120%);
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: .9rem 1.4rem;
  font-size: .875rem;
  border-radius: 1px;
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease);
  max-width: min(90vw, 460px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ------------------------------------------------------- welcome / intro */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
  animation: welcomeAway 2.4s var(--ease) forwards;
}
.welcome.is-leaving { animation: welcomeAway .9s var(--ease) forwards; }
.welcome__inner {
  text-align: center;
  animation: welcomeIn .9s var(--ease) both;
}
.welcome__mark {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(255,255,255,.34);
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: .1em;
  color: var(--paper);
}
.welcome__name {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 .55rem;
  color: var(--paper);
}
.welcome__tag {
  margin: 0;
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.welcome__rule {
  display: block;
  width: 0;
  height: 1px;
  margin: 1.6rem auto 0;
  background: rgba(255,255,255,.42);
  animation: ruleIn 1.15s .3s var(--ease) forwards;
}
@keyframes ruleIn { to { width: 76px; } }
@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes welcomeAway {
  0%, 55% { opacity: 1; visibility: visible; }
  100%    { opacity: 0; visibility: hidden; }
}

.hero__inner { animation: heroIn 1.05s .15s var(--ease) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1.05s cubic-bezier(.16, 1, .3, 1),
              transform 1.05s cubic-bezier(.16, 1, .3, 1);
}

/* A quiet stagger as the portfolio comes into view. The hero already drifts,
   so this is the only other motion on the page. */
.mosaic.is-visible .mosaic__item,
.cat-grid.is-visible .tile {
  animation: tileIn .8s var(--ease) both;
}
.mosaic.is-visible .mosaic__item:nth-child(2),
.cat-grid.is-visible .tile:nth-child(2) { animation-delay: .05s; }
.mosaic.is-visible .mosaic__item:nth-child(3),
.cat-grid.is-visible .tile:nth-child(3) { animation-delay: .1s; }
.mosaic.is-visible .mosaic__item:nth-child(4),
.cat-grid.is-visible .tile:nth-child(4) { animation-delay: .15s; }
.mosaic.is-visible .mosaic__item:nth-child(5),
.cat-grid.is-visible .tile:nth-child(5) { animation-delay: .2s; }
.mosaic.is-visible .mosaic__item:nth-child(6),
.cat-grid.is-visible .tile:nth-child(6) { animation-delay: .25s; }
.mosaic.is-visible .mosaic__item:nth-child(7),
.cat-grid.is-visible .tile:nth-child(7) { animation-delay: .3s; }
.mosaic.is-visible .mosaic__item:nth-child(8) { animation-delay: .35s; }
.mosaic.is-visible .mosaic__item:nth-child(9) { animation-delay: .4s; }
@keyframes tileIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mosaic__item img, .tile img, .grid__item img, .hero__media { opacity: 1; }
  .mosaic.is-visible .mosaic__item, .cat-grid.is-visible .tile { animation: none; }
  .hero__media { animation: none; transform: scale(1.02); }
  .welcome { display: none; }
  .hero__inner { animation: none; }
  .cursor, .cursor-follower { display: none; }
  body.has-custom-cursor, body.has-custom-cursor * { cursor: auto !important; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .brand { gap: .55rem; }
  .brand__sub { display: none; }
  .brand__mark { width: 34px; height: 34px; font-size: .9rem; }
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .nav__cta {
    padding: .62rem .85rem;
    font-size: .6rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
