/* ==========================================================================
   Shayla Brictson — site styles
   Edit colors and fonts in :root below. Layout sections are labelled.
   ========================================================================== */

:root {
  --navy: #0d4a63;
  --navy-dark: #0f3a5b;
  --navy-deep: #082a47;
  --teal: #046877;
  --teal-light: #e6f1f2;
  --gold: #c9951f;
  --gold-dark: #b0811a;
  --gold-light: #fbf3e0;
  --pale: #d7e0e6;
  --bg: #f5f8fa;
  --card: #ffffff;
  --text: #2b3a44;
  --muted: #5f6f7a;
  --line: #e3e9ee;

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: Georgia, "Times New Roman", Times, serif;

  --container: 1320px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 74, 99, 0.08);
  --shadow-sm: 0 4px 14px rgba(13, 74, 99, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-deep); line-height: 1.2; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #055a67; }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--pale); }
.btn-outline:hover { border-color: var(--navy); }

.btn-gold { background: var(--gold); color: #fff; padding: 15px 22px; }
.btn-gold:hover { background: var(--gold-dark); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(13, 74, 99, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 108px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 76px; width: auto; }

.nav { display: flex; align-items: center; gap: 44px; }
.nav a { color: var(--navy-deep); font-weight: 500; font-size: 17px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: none; }
.nav .btn { margin-left: 4px; }
.nav .btn-gold, .nav .btn-gold:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #f8f9fb url("../assets/img/hero-bg.jpg") no-repeat right bottom / 100% auto;
  background-image: image-set(
    url("../assets/img/hero-bg.webp") type("image/webp"),
    url("../assets/img/hero-bg.jpg") type("image/jpeg")
  );
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: end;
  min-height: 560px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 44px 0 110px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.hero-title .accent { color: var(--teal); }
.rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 22px 0 26px; }
.hero-copy p { font-size: 17px; max-width: 460px; color: #4a5a64; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero-figure {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  justify-content: center;
  height: 100%;
}
.hero-figure img {
  height: 520px;
  width: auto;
  margin-top: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 12px 24px rgba(8, 42, 71, 0.18));
}

/* Stats strip ------------------------------------------------------------ */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -92px;
}
.stats-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-icon {
  flex: 0 0 70px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #eef3f6;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.stat-icon .icon { width: 32px; height: 32px; stroke-width: 1.8; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--navy-deep); line-height: 1.05; }
.stat-label { font-size: 14.5px; font-weight: 700; color: var(--navy-deep); margin-top: 4px; white-space: nowrap; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* About + skills --------------------------------------------------------- */
.about { padding: 52px 0 60px; }
.about .container {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: 40px;
  align-items: start;
}
.about-intro { display: flex; gap: 28px; align-items: flex-start; }
.about-photo {
  flex: 0 0 210px;
  width: 210px; height: 210px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold), var(--shadow-sm);
  margin: 6px 6px 0 0;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { font-size: 14.5px; color: #3d4c56; line-height: 1.6; }
.about-link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.about-link .icon { width: 16px; height: 16px; }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px 22px;
  text-align: center;
}
.skill-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #fff;
}
.skill-icon .icon { width: 28px; height: 28px; }
.skill-icon.teal { background: var(--teal); }
.skill-icon.navy { background: var(--navy); }
.skill-icon.gold { background: var(--gold); }
.skill-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; white-space: nowrap; }
.skill-card ul { text-align: left; }
.skill-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #3d4c56;
  margin-bottom: 9px;
  line-height: 1.4;
}
.skill-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: #fff; }
.footer-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 30px 0;
}
.footer-quote {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
  max-width: 640px;
}
.footer-quote .quote-mark {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 0.6;
  color: var(--gold);
  margin-top: 14px;
}
.footer-quote p { margin: 0; color: #eaf1f6; }
.footer-links { display: flex; gap: 48px; padding: 0 40px; }
.footer-links a {
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-links .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.footer-bottom {
  background: var(--navy-deep);
  font-size: 13px;
  color: #b8c7d2;
  padding: 12px 0;
  text-align: center;
}

/* Inner (stub) pages ----------------------------------------------------- */
.page { padding: 64px 0 96px; min-height: 50vh; }
.page .container { max-width: 880px; }
.page h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 3vw, 42px);
  margin-bottom: 8px;
}
.page .rule { margin: 18px 0 26px; }
.page p { font-size: 17px; color: #4a5a64; }
.page .note {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 28px; }
  .nav a { font-size: 16px; }
  .stat { padding: 4px 18px; gap: 16px; }
  .stat-icon { flex-basis: 64px; width: 64px; height: 64px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(13, 74, 99, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 0 24px; }
  .hero-figure { height: auto; justify-content: flex-end; margin-top: 24px; }
  .hero-figure img { height: 420px; }
  /* Hero grows tall when stacked: size the artwork by height so the swoosh
     stays behind the portrait instead of the text */
  .hero { background-size: auto 58%; }
  .stats { margin-top: -60px; }
  .stats-card { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .about .container { grid-template-columns: 1fr; }
  .skills { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-band { grid-template-columns: 1fr; }
  .footer-quote { border-right: 0; padding-right: 0; }
  .footer-links { padding: 0; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .site-header .container { height: 84px; }
  .logo img { height: 50px; }
  .hero-figure img { height: 340px; }
  .hero { background-size: auto 52%; }
  .stats-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .stat { border-left: 0; padding: 4px 0; }
  .about-intro { flex-direction: column; align-items: center; text-align: center; }
  .about-link { justify-content: center; }
  .skills { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 18px; }
}
