/* ==========================================================================
   Sharon D'Souza — dsouzasharon.com
   Direction: "Scan Frame" — dark hero and footer, light record between them.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Typefaces — self-hosted so the page renders the same on any network.
   Archivo, Newsreader and IBM Plex Mono are all SIL Open Font License 1.1;
   the licenses ship alongside the files in assets/fonts/.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Palette and scale
   -------------------------------------------------------------------------- */

:root {
  --ground: #F4F7F8;
  --surface: #FFFFFF;
  --band: #E8EFF1;
  --ink: #0D1619;
  --ink-2: #33474D;
  --muted: #66787E;
  --rule: #D7E1E4;
  --rule-soft: #E5ECEE;
  --accent: #0B7E96;
  --accent-bright: #16A6C6;
  --accent-soft: #DDF0F5;
  --accent-on: #FFFFFF;

  --deep: #0A1215;
  --deep-surface: #101E23;
  --deep-ink: #EAF4F6;
  --deep-ink-2: #C3D5DA;
  --deep-muted: #8AA2A9;
  --deep-rule: #22383F;
  --deep-accent: #45CDE6;
  --deep-on-accent: #04171C;

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 150px;
  --gap: 36px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  z-index: 10;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
}

.row {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  gap: var(--gap);
}

.gutter {
  position: sticky;
  top: 32px;
  align-self: start;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.018em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0 0 28px;
}

h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0;
}

section { padding: 72px 0; }

.divider { border-top: 1px solid var(--rule-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 11px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.btn:hover {
  border-color: var(--accent-bright);
  background: var(--accent-soft);
}

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.btn--solid:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--accent-on);
}

.btn svg { width: 14px; height: 14px; flex: none; }

/* --------------------------------------------------------------------------
   Hero — dark, with the faint scan grid from her card
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--deep-ink);
  padding: 88px 0 72px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(69, 205, 230, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 205, 230, .045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero .wrap { position: relative; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 56px;
  align-items: start;
}

.hero .eyebrow { color: var(--deep-muted); }

.hero__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--deep-ink);
  margin: 14px 0 0;
}

.hero__role {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--deep-ink-2);
  margin: 16px 0 0;
}

.hero__rule {
  width: 64px;
  height: 2px;
  background: var(--deep-accent);
  margin: 26px 0 0;
}

.hero__intro {
  font-size: 20px;
  line-height: 1.55;
  max-width: 34em;
  color: var(--deep-ink-2);
  margin: 24px 0 0;
}

.hero__status {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--deep-ink);
  margin: 18px 0 0;
  max-width: 34em;
}

.hero__status .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--deep-accent);
  margin-right: 9px;
  vertical-align: 1px;
}

.hero .btn {
  background: transparent;
  border-color: var(--deep-rule);
  color: var(--deep-ink);
}

.hero .btn:hover {
  border-color: var(--deep-accent);
  background: var(--deep-surface);
}

.hero .btn--solid {
  background: var(--deep-accent);
  border-color: var(--deep-accent);
  color: var(--deep-on-accent);
}

.hero .btn--solid:hover {
  background: #62D8EE;
  border-color: #62D8EE;
  color: var(--deep-on-accent);
}

/* Portrait with the scan-frame corners from her card */
.portrait {
  position: relative;
  margin: 0;
  padding: 12px;
}

.portrait__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.portrait img {
  /* Crop the supplied photo's black side bars in the layout. */
  position: absolute;
  top: 0;
  left: -22.7273%;
  display: block;
  width: 145.4546%;
  height: auto;
  filter: saturate(0.92) contrast(1.02);
}

.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--deep-accent);
}

.portrait::before {
  top: 0; left: 0;
  border-right: 0; border-bottom: 0;
}

.portrait::after {
  bottom: 0; right: 0;
  border-left: 0; border-top: 0;
}

/* --------------------------------------------------------------------------
   Capability strip
   -------------------------------------------------------------------------- */

.strip {
  background: var(--band);
  border-bottom: 1px solid var(--rule-soft);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding: 17px 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.strip__inner span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-bright);
  margin-right: 10px;
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   Experience
   -------------------------------------------------------------------------- */

.span-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 10px 0 0;
}

#experience { scroll-margin-top: 24px; }

.record {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.record > li { position: relative; }

.record > li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--ground);
  border: 2px solid var(--rule);
}

.record > li.is-current::before {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.stamp {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 7px 0 0;
}

.bullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bullets li {
  padding-left: 16px;
  border-left: 2px solid var(--accent-soft);
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Toolchain and credentials
   -------------------------------------------------------------------------- */

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

.sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  margin: 0 0 16px;
}

.stack + .stack { margin-top: 32px; }

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
}

.dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.dash-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.5;
  max-width: 66ch;
}

.dash-list li::before {
  content: "–";
  color: var(--accent-bright);
  font-family: var(--f-mono);
}

.dash-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  background: var(--deep);
  color: var(--deep-ink);
  padding: 76px 0 40px;
}

.contact .eyebrow { color: var(--deep-muted); }
.contact h2 { color: var(--deep-ink); }

.contact p {
  color: var(--deep-muted);
  max-width: 40em;
  margin: 0;
}

.contact .btn {
  background: transparent;
  border-color: var(--deep-rule);
  color: var(--deep-ink);
}

.contact .btn:hover {
  border-color: var(--deep-accent);
  background: var(--deep-surface);
}

.contact .btn--solid {
  background: var(--deep-accent);
  border-color: var(--deep-accent);
  color: var(--deep-on-accent);
}

.contact .btn--solid:hover {
  background: #62D8EE;
  border-color: #62D8EE;
  color: var(--deep-on-accent);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--deep-rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--deep-muted);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.stray {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--deep-ink);
  padding: 40px 28px;
}

.stray__inner { max-width: 34em; }

.stray .eyebrow { color: var(--deep-muted); }

.stray h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  color: var(--deep-ink);
  margin: 12px 0 14px;
}

.stray p { color: var(--deep-ink-2); margin: 0; }

.stray .btn {
  background: transparent;
  border-color: var(--deep-rule);
  color: var(--deep-ink);
}

.stray .btn:hover {
  border-color: var(--deep-accent);
  background: var(--deep-surface);
}

.stray .btn--solid {
  background: var(--deep-accent);
  border-color: var(--deep-accent);
  color: var(--deep-on-accent);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gutter { position: static; }
  .span-note { margin: 6px 0 18px; }
  .hero { padding: 56px 0 52px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .portrait { order: -1; max-width: 240px; }
  .strip__inner { padding-inline: 28px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  section { padding: 56px 0; }
}

@media (max-width: 620px) {
  .hero { padding-top: 0; }
  .hero__inner { gap: 24px; }
  .portrait {
    max-width: none;
    height: 380px;
    margin-inline: -28px;
    padding: 0;
  }
  .portrait__image {
    height: 100%;
    aspect-ratio: auto;
  }
  .portrait::before { display: none; }
  .portrait::after {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    background: linear-gradient(180deg, transparent 58%, var(--deep) 100%);
    pointer-events: none;
  }
}
