/* =========================================================
   Zdeňka Kulhánková — fotografka
   Dark gallery / editorial theme
   ========================================================= */

:root {
  --bg:        #0d0d0f;
  --bg-2:      #131316;
  --panel:     #17171b;
  --panel-2:   #1e1e23;
  --line:      #2b2b31;
  --line-soft: #232329;
  --text:      #ece8e1;
  --text-dim:  #a49e93;
  --text-mute: #726d64;
  --bronze:    #c69a6d;
  --bronze-2:  #d9b489;
  --bronze-dk: #8a6b47;
  --white:     #f7f5f1;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 2px;

  /* Display / headings: characterful grotesque (sans-serif). --serif name kept for compatibility. */
  --serif: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Elegant serif — used only for quotes and lead statements, not headings */
  --elegant: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }

::selection { background: var(--bronze); color: #14100b; }

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

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
}

.h-display {
  font-size: clamp(2.35rem, 5.4vw, 4.4rem);
  font-weight: 300;
  text-wrap: balance;
}
h2.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
}
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--bronze-dk);
}
.eyebrow.center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--bronze-dk);
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-dim);
  font-weight: 300;
}

.intro-lead {
  margin-top: 2rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--text-dim);
}
.intro-lead strong { color: var(--text); font-weight: 500; }

.serif-quote {
  font-family: var(--elegant);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.32;
  letter-spacing: 0;
  color: var(--white);
}

.muted { color: var(--text-dim); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
/* when sections stack directly, don't double up the vertical gap */
.section + .section { padding-top: clamp(1.5rem, 3.5vw, 2.75rem); }
.divider { border-top: 1px solid var(--line-soft); }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: var(--pad-y) 1.7rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--bronze);
  color: var(--white);
  background: transparent;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--bronze); color: #140f09; transform: translateY(-2px); }
.btn--solid { background: var(--bronze); color: #140f09; }
.btn--solid:hover { background: var(--bronze-2); border-color: var(--bronze-2); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: transparent; color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze-2);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s var(--ease);
}
.link-underline:hover { background-size: 100% 1px; }
.link-underline svg { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.4rem;
  transition: padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Backdrop lives on a pseudo-element so the header is NOT a containing block
   for the position:fixed mobile nav panel. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 13, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled {
  padding-block: .85rem;
  border-bottom-color: var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .95rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--white);
  line-height: 1.12;
}
.brand img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; transition: width .5s var(--ease), height .5s var(--ease); }
.site-header.scrolled .brand img { width: 42px; height: 42px; }
.brand span small {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 3px;
}
@media (max-width: 560px) {
  .brand { font-size: 1.05rem; gap: .7rem; }
  .brand img { width: 40px; height: 40px; }
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: .4rem 0;
  position: relative;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    height: 100svh;
    width: min(84vw, 360px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 3rem var(--gutter);
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .55s var(--ease);
    z-index: 90;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: 8rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(13,13,15,.97) 2%, rgba(13,13,15,.55) 42%, rgba(13,13,15,.78) 100%);
}
.hero__inner { max-width: 60rem; }
.hero h1 { margin-top: 1.6rem; }
.hero .lead { margin-top: 1.6rem; max-width: 38rem; }
.hero__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__tags {
  margin-top: 2.4rem;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
  line-height: 2;
}
.hero__tag { white-space: nowrap; margin-right: .9rem; }

/* split hero: portrait on the right, text on the left */
.hero--split { align-items: center; padding-top: 7rem; }
.hero--split::after { display: none; }
.hero--split .hero__media { left: auto; width: 48vw; }
.hero--split .hero__media img { object-position: 52% 50%; }
.hero--split .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(13,13,15,0) 28%),
    linear-gradient(to bottom, rgba(13,13,15,.7) 0%, rgba(13,13,15,0) 20%);
}
.hero--split .hero__inner { max-width: var(--maxw); }
.hero--split .hero__inner > * {
  max-width: min(38rem, calc(52vw - max(0px, (100vw - var(--maxw)) / 2) - var(--gutter) - 2.5rem));
}
.hero--split .h-display { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
@media (max-width: 900px) {
  .hero--split { display: block; min-height: 0; padding-top: 0; }
  .hero--split .hero__media { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 72svh; z-index: 0; }
  .hero--split .hero__media::after {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(13,13,15,0) 30%),
      linear-gradient(to bottom, rgba(13,13,15,.7) 0%, rgba(13,13,15,0) 22%);
  }
  .hero--split .hero__inner { position: relative; margin-top: -3rem; }
  .hero--split .hero__inner > * { max-width: none; }
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.6rem;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-mute);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(var(--bronze), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity:.3; transform: scaleY(.6); } 50% { opacity:1; transform: scaleY(1);} }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- page header (interior) ---------- */
.page-head {
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-head h1 { margin-top: 1.4rem; max-width: 20ch; }
.page-head .lead { margin-top: 1.6rem; max-width: 46rem; }

/* interior page header: photo on the left, "O mně" text beside it on the right */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
/* faint background photo that just barely shows through behind the text */
.page-hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../img/gallery/hero_04-2000.jpg) right center / cover no-repeat;
  opacity: .12;
  filter: blur(1px) saturate(.85);
  -webkit-mask-image: linear-gradient(to right, transparent 34%, #000 92%);
  mask-image: linear-gradient(to right, transparent 34%, #000 92%);
}
@media (max-width: 430px) {
  .page-hero--split::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 40%, #000 92%);
    mask-image: linear-gradient(to bottom, transparent 40%, #000 92%);
  }
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4.5vw, 4rem);
  align-items: center;
}
.page-hero__text h1 { margin-top: 1rem; max-width: 20ch; }
.page-hero__text h1.page-hero__kicker { margin: 0 0 1.5rem; max-width: none; }
.page-hero__text .lead { margin-top: 1.3rem; max-width: 32rem; }
.page-hero__text .page-hero__kicker + .lead {
  margin-top: 0;
  color: var(--white);
  font-family: var(--elegant);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0;
}
.page-hero__photo { position: relative; }
.page-hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 64svh;
  object-fit: cover;
  object-position: 30% center;
  opacity: .85;
  -webkit-mask-image: linear-gradient(to right, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, #000 84%, transparent 100%);
}
@media (max-width: 640px) {
  .page-hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 1.1rem; }
  .page-hero__photo img { aspect-ratio: 3 / 4; }
}
@media (max-width: 430px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .page-hero__photo img {
    aspect-ratio: 3 / 2;
    max-height: none;
    object-position: 28% center;
    -webkit-mask-image: linear-gradient(to top, #000 78%, transparent 100%);
    mask-image: linear-gradient(to top, #000 78%, transparent 100%);
  }
}

/* evenly distributed two-column body text */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 4.5rem);
  align-items: start;
}
.about-split__body > * + * { margin-top: 1.15rem; }
.about-split .serif-quote { margin-bottom: .4rem; }

.ceo-list { display: flex; flex-direction: column; gap: .7rem; color: var(--text-dim); }
.ceo-list li { display: flex; gap: .8rem; line-height: 1.6; }
.ceo-list li::before { content: "—"; color: var(--bronze); flex-shrink: 0; }
@media (max-width: 760px) {
  .about-split { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 3.5rem;
}
.value {
  background: var(--bg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
}
.value .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--bronze);
}
.value h3 { margin: .8rem 0 .6rem; }
.value p { color: var(--text-dim); font-size: .95rem; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.svc-list { margin-top: 3.5rem; border-top: 1px solid var(--line-soft); }
.svc {
  display: grid;
  grid-template-columns: 4rem 1fr minmax(auto, 42%);
  gap: 2rem;
  align-items: start;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease);
}
.svc:hover { background: linear-gradient(90deg, transparent, rgba(198,154,109,.05) 50%, transparent); }
.svc__idx { font-family: var(--serif); color: var(--bronze); font-size: 1.05rem; padding-top: .35rem; }
.svc__name { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; }
.svc__name a { color: inherit; transition: color .3s var(--ease); }
.svc__name a:hover { color: var(--bronze-2); }
.svc__desc { color: var(--text-dim); font-size: .98rem; }
.svc__desc .link-underline { margin-left: .4rem; }
@media (max-width: 820px) {
  .svc { grid-template-columns: 2.5rem 1fr; }
  .svc__desc { grid-column: 1 / -1; }
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 3.5rem;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--bronze-dk);
  padding-top: 1.4rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bronze);
}
.step h3 { font-size: 1.25rem; margin: .7rem 0 .5rem; }
.step p { font-size: .9rem; color: var(--text-dim); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(3.5rem, 9vw, 7rem); }
.feature--rev .feature__media { order: 2; }
.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
/* Portrait of Zdeňka: keep her centred, trim the glass reflection on the right
   rather than the person; give the camera a little room off the left edge. */
.feature__media.feature__media--portrait { aspect-ratio: 1 / 1; }
.feature__media.feature__media--portrait img { object-position: 9% 30%; }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(198,154,109,.28);
  pointer-events: none;
}
.feature h2 { margin: 1.2rem 0 1rem; }
.feature p + p { margin-top: 1rem; }
.feature p { color: var(--text-dim); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .feature__media { aspect-ratio: 3 / 2; }
}

/* ---------- portfolio gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 2.5rem 0 2.5rem;
}
.gallery-filters button {
  padding: .6rem 1.15rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.gallery-filters button:hover { color: var(--white); border-color: var(--text-mute); }
.gallery-filters button[aria-pressed="true"] {
  color: #140f09;
  background: var(--bronze);
  border-color: var(--bronze);
}

.gallery {
  columns: 3;
  column-gap: 14px;
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery figure {
  break-inside: avoid;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
}
.gallery figure img {
  width: 100%;
  transition: transform 1s var(--ease), opacity .8s var(--ease), filter .6s var(--ease);
  filter: saturate(.92) brightness(.96);
}
.gallery figure:hover img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.gallery figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem .9rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(10,10,12,.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery figure.is-hidden { display: none; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,8,10,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  color: var(--text-dim);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { color: var(--white); border-color: var(--text); }
.lightbox__close { top: clamp(1rem,4vw,2.5rem); right: clamp(1rem,4vw,2.5rem); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(.5rem,3vw,2rem); }
.lightbox__nav--next { right: clamp(.5rem,3vw,2rem); }
.lightbox__count {
  position: absolute;
  bottom: clamp(1rem,4vw,2.5rem);
  left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .2em; color: var(--text-mute);
}
.lightbox svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: clamp(1rem,4vw,2.5rem); transform: none; } }

/* ---------- reference projects ---------- */
.projects { margin-top: 3.5rem; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.project {
  background: var(--bg);
  display: grid;
  grid-template-columns: minmax(auto, 30%) 1fr;
  gap: 2.5rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  align-items: baseline;
}
.project h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; }
.project p { color: var(--text-dim); margin-top: .8rem; }
.project .project__meta { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
@media (max-width: 720px) { .project { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- pricing ---------- */
.price-group + .price-group { margin-top: clamp(3rem, 7vw, 5rem); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 2.5rem;
}
.price-card {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .4s var(--ease);
}
.price-card:hover { background: var(--panel); }
.price-card--feature { background: var(--panel-2); }
.price-card__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; }
.price-card__price { font-family: var(--serif); font-size: 1.9rem; color: var(--bronze-2); font-weight: 300; }
.price-card__price small { font-family: var(--sans); font-size: .7rem; letter-spacing: .1em; color: var(--text-mute); display: block; text-transform: uppercase; margin-top: .3rem; }
.price-card ul { display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; color: var(--text-dim); border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.price-card li { display: flex; gap: .6rem; }
.price-card li::before { content: "—"; color: var(--bronze-dk); }
.price-note { margin-top: 2rem; font-size: .85rem; color: var(--text-mute); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 3.5rem; }
.quote { background: var(--bg); padding: clamp(1.8rem, 4vw, 3rem); }
.quote__stars { color: var(--bronze); letter-spacing: .3em; font-size: .8rem; }
.quote blockquote { font-family: var(--elegant); font-weight: 500; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; margin: 1rem 0 1.2rem; color: var(--white); }
.quote figcaption { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 1.35rem;
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--bronze);
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.6rem; color: var(--text-dim); max-width: 60ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); margin-top: 3rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { display: grid; gap: 1.5rem; }
.contact-info dt { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); margin-bottom: .35rem; }
.contact-info dd { font-size: 1.05rem; color: var(--text); }
.contact-info dd a:hover { color: var(--bronze-2); }

.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.field label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: .9rem 1rem;
  font: inherit;
  font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze); background: var(--panel-2); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--text-mute); margin-top: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin: 1.2rem auto 1.6rem; max-width: 18ch; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(198,154,109,.14), transparent 60%);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 7vw, 5rem) 2.5rem;
  background: var(--bg-2);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.2rem; font-weight: 600; }
.site-footer a { color: var(--text-dim); font-size: .92rem; line-height: 2; transition: color .3s var(--ease); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); }
.site-footer .foot-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
.site-footer .foot-brand + p { color: var(--text-mute); font-size: .9rem; margin-top: .8rem; max-width: 32ch; }
.foot-social { display: flex; gap: 1.1rem; margin-top: 1.4rem; }
.foot-social a { display: flex; }
.foot-social svg { width: 19px; height: 19px; }
.foot-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--text-mute);
}
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .col-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- misc ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bronze);
  color: #140f09;
  padding: .8rem 1.2rem;
  z-index: 300;
  font-size: .8rem;
  letter-spacing: .1em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.text-col { max-width: 62ch; }
.text-col p + p { margin-top: 1.2rem; }
.text-col h2 { margin: 2.5rem 0 1rem; }

/* ---------- blog ---------- */
.article-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 3rem; }
.article-card {
  background: var(--bg);
  display: grid;
  grid-template-columns: minmax(0, 34%) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  align-items: center;
  transition: background .4s var(--ease);
}
.article-card:hover { background: var(--panel); }
.article-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__meta { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.article-card h2, .article-card h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.8vw, 2rem); margin: .7rem 0 .6rem; }
.article-card h2 a, .article-card h3 a { color: inherit; transition: color .3s var(--ease); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--bronze-2); }
.article-card p { color: var(--text-dim); font-size: .95rem; }
.article-card .link-underline { margin-top: 1rem; }
@media (max-width: 640px) { .article-card { grid-template-columns: 1fr; } }

.breadcrumb { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--bronze-2); }
.breadcrumb span { color: var(--line); margin: 0 .5rem; }

.article {
  max-width: calc(46rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: clamp(7.5rem, 13vw, 10.5rem);
}
.article__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.article__meta { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.article__head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 300; margin: 1.2rem 0 1.2rem; }
.article__perex { font-family: var(--elegant); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--white); }
.article__body { font-size: 1.06rem; line-height: 1.85; color: var(--text-dim); }
.article__body > * + * { margin-top: 1.5rem; }
.article__body h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text); margin-top: 3rem; margin-bottom: .2rem; line-height: 1.2; }
.article__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--text); margin-top: 2rem; }
.article__body strong { color: var(--text); font-weight: 500; }
.article__body a { color: var(--bronze-2); background-image: linear-gradient(var(--bronze-dk), var(--bronze-dk)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; }
.article__body a:hover { background-image: linear-gradient(var(--bronze), var(--bronze)); }
.article__body ul, .article__body ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .6rem; }
.article__body li { padding-left: .3rem; }
.article__body li::marker { color: var(--bronze); }
.article__body figure { margin: 2.4rem 0; }
.article__body figure img { width: 100%; border: 1px solid var(--line-soft); }
.article__body figcaption { font-size: .8rem; color: var(--text-mute); margin-top: .6rem; }
.article__body blockquote {
  border-left: 2px solid var(--bronze-dk);
  padding-left: 1.4rem;
  margin: 2.2rem 0;
  font-family: var(--elegant);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--white);
}
.callout {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(1.4rem, 3vw, 2rem);
  margin: 2.6rem 0;
}
.callout__label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: .7rem; }
.callout p { color: var(--text-dim); font-size: .98rem; }
.article__foot { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
