/* ============================================================
   ARH ADVISORY — v1 design language, cleanly sized
   ============================================================ */

:root {
  /* Brand */
  --black:        #000000;
  --card:         #111111;
  --card-raised:  #1a1a1a;
  --card-accent:  #202023;
  --off-white:    #FAFAFA;
  --gray-900:     #1a1a1a;
  --gray-800:     #333333;
  --gray-600:     #666666;
  --gray-500:     #888888;
  --gray-400:     #a3a3a3;
  --gray-300:     #d1d5db;
  --gray-200:     #e5e5e5;
  --gray-100:     #f5f5f5;
  --white:        #ffffff;

  --gold:         #C5961B;
  --gold-light:   #D4A829;
  --gold-dark:    #A67C15;
  --gold-soft:    rgba(197, 150, 27, 0.3);
  --gold-faint:   rgba(197, 150, 27, 0.1);

  /* Type */
  --f-display:    'Cinzel', 'Georgia', serif;
  --f-body:       'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --tracking-wide:   0.15em;
  --tracking-wider:  0.2em;
  --tracking-md:     0.08em;

  /* Layout */
  --container:    1200px;
  --gutter:       clamp(20px, 4vw, 48px);
  --section-y:    clamp(80px, 9vw, 140px);

  /* Motion */
  --ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       220ms var(--ease);
  --t:            400ms var(--ease);
  --t-slow:       700ms var(--ease-out);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--off-white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea { font: inherit; color: inherit; }

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

.honeypot { position: absolute !important; left: -9999px !important; }

.skip-link {
  position: absolute; top: 12px; left: 12px;
  z-index: 1200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  transform: translateY(-150%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

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

/* -------- Container / sections -------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.section--dark    { background: var(--card-raised); color: var(--off-white); }
.section--darker  { background: var(--card-accent); color: var(--off-white); }
.section--light   { background: var(--off-white); color: var(--gray-800); }

/* -------- Reveal animation -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 240ms; }
.reveal[data-delay="3"] { transition-delay: 360ms; }
.reveal[data-delay="4"] { transition-delay: 480ms; }

/* -------- Pill section label -------- */
.section-label {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: 24px;
}
.section--light .section-label {
  background: rgba(255, 255, 255, 0.5);
}

/* -------- Section heading -------- */
.section-heading {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 3rem);
  text-transform: uppercase;
  letter-spacing: var(--tracking-md);
  line-height: 1.15;
  color: var(--white);
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 1px;
  background: var(--gold);
}
.section-heading--dark { color: var(--black); }
.section-heading--xl {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.btn--outline { color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn--outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 6px 28px rgba(197, 150, 27, 0.3);
}
.btn--solid {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  padding: 16px 36px;
}
.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 6px 28px rgba(197, 150, 27, 0.3);
}

/* -------- Underline link -------- */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  position: relative;
  padding-bottom: 2px;
}
.link-underline span { position: relative; }
.link-underline span::before,
.link-underline span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  transition: transform var(--t);
}
.link-underline span::before {
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(1);
}
.link-underline span::after {
  background: var(--white);
  transform-origin: right;
  transform: scaleX(0);
}
.link-underline:hover span::before { transform: scaleX(0); }
.link-underline:hover span::after {
  transform-origin: left;
  transform: scaleX(1);
}
.link-underline svg { transition: transform var(--t-fast); }
.link-underline:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: padding var(--t), background var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  height: 40px;
}
.nav__logo-full { height: 40px; width: auto; transition: opacity var(--t); }
.nav__logo-icon {
  height: 32px; width: auto;
  position: absolute;
  opacity: 0;
  transition: opacity var(--t);
}
.nav.is-scrolled .nav__logo-full { opacity: 0; }
.nav.is-scrolled .nav__logo-icon { opacity: 1; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links--left { justify-content: flex-start; }
.nav__links--right { justify-content: flex-end; }

.nav__links a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--gold-light); }

.nav__cta {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  position: relative;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.nav__cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav__cta:hover { color: var(--white); }
.nav__cta:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: var(--white);
}
.nav__toggle-line {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__drawer[hidden] { display: none !important; }
.nav__drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  animation: drawerIn 360ms var(--ease) both;
}
.nav__drawer a {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--white);
  transition: color var(--t-fast);
}
.nav__drawer a:hover { color: var(--gold); }
.nav__drawer-cta {
  margin-top: 8px;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
}
@keyframes drawerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__photo-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.95;
  filter: contrast(1.08);
}
.hero__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__fade--left {
  width: 33%;
  background: linear-gradient(to right, var(--black), rgba(0, 0, 0, 0.85), transparent);
}
.hero__fade--right {
  left: auto; right: 0; width: 33%;
  background: linear-gradient(to left, var(--black), rgba(0, 0, 0, 0.85), transparent);
}
.hero__fade--radial {
  background: radial-gradient(circle at center, transparent 18%, var(--black) 100%);
  opacity: 0.6;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 60%;
  background: linear-gradient(to right, var(--black), rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero__bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero__container { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 620px; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 40px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.hero__title-sub {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: normal;
  line-height: 1.2;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1.2s ease 1s forwards;
}
.hero__scroll span {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(197, 150, 27, 0.1);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.about__glow--tr { top: -200px; right: -200px; }
.about__glow--bl { bottom: -200px; left: -200px; }
.about .container { position: relative; z-index: 1; }

.about__head { max-width: 820px; margin-bottom: 64px; }
.about__copy {
  font-size: 1.0625rem;
  color: var(--gray-400);
  line-height: 1.75;
  max-width: 58ch;
  font-weight: 300;
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t), border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.stat:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 150, 27, 0.3);
  transform: translateY(-3px);
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
  transition: transform var(--t);
  transform-origin: left;
}
.stat:hover .stat__num { transform: scale(1.05); }
.stat__plus {
  display: inline-block;
  font-size: 0.65em;
  vertical-align: super;
  color: var(--gold-dark);
  margin-left: -0.05em;
}
.stat__label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--white);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 150, 27, 0.2);
  align-self: flex-start;
  margin-bottom: 14px;
}
.stat__desc {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--black); }
.services__skyline {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: radial-gradient(ellipse at 80% 20%, rgba(197, 150, 27, 0.15), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.04), transparent 60%);
  z-index: 0;
  filter: grayscale(1);
}
.services__accent {
  position: absolute;
  bottom: -60px; right: 0;
  width: 100%; height: 60%;
  background: rgba(17, 17, 17, 0.8);
  transform: skewY(3deg);
  transform-origin: bottom left;
  z-index: 0;
}
.services__glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(197, 150, 27, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }

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

.service {
  position: relative;
  padding: 40px 36px 44px;
  background: var(--card);
  border: 1px solid rgba(197, 150, 27, 0.2);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px -10px rgba(197, 150, 27, 0.18);
}
.service__watermark {
  position: absolute;
  top: 8px; right: 20px;
  font-family: var(--f-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  transition: opacity var(--t);
}
.service:hover .service__watermark { opacity: 0.1; }

.service__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-md);
  color: var(--white);
  margin-top: 20px;
  margin-bottom: 28px;
  line-height: 1.2;
  min-height: 4rem;
}
.service__title span { display: block; }

.service__rule {
  width: 48px;
  height: 1px;
  background: rgba(197, 150, 27, 0.5);
  margin-bottom: 28px;
  transition: width var(--t), background var(--t);
}
.service:hover .service__rule {
  width: 100%;
  background: var(--gold);
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--gray-400);
  font-weight: 300;
  transition: color var(--t);
}
.service:hover .service__list li { color: var(--gray-300); }
.service__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform var(--t), box-shadow var(--t);
}
.service:hover .service__list li::before {
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--gold);
}
.service__list li strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.service__foot {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.service:hover .service__foot { transform: scaleX(1); }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--off-white); color: var(--gray-800); }
.clients__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 40L40 0H20L0 20M40 40V20L20 40' stroke='%23000' stroke-width='1' fill='none'/></svg>");
}
.clients .container { position: relative; z-index: 1; }

.clients__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}
.clients__intro {
  max-width: 520px;
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.04);
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.65;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.client {
  position: relative;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--t-slow);
}
.client:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

.client::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 500ms var(--ease);
  z-index: 0;
}
.client:hover::before { transform: translateY(0); }

.client__icon,
.client__title,
.client__desc { position: relative; z-index: 1; }

.client__icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 28px;
  transition: color var(--t);
}
.client:hover .client__icon { color: var(--black); }

.client__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-md);
  line-height: 1.25;
  color: var(--black);
  margin-top: auto;
  margin-bottom: 14px;
  min-height: 2.8rem;
  display: flex;
  align-items: flex-end;
}

.client__desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-600);
  font-weight: 300;
  transition: color var(--t);
}
.client:hover .client__desc { color: rgba(0, 0, 0, 0.78); }

/* ============================================================
   TEAM / FOUNDER
   ============================================================ */
.team { background: var(--card-accent); }
.team__accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50%;
  background: #18181b;
  transform: skewY(-3deg);
  transform-origin: bottom right;
  z-index: 0;
}
.team .container { position: relative; z-index: 1; }

.team__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 48px;
}

.team__portrait {
  position: relative;
}
.team__portrait-frame {
  position: relative;
  z-index: 1;
}
.team__portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  transform: translate(16px, 16px);
  z-index: 0;
  pointer-events: none;
}
.team__portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  filter: grayscale(0.15) contrast(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: filter 700ms ease;
}
.team__portrait-frame img:hover { filter: grayscale(0) contrast(1.08); }

.team__bio {
  display: flex;
  flex-direction: column;
}
.team__name {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 6px;
}
.team__role {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--gray-500);
  margin-bottom: 24px;
}
.team__divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}

.team__scroll {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 18px;
  scroll-behavior: smooth;
}
.team__scroll::-webkit-scrollbar { width: 6px; }
.team__scroll::-webkit-scrollbar-track { background: rgba(197, 150, 27, 0.08); border-radius: 4px; }
.team__scroll::-webkit-scrollbar-thumb { background: rgba(197, 150, 27, 0.6); border-radius: 4px; }
.team__scroll::-webkit-scrollbar-thumb:hover { background: rgba(197, 150, 27, 0.85); }

.team__scroll p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-300);
  font-weight: 300;
  margin-bottom: 20px;
}
.team__dropcap {
  font-family: var(--f-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--gold);
  float: left;
  line-height: 0.9;
  margin: 0.12em 0.15em 0 -0.02em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--off-white); color: var(--gray-800); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 96px);
  margin-top: 56px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact__block h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-md);
  color: var(--black);
  margin-bottom: 10px;
}
.contact__block p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
}
.contact__block a {
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(197, 150, 27, 0.35);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.contact__block a:hover { color: var(--gold); border-color: var(--gold); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--gray-800);
  transition: border-color var(--t-fast);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-400); }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.contact__form button[type="submit"] {
  align-self: flex-start;
  margin-top: 12px;
}

.contact__success {
  grid-column: span 2;
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
}
.contact__success h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 12px;
}
.contact__success p {
  color: var(--gray-600);
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer__logo {
  height: 46px;
  width: auto;
  opacity: 0.9;
}
.footer__rule {
  width: 80px;
  height: 1px;
  background: rgba(197, 150, 27, 0.3);
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(3) { grid-column: span 2; max-width: 50%; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .clients__grid .client:nth-child(4),
  .clients__grid .client:nth-child(5) { grid-column: span 1; }
  .team__grid { grid-template-columns: minmax(240px, 340px) 1fr; }
}

@media (max-width: 768px) {
  .nav__links--left, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__links--right { display: none; }

  .hero { padding-top: 100px; }
  .hero__photo-wrap {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    height: 55%;
    opacity: 0.55;
  }
  .hero__photo {
    object-fit: cover;
    object-position: center 25%;
  }
  .hero__overlay {
    width: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7) 40%, var(--black) 75%);
  }
  .hero__fade--left, .hero__fade--right { display: none; }
  .hero__content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.75rem); }

  .stats { grid-template-columns: 1fr; }
  .stats .stat:nth-child(3) { grid-column: auto; max-width: none; }

  .services__grid { grid-template-columns: 1fr; }

  .clients__grid { grid-template-columns: 1fr 1fr; }
  .client { min-height: 220px; }

  .team__grid { grid-template-columns: 1fr; }
  .team__portrait { max-width: 380px; margin: 0 auto; }

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .btn { width: 100%; }
  .clients__grid { grid-template-columns: 1fr; }
  .hero__photo-wrap { height: 45%; }
  .team__portrait-frame::before { transform: translate(10px, 10px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; }
}
