/* ============================================================
   SR Consulting Theme — main.css
   Color palette:
     --black:   #000000
     --white:   #ffffff
     --gold:    #b8972c  (sampled from logo)
     --gold-lt: #d4af37  (lighter accent)
     --gold-dk: #8a6d1a  (darker accent)
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --black:        #000000;
  --white:        #ffffff;
  --gold:         #b8972c;
  --gold-lt:      #d4af37;
  --gold-dk:      #8a6d1a;
  --gold-shimmer: #e8c84a;
  --grey-900:     #0d0d0d;
  --grey-800:     #1a1a1a;
  --grey-100:     #f5f5f5;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-height:   80px;
  --nav-logo-w:   200px;   /* width of black logo section */
  --slash-w:      60px;    /* width of the diagonal slash overlap */

  --ease-sweep:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-sweep:    0.35s;
}

/* ─── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
  /* Gold bar along the bottom of the nav */
  border-bottom: 2px solid var(--gold);
}

/*
  The nav uses the grey-800 as its base background.
  The black logo section sits on top, clipped with a \ diagonal on its
  right edge — revealing the grey behind it. No separate divider element needed.
*/
.main-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: 100%;
  position: relative;
  background: var(--grey-800);  /* entire bar is dark grey */
}

/* ── Logo / Black section ── */
.nav-logo-section {
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 0 24px 0 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  /* Width = logo area + the diagonal overlap amount */
  width: calc(var(--nav-logo-w) + var(--slash-w));
  /*
    \ slash: top-right corner stays at 100%, bottom-right pulls left by slash-w.
    Result: right edge leans like a backslash.
  */
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slash-w)) 100%, 0 100%);
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

/* ── Angular slash divider — no longer needed, hidden ── */
.nav-slash-divider {
  display: none;
}

/* ── Grey / Menu section ── */
.nav-menu-section {
  background: var(--grey-800); /* same as nav base — sits under the logo clip */
  flex: 1;
  display: flex;
  align-items: center;
  /* left padding so links don't crowd the clipped logo edge */
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
  z-index: 1;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 0.8125rem;         /* 13px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);   /* white text on dark grey */
  position: relative;
  cursor: pointer;

  /* Sweep: gold slides in from the left, text flips to black */
  background-image: linear-gradient(to right, var(--gold) 0%, var(--gold) 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  transition:
    background-size var(--dur-sweep) var(--ease-sweep),
    color var(--dur-sweep) var(--ease-sweep);
}

.nav-menu-link:hover,
.nav-menu-item:focus-within .nav-menu-link {
  background-size: 100% 100%;
  color: var(--black);  /* black text on gold background */
}

.nav-caret {
  font-size: 0.55rem;
  transition: transform var(--dur-sweep) var(--ease-sweep);
  display: inline-block;
}

.nav-menu-item:hover .nav-caret,
.nav-menu-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* The Services trigger is a <span>, not an <a>. Ensure its focus state
   still triggers the dropdown and the sweep, matching the anchor behavior. */
.nav-menu-trigger {
  cursor: default;
}

.nav-menu-trigger:focus {
  outline: none;
  background-size: 100% 100%;
  color: var(--black);
}

/* ── Dropdown ── */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--black);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 500;
}

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

.nav-dropdown-link {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-dropdown-link:hover {
  color: var(--gold-lt);
  padding-left: 32px;
}

.nav-dropdown-link:hover::before {
  width: 3px;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-image: url('/images/sr-hero-banner-final.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* No max-width — headline fills the viewport naturally.
     Responsive breakpoints reintroduce constraints at smaller sizes. */
  width: 100%;
  padding: calc(var(--nav-height) + 40px) 80px 80px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  /* Scale up aggressively — clamp grows from 2.5rem at 320px up to 7rem at wide screens */
  font-size: clamp(2.5rem, 6.5vw, 7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 90vw;   /* never overflows the viewport */
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold-lt);
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;

  /* Direct background + color transition — no ::before z-index fights */
  transition:
    background var(--dur-sweep) var(--ease-sweep),
    color var(--dur-sweep) var(--ease-sweep);

  /* Angular cut on button: clip the right edge at an angle */
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.hero-cta:hover {
  background: var(--black);
  color: var(--gold-lt);  /* gold text on black — clearly legible */
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;   /* clickable — scrolls to next section */
  user-select: none;
  text-decoration: none;
}

.scroll-label {
  font-family: var(--font-body);
  font-size: 0.5625rem;        /* 9px */
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  /* Opacity-only pulse — avoids scaleY distorting text */
  animation: scrollFade 2s ease-in-out infinite;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(184, 151, 44, 0.1), var(--gold));
  transform-origin: top center;
  animation: scrollPulse 2s ease-in-out infinite;
  animation-delay: 0.15s;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.85; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ─── Intro Section ──────────────────────────────────────────── */
.intro-section {
  background: var(--black);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.intro-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro-accent-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.intro-body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin: 0 auto;
}

/* ─── Services Preview ───────────────────────────────────────── */
.services-preview {
  background: var(--grey-900);
  padding: 100px 80px;
  position: relative;
  /* Angular top cut */
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

.services-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

.services-grid {
  display: grid;
  /* auto-fill: 3 columns at full width, wraps naturally to 3+2 for 5 cards */
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--grey-800);
  padding: 48px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;

  /* Angular bottom-right cut */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.service-card:hover {
  background: #1f1f1f;
}

.service-card-accent {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
  transition: width 0.3s ease;
}

.service-card:hover .service-card-accent {
  width: 56px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.service-card-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.service-card-link:hover {
  gap: 14px;
  color: var(--gold-lt);
}

/* ── CTA card variant ── */
/* CTA card: same look as sibling cards — only the button differs */
.service-card--cta {
  /* no overrides — inherits background, border, padding from .service-card */
}

/* Freeze the accent bar: no width/height changes on hover */
.service-card--cta .service-card-accent,
.service-card--cta:hover .service-card-accent {
  width: 36px;   /* same fixed width as the default resting state */
  height: 2px;   /* same fixed height — never changes */
  transition: none;
}

/* Prevent the card itself from shifting layout on hover */
.service-card--cta:hover {
  /* allow the card-level bg/shadow hover from .service-card:hover, but block accent changes above */
}

.service-card-link--cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.25s ease, gap 0.2s ease;
  margin-top: auto;
}

.service-card-link--cta:hover {
  background: var(--gold-lt);
  gap: 16px;
  color: var(--black) !important;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(184, 151, 44, 0.25);
  padding: 60px 80px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  opacity: 0.9;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ─── Service Pages ──────────────────────────────────────────── */
.service-page {
  padding-top: var(--nav-height);
}

/* ── Service Hero ── */
.service-hero {
  background: var(--black);
  padding: 80px 80px 100px;
  position: relative;
  overflow: hidden;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.service-hero-inner {
  max-width: 900px;
}

.service-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.service-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 680px;
}

.service-cta-primary {
  opacity: 1;
  animation: none;
}

/* ── Service Body ── */
.service-body {
  background: var(--black);
  padding: 80px 80px 100px;
}

.service-body-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Markdown body typography */
.service-body-inner p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
}

.service-body-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  color: var(--white);
  margin: 60px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,151,44,0.2);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.service-body-inner h2:first-child {
  margin-top: 0;
}

.service-body-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--gold-lt);
  margin: 40px 0 14px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.service-body-inner ul,
.service-body-inner ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.service-body-inner ul li,
.service-body-inner ol li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.service-body-inner ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.45rem;
  top: 12px;
}

.service-body-inner ol {
  counter-reset: service-list;
}

.service-body-inner ol li {
  counter-increment: service-list;
}

.service-body-inner ol li::before {
  content: counter(service-list);
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  top: 9px;
}

.service-body-inner strong {
  color: var(--white);
  font-weight: 500;
}

/* ── Bottom CTA Banner ── */
.service-bottom-cta {
  background: var(--grey-800);
  padding: 80px;
  border-top: 1px solid rgba(184,151,44,0.2);
}

.service-bottom-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.service-bottom-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.service-bottom-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.service-cta-bottom {
  opacity: 1;
  animation: none;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-hero,
  .service-body,
  .service-bottom-cta {
    padding: 60px 24px;
  }
  .service-bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

/* ─── Contact Page ───────────────────────────────────────────── */
.contact-page {
  padding-top: var(--nav-height);
}

.contact-hero {
  background: var(--black);
  padding: 80px 80px 80px;
  position: relative;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.contact-hero-inner {
  max-width: 700px;
}

.contact-form-section {
  background: var(--grey-900);
  padding: 80px;
}

.contact-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  margin-bottom: 28px;
}

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-required {
  color: var(--gold);
}

.form-input {
  background: var(--grey-800);
  border: 1px solid rgba(184,151,44,0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
  /* Slight angular clip matching site design language */
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.form-input:focus {
  border-color: var(--gold);
  background: #222;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-select {
  appearance: none;
  cursor: pointer;
  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' stroke='%23b8972c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--grey-800);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-honeypot {
  display: none;
}

.form-actions {
  margin-top: 8px;
}

.form-submit {
  opacity: 1;
  animation: none;
}

@media (max-width: 768px) {
  .contact-hero,
  .contact-form-section {
    padding: 60px 24px;
  }
  .form-row--two {
    grid-template-columns: 1fr;
  }
}

/* ─── About Page ─────────────────────────────────────────────── */

.about-page {
  padding-top: var(--nav-height);
}

/* ── About Hero ── */
.about-hero {
  background: var(--black);
  padding: 80px 80px 100px;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.about-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.about-lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
}

/* ── Photo Frame ── */
.about-hero-photo {
  flex-shrink: 0;
}

.about-photo-frame {
  position: relative;
  width: 320px;
}

.about-headshot {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Angular bottom-left cut matching the site's design language */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.about-photo-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  /* Same angular cut */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  z-index: -1;
  opacity: 0.5;
}

/* ── Credentials Section ── */
.about-credentials {
  background: var(--grey-900);
  padding: 100px 80px;
  /* Angular top cut matching services section */
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

.about-credentials-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 20px;
}

.about-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.about-label-bar {
  width: 36px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.about-section-label span {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.credentials-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credential-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(184, 151, 44, 0.12);
  align-items: start;
  transition: border-color 0.3s ease;
}

.credential-item:first-child {
  padding-top: 0;
}

.credential-item:last-child {
  border-bottom: none;
}

.credential-item:hover {
  border-color: rgba(184, 151, 44, 0.35);
}

.credential-icon {
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.credential-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.credential-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.credential-body strong {
  color: var(--gold-lt);
  font-weight: 500;
}

/* About responsive */
@media (max-width: 1024px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo-frame {
    width: 280px;
  }
  .about-headshot {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .about-hero,
  .about-credentials {
    padding: 60px 24px;
  }
  .about-photo-frame {
    width: 240px;
  }
  .about-headshot {
    height: 300px;
  }
  .credential-item {
    grid-template-columns: 20px 1fr;
    gap: 16px;
    padding: 28px 0;
  }
}

/* ─── Keyframe Animations ────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --nav-logo-w: 160px;
    --slash-w: 44px;
  }
  .hero-content {
    padding: calc(var(--nav-height) + 32px) 48px 60px;
  }
  .hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 5rem);
  }
  .intro-section,
  .services-preview {
    padding: 80px 48px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-logo-w: 120px;
    --slash-w: 32px;
  }
  .nav-logo-img {
    height: 40px;
  }
  .hero-content {
    padding: calc(var(--nav-height) + 24px) 24px 40px;
  }
  .hero-headline {
    font-size: clamp(2rem, 8vw, 3.25rem);
    max-width: 100%;
  }
  .hero-subtext {
    max-width: 100%;
  }
  .intro-section,
  .services-preview {
    padding: 60px 24px;
  }
  .site-footer {
    padding: 48px 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
