/* ══════════════════════════════════════════════
   Sevan Konu — Personal Website
   ══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Custom Properties ── */
:root {
  --bg: #F7F4EE;
  --bg-card: #EFEAE0;
  --ink: #1A1814;
  --ink-muted: #6B6459;
  --ink-faint: #A09890;
  --accent: #2C5F5D;
  --accent-hover: #234E4C;
  --accent-light: #D4EAE9;
  --border: rgba(26, 24, 20, 0.10);
  --border-strong: rgba(26, 24, 20, 0.18);
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Container ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero staggered entrance ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-anim {
  opacity: 0;
  animation: fadeUp 0.8s ease both;
  animation-delay: var(--delay, 0s);
}

/* ── Shared Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-card);
  color: var(--ink);
}

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
}

#hero > .container {
  max-width: 1100px;
}

.hero-inner {
  position: relative;
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 48px;
  align-items: center;
  overflow: visible;
}

.hero-content {
  min-width: 0;
}

/* Hero photo */
.hero-photo {
  position: relative;
  align-self: center;
  justify-self: end;
  overflow: visible;
}

.hero-photo img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  filter: grayscale(15%);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(44, 95, 93, 0.2);
  pointer-events: none;
}

/* Upwork badge */
.upwork-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.upwork-badge:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.upwork-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #14a800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upwork-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.upwork-badge-label {
  font-size: 0.6rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upwork-badge-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}

/* Role pills */
.roles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(44, 95, 93, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

.role-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Hero heading */
#hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 760px;
}

#hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtext {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

/* Social row */
.social-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
  color: var(--ink);
  background: var(--bg-card);
  border-color: var(--border);
}

.credentials-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.cred-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.cred-sep {
  font-size: 0.72rem;
  color: var(--border-strong);
}

/* ══════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════ */

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.trust-sep {
  font-size: 0.72rem;
  color: var(--border-strong);
}

/* ══════════════════════════════════════════════
   TRACK RECORD
   ══════════════════════════════════════════════ */

#track-record {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

#track-record > .container {
  width: 100%;
}

.track-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.track-item {
  padding: 32px 0;
  border-right: 1px solid var(--border);
  text-align: center;
}

.track-item:first-child {
  padding-left: 0;
}

.track-item:last-child {
  border-right: none;
}

.track-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.track-label {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════════ */

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 52px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */

#services {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 24, 20, 0.08);
  color: inherit;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at top left, rgba(44, 95, 93, 0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.card-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-faint);
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(44, 95, 93, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.card:hover .card-name {
  color: var(--accent);
}

.card-headline {
  font-size: 0.82rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-faint);
  margin-bottom: 18px;
  line-height: 1.5;
}

.card-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 24px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: auto;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.card-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.card-cta svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .card-cta svg {
  transform: translateX(5px);
}

.services-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-footer-line {
  width: 32px;
  height: 1px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.services-footer-text {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-faint);
}

/* ══════════════════════════════════════════════
   SPEAKING & EVENTS
   ══════════════════════════════════════════════ */

#portfolio {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.events {
  display: flex;
  flex-direction: column;
}

.event {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.event:last-child {
  border-bottom: 1px solid var(--border);
}

.event-year {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-faint);
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.event:hover .event-title {
  color: var(--accent);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-host {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-muted);
}

.event-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
}

.event-type {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(44, 95, 93, 0.15);
  padding: 3px 9px;
  border-radius: 100px;
}

.event-arrow {
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.event:hover .event-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.speaking-footer {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.speaking-footer-text {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-faint);
}

.invite-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(44, 95, 93, 0.25);
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.invite-link:hover {
  background: var(--accent-light);
  border-color: rgba(44, 95, 93, 0.4);
}

.invite-link svg {
  transition: transform 0.2s;
}

.invite-link:hover svg {
  transform: translateX(3px);
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */

#about {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.about-top {
  margin-bottom: 64px;
}

.about-body {
  max-width: none;
}

.about-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.closing-line {
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  color: var(--ink-muted);
}

.location {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-muted);
}

/* Credentials bar (inside about) */
.credentials-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.credentials-line p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-muted);
}

.credentials-divider {
  display: none;
}

.credentials-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 7px 14px;
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s;
}

.pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}

.pill:hover {
  border-color: rgba(44, 95, 93, 0.35);
  background: var(--accent-light);
}

/* About grid (contributions + volunteering) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.about-col-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.contribution {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contribution:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contribution-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.contribution-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
}

.contribution-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.2s;
}

.contribution-link:hover {
  gap: 8px;
}

.vol-org {
  margin-bottom: 28px;
}

.vol-org:last-child {
  margin-bottom: 0;
}

.vol-org-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.vol-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.vol-item:last-child {
  margin-bottom: 0;
}

.vol-year {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-faint);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 68px;
}

.vol-role {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* About credentials */
.about-credentials {
  margin-top: 64px;
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */

#contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(44, 95, 93, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 48px;
  text-align: center;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  opacity: 0.7;
  margin-bottom: 28px;
}

.contact-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.7;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 24px;
}

.contact-title em {
  font-style: italic;
  color: var(--accent-light);
}

.contact-sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.5);
  max-width: 480px;
  margin: 0 auto 48px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.contact-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.contact-btn-primary:hover {
  background: #3a7a78;
  color: #fff;
  transform: translateY(-1px);
}

.contact-btn-primary svg {
  transition: transform 0.2s;
}

.contact-btn-primary:hover svg {
  transform: translateX(3px);
}

.contact-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(247, 244, 238, 0.75);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 13px 24px;
  border-radius: 6px;
  border: 1px solid rgba(247, 244, 238, 0.15);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.contact-btn-secondary:hover {
  border-color: rgba(247, 244, 238, 0.35);
  color: var(--bg);
  background: rgba(247, 244, 238, 0.05);
}

.contact-btn-secondary svg {
  transition: transform 0.2s;
}

.contact-btn-secondary:hover svg {
  transform: translate(2px, -2px);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.site-footer {
  position: relative;
  z-index: 1;
  background: #141210;
  border-top: 1px solid rgba(247, 244, 238, 0.06);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(247, 244, 238, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(247, 244, 238, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(247, 244, 238, 0.7);
}

/* ══════════════════════════════════════════════
   SERVICE PAGES
   ══════════════════════════════════════════════ */

.service-hero {
  position: relative;
  z-index: 1;
  padding: 160px 0 80px;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s, gap 0.2s;
}

.service-back:hover {
  color: var(--accent);
  gap: 8px;
}

.service-hero .container {
  text-align: center;
}

.service-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.service-subheadline {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.service-body {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.service-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

/* ── Service Sections ── */
.service-section {
  position: relative;
  z-index: 1;
  padding: 48px 0 56px;
}

.service-section-header {
  margin-bottom: 32px;
}

/* ── Included Grid ── */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.included-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.included-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ── Ideal For List ── */
.ideal-list {
  list-style: none;
  max-width: 640px;
}

.ideal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.ideal-list li:last-child {
  margin-bottom: 0;
}

.ideal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ── Process / How It Works ── */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 0 28px;
  border-right: 1px solid var(--border);
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  border-right: none;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ── Service CTA ── */
.service-cta {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(44, 95, 93, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.service-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 48px;
  text-align: center;
}

.service-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 20px;
}

.service-cta-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.5);
  margin-bottom: 40px;
}

.service-cta .btn-primary {
  background: var(--accent);
  color: #fff;
}

.service-cta .btn-primary:hover {
  background: #3a7a78;
}

/* ── Credentials ── */
.credentials-section {
  padding-bottom: 100px;
}

.credentials-intro {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 640px;
  margin-bottom: 28px;
}

.credentials-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.credentials-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.credentials-group-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.credentials-list {
  list-style: none;
}

.credentials-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.credentials-note {
  font-size: 0.82rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-faint);
  margin-top: 20px;
}

/* ── Service Hero CTA Row ── */
.service-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 48px;
}

/* ── Service Diagram ── */
.service-diagram {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
}

.service-diagram img {
  width: 100%;
  height: auto;
  background: transparent;
  mix-blend-mode: multiply;
}

.service-diagram-caption {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* ── Per-Service Decorations ── */

/* Notion: faint grid pattern */
.service-hero[data-service="notion"] {
  overflow: hidden;
}

.service-hero[data-service="notion"]::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, var(--border) 0px, var(--border) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, var(--border) 0px, var(--border) 1px, transparent 1px, transparent 48px);
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.35), transparent);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.35), transparent);
}

/* Fractional PM: abstract geometric shapes */
.service-hero[data-service="fractional-pm"] {
  overflow: hidden;
}

.service-hero[data-service="fractional-pm"]::after {
  content: '';
  position: absolute;
  top: 80px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

.service-hero[data-service="fractional-pm"]::before {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--accent);
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(15deg);
}

/* P3.express: subtle radial glow */
.service-hero[data-service="pm-training"]::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44, 95, 93, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Notion Badge Cards ── */
.notion-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.notion-badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notion-badge-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.notion-badge-icon {
  flex-shrink: 0;
}

.notion-badge-name {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
}

.notion-badge-check {
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Section Divider Dots ── */

.service-section::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  margin: 0 auto 40px;
}

/* ── Alternating Section Tint ── */
.service-section:nth-of-type(even) {
  background: rgba(44, 95, 93, 0.02);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-photo {
    order: -1;
    justify-self: center;
    margin-bottom: 28px;
  }

  .hero-photo img {
    width: 200px;
    height: 200px;
  }

  .hero-photo::after {
    display: none;
  }

  .upwork-badge {
    bottom: -12px;
    padding: 6px 10px;
    gap: 6px;
  }

  .upwork-badge-icon {
    width: 22px;
    height: 22px;
  }

  .upwork-badge-icon svg {
    width: 12px;
    height: 12px;
  }

  .upwork-badge-label {
    font-size: 0.55rem;
  }

  .upwork-badge-title {
    font-size: 0.7rem;
  }

  #hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .hero-inner {
    padding: 32px 0;
  }

  .roles {
    margin-bottom: 16px;
  }

  #hero h1 {
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .hero-subtext {
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    justify-content: center;
    text-align: center;
  }

  .hero-divider {
    margin-bottom: 16px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 18px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
  }

  .section-title {
    white-space: normal;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .track-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .track-item {
    border-right: none;
    text-align: left;
    padding: 16px 0;
  }

  .event {
    grid-template-columns: 56px 1fr;
  }

  .event-arrow {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-inner {
    padding: 80px 24px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn-primary,
  .contact-btn-secondary {
    justify-content: center;
  }

  .credentials-inner {
    gap: 16px;
  }

  .social-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-inner {
    padding: 24px;
  }

  /* Service pages responsive */
  .service-hero {
    padding: 120px 0 60px;
  }

  .included-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-step {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
  }

  .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .service-cta-inner {
    padding: 80px 24px;
  }

  .credentials-groups {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .role-pill {
    font-size: 0.6rem;
    padding: 4px 9px;
    gap: 4px;
  }

  .roles {
    gap: 6px;
    margin-bottom: 20px;
  }

  #hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
  }

  .service-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .service-hero-cta .btn-primary,
  .service-hero-cta .btn-secondary {
    justify-content: center;
    text-align: center;
  }

  .service-diagram {
    max-width: 100%;
  }

  /* Hide geometric decorations on mobile */
  .service-hero[data-service="fractional-pm"]::after,
  .service-hero[data-service="fractional-pm"]::before,
  .service-hero[data-service="notion"]::after,
  .service-hero[data-service="pm-training"]::after {
    display: none;
  }

  .notion-badge-grid {
    flex-direction: column;
  }

  .about-credentials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
