:root {
  --ink: #e8e6e0;
  --ink-2: #d6d2c8;
  --ink-3: #b9b4a8;
  --ink-soft: #b9b4a8;
  --paper: #0d1016;
  --paper-2: #12161e;
  --white: #10141b;
  --hairline: #262c38;
  --muted: #9aa1ad;
  --accent: #c9a24b;
  --accent-deep: #d8b36b;
  --gold: #c9a24b;
  --gold-dark: #c9a24b;
  --heading: #ece9e2;
  --sh: 0 30px 60px rgba(0, 0, 0, 0.5);
  --ff-d: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-b: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--ff-b);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.008em;
}

::selection { background: var(--accent); color: #0b0c0f; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--ff-b); }

h1, h2, h3, h4 {
  font-family: var(--ff-d);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h4 { font-family: var(--ff-b); font-weight: 500; }

.container { width: min(1280px, 92%); margin-inline: auto; }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-dark { background: var(--paper-2); border-top: 1px solid var(--hairline); }

.center { text-align: center; margin-top: clamp(46px, 6vw, 66px); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-b);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn i { transition: transform 0.35s ease; font-size: 0.85em; }
.btn:hover i { transform: translateX(5px); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.btn-gold { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }
.btn-gold:hover { background: transparent; color: var(--accent); }

.btn-dark { background: var(--ink); border-color: var(--ink); color: #0b0c0f; }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.btn-outline { background: transparent; border-color: rgba(236, 233, 226, 0.5); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #0b0c0f; }

.btn-outline-dark { background: transparent; border-color: var(--hairline); color: var(--ink); }
.btn-outline-dark:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.btn-sm { padding: 12px 22px; font-size: 0.68rem; }
.btn-lg { padding: 18px 40px; }
.btn-full { width: 100%; justify-content: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.section-tag::before { content: ""; width: 36px; height: 1px; background: var(--accent); }

.gold { color: var(--accent); }

.section-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 20px;
  text-wrap: balance;
}

.section-sub { max-width: 640px; font-size: 1rem; color: var(--muted); line-height: 1.75; }

.section-head { margin-bottom: clamp(50px, 6vw, 80px); }

.lead { font-size: 1.05rem; color: var(--ink-2); line-height: 1.8; margin-bottom: 20px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.preloader { display: none !important; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1002;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.topbar {
  background: rgba(13, 16, 22, 0.9);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  transition: margin-top 0.35s ease, opacity 0.35s ease;
}

.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-left { display: flex; gap: 30px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }

.topbar a { display: inline-flex; align-items: center; gap: 9px; transition: color 0.25s; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); font-size: 0.85em; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 0;
  transition: padding 0.35s ease;
}

.site-header.scrolled { background: rgba(13, 16, 22, 0.96); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--hairline); }
.site-header.scrolled .navbar { padding: 13px 0; }
.site-header.scrolled .topbar { margin-top: -48px; opacity: 0; pointer-events: none; }

.brand { display: inline-flex; align-items: center; gap: 14px; }

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  font-family: var(--ff-d);
  font-size: 1.15rem;
  color: var(--accent);
  background: var(--paper-2);
  transition: all 0.3s ease;
}

.brand:hover .brand-mark { background: var(--accent); color: #0b0c0f; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-text strong { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }

.brand-text small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.nav-menu { display: flex; gap: 4px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-cta { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 4px;
  z-index: 1004;
}

.hamburger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--accent);
  box-shadow: var(--sh);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li + li { border-top: 1px solid var(--hairline); }

.dropdown a { display: block; padding: 13px 22px; font-size: 0.88rem; color: var(--ink-2); transition: background 0.25s, color 0.25s, padding-left 0.25s; }

.dropdown a:hover { background: var(--white); color: var(--accent); padding-left: 28px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(5, 7, 11, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.show { opacity: 1; pointer-events: auto; }

.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 78% 12%, rgba(201, 162, 75, 0.10), transparent 58%), var(--paper);
  padding: clamp(175px, 22vh, 230px) 0 clamp(52px, 7vw, 84px);
  overflow: hidden;
}

.hero-bg-shape { display: none; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-kicker i { font-size: 1rem; }

.hero-title {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

.hero-title span { font-style: italic; color: var(--accent); }

.hero-subtitle { max-width: 560px; font-size: 1.04rem; color: var(--muted); line-height: 1.8; }
.hero-subtitle strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: clamp(42px, 5vw, 60px);
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hero-badges i { color: var(--accent); font-size: 0.95rem; }

.hero-figure { position: relative; max-width: 470px; justify-self: end; width: 100%; }

.figure-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--hairline); }

.figure-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.03); }

.figure-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  pointer-events: none;
}

.figure-card {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: 40px;
  background: var(--accent);
  color: #0b0c0f;
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--sh);
}

.figure-card strong { font-family: var(--ff-d); font-size: 2.3rem; line-height: 1; }

.figure-card span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-top: 8px; max-width: 120px; line-height: 1.5; }

.figure-ring { display: none; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(60px, 8vw, 100px);
  border: 1px solid var(--hairline);
  background: var(--paper-2);
}

.stat { padding: 32px 30px 30px; position: relative; transition: background 0.3s ease; }
.stat:hover { background: var(--white); }
.stat + .stat { border-left: 1px solid var(--hairline); }

.stat h3 { font-size: clamp(2.3rem, 3.8vw, 3.2rem); font-weight: 400; color: var(--ink); }
.stat h3 .counter { font-variant-numeric: tabular-nums; color: var(--accent); }
.stat p { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.marquee-strip { display: none; }

.about-media { position: relative; }

.about-img-wrap { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border: 1px solid var(--hairline); }

.about-img-wrap::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 162, 75, 0.35); pointer-events: none; }

.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }

.about-exp {
  position: absolute;
  z-index: 2;
  left: -24px;
  bottom: 40px;
  background: var(--accent);
  color: #0b0c0f;
  padding: 24px 28px;
  max-width: 200px;
  box-shadow: var(--sh);
}

.about-exp strong { font-family: var(--ff-d); font-size: 2.5rem; line-height: 1; display: block; }
.about-exp strong span { color: #0b0c0f; }
.about-exp p { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-top: 10px; line-height: 1.6; }

.about-content > p { color: var(--muted); line-height: 1.8; }

.about-list { margin-top: 30px; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.about-list li:last-child { border-bottom: 1px solid var(--hairline); }
.about-list i { color: var(--accent); font-size: 0.85rem; margin-top: 6px; }

.about-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}

.sign-info strong { display: block; font-family: var(--ff-d); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.sign-info span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }

.service-card {
  position: relative;
  background: var(--paper-2);
  padding: 42px 30px 36px;
  overflow: hidden;
  transition: background 0.4s ease;
}

.service-card:hover { background: var(--white); }

.service-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--ff-d);
  font-size: 2.9rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.28;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-num { opacity: 1; transform: translateY(-4px); }

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 26px;
  transition: all 0.35s ease;
}

.service-card:hover .service-icon { border-color: var(--accent); background: var(--accent); color: #0b0c0f; }

.service-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.66; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.35s ease, color 0.3s;
}

.service-link:hover { gap: 16px; color: var(--accent-deep); }

.services-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}

.services-note p { display: flex; align-items: center; gap: 12px; font-size: 0.97rem; color: var(--ink-2); }
.services-note p i { color: var(--accent); }

.skill { margin-bottom: 26px; }

.skill-head { display: flex; justify-content: space-between; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.skill-head span:last-child { font-family: var(--ff-d); font-weight: 500; color: var(--accent); }

.skill-bar { height: 3px; background: var(--hairline); border-radius: var(--r); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); border-radius: var(--r); transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.visible .skill-bar span { width: var(--w, 0%); }

.exp-side { display: flex; flex-direction: column; gap: 22px; }

.spec-card { background: var(--paper-2); border: 1px solid var(--hairline); padding: 34px 30px; }

.spec-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 22px; }
.spec-card h3 i { color: var(--accent); font-size: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chips span {
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: default;
  transition: all 0.3s ease;
}

.chips span:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.insure-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--accent);
  background: linear-gradient(120deg, rgba(201, 162, 75, 0.14), transparent 70%);
  padding: 30px 32px;
}

.insure-card i { font-size: 1.8rem; color: var(--accent); flex-shrink: 0; }
.insure-card strong { display: block; font-family: var(--ff-d); font-size: 1.6rem; font-weight: 500; color: var(--accent); line-height: 1.2; }
.insure-card span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 4px; line-height: 1.6; }

.rp-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.45rem;
  padding-bottom: 16px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--hairline);
}

.rp-title i { color: var(--accent); font-size: 1.1rem; }

.resume-preview { align-items: start; }

.timeline { position: relative; padding-left: 38px; }

.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--hairline); }

.tl-item { position: relative; margin-bottom: 30px; }
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -38px;
  top: 26px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  transition: background 0.3s;
}

.tl-item:hover .tl-dot { background: var(--accent); }

.tl-card { border: 1px solid var(--hairline); background: var(--paper-2); padding: 24px 28px; transition: border-color 0.3s; }
.tl-card.current { border-color: rgba(201, 162, 75, 0.55); }
.tl-card:hover { border-color: var(--accent); }

.tl-date {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tl-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.tl-card h4 { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.tl-card h4 i { font-size: 0.78rem; color: var(--accent); }

.resume-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

.tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--hairline); background: var(--paper-2); }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hairline);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover { background: var(--white); color: var(--ink); }
.tab-btn.active { background: var(--accent); color: #0b0c0f; }
.tab-btn.active i { color: #0b0c0f; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.cta-band { position: relative; background: var(--paper-2); border-top: 1px solid var(--hairline); overflow: hidden; padding: clamp(70px, 10vw, 120px) 0; }

.cta-band::before {
  content: "JF";
  position: absolute;
  left: -20px;
  top: 55%;
  transform: translateY(-50%);
  font-family: var(--ff-d);
  font-size: 26rem;
  line-height: 1;
  color: rgba(201, 162, 75, 0.05);
  user-select: none;
  font-weight: 400;
}

.cta-band-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 1;
}

.cta-band h2 { color: var(--ink); font-size: clamp(2rem, 3.6vw, 3rem); max-width: 620px; }
.cta-band p { color: var(--muted); margin-top: 14px; font-size: 1rem; }

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

.g-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--hairline); }

.g-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; filter: saturate(0.85); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease; }

.g-item:hover img { transform: scale(1.05); opacity: 1; }

.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 22px 20px;
  background: linear-gradient(to top, rgba(5, 7, 11, 0.92), transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.g-item:hover figcaption { opacity: 1; transform: translateY(0); }
.g-item figcaption h3 { color: var(--ink); font-size: 1.05rem; margin-bottom: 3px; }
.g-item figcaption span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }

.g-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 75, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.5);
  color: var(--accent);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.g-item:hover .g-zoom { opacity: 1; }
.g-zoom:hover { background: var(--accent); color: #0b0c0f; }

.g-item.hide { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(42px, 6vw, 64px); }

.filter-btn {
  border: 1px solid var(--hairline);
  background: transparent;
  padding: 12px 26px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(5, 7, 11, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 86vw); max-height: 82vh; object-fit: contain; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(236, 233, 226, 0.3);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

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

.news-card { background: var(--paper-2); border: 1px solid var(--hairline); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease; }
.news-card:hover { transform: translateY(-7px); border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--sh); }

.news-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9.4; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.news-card:hover .news-thumb img { transform: scale(1.06); }

.news-date {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: #0b0c0f;
  padding: 10px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.news-date b { font-family: var(--ff-d); font-size: 1.3rem; line-height: 1; }

.news-body { padding: 28px 28px 32px; }

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.news-body h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; }
.news-body h3 a { transition: color 0.3s; }
.news-body h3 a:hover { color: var(--accent); }
.news-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.68; }
.news-body .service-link { margin-top: 20px; }

.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.contact-info { background: var(--paper-2); border: 1px solid var(--hairline); padding: clamp(36px, 4vw, 50px); }

.contact-info h3 { font-size: 1.6rem; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }

.contact-info li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info li + li { margin-top: 28px; }

.ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-info li:hover .ci-icon { background: var(--accent); color: #0b0c0f; }

.contact-info strong { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info p { font-size: 0.95rem; line-height: 1.68; color: var(--ink-2); }
.contact-info p a { transition: color 0.3s; }
.contact-info p a:hover { color: var(--accent); }

.cat-card .ci-icon { border-color: var(--hairline); }

.contact-form { background: var(--paper-2); border: 1px solid var(--hairline); padding: clamp(36px, 4vw, 52px); }

.contact-form h3 { font-size: 1.6rem; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  background: var(--white);
  padding: 15px 16px;
  font-family: var(--ff-b);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  border-radius: var(--r);
}

.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e05d5d; }
.field .err { display: block; min-height: 18px; font-size: 0.76rem; color: #e05d5d; margin-top: 5px; }

.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a24b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 500; text-align: center; }
.form-status.ok { color: #7ec79a; }
.form-status.fail { color: #e05d5d; }

.site-footer { background: #0a0c10; border-top: 1px solid var(--hairline); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(68px, 8vw, 100px) 0 clamp(50px, 6vw, 76px);
}

.f-brand .brand-text strong { color: var(--ink); }
.f-brand > p { font-size: 0.93rem; line-height: 1.78; margin: 24px 0 28px; max-width: 340px; color: var(--muted); }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.socials a:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0f; }

.site-footer h4 {
  font-family: var(--ff-b);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 16px;
}

.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); }

.f-links li { margin-bottom: 12px; }

.f-links a { font-size: 0.92rem; color: var(--muted); transition: color 0.3s, padding-left 0.3s; position: relative; }
.f-links a::before { content: "\2014"; color: var(--accent); margin-right: 10px; opacity: 0; margin-left: -20px; transition: all 0.3s ease; }
.f-links a:hover { color: var(--ink); padding-left: 20px; }
.f-links a:hover::before { opacity: 1; margin-left: 0; }

.f-contact p { display: flex; gap: 14px; align-items: flex-start; font-size: 0.93rem; line-height: 1.72; color: var(--muted); }
.f-contact p + p { margin-top: 16px; }
.f-contact i { color: var(--accent); margin-top: 5px; width: 16px; text-align: center; flex-shrink: 0; }
.f-contact a { color: inherit; transition: color 0.3s; }
.f-contact a:hover { color: var(--ink); }

.footer-bottom { border-top: 1px solid var(--hairline); padding: 24px 0; }
.fb-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.fb-inner a { color: var(--ink-2); transition: color 0.3s; }
.fb-inner a:hover { color: var(--accent); }

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #0b0c0f;
  border: 0;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.4s ease;
}

.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--accent); }

.page-banner {
  background: radial-gradient(900px 420px at 82% 0%, rgba(201, 162, 75, 0.12), transparent 60%), var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(155px, 20vh, 210px) 0 clamp(50px, 6vw, 72px);
}

.banner-title { font-size: clamp(2.8rem, 5.6vw, 4.4rem); letter-spacing: -0.01em; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a { color: var(--ink-2); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; color: var(--accent); margin-right: 14px; }

.intro-block { max-width: 760px; margin: 0 auto clamp(46px, 6vw, 66px); text-align: center; }
.intro-block .section-tag { justify-content: center; }
.intro-block p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }

.event-intro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 84px); align-items: center; }

.event-img-wrap { position: relative; border: 1px solid var(--hairline); padding: 12px; background: var(--paper-2); }
.event-img-wrap img { width: 100%; height: auto; object-fit: cover; }

.event-price-chip {
  position: absolute;
  left: -16px;
  bottom: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0b0c0f;
  padding: 13px 20px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: var(--sh);
}

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

.event-card { background: var(--paper-2); border: 1px solid var(--hairline); padding: 32px 34px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease; }
.event-card:hover { transform: translateY(-7px); border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--sh); }

.event-head { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }

.event-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1.2rem;
  transition: all 0.35s ease;
}

.event-card:hover .event-icon { background: var(--accent); color: #0b0c0f; }

.event-head h3 { font-size: 1.35rem; line-height: 1.22; flex: 1; padding-top: 4px; }

.event-price { font-family: var(--ff-d); font-size: 2rem; line-height: 1; color: var(--accent); white-space: nowrap; }
.event-price small { display: block; font-family: var(--ff-b); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 7px; text-align: right; }

.event-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px 0 0; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 9px; }
.event-meta i { color: var(--accent); font-size: 0.85rem; }

.event-body { padding-top: 18px; }
.event-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.68; margin-bottom: 24px; }

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

.book-card { background: var(--paper-2); border: 1px solid var(--hairline); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease; }
.book-card:hover { transform: translateY(-7px); border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--sh); }

.book-cover { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); aspect-ratio: 3 / 3.8; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.book-card:hover .book-cover img { transform: scale(1.05); }

.book-offer {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #0b0c0f;
  padding: 6px 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.book-info { padding: 26px 24px 30px; text-align: center; }
.book-info h3 { font-size: 1.18rem; line-height: 1.3; min-height: 3em; display: flex; align-items: center; justify-content: center; }
.book-author { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.book-author i { color: var(--accent); margin-right: 6px; }
.book-price { margin-top: 18px; font-family: var(--ff-d); font-size: 1.5rem; color: var(--accent); }
.book-price del { font-family: var(--ff-b); font-size: 0.85rem; color: var(--muted); margin-right: 8px; }

.doc-list { max-width: 920px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; }

.doc-card { display: flex; gap: 28px; align-items: center; background: var(--paper-2); border: 1px solid var(--hairline); padding: 24px 30px 24px 24px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease; }
.doc-card:hover { transform: translateX(8px); border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--sh); }

.doc-thumb { width: 96px; height: 128px; flex-shrink: 0; border: 1px solid var(--hairline); overflow: hidden; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }

.doc-info h3 { font-size: 1.28rem; margin-bottom: 6px; }
.doc-info > p { font-size: 0.92rem; color: var(--muted); }
.doc-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.doc-meta i { color: var(--accent); }

.pub-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pub-feature { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--paper-2); }
.pub-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; }
.pub-feature:hover img { transform: scale(1.06); opacity: 0.4; }

.pub-feature figcaption { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 30px; background: linear-gradient(to top, rgba(5, 7, 11, 0.95) 24%, transparent 64%); }
.pub-feature h3 { color: var(--ink); font-size: 1.6rem; margin-bottom: 12px; }
.pub-feature figcaption > p { color: var(--ink-3); font-size: 0.9rem; line-height: 1.6; }
.pub-feature .service-link { color: var(--accent); margin-top: 20px; }
.pub-feature:hover .service-link { color: var(--accent); }

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

.cat-card { display: flex; gap: 18px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--hairline); padding: 28px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease; }
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 5px; }
.cat-card:hover h3 { color: var(--accent); }
.cat-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.56; }

.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cp-card { background: var(--paper-2); border: 1px solid var(--hairline); padding: 32px 32px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease; }
.cp-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.cp-card h3 { font-size: 1.3rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.cp-card h3 i { color: var(--accent); font-size: 1rem; }
.cp-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.7; }

.fact-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hairline); background: var(--paper-2); }

.fact { padding: clamp(30px, 3.6vw, 48px) clamp(22px, 2.6vw, 34px); text-align: center; }
.fact + .fact { border-left: 1px solid var(--hairline); }
.fact i { font-size: 1.4rem; color: var(--accent); }
.fact strong { display: block; font-family: var(--ff-d); font-weight: 500; font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--ink); margin-top: 16px; }
.fact span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.profile-dl { display: flex; gap: clamp(30px, 4vw, 60px); align-items: center; background: var(--paper-2); border: 1px solid var(--hairline); padding: clamp(30px, 4vw, 48px); }
.profile-thumb { flex-shrink: 0; width: clamp(190px, 24vw, 300px); border: 1px solid var(--accent); padding: 8px; background: var(--white); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.profile-thumb:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.profile-thumb img { width: 100%; display: block; }

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

.step-card { position: relative; counter-increment: step; background: var(--paper-2); border: 1px solid var(--hairline); padding: 60px 28px 32px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease; }
.step-card:hover { transform: translateY(-5px); border-color: var(--accent); }

.step-card::before {
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  left: 26px;
  font-family: var(--ff-d);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

.step-card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.66; }

.service-detail { display: flex; gap: clamp(24px, 3vw, 42px); align-items: flex-start; background: var(--paper-2); border: 1px solid var(--hairline); padding: clamp(30px, 3.6vw, 44px); transition: border-color 0.35s ease, box-shadow 0.35s ease; }
.service-detail + .service-detail { margin-top: 22px; }
.service-detail:hover { border-color: rgba(201, 162, 75, 0.5); box-shadow: var(--sh); }

.sd-icon { width: 60px; height: 60px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-size: 1.35rem; transition: all 0.35s ease; }
.service-detail:hover .sd-icon { background: var(--accent); color: #0b0c0f; }

.service-detail h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-detail h3 small { display: block; font-family: var(--ff-b); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.service-detail > div { flex: 1; }
.service-detail > div > p { font-size: 0.97rem; color: var(--muted); line-height: 1.72; max-width: 720px; }

.sd-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sd-points span { border: 1px solid var(--hairline); background: var(--white); padding: 7px 15px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.service-detail .btn { white-space: nowrap; }

.feature-list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; font-size: 0.97rem; color: var(--ink-2); }
.feature-list i { color: var(--accent); font-size: 0.82rem; margin-top: 6px; }

@media (max-width: 1120px) {
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1003;
    width: min(410px, 90vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-2);
    padding: 120px 40px 40px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.open { transform: translateX(0); }
  .nav-menu li + li { border-top: 1px solid var(--hairline); }
  .nav-menu > li:last-child { border-bottom: 1px solid var(--hairline); }

  .nav-link { display: block; padding: 18px 4px; font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--accent) !important; }

  .dropdown { position: static; min-width: 0; border: 0; border-left: 2px solid var(--accent); box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; margin: 0 0 14px 18px; }
  .has-dropdown.open .dropdown { display: block; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; max-width: 430px; }
  .figure-card { right: 14px; bottom: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .f-contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .grid-2, .contact-wrap, .event-intro { grid-template-columns: 1fr; }
  .about-media { max-width: 540px; }
  .gallery-grid, .news-grid, .pub-features, .cat-grid, .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats, .fact-band { grid-template-columns: repeat(2, 1fr); }

  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .stat:nth-child(odd) { border-left: 0; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .service-detail .btn { display: none; }
}

@media (max-width: 760px) {
  .topbar-left a:first-child { display: none; }
  .topbar-inner { justify-content: center; }

  .services-grid, .book-grid, .gallery-grid, .news-grid, .pub-features, .cat-grid, .cp-grid, .form-row, .hero-stats { grid-template-columns: 1fr; }

  .stat { border-top: 1px solid var(--hairline); }
  .stat:first-child { border-top: 0; }
  .stat + .stat { border-left: 0; }

  .hero-badges { flex-direction: column; gap: 14px; }
  .hero-badges li { padding-left: 0; }
  .hero-badges li + li { border-top: 1px solid var(--hairline); padding-top: 14px; }

  .about-exp { left: 12px; top: auto; bottom: 18px; padding: 20px 22px; max-width: 180px; }
  .figure-ring { display: none; }

  .resume-topbar { justify-content: center; }
  .tabs { width: 100%; }
  .tab-btn { flex: 1 1 40%; justify-content: center; border-bottom: 1px solid var(--hairline); }

  .doc-card { flex-direction: column; align-items: flex-start; }
  .doc-thumb { width: 120px; height: 160px; }
  .profile-dl { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { justify-content: center; text-align: center; }
  .cta-band::before { font-size: 16rem; }

  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
}

@media (max-width: 520px) {
  body { font-size: 0.95rem; }
  .fact-band, .process-steps { grid-template-columns: 1fr; }
  .fact { border-left: 0 !important; }
  .fact + .fact { border-top: 1px solid var(--hairline); }
  .to-top { right: 16px; bottom: 16px; }
  .event-price-chip { left: 10px; }
}
