/* ============ Rayan Akhras: site styles ============
   Change colors here once and every page updates. */
:root {
  --bg: #eef3f1;        /* soft misty background */
  --ink: #16263a;       /* deep navy text */
  --sea: #2f7f79;       /* calm teal */
  --spot: #f2b632;      /* marigold "spotlight" accent */
  --card: #ffffff;
  --muted: #55657a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.06rem; line-height: 1.65;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(3rem, 9vw, 6.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { max-width: 62ch; }
a { color: var(--sea); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--spot); outline-offset: 3px; }

/* ---- Navigation ---- */
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding: 1.2rem clamp(1.2rem, 5vw, 4rem); }
.logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .3rem; }
nav a { color: var(--ink); text-decoration: none; padding: .35rem .9rem; border-radius: 99px; }
nav a:hover { background: rgba(47,127,121,.14); }
nav a[aria-current="page"] { background: var(--ink); color: #fff; }

main { padding: 1rem clamp(1.2rem, 5vw, 4rem) 4rem; max-width: 1100px; margin: 0 auto; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: .8rem 1.5rem; border-radius: 99px; font-weight: 700; margin: .3rem .5rem .3rem 0; transition: background .2s; }
.btn:hover { background: var(--sea); }
.btn.alt { background: var(--spot); color: var(--ink); }
.btn.alt:hover { background: #ffd26a; }

/* ---- Home hero: photo in a stage-doorway arch with a spotlight ---- */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-top: 1rem; }
.hero .tagline { font-size: 1.25rem; color: var(--muted); max-width: 30ch; }
.arch-wrap { position: relative; justify-self: center; width: min(100%, 380px); }
.arch-wrap::before { content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: var(--spot); right: -12%; top: -6%; }
.arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; background: linear-gradient(160deg, var(--sea), var(--ink)) center / cover; box-shadow: 0 18px 40px rgba(22,38,58,.25); }
/* To use your headshot: put it in the images folder and add it to the arch with
   style="background-image: url(images/headshot.jpg)" in the HTML. */

/* ---- Shared content ---- */
.panel { background: var(--card); border-radius: 22px; padding: 1.6rem 1.8rem; margin: 1.2rem 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.video { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 22px; background: var(--ink); }
.photo { aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(150deg, var(--sea), var(--ink)) center / cover; }
.photo:nth-child(even) { border-radius: 90px 18px 90px 18px; background-color: var(--spot); }
.credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; padding: .7rem 0; border-bottom: 1px solid #dfe6e4; }
.credit:last-child { border-bottom: 0; }
.credit span { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .4rem 1.5rem; }
footer { text-align: center; color: var(--muted); padding: 2rem 1rem; font-size: .95rem; }

@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .arch-wrap { order: -1; width: min(75%, 300px); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
