/* ==========================================================================
   Buildaxis — Design System
   Interior Design | Architecture | Construction — Dhaka, Bangladesh
   ========================================================================== */

:root {
  /* Brand palette — sourced from the Buildaxis logo */
  --gold: #b68d40;
  --gold-dark: #8f6c2e;
  --gold-darker: #6f5322;
  --gold-light: #d9b876;
  --gold-tint: #f6efe0;

  --ink: #14120f;
  --ink-soft: #302c24;
  --text: #2b2924;
  --text-muted: #6b6656;
  --text-faint: #918c7c;

  --white: #ffffff;
  --off-white: #faf8f4;
  --surface: #f4f1ea;
  --border: #e8e2d3;
  --border-soft: #efe9db;

  --shadow-sm: 0 2px 10px rgba(20, 18, 15, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 18, 15, 0.1);
  --shadow-lg: 0 24px 60px rgba(20, 18, 15, 0.16);
  --shadow-gold: 0 14px 34px rgba(182, 141, 64, 0.28);

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --container-narrow: 860px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
  --header-h: 88px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--surface {
  background: var(--off-white);
}

.section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.section--ink h2,
.section--ink h3 {
  color: var(--white);
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }
  .section--tight {
    padding: 52px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section--ink .eyebrow {
  color: var(--gold-light);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 640px;
}

.section-head.center p {
  margin-inline: auto;
}

.section--ink .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(182, 141, 64, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(20, 18, 15, 0.06), 0 12px 30px rgba(20, 18, 15, 0.05);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
  transition: opacity 0.3s ease;
}

.brand .brand-dark {
  display: none;
}

.site-header.is-solid .brand .brand-light,
.site-header.is-scrolled .brand .brand-light {
  display: none;
}

.site-header.is-solid .brand .brand-dark,
.site-header.is-scrolled .brand .brand-dark {
  display: block;
}

.no-hero .brand .brand-light {
  display: none;
}
.no-hero .brand .brand-dark {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 34px;
}

/* Scoped to the nav list only — the header CTA is also an <a> inside .main-nav,
   and an unscoped `.main-nav a` would out-specify .btn-sm and strip its padding. */
.main-nav ul a {
  position: relative;
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 0;
  transition: color 0.3s ease;
}

.site-header.is-solid .main-nav ul a,
.site-header.is-scrolled .main-nav ul a,
.no-hero .main-nav ul a {
  color: var(--ink-soft);
}

.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.main-nav ul a:hover::after,
.main-nav ul a.active::after {
  width: 100%;
}

.main-nav ul a.active {
  color: var(--gold-dark) !important;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-cta .btn {
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s ease;
}

.site-header.is-solid .header-phone,
.site-header.is-scrolled .header-phone,
.no-hero .header-phone {
  color: var(--ink-soft);
}

.header-phone svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  background: transparent;
  flex-shrink: 0;
}

.site-header.is-solid .nav-toggle,
.site-header.is-scrolled .nav-toggle,
.no-hero .nav-toggle {
  border-color: var(--border);
}

.nav-toggle span {
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.site-header.is-solid .nav-toggle span,
.site-header.is-scrolled .nav-toggle span,
.no-hero .nav-toggle span {
  background: var(--ink);
}

/* Tighten header spacing before the mobile breakpoint so nothing overflows */
@media (max-width: 1200px) {
  .main-nav {
    gap: 24px;
  }
  .main-nav ul {
    gap: 22px;
  }
  .header-cta {
    gap: 12px;
  }
  .header-phone {
    display: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav ul a {
    display: block;
    padding: 14px 4px;
    font-size: 1.15rem;
    color: var(--ink-soft) !important;
    border-bottom: 1px solid var(--border-soft);
  }

  .main-nav ul a::after {
    display: none;
  }

  .header-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-cta .header-phone {
    display: flex;
    color: var(--ink-soft) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 900;
}

.nav-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease, transform 8s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.55) 0%, rgba(10, 9, 7, 0.35) 40%, rgba(10, 9, 7, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 60px) 0 120px;
}

.hero-content .eyebrow {
  color: var(--gold-light);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 900px;
  margin-bottom: 26px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-content p {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.01% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 700px) {
  .scroll-cue {
    display: none;
  }
  .hero-content {
    padding-bottom: 70px;
  }
  .hero-trust {
    gap: 22px;
  }
}

/* ---------- Page (interior) hero banner ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 100px) 0 90px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.55), rgba(10, 9, 7, 0.92));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 780px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- Speciality / feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-tint), #fff);
  border: 1px solid var(--border);
  margin-bottom: 26px;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.feature-card:hover .feature-icon svg {
  color: var(--white);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-dark);
  transition: color 0.4s ease;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.feature-index {
  position: absolute;
  top: 24px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--border);
  font-weight: 600;
  transition: color 0.4s ease;
}

.feature-card:hover .feature-index {
  color: var(--gold-tint);
}

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.05) 30%, rgba(10, 9, 7, 0.92) 100%);
}

.category-card:hover img {
  transform: scale(1.09);
}

.category-body {
  position: relative;
  z-index: 1;
  padding: 34px;
  width: 100%;
}

.category-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.category-body h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.category-body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-link {
  gap: 13px;
  color: var(--gold-light);
}

.category-link svg {
  width: 16px;
  height: 16px;
}

/* ---------- Project cards / filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1080px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover .project-card-media img {
  transform: scale(1.07);
}

.project-card-count {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(20, 18, 15, 0.62);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card-count svg {
  width: 13px;
  height: 13px;
}

.project-card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.project-card-body {
  padding: 24px 26px 28px;
}

.project-card-body .loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.project-card-body .loc svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.project-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.project-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.project-card.is-hidden {
  display: none;
}

/* ---------- Photo tile grid (single project page) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.photo-tile {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  cursor: zoom-in;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.photo-tile:hover img {
  transform: scale(1.08);
}

.photo-tile-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 15, 0.28);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.photo-tile-zoom svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.photo-tile:hover .photo-tile-zoom {
  opacity: 1;
}

/* ---------- Project meta row (single project page) ---------- */
.project-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 48px;
}

@media (max-width: 780px) {
  .project-meta-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-meta-row .item .label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 6px;
}

.project-meta-row .item .value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-soft);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Phased process timeline ---------- */
.phase-list {
  display: grid;
  gap: 18px;
  counter-reset: phase;
}

.phase-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  counter-increment: phase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.phase-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-light);
}

.phase-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-tint), #fff);
  border: 1.5px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.phase-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.phase-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.phase-gate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-darker);
  background: var(--gold-tint);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

@media (max-width: 600px) {
  .phase-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 20px;
  }
}

/* ---------- Payment schedule ---------- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 780px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

.payment-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
}

.payment-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.payment-pct {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.payment-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.payment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Terms / policy notes ---------- */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }
}

.term-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}

.term-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.term-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.97rem;
  margin-bottom: 4px;
}

.term-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Clients strip ---------- */
.clients-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 780px) {
  .clients-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  height: 128px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.client-logo img {
  max-height: 74px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 72px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, #26211a 100%);
  color: var(--white);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(182, 141, 64, 0.28), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(182, 141, 64, 0.22), transparent 55%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 700px) {
  .cta-banner {
    padding: 52px 26px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 88px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 46px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 7, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  width: min(1200px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
}

.lightbox-frame {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lightbox-frame img.is-shown {
  opacity: 1;
  transform: scale(1);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-top: 20px;
  font-size: 0.92rem;
}

.lightbox-caption strong {
  color: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-nav:hover {
  background: var(--gold);
}

.lightbox-nav.prev {
  left: -20px;
}
.lightbox-nav.next {
  right: -20px;
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav.prev {
    left: 4px;
  }
  .lightbox-nav.next {
    right: 4px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }
  .lightbox-inner {
    padding-top: 64px;
  }
}

body.lightbox-locked {
  overflow: hidden;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field label .req {
  color: var(--gold-dark);
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(182, 141, 64, 0.15);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 6px;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 18px;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #eef7ee;
  color: #2c6e31;
  border: 1px solid #cfe9cf;
}

.form-status.error {
  background: #fbecec;
  color: #a13636;
  border: 1px solid #f2caca;
}

/* ---------- Multi-step form ---------- */
.form-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 4px;
}

.form-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
  text-align: center;
}

.form-step-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.form-step-item:first-child::before {
  display: none;
}

.form-step-item.is-done::before {
  background: var(--gold);
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-faint);
  transition: all 0.35s ease;
}

.form-step-item.is-active .step-dot {
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 0 0 5px var(--gold-tint);
}

.form-step-item.is-done .step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.form-step-item.is-active .step-label {
  color: var(--ink);
}

@media (max-width: 560px) {
  .step-label {
    display: none;
  }
}

.step-panel {
  display: none;
}

.step-panel.is-active {
  display: block;
  animation: stepIn 0.45s var(--ease);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.step-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
}

.step-nav .spacer {
  flex: 1;
}

.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .radio-card-grid {
    grid-template-columns: 1fr;
  }
}

.radio-card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
  .radio-card-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.radio-card {
  position: relative;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.radio-card label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  pointer-events: none;
}

.radio-card label .rc-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.radio-card label .rc-sub {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.radio-card input:checked + label {
  border-color: var(--gold);
  background: var(--gold-tint);
  box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.14);
}

.radio-card input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.review-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.review-chip strong {
  color: var(--gold-dark);
}

/* ---------- Post-submit success panel ---------- */
.form-success {
  text-align: center;
  padding: 20px 4px 8px;
  animation: successIn 0.5s var(--ease);
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: var(--shadow-gold);
  animation: popIn 0.5s 0.12s var(--ease) both;
}

@keyframes popIn {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 12px;
}

.form-success .success-meta {
  font-size: 0.9rem;
  color: var(--text-faint);
}

.form-success .success-meta a {
  color: var(--gold-dark);
  font-weight: 700;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 6px 0 0;
}

/* Validation error states */
.field-error {
  color: #b3261e;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 8px 0 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
input.has-error,
select.has-error,
textarea.has-error {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.radio-card-grid.has-error .radio-card label {
  border-color: #e6a8a4;
}

.radio-card-grid.has-error {
  animation: shakeX 0.4s ease;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ---------- Contact page layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 26px 0 30px;
}

.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-list .ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-list .ic svg {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
}

.info-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 3px;
  font-weight: 700;
}

.info-list .value {
  font-weight: 600;
  color: var(--ink);
}

.info-list a.value:hover {
  color: var(--gold-dark);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  height: 320px;
  margin-top: 26px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .form-card,
  .info-card {
    padding: 28px 22px;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- Misc ---------- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gold-tint);
  color: var(--gold-darker);
}

.divider-gold {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 22px;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 500;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--ink);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 3000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media .float-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.about-media .float-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.about-media .float-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.about-media .float-card span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-grid.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 980px) {
  .about-grid.reverse {
    grid-template-columns: 1fr;
  }
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: 30px 18px;
}

.value-card svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 14px;
}

.value-card h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Not-found page */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.notfound .code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
