:root {
  --bg: #0a0b10;             /* deeper black/blue */
  --bg-elev: #0f121a;
  --line: #121626;
  --text: #E8ECF7;
  --muted: #A7B0CC;
  --gold: #D4AF37;           /* crest gold */
  --crimson: #D13A34;        /* heart red */
  --ink: #10131b;
  --glow-gold: 0 0 28px rgba(212, 175, 55, 0.35), 0 0 10px rgba(212, 175, 55, 0.25);
  --glow-crimson: 0 0 26px rgba(209, 58, 52, 0.3), 0 0 10px rgba(209, 58, 52, 0.22);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: .5rem .75rem;
  border-radius: .375rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 0;
}
.container.narrow { width: min(840px, 92vw); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: linear-gradient(180deg, rgba(10,11,16,.8), rgba(10,11,16,.3)); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .3px; }
.nav { display: flex; gap: 16px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(212,175,55,.25); }

.section { padding: 96px 0; position: relative; }

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: .4px;
  margin: 0 0 20px 0;
  color: var(--text);
}

.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--muted);
}

/* Hero */
.hero { min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-background {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1000px 600px at 20% 20%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(1000px 600px at 80% 70%, rgba(209,58,52,.08), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.02) 22px 23px),
    linear-gradient(180deg, rgba(10,11,16,0) 0%, rgba(10,11,16,.55) 70%, rgba(10,11,16,1) 100%);
}
.hero-background::before {
  content: ""; position: absolute; inset: -20%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(212,175,55,.07), rgba(209,58,52,.06), rgba(212,175,55,.07));
  filter: blur(48px);
  animation: rotate 30s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

.headline {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: clamp(40px, 9vw, 96px);
  line-height: 1.05;
  margin: 0 0 12px 0;
  background: linear-gradient(92deg, var(--gold), var(--crimson));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 14px rgba(212,175,55,.18), 0 0 18px rgba(209,58,52,.15);
}
.subhead {
  font-size: clamp(16px, 2.6vw, 22px);
  color: var(--muted);
  margin: 0 0 28px 0;
}

.cta-row { display: flex; gap: 12px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; letter-spacing: .3px; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  color: #001014;
  background: linear-gradient(92deg, rgba(212,175,55,.95), rgba(209,58,52,.95));
  box-shadow: var(--glow-gold), var(--glow-crimson);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 8px 32px rgba(209,58,52,.35), 0 2px 12px rgba(212,175,55,.35); }
.btn-ghost {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-color: rgba(255,255,255,.08);
}
.btn-ghost:hover { border-color: rgba(212,175,55,.45); box-shadow: 0 0 0 2px rgba(212,175,55,.22), 0 0 24px rgba(209,58,52,.22); }

/* Projects */
.projects { background: radial-gradient(800px 400px at 15% 10%, rgba(212,175,55,.07), transparent 60%), radial-gradient(800px 400px at 85% 90%, rgba(209,58,52,.06), transparent 60%); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 0 0 0 rgba(46,232,255,0);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(46,232,255,.45); box-shadow: 0 10px 40px rgba(46,232,255,.2); }
.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; margin: 0 0 8px 0; color: var(--text);
}
.card p { margin: 0 0 14px 0; color: var(--muted); line-height: 1.6; }
.card-actions { display: flex; align-items: center; gap: 12px; }
.tag { color: var(--gold); font-weight: 700; letter-spacing: .4px; }

/* Vision */
.vision .lead { font-style: italic; }

/* Contact */
.contact .email { display: flex; gap: 8px; align-items: baseline; color: var(--muted); margin-bottom: 16px; }
.socials { display: flex; gap: 12px; }
.social {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.social svg { width: 22px; height: 22px; fill: var(--text); opacity: .9; transition: opacity .2s ease, fill .2s ease; }
.social:hover { transform: translateY(-1px); border-color: rgba(212,175,55,.45); box-shadow: 0 0 0 2px rgba(212,175,55,.2), 0 0 24px rgba(209,58,52,.25); }
.social:hover svg { opacity: 1; fill: var(--gold); }

/* Logo styling */
.logo-crest {
  width: clamp(120px, 22vw, 220px);
  height: auto;
  margin: 0 auto 12px auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.6));
}

/* About layout with side image */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 28px;
}
.about-text { min-width: 0; }
.about-photo {
  width: 100%;
  max-width: 380px;
  justify-self: end;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

.footer { padding: 36px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); }
.footer .container { display: flex; justify-content: center; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px) scale(.98); filter: saturate(.9); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: saturate(1); transition: opacity .7s ease var(--delay, 0s), transform .7s ease var(--delay, 0s), filter .7s ease var(--delay, 0s); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { justify-self: center; max-width: 320px; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .socials { flex-wrap: wrap; }
}


