/* ZORION — Core Design System */

:root {
  --bg-primary: #080808;
  --bg-secondary: #0f0f0f;
  --accent-gold: #C9A84C;
  --accent-gold-light: #E8C97A;
  --text-white: #F5F5F0;
  --text-muted: #888880;
  --border-subtle: rgba(201, 168, 76, 0.15);
  --glass: rgba(255, 255, 255, 0.03);

  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(201, 168, 76, 0.25), 0 20px 80px rgba(0, 0, 0, 0.65);

  --container: 1200px;
  --container-lg: 1320px;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

/* Reset / Normalize */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection {
  background: var(--accent-gold);
  color: #0b0b0b;
}

/* Scrollbar styling */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #070707; }
*::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.5);
  border-radius: 999px;
  border: 2px solid #070707;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.75); }

body {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(201, 168, 76, 0.06), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(232, 201, 122, 0.04), transparent 60%),
              var(--bg-primary);
  color: var(--text-white);
  line-height: 1.55;
  overflow-x: hidden;
}

body.page-loading {
  opacity: 0;
}
body.page-loaded {
  opacity: 1;
  transition: opacity 520ms var(--ease-out);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.container--lg { width: min(var(--container-lg), calc(100% - 2rem)); }
.section { padding: clamp(3.25rem, 6vw, 6rem) 0; }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-white);
  z-index: 10000;
}
.skip-link:focus { left: 0.75rem; outline: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), color 220ms var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid rgba(201, 168, 76, 0.6); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: #0b0b0b;
  box-shadow: 0 18px 55px rgba(201, 168, 76, 0.14);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 70px rgba(201, 168, 76, 0.22); }
.btn-ghost {
  background: transparent;
  border-color: rgba(245, 245, 240, 0.22);
  color: var(--text-white);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(201, 168, 76, 0.55); box-shadow: var(--shadow-glow); }

/* Utility */
.grid { display: grid; gap: 1.25rem; }
.stack { display: grid; gap: 0.9rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Card (glass) */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.card--hover {
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.card--hover:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.25), 0 28px 90px rgba(0, 0, 0, 0.75);
}

/* Header / Navbar */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}
.top-gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  width: 0%;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  transition: background 260ms var(--ease-out), border-color 260ms var(--ease-out), backdrop-filter 260ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 168, 76, 0.12);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  font-size: 1.8rem;
  line-height: 1;
}
.logo .dot { color: var(--accent-gold-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.nav-links a {
  font-size: 0.96rem;
  color: rgba(245, 245, 240, 0.86);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.35rem 0.1rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transition: width 220ms var(--ease-out);
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-white); }
.nav-links a.active::after { width: 100%; }

.nav-actions { display: inline-flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(245, 245, 240, 0.9);
  margin: 6px auto;
  border-radius: 999px;
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
  z-index: 2000;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu__inner {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.mobile-menu__nav {
  display: grid;
  gap: 1rem;
  text-align: center;
}
.mobile-menu__nav a {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  letter-spacing: 0.03em;
  color: rgba(245, 245, 240, 0.92);
}
.mobile-menu__nav a:hover { color: var(--accent-gold-light); }
.mobile-menu__footer {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.body-lock { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 5.25rem 0 3.75rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 35% 25%, rgba(201, 168, 76, 0.11), transparent 62%),
              radial-gradient(900px 500px at 80% 55%, rgba(232, 201, 122, 0.06), transparent 64%),
              #050505;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px);
  background-size: 220px 220px, 260px 260px, 320px 320px;
  opacity: 0.22;
  filter: contrast(140%);
  mix-blend-mode: overlay;
  z-index: -1;
  animation: grainShift 9s linear infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.95;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; transform: translateY(110%); }
.hero-title .emph { color: var(--accent-gold-light); }
.hero-subtext {
  margin-top: 1.25rem;
  max-width: 46ch;
  color: rgba(245, 245, 240, 0.78);
  font-size: 1.05rem;
}
.hero-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.marquee {
  margin-top: 3.25rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  padding: 0.9rem 0;
  will-change: transform;
}
.marquee__item {
  color: rgba(245, 245, 240, 0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* Stats */
.stats-bar {
  margin-top: -2.4rem;
  position: relative;
  z-index: 3;
}
.stats {
  padding: 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  padding: 1rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
.stat .num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent-gold-light);
}
.stat .label { color: rgba(245, 245, 240, 0.76); margin-top: 0.25rem; font-size: 0.98rem; }

/* Section headings */
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-title h2 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}
.section-title p { color: rgba(245, 245, 240, 0.72); max-width: 62ch; }

/* Services preview cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  padding: 1.25rem 1.25rem 1.15rem;
  position: relative;
}
.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent-gold);
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(201, 168, 76, 0.06);
}
.service-card h3 {
  margin-top: 0.9rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.service-card p { margin-top: 0.5rem; color: rgba(245, 245, 240, 0.72); }
.service-card:hover .icon { border-color: rgba(201, 168, 76, 0.5); }

.section-link {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 245, 240, 0.82);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  padding-bottom: 0.25rem;
}
.section-link:hover { color: var(--accent-gold-light); border-bottom-color: rgba(201, 168, 76, 0.55); }

/* Featured work */
.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
}
.work-card {
  padding: 1.25rem;
  scroll-snap-align: start;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.work-card .bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 20% 10%, rgba(201, 168, 76, 0.16), transparent 55%),
              linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 52, 96, 0.6));
  transform: scale(1.02);
  z-index: -1;
}
.work-card[data-tone="2"] .bg {
  background: radial-gradient(900px 420px at 20% 10%, rgba(201, 168, 76, 0.12), transparent 55%),
              linear-gradient(135deg, rgba(22, 33, 62, 0.95), rgba(26, 26, 46, 0.62));
}
.work-card[data-tone="3"] .bg {
  background: radial-gradient(900px 420px at 20% 10%, rgba(201, 168, 76, 0.1), transparent 55%),
              linear-gradient(135deg, rgba(15, 52, 96, 0.86), rgba(22, 33, 62, 0.78));
}
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.work-title {
  margin-top: 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.85rem;
  line-height: 1.1;
}
.work-reveal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.25rem;
  transform: translateY(100%);
  transition: transform 260ms var(--ease-out);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}
.work-card:hover .work-reveal { transform: translateY(0); }
.work-reveal p { color: rgba(245, 245, 240, 0.82); max-width: 56ch; }

/* Why */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.quote {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.05;
}
.bullets {
  display: grid;
  gap: 0.85rem;
  padding-left: 0;
}
.bullets li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 245, 240, 0.8);
}
.bullets li strong { color: var(--text-white); }

/* Logos ticker */
.logos {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 1rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}
.logos__track {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  white-space: nowrap;
}
.logo-pill {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 245, 240, 0.78);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* CTA banner */
.cta-banner {
  border-top: 1px solid rgba(201, 168, 76, 0.16);
  border-bottom: 1px solid rgba(201, 168, 76, 0.16);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(8, 8, 8, 0.95), rgba(201, 168, 76, 0.12));
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(125deg, transparent 20%, rgba(232, 201, 122, 0.18) 45%, transparent 70%);
  transform: translateX(-35%) rotate(8deg);
  animation: shimmerSweep 6.5s linear infinite;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 3rem 0;
}
.cta-inner h3 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(8, 8, 8, 0.6);
}
.footer-grid {
  padding: 3.25rem 0 2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  gap: 1.35rem;
}
.footer-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.footer-text { color: rgba(245, 245, 240, 0.72); }
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: rgba(245, 245, 240, 0.72); }
.footer-links a:hover { color: var(--accent-gold-light); }
.social {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(255, 255, 255, 0.02);
}
.social a:hover { border-color: rgba(201, 168, 76, 0.55); box-shadow: var(--shadow-glow); }
.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding: 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: rgba(245, 245, 240, 0.6);
  font-size: 0.92rem;
}
.footer-bottom a { color: rgba(245, 245, 240, 0.68); }
.footer-bottom a:hover { color: var(--accent-gold-light); }

/* Page hero (internal) */
.page-hero {
  padding: 4.75rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 25% 10%, rgba(201, 168, 76, 0.08), transparent 60%),
              radial-gradient(800px 520px at 80% 30%, rgba(232, 201, 122, 0.05), transparent 62%),
              linear-gradient(180deg, rgba(15, 15, 15, 0.9), rgba(8, 8, 8, 0.92));
  z-index: -1;
}
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.7rem, 5.5vw, 4.2rem);
  letter-spacing: -0.02em;
}
.page-hero p { margin-top: 0.75rem; max-width: 70ch; color: rgba(245, 245, 240, 0.72); }

/* Services page blocks */
.service-blocks { display: grid; gap: 1.5rem; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  align-items: start;
}
.service-block__body { display: grid; gap: 0.65rem; }
.service-block--reverse .service-block__head { grid-column: 2; }
.service-block--reverse .service-block__body { grid-column: 1; }
.service-block__head {
  display: grid;
  gap: 0.6rem;
}
.service-block__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent-gold);
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(201, 168, 76, 0.06);
}
.service-block h3 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.9rem;
}
.service-block p { color: rgba(245, 245, 240, 0.74); }
.deliverables {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}
.deliverables li {
  padding-left: 1.05rem;
  position: relative;
  color: rgba(245, 245, 240, 0.72);
}
.deliverables li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(201, 168, 76, 0.9);
}
.learn-more {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(245, 245, 240, 0.8);
}
.learn-more:hover { color: var(--accent-gold-light); }

/* Portfolio */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.1rem 0 1.5rem;
}
.filter-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 245, 240, 0.78);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.filter-btn:hover { transform: translateY(-2px); border-color: rgba(201, 168, 76, 0.5); color: var(--text-white); }
.filter-btn.active {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.55);
  color: var(--text-white);
}
.masonry {
  columns: 3 320px;
  column-gap: 1.25rem;
}
.portfolio-item {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.15rem 1.1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.portfolio-item .tone {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 52, 96, 0.65));
  z-index: -1;
  transform: scale(1.04);
}
.portfolio-item[data-tone="b"] .tone { background: linear-gradient(135deg, rgba(22, 33, 62, 0.95), rgba(26, 26, 46, 0.65)); }
.portfolio-item[data-tone="c"] .tone { background: linear-gradient(135deg, rgba(15, 52, 96, 0.9), rgba(22, 33, 62, 0.72)); }
.portfolio-item h3 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.55rem;
  line-height: 1.15;
}
.portfolio-item .meta { margin-top: 0.65rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.portfolio-item .meta span { font-size: 0.86rem; color: rgba(245, 245, 240, 0.72); }
.portfolio-item.fade-out { opacity: 0.15; transform: translateY(6px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.portfolio-item.fade-in { opacity: 1; transform: translateY(0); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out);
  z-index: 3000;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__panel {
  width: min(860px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.modal__header {
  padding: 1.1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}
.modal__header h3 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.8rem;
}
.modal__close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.modal__close:hover { border-color: rgba(201, 168, 76, 0.55); }
.modal__body { padding: 1.2rem; color: rgba(245, 245, 240, 0.78); }
.tags { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-card { padding: 1.25rem; }
.contact-card h2 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 2.1rem;
}
.contact-list { margin-top: 1rem; display: grid; gap: 0.6rem; color: rgba(245, 245, 240, 0.74); }

form.form {
  padding: 1.25rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { color: rgba(245, 245, 240, 0.78); font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-white);
  outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; grid-column: 1 / -1; }
.field.full { grid-column: 1 / -1; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}
.error {
  color: rgba(232, 201, 122, 0.95);
  font-size: 0.88rem;
  min-height: 1.15em;
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: rgba(232, 201, 122, 0.75);
}
.form-actions { margin-top: 1rem; display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.form-status {
  min-height: 1.1em;
  color: rgba(245, 245, 240, 0.7);
}
.success {
  color: rgba(201, 168, 76, 0.95);
}

.map {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.12);
}
.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(100%) contrast(105%) brightness(85%);
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}
.diag-art {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.14);
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.26), transparent 55%),
    repeating-linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0 2px, transparent 2px 12px),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.diag-art::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(110deg, transparent 25%, rgba(232, 201, 122, 0.18) 50%, transparent 75%);
  transform: translateX(-40%) rotate(10deg);
  animation: shimmerSweep 7.5s linear infinite;
}
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.philo-card { padding: 1.25rem; }
.philo-card h3 { font-family: "Playfair Display", serif; font-weight: 900; font-size: 1.55rem; }
.philo-card p { margin-top: 0.6rem; color: rgba(245, 245, 240, 0.74); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card { padding: 1.15rem; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(201, 168, 76, 0.06);
  color: var(--accent-gold-light);
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.team-card h3 { margin-top: 0.85rem; font-family: "Playfair Display", serif; font-weight: 900; font-size: 1.35rem; }
.team-card p { margin-top: 0.25rem; color: rgba(245, 245, 240, 0.7); }
.team-card a { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(245, 245, 240, 0.75); }
.team-card a:hover { color: var(--accent-gold-light); }

.process {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
}
.step { padding: 1.1rem; }
.step .n { color: rgba(201, 168, 76, 0.95); font-weight: 700; letter-spacing: 0.12em; }
.step h3 { margin-top: 0.5rem; font-family: "Playfair Display", serif; font-weight: 900; }
.awards { margin-top: 0.5rem; display: grid; gap: 0.6rem; }
.awards li { color: rgba(245, 245, 240, 0.74); padding-left: 1.05rem; position: relative; }
.awards li::before { content: "✦"; position: absolute; left: 0; top: 0; color: rgba(201, 168, 76, 0.9); }

/* 404 */
.error-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.error-404 .big {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  font-size: clamp(4rem, 13vw, 10rem);
}
.error-404 .sub { margin-top: 0.75rem; color: rgba(245, 245, 240, 0.72); text-align: center; max-width: 55ch; }
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.7);
  filter: blur(0.2px);
  animation: floaty 7.5s ease-in-out infinite;
  opacity: 0.65;
}

/* Scroll-trigger reveal helper */
.reveal { opacity: 0; transform: translateY(18px) scale(0.985); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }

/* Accessible focus for links */
a:focus-visible { outline: 2px solid rgba(201, 168, 76, 0.6); outline-offset: 3px; border-radius: 8px; }

