/* ============================================================
   Farid Wahyu Dyatmika — Portfolio
   Design: editorial luxury (ink + cream + warm gold)
   ============================================================ */

:root {
  --ink: #0b0f1a;
  --ink-2: #11172a;
  --ink-3: #1a2238;
  --line-dark: #1f2940;
  --paper: #f7f5f0;
  --paper-2: #efeae0;
  --line: #e6e0d2;
  --text: #1a1d24;
  --text-muted: #6b7280;
  --text-soft: #8a8f9c;
  --on-ink: #ece7da;
  --on-ink-muted: #9aa1b3;
  --gold: #c9a96a;
  --gold-2: #b89656;
  --gold-soft: rgba(201, 169, 106, 0.12);
  --maxw: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 26, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(11, 15, 26, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 15, 26, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 60px 0; }
}

/* Eyebrow / labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.light { color: var(--gold); }
.eyebrow.center { display: inline-flex; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}
.display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
}
.h-section {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.h-section em { font-style: italic; color: var(--gold-2); }

.lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
}
.lead-lg {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 60ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn .arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

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

.btn-outline {
  border-color: rgba(11,15,26,0.25);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn-outline.on-dark {
  border-color: rgba(255,255,255,0.25);
  color: var(--on-ink);
}
.btn-outline.on-dark:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
  background: rgba(247, 245, 240, 0);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.dark-page {
  background: rgba(11, 15, 26, 0);
}
.site-header.dark-page.scrolled {
  background: rgba(11, 15, 26, 0.86);
  border-bottom-color: var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dark-page .brand { color: var(--on-ink); }
.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}
.dark-page .brand .mark { background: var(--gold); color: var(--ink); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-weight: 500; font-family: var(--serif); }
.brand-name small {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.dark-page .brand-name small { color: var(--on-ink-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.dark-page .nav-links a { color: var(--on-ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold-2); }
.dark-page .nav-links a.active,
.dark-page .nav-links a:hover { color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.dark-page .nav-cta { border-color: var(--gold); color: var(--gold); }
.dark-page .nav-cta:hover { background: var(--gold); color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.dark-page .nav-toggle { background: transparent; border-color: var(--line-dark); }
.dark-page .nav-toggle span,
.dark-page .nav-toggle span::before,
.dark-page .nav-toggle span::after { background: var(--on-ink); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-toggle span { background: transparent; }
  body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(201,169,106,0.18), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
}
.hero h1 .name-block {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, var(--ink) 0%, #2c3654 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead { margin-bottom: 40px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta-item .lab {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Hero portrait */
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,15,26,0.45) 100%);
  pointer-events: none;
}
.hero-stamp {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.hero-stamp small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-floating {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.hero-floating .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #25c277;
  box-shadow: 0 0 0 4px rgba(37,194,119,0.18);
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--paper);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
  white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201,169,106,0.4);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  transform: translate(20px, 20px);
}
.about-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-content .eyebrow { margin-bottom: 24px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 16px; color: var(--text-muted); }

.signature {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.signature .swirl {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  color: var(--ink);
}
.signature .role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Accordion */
.accordion { margin: 32px 0 0; }
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-item:first-child { border-top: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.accordion-trigger .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: all 0.3s var(--ease);
}
.accordion-item.open .accordion-trigger .ico {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.accordion-trigger .ico svg { width: 12px; height: 12px; }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.accordion-item.open .accordion-panel { max-height: 480px; }
.accordion-panel-inner {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}
.accordion-panel-inner ul { display: grid; gap: 8px; padding-left: 0; }
.accordion-panel-inner ul li {
  padding-left: 18px;
  position: relative;
}
.accordion-panel-inner ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ============================================================
   Services
   ============================================================ */
.services {
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(201,169,106,0.14), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(60,80,140,0.18), transparent 60%);
  pointer-events: none;
}
.services .container { position: relative; }

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .services-head { grid-template-columns: 1fr; gap: 24px; } }

.services-head h2 { color: var(--paper); }
.services-head h2 em { color: var(--gold); }
.services-head p { color: var(--on-ink-muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 44px 32px 40px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
}
.service-card:hover { background: rgba(201,169,106,0.06); }
.service-card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.service-card .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid rgba(201,169,106,0.35);
  border-radius: 50%;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--on-ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: auto;
}

.services-foot {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   Stats / Counter
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .stats-grid { grid-template-columns: 1fr; gap: 56px; } }

.stats-content h2 { margin-bottom: 24px; }
.stats-content > .eyebrow { margin-bottom: 24px; }
.stats-content > p { color: var(--text-muted); margin-bottom: 40px; }

.counter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.counter-cell {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.counter-cell .num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.counter-cell .num .plus {
  font-size: 1.6rem;
  color: var(--gold-2);
  vertical-align: super;
  margin-left: 2px;
}
.counter-cell .lab {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stats-image {
  position: relative;
}
.stats-image img {
  width: 100%;
  filter: drop-shadow(0 12px 28px rgba(11,15,26,0.12));
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 110px 0;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 80% 50%, rgba(201,169,106,0.18), transparent 60%);
  pointer-events: none;
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }
.cta h2 {
  color: var(--paper);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 18px;
}
.cta h2 em { color: var(--gold); }
.cta p { color: var(--on-ink-muted); max-width: 50ch; }
.cta-actions { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 880px) { .cta-actions { justify-content: flex-start; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink-2);
  color: var(--on-ink);
  padding: 90px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer p { color: var(--on-ink-muted); font-size: 0.95rem; line-height: 1.7; }
.footer ul li { padding: 6px 0; color: var(--on-ink-muted); font-size: 0.95rem; }
.footer ul li a { transition: color 0.3s var(--ease); }
.footer ul li a:hover { color: var(--gold); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand .mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.footer-brand .name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--paper);
}
.footer-brand .name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-top: 4px;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-line .ico {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(201,169,106,0.12);
  color: var(--gold);
  display: grid; place-items: center;
  margin-top: 2px;
}
.contact-line .ico svg { width: 14px; height: 14px; }

.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  color: var(--on-ink);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--on-ink-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom .lockup {
  font-family: var(--serif);
  font-style: italic;
}

/* ============================================================
   Page header (sub-pages)
   ============================================================ */
.page-hero {
  padding: 200px 0 100px;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(201,169,106,0.12), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .crumbs {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.page-hero .crumbs a:hover { color: var(--gold-2); }
.page-hero .crumbs span { color: var(--gold); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.page-hero h1 em { color: var(--gold-2); font-style: italic; }
.page-hero p { color: var(--text-muted); max-width: 60ch; margin: 0 auto; font-size: 1.0625rem; }

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio-list { display: grid; gap: 140px; }
@media (max-width: 768px) { .portfolio-list { gap: 80px; } }

.portfolio-item {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.portfolio-item.reverse { direction: rtl; }
.portfolio-item.reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .portfolio-item, .portfolio-item.reverse { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
}

.portfolio-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.portfolio-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.portfolio-item:hover .portfolio-media img { transform: scale(1.04); }
.portfolio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,15,26,0.35) 100%);
  pointer-events: none;
}

.portfolio-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}
.portfolio-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.portfolio-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.portfolio-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.portfolio-content p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.75; }
.portfolio-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
}
.portfolio-meta b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  margin-top: 4px;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  background: var(--paper);
  padding: 64px;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at -10% 110%, rgba(201,169,106,0.18), transparent 60%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
}

.contact-card-img {
  position: relative;
  aspect-ratio: 1/1.15;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.contact-card-img img { width: 100%; height: 100%; object-fit: cover; }

.contact-info-block { position: relative; }
.contact-info-block .eyebrow { margin-bottom: 18px; }
.contact-info-block h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin-bottom: 6px;
}
.contact-info-block .role {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-2);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-list .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid; place-items: center;
}
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list .lab {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2px;
}
.contact-list .val { color: var(--ink); font-size: 1.02rem; }
.contact-list a.val { transition: color 0.3s var(--ease); }
.contact-list a.val:hover { color: var(--gold-2); }

.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.contact-socials a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
  transform: translateY(-2px);
}
.contact-socials svg { width: 18px; height: 18px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* Scroll-top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.4s var(--ease);
  z-index: 50;
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--gold); color: var(--ink); }
.scroll-top svg { width: 18px; height: 18px; }

/* Section meta */
.section-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-2);
  font-size: 1.1rem;
}
.section-meta .num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-2);
}
.section-meta .line { flex: 1; height: 1px; background: var(--line); }
.services .section-meta { color: var(--gold); }
.services .section-meta .num { color: var(--gold); }
.services .section-meta .line { background: var(--line-dark); }
