:root {
  --bg: #090806;
  --bg-soft: #12100c;
  --panel: rgba(18, 16, 12, 0.74);
  --panel-strong: rgba(20, 18, 14, 0.92);
  --line: rgba(228, 203, 151, 0.18);
  --line-bright: rgba(228, 203, 151, 0.35);
  --text: #f6f0e6;
  --muted: rgba(246, 240, 230, 0.68);
  --subtle: rgba(246, 240, 230, 0.48);
  --gold: #d8b66a;
  --gold-strong: #f1d38b;
  --gold-soft: rgba(216, 182, 106, 0.18);
  --shadow: rgba(0, 0, 0, 0.42);
  --danger: #ffb0a5;
  --success: #b6f2cb;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 720px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(216, 182, 106, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(95, 75, 40, 0.24), transparent 28rem),
    linear-gradient(145deg, #080705 0%, #14100a 47%, #050505 100%);
  overflow-x: hidden;
}

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

button, input, textarea, select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 16px; }

.site-shell {
  position: relative;
  min-height: 100vh;
  padding: 28px 18px 32px;
}

.ambient {
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(74px);
  opacity: 0.26;
  pointer-events: none;
}

.ambient-one {
  top: -20rem;
  right: -14rem;
  background: rgba(216, 182, 106, 0.45);
}

.ambient-two {
  bottom: -26rem;
  left: -18rem;
  background: rgba(110, 90, 55, 0.42);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
  opacity: 0.42;
}

.topbar {
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 36px var(--shadow);
  color: var(--gold-strong);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.topnav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
  outline: none;
}

.executive-card {
  position: relative;
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035));
  box-shadow: 0 34px 90px rgba(0,0,0,0.52);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.executive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241, 211, 139, 0.15), transparent 30%, transparent 68%, rgba(241, 211, 139, 0.08));
  pointer-events: none;
}

.hero-panel,
.links-panel,
.credibility-panel,
.contact-panel {
  position: relative;
  padding: 28px;
}

.hero-panel { padding-bottom: 18px; }

.profile-row {
  display: flex;
  gap: 18px;
  align-items: center;
}

.portrait-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 30px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(241, 211, 139, 0.85), rgba(255,255,255,0.12), rgba(216, 182, 106, 0.44));
  box-shadow: 0 18px 50px rgba(0,0,0,0.42);
}

.portrait,
.portrait-fallback {
  width: 100%;
  height: 100%;
  border-radius: 27px;
}

.portrait {
  object-fit: cover;
  display: block;
  background: #1a1711;
}

.portrait-fallback {
  display: none;
  place-items: center;
  background: #17130c;
  color: var(--gold-strong);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.identity-stack { min-width: 0; }

.eyebrow,
.link-kicker,
.mini-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 700;
}

h1, h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 4.35rem);
  line-height: 0.92;
}

.headline {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.positioning {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.18);
}

.positioning p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.signal-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.signal-bar span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.links-panel {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}

.feature-link,
.compact-link,
.contact-trigger {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(10, 9, 7, 0.58);
  box-shadow: 0 18px 44px rgba(0,0,0,0.20);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature-link {
  display: grid;
  gap: 6px;
  padding: 19px;
}

.feature-link.primary {
  background: linear-gradient(135deg, rgba(216, 182, 106, 0.18), rgba(10, 9, 7, 0.76));
  border-color: var(--line-bright);
}

.feature-link strong,
.compact-link strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature-link span:last-child,
.compact-link span {
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.94rem;
}

.feature-link:hover,
.feature-link:focus-visible,
.compact-link:hover,
.compact-link:focus-visible,
.contact-trigger:hover,
.contact-trigger:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-strong);
  background: rgba(255,255,255,0.07);
  outline: none;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-link {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.contact-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 19px;
  color: #111;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  border-color: rgba(241, 211, 139, 0.62);
  cursor: pointer;
  font-weight: 800;
}

.contact-trigger:hover,
.contact-trigger:focus-visible {
  background: linear-gradient(135deg, #ffe09b, #d8b66a);
}

.contact-trigger svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credibility-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
}

.credibility-panel > div {
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.16);
}

.credibility-panel > div + div { border-left: 1px solid var(--line); }

.mini-label {
  display: block;
  margin-bottom: 9px;
  color: var(--subtle);
  font-size: 0.65rem;
}

.credibility-panel strong {
  display: block;
  color: var(--text);
  line-height: 1.35;
  font-size: 0.92rem;
}

.contact-panel {
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.12);
}

.contact-panel:not(.is-open) {
  display: none;
}

.contact-heading {
  margin-bottom: 18px;
}

.contact-heading h2 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1;
}

.contact-heading p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  line-height: 1.45;
}

.notice.success {
  color: var(--success);
  border-color: rgba(182, 242, 203, 0.34);
}

.notice.error {
  color: var(--danger);
  border-color: rgba(255, 176, 165, 0.34);
}

.notice ul {
  margin: 8px 0 0;
  padding-left: 19px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.form-field select option {
  background: #17130c;
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 132px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold-strong);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(216,182,106,0.12);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  background: var(--text);
  color: #111;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
  outline: none;
}

.form-note {
  margin: 0;
  color: var(--subtle);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer {
  width: min(var(--max), calc(100vw - 36px));
  margin: 18px auto 0;
  text-align: center;
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .site-shell { padding-top: 18px; }
  .topbar { align-items: flex-start; }
  .topnav { max-width: 240px; }
  .hero-panel,
  .links-panel,
  .contact-panel { padding: 22px; }
  .profile-row { align-items: flex-start; }
  .portrait-wrap { width: 78px; height: 78px; border-radius: 24px; }
  .portrait, .portrait-fallback { border-radius: 21px; }
  .headline { font-size: 0.95rem; }
  .positioning { padding: 17px; }
  .compact-grid,
  .form-grid,
  .credibility-panel { grid-template-columns: 1fr; }
  .credibility-panel > div + div { border-left: 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
