:root {
  --page-bg: #eef6f6;
  --text: #24353d;
  --muted: #5b6f75;
  --muted-soft: #92aab1;
  --rule: rgba(101, 132, 141, 0.22);
  --shadow: rgba(25, 53, 61, 0.08);
  --ocean-foam: rgba(240, 250, 251, 0.72);
  --ocean-blue: rgba(123, 182, 191, 0.22);
  --ocean-deep: rgba(74, 131, 145, 0.18);
  --card-bg: rgba(252, 255, 255, 0.32);
  --card-border: rgba(118, 159, 168, 0.18);
  --card-inner: rgba(255, 255, 255, 0.36);
}

* {
  box-sizing: border-box;
}

body,
body * {
  font-family: "Figtree", "Helvetica Neue", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(213, 241, 243, 0.62), transparent 24%),
    linear-gradient(180deg, #f7fcfc 0%, #f0f9f8 26%, #e7f3f3 58%, #edf7f8 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(48% 38% at 18% 30%, var(--ocean-foam) 0%, transparent 72%),
    radial-gradient(42% 30% at 74% 22%, rgba(208, 236, 239, 0.66) 0%, transparent 74%),
    radial-gradient(44% 33% at 58% 68%, var(--ocean-blue) 0%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 28%, rgba(106, 168, 178, 0.12) 72%, rgba(86, 148, 160, 0.08));
  filter: blur(12px);
  opacity: 0.92;
  animation: oceanDrift 24s ease-in-out infinite alternate;
}

body::after {
  background:
    repeating-linear-gradient(
      103deg,
      rgba(255, 255, 255, 0.18) 0 14px,
      rgba(145, 202, 211, 0.1) 14px 28px,
      rgba(255, 255, 255, 0.08) 28px 42px
    ),
    radial-gradient(58% 44% at 52% 84%, rgba(83, 150, 163, 0.14) 0%, transparent 74%),
    radial-gradient(40% 22% at 28% 78%, var(--ocean-deep) 0%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(18px);
  animation: oceanRipple 18s linear infinite;
}

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

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 72px 36px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #1e343c;
  text-wrap: balance;
}

.home-link {
  color: inherit;
}

.masthead nav {
  display: flex;
  gap: 24px;
  color: var(--muted-soft);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.masthead nav a {
  position: relative;
  transition: color 180ms ease;
}

.masthead nav a:hover,
.masthead nav a:focus-visible {
  color: #23414a;
}

.intro {
  margin-top: 0;
  max-width: 680px;
}

.intro p {
  margin: 0 0 18px;
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

/* ── Experience ── */

.exp-section {
  margin-top: 0;
}

.exp-item {
  border-top: 1px solid var(--rule);
}

.exp-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.exp-row {
  all: unset;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.exp-row:focus-visible {
  outline: 2px solid rgba(80, 145, 158, 0.4);
  outline-offset: 4px;
}

.exp-company-row {
  padding: 18px 0;
}

.exp-company {
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1f3940;
  transition: color 180ms ease;
}

.exp-company-row:hover .exp-company {
  color: #0f2328;
}

.exp-dates {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted-soft);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.exp-role-row {
  padding: 0 0 16px;
}

.exp-role-row:hover .exp-role {
  color: #3a5a63;
}

.exp-role {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--muted);
  transition: color 180ms ease;
}

.exp-location {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted-soft);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.exp-panel {
  height: 0;
  overflow: hidden;
  transition: height 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.exp-desc {
  padding: 0 0 18px;
  display: grid;
  gap: 5px;
}

.exp-desc p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--muted-soft);
}

.quotes {
  min-height: 1px;
  margin-top: 36px;
}

.footer-bar {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(101, 132, 141, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4f6570;
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  letter-spacing: -0.02em;
}

.footer-links li {
  display: inline-flex;
  align-items: center;
}

.footer-links li:not(:last-child)::after {
  content: "\2022";
  margin: 0 14px;
  color: var(--muted-soft);
}

.footer-link {
  position: relative;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #23414a;
}

@media (max-width: 720px) {
  .page {
    padding: 56px 20px;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .masthead nav {
    gap: 18px;
  }

  .intro {
    margin-top: 12px;
  }

  .exp-company-row {
    padding: 14px 0;
  }

  .exp-dates,
  .exp-location {
    font-size: 0.82rem;
  }

  .footer-bar {
    padding-top: 22px;
  }

  .footer-links {
    gap: 10px 0;
  }
}

@keyframes oceanDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(1.5%, 1.25%, 0) scale(1.03);
  }

  100% {
    transform: translate3d(-0.8%, 2%, 0) scale(1.02);
  }
}

@keyframes oceanRipple {
  0% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }

  50% {
    transform: translate3d(-1.5%, 1%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(1.5%, -1%, 0) scale(1.02);
  }
}
