/* ===== Reset & Base ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.002em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:root {
  --bg: #f7f4ef;
  --bg-alt: #ece7df;
  --surface: #ffffff;
  --ink: #1f1b16;
  --ink-soft: #5a5147;
  --muted: #8b8377;
  --line: #e2d9cc;
  --accent: #b81f2d;
  --accent-dark: #8f1822;
  --accent-soft: #f8e1e4;
  --shadow-sm: 0 2px 8px rgba(31, 27, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 27, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 27, 22, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
}

/* ===== Typography ===== */
.h2 {
  font-family: 'Kanit', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.08);
}
.brand__logo--footer {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.brand__name { font-size: 1.1rem; letter-spacing: -0.01em; font-weight: 700; }
.nav__links { display: flex; gap: 1.6rem; font-size: 0.95rem; }
.nav__links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav__links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 5rem) 1.5rem clamp(2.25rem, 6vw, 4rem);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(184,31,45,0.16), transparent 70%),
    radial-gradient(50% 40% at 90% 30%, rgba(184,31,45,0.10), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: -1;
}
.hero__ghosts {
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.36;
  filter: saturate(0.95) contrast(1.02);
  mix-blend-mode: multiply;
}
.hero-ghost {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 22px 60px rgba(31, 27, 22, 0.12);
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.2);
}
.hero-ghost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-ghost--1 {
  left: 2%;
  top: -0.8rem;
  width: clamp(300px, 25vw, 430px);
  aspect-ratio: 4 / 5;
  transform: rotate(-6deg);
}
.hero-ghost--2 {
  left: 24%;
  top: 0.8rem;
  width: clamp(180px, 16vw, 260px);
  aspect-ratio: 3 / 4;
  transform: rotate(4deg);
}
.hero-ghost--3 {
  left: 16%;
  bottom: 0.1rem;
  width: clamp(250px, 21vw, 350px);
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
}
.hero-ghost--4 {
  right: 4%;
  top: 0.7rem;
  width: clamp(260px, 23vw, 360px);
  aspect-ratio: 1 / 1.2;
  transform: rotate(2deg);
}
.hero-ghost--5 {
  right: 10%;
  bottom: -0.25rem;
  width: clamp(190px, 16vw, 290px);
  aspect-ratio: 3 / 4;
  transform: rotate(-4deg);
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  align-items: start;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: 1.3rem;
}
.hero__copy {
  text-align: left;
  padding-top: 1.35rem;
  max-width: 690px;
}
.hero__eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero__title {
  font-family: 'Kanit', system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.68;
  max-width: 640px;
  margin: 0 0 1.35rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.7rem;
}
.hero__trust span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 640px;
}
.hero__proof > div {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184,31,45,0.14);
  box-shadow: var(--shadow-sm);
}
.hero__proof strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.18rem;
}
.hero__proof span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}
.hero__visual {
  position: relative;
  padding: 0.35rem 0.35rem 0;
}
.hero-album__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(184,31,45,0.12);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.is-admin .hero-album__controls { display: flex; }
.is-admin .hero-album__remove,
.is-admin .hero-album__item--add { display: grid; }
.hero-album__remove,
.hero-album__item--add {
  display: none;
}
.hero-album__controls-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.hero-album__controls-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.hero-album__controls .btn--sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.8rem;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% -6% -8% 8%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(184,31,45,0.14), rgba(255,255,255,0.42));
  filter: blur(10px);
  z-index: 0;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 1rem 0.25rem 1rem 0.25rem;
  border-radius: 34px;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(184,31,45,0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.38), rgba(247,244,239,0.16));
  border: 1px solid rgba(255,255,255,0.42);
  z-index: 0;
}
.hero-album {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: stretch;
}
.hero-album__item {
  position: relative;
  padding: 0;
  border: 1px solid rgba(184,31,45,0.12);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 27, 22, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  background: rgba(255,255,255,0.74);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 4 / 3;
}
.hero-album__item img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
}
.hero-album__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(16, 12, 9, 0.5), transparent 58%);
}
.hero-album__tag,
.hero-album__caption {
  position: absolute;
  z-index: 2;
  color: #fff;
}
.hero-album__tag {
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-album__caption {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-album__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(31, 27, 22, 0.14);
}
.hero-album__item--add {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.62);
  border-style: dashed;
  border-color: rgba(184,31,45,0.2);
}
.hero-album__item--add::after {
  background: radial-gradient(50% 60% at 50% 30%, rgba(184,31,45,0.08), transparent 70%);
}
.hero-album__add-plus {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}
.hero-album__item--add .hero-album__caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  text-shadow: none;
  color: var(--ink);
}
.hero-album__remove {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.82);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.hero-album__remove:hover {
  opacity: 1;
  transform: scale(1.05);
  background: var(--accent-dark);
}
.hero-album__item .hero-album__remove {
  opacity: 0;
}
.hero-album__item:hover .hero-album__remove,
.hero-album__item:focus-within .hero-album__remove {
  opacity: 0.95;
}
.hero-album__spine {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(184,31,45,0.12);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-album__spine strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.hero-album__spine span {
  font-size: 0.82rem;
  line-height: 1.45;
}
.hero__note {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0.9rem 0 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(184,31,45,0.14);
  box-shadow: 0 10px 26px rgba(31, 27, 22, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
  font-weight: 700;
}
.hero__note span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}
.hero__floor {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.25rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184,31,45,0.14);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__floor-copy .h2 {
  margin-bottom: 0.55rem;
}
.hero__floor-copy .muted {
  max-width: 560px;
  line-height: 1.68;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 92px;
  padding: 0.95rem 0.9rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248, 241, 233, 0.92));
  border: 1px solid rgba(226, 217, 204, 0.9);
}
.hero__stats strong {
  font-family: 'Kanit', system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero__stats span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== Sections ===== */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--alt {
  background: var(--bg-alt);
  max-width: none;
  margin: 0;
  padding-left: max(1.5rem, calc((100vw - var(--maxw)) / 2));
  padding-right: max(1.5rem, calc((100vw - var(--maxw)) / 2));
}
.section__head {
  text-align: center;
  margin-bottom: 3rem;
}
.section__head .muted {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.filters-label {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.filter-chip {
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  border: 1px solid #d7c5ae;
  background: linear-gradient(180deg, #fffdfa 0%, #f6efe5 100%);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(31, 27, 22, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.filter-chip:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(31, 27, 22, 0.1);
}
.filter-chip.is-active {
  background: linear-gradient(135deg, #231d17 0%, #b81f2d 100%);
  color: #fff;
  border-color: #231d17;
  box-shadow: 0 14px 30px rgba(184, 31, 45, 0.22);
}

.featured-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}
.featured-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.featured-card:nth-child(1) {
  grid-row: span 2;
}
.featured-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7d0c4;
}
.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.featured-card:hover .featured-card__media img { transform: scale(1.03); }
.featured-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.9);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.featured-card__body {
  padding: 1rem 1.1rem 1.15rem;
}
.featured-card__category {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.featured-card__body h3 {
  font-family: 'Kanit', system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}
.featured-card__body p:last-child {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}
.portfolio-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.portfolio-intro strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.28rem;
}


/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tile__overlay strong {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}
.tile__overlay span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
}
.tile:hover .tile__overlay { opacity: 1; }

@media (max-width: 980px) {
  .hero__content {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__sub {
    max-width: 760px;
    margin: 0 auto 1.35rem;
  }
  .hero__trust {
    justify-content: center;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__proof {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__visual::after {
    inset: 0.65rem 0.1rem 0.9rem 0.1rem;
  }
  .hero-album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__note {
    margin: 1rem auto 0;
  }
  .hero__floor {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-showcase {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card:nth-child(1) {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }
  .hero__cta {
    width: 100%;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .hero__proof {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hero__floor {
    padding: 1rem;
  }
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .hero-album {
    grid-template-columns: 1fr;
  }
  .hero-album__item {
    aspect-ratio: 4 / 3;
  }
  .hero-album__spine {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__trust span {
    font-size: 0.82rem;
  }
  .featured-showcase {
    grid-template-columns: 1fr;
  }
  .featured-card:nth-child(1) {
    grid-row: span 1;
  }
  .portfolio-intro {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-label {
    margin-top: 0.5rem;
  }
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2rem; margin-bottom: 0.8rem; }
.card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact {
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, #2d251c 100%);
  color: #fff;
  max-width: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.contact__inner { max-width: 720px; margin: 0 auto; }
.contact .h2 { color: #fff; }
.contact .muted { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.contact__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.contact .btn--primary { background: var(--accent); }
.contact .btn--primary:hover { background: var(--accent-dark); }
.contact .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.contact .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.contact__note { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer__inner > div:first-child { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__inner .brand__logo { display: block; }
.footer__links { display: flex; gap: 1.5rem; font-size: 0.9rem; }
.footer__links a { color: var(--ink-soft); }
.footer__links a:hover { color: var(--accent); }
.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 9, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.lightbox__figure figcaption {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  transition: background 0.15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 1.5rem; right: 1.5rem; font-size: 1.8rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
