:root {
  --navy: #071a33;
  --navy-2: #0a2444;
  --blue: #0878c9;
  --cyan: #12c8df;
  --ink: #102847;
  --muted: #526984;
  --pale: #eef8fc;
  --line: #d7e7f2;
  --white: #fff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7fbfd;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  background: #06172d;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 5;
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; font-size: 1.55rem; font-weight: 800;
  letter-spacing: -.7px; white-space: nowrap; color: white;
}
.brand-mark { width: 35px; height: 35px; color: var(--cyan); }
.brand span span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: .92rem; color: #e3edf8;
}
.nav-links a {
  padding: 26px 0 22px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active { color: white; border-color: var(--cyan); }
.menu-toggle {
  display: none; border: 1px solid #34506d; color: white; background: transparent; border-radius: 10px;
  padding: 9px 12px; font-size: 1rem;
}

.hero {
  overflow: hidden; position: relative; color: white;
  background:
    radial-gradient(ellipse at 80% 45%, rgba(0,123,221,.25), transparent 42%),
    radial-gradient(ellipse at 12% 80%, rgba(0,106,181,.20), transparent 45%),
    linear-gradient(115deg, #082346 0%, #06172e 56%, #071d3a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .2; pointer-events: none;
  background-image: radial-gradient(circle, #1b92d4 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 10%, black 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; min-height: 440px; padding-top: 42px; padding-bottom: 42px; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: 1.6px; font-weight: 750; font-size: .82rem; margin: 0 0 10px; }
h1 {
  font-size: clamp(2.55rem, 4.4vw, 4.25rem); line-height: 1.06; letter-spacing: -2px; margin: 0 0 20px; max-width: 690px;
}
h1 span { display: block; color: var(--cyan); }
.hero-copy { color: #d4e1ef; font-size: 1.05rem; max-width: 560px; margin: 0 0 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid rgba(18,200,223,.8); color: #f5fcff; border-radius: 9px; padding: 9px 13px; display: inline-flex;
  align-items: center; gap: 9px; font-size: .82rem; font-weight: 650; background: rgba(0,31,60,.4);
}
.tag svg { width: 19px; height: 19px; color: var(--cyan); flex: none; }
.hero-art { width: 100%; max-width: 580px; justify-self: end; filter: drop-shadow(0 15px 35px rgba(0,147,255,.15)); shape-rendering: geometricPrecision; }

.section { padding: 46px 0 42px; }
.section-heading { text-align: center; margin-bottom: 26px; }
.section-heading .eyebrow { color: #058ab3; margin-bottom: 4px; }
h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.8px; color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.card {
  border: 1px solid var(--line); background: rgba(255,255,255,.84); border-radius: 11px; padding: 22px 19px 19px;
  min-height: 235px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: #9bd9e7; box-shadow: 0 12px 28px rgba(15,67,100,.08); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #0b477b; background: #e5f5fb; margin-bottom: 14px; }
.card-icon svg { width: 28px; height: 28px; }
h3 { margin: 0 0 8px; color: #10325a; font-size: 1.02rem; line-height: 1.3; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #008fb8; font-size: .87rem; font-weight: 750; }
.text-link:hover { color: #005e93; }

.about { background: linear-gradient(110deg, #eaf7fc, #f4fbfe 60%, #e4f4fa); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.08fr 1fr .95fr; gap: 28px; align-items: center; }
.about-copy { padding: 8px 0; }
.about-copy .eyebrow { color: #0786ac; margin-bottom: 5px; }
.about-copy p { color: #34516f; margin: 12px 0 17px; font-size: .95rem; }
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; color: white;
  background: linear-gradient(100deg, #009fc2, #087fc4); font-size: .88rem; font-weight: 750; box-shadow: 0 5px 14px rgba(0,139,180,.15);
  transition: transform .2s;
}
.button:hover { transform: translateY(-2px); }
.highlights { border-left: 1px solid #c5e1ef; padding-left: 26px; display: grid; gap: 17px; }
.highlight { display: grid; grid-template-columns: 29px 1fr; gap: 13px; align-items: start; }
.highlight svg { color: #00a5c4; width: 25px; height: 25px; }
.highlight strong { display: block; color: #173b62; font-size: .86rem; line-height: 1.3; }
.highlight span { display: block; color: #5d7895; font-size: .78rem; margin-top: 3px; line-height: 1.4; }
.coast-card {
  min-height: 270px; border-radius: 14px; position: relative; overflow: hidden; display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 15px; background: linear-gradient(145deg, #8ed7ee 0%, #237eb2 46%, #173b62 100%); isolation: isolate;
}
.coast-card::before {
  content: ""; position: absolute; inset:0; z-index:-1; background:
    radial-gradient(ellipse at 80% 85%, #6cb7d0 0 8%, transparent 9%),
    linear-gradient(160deg, transparent 0 43%, rgba(255,255,255,.18) 44% 45%, transparent 46%),
    linear-gradient(175deg, transparent 0 53%, #145b83 54% 70%, #0d395d 71%);
}
.coast-card::after {
  content: ""; position:absolute; z-index:-1; left:-10%; right:-10%; bottom:-25%; height:55%;
  background: repeating-linear-gradient(172deg, rgba(255,255,255,.22) 0 2px, transparent 2px 13px);
  transform: rotate(-5deg); opacity:.6;
}
.coast-quote {
  font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.1; font-style: italic; color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,.25); transform: rotate(-7deg); text-align: center; margin-top: 8px;
}

.page-body { background: #f7fbfd; color: var(--ink); }
.page-main { background: linear-gradient(180deg, #f5fbff 0%, #f8fbff 42%, #eef8fd 100%); }
.page-hero {
  background:
    radial-gradient(ellipse at 80% 15%, rgba(0,123,221,.16), transparent 26%),
    linear-gradient(115deg, #082346 0%, #06172e 56%, #071d3a 100%);
  color: white;
  padding: 52px 0 38px;
}
.page-shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-shell .eyebrow { margin-bottom: 10px; }
.page-main h1 {
  margin: 0 0 16px;
  color: white;
}
.page-intro {
  margin: 0;
  color: #d7e6f7;
  font-size: 1.04rem;
  max-width: 680px;
}
.page-content {
  padding: 38px 0 52px;
  max-width: 1040px;
}
.story-block, .contact-panel, .info-card, .category-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
}
.story-block {
  padding: 26px 28px;
  margin-bottom: 26px;
}
.story-text {
  color: #314b69;
  font-size: 1rem;
  line-height: 1.8;
}
.story-text p { margin: 0 0 16px; }
.story-text p:last-child { margin-bottom: 0; }

.profile-showcase {
  margin-bottom: 26px;
}
.profile-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
  padding: 22px;
}
.profile-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 20px;
  border: 1px solid rgba(8,120,201,.2);
  box-shadow: 0 12px 28px rgba(9, 25, 43, 0.08);
  background: #dfeaf4;
}

.profile-placeholder {
  width: 100%;
  height: 290px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d2e52, #0b6bb0 58%, #15c7dc);
  color: white;
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: 0 12px 28px rgba(9, 25, 43, 0.08);
}
.profile-meta {
  color: #204063;
}
.profile-meta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.profile-meta p {
  margin: 0;
  color: #425d7c;
  line-height: 1.75;
}
.profile-meta .eyebrow {
  margin-bottom: 6px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}
.project-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px 18px;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
}
.project-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18,200,223,.12);
  color: #0d6896;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}
.project-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}
.project-card a {
  color: #0a7bb9;
  font-weight: 800;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.info-card {
  padding: 24px 24px 18px;
}
.info-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #0f6ca3;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 800;
}
.info-card ul {
  margin: 0;
  padding-left: 18px;
  color: #33516f;
  line-height: 1.85;
}

.contact-panel {
  padding: 26px 28px;
  display: grid;
  gap: 18px;
}
.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e6edf5;
}
.contact-item:last-child { border-bottom: 0; }
.contact-label {
  color: #0f6ca3;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-item a, .contact-item span:last-child {
  color: #173e63;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category-card {
  padding: 22px 20px 20px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  border-radius: 18px;
  background: rgba(255,255,255,0.83);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #9bd9e7;
  box-shadow: 0 18px 34px rgba(11, 40, 66, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(234,247,253,0.96));
}
.article-thumb-link {
  display: block;
  margin: -6px -6px 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(16, 88, 135, 0.1);
  background: #ecf6fb;
  aspect-ratio: 16 / 10;
}
.article-thumb-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.category-card:hover .article-thumb-link img {
  transform: scale(1.02);
  filter: saturate(1.05);
}
.category-card .meta {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18,200,223,.12);
  color: #0d6896;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-card h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
  color: #0f2440;
}
.category-card p {
  margin: 0 0 16px;
  color: #425d7c;
  line-height: 1.7;
}
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.article-list li {
  border-top: 1px solid #e7edf5;
  padding-top: 10px;
}
.article-list a {
  color: #0a7bb9;
  font-weight: 700;
  line-height: 1.5;
}
.read-link {
  color: #0a7bb9;
  font-weight: 800;
}
.article-trigger {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.article-reader {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(11,40,66,.08);
  padding: 22px 20px 18px;
  margin-top: 12px;
}
.article-reader.hidden {
  display: none;
}
.article-reader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e7edf5;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.article-reader-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.close-article {
  border: 1px solid #d7e6f2;
  background: #f5fafe;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.article-reader-content {
  max-width: 980px;
  margin: 0 auto;
}
.article-reader-content h1,
.article-reader-content h2,
.article-reader-content h3 {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.article-reader-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 14px;
}
.article-reader-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  margin: 28px 0 12px;
}
.article-reader-content p,
.article-reader-content li {
  color: #334d69;
  line-height: 1.8;
  font-size: 1.02rem;
}
.article-reader-content p {
  margin: 0 0 18px;
}
.article-reader-content ul,
.article-reader-content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-reader-content img {
  border-radius: 16px;
  margin: 12px 0 22px;
}
.article-reader-content .page,
.article-reader-content .article-body,
.article-reader-content main,
.article-reader-content .hero,
.article-reader-content .hero-band {
  max-width: 980px;
  margin: 0 auto;
}
.article-reader-content .hero,
.article-reader-content .hero-band {
  background: linear-gradient(115deg, #082346 0%, #06172e 56%, #071d3a 100%);
  color: white;
  border-radius: 18px;
  padding: 28px 28px 22px;
  margin: 0 0 24px;
}
.article-reader-content .hero .kicker,
.article-reader-content .hero-band .tag,
.article-reader-content .article-kicker {
  color: var(--cyan);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  margin-bottom: 12px;
  display: inline-block;
}
.article-reader-content .hero h1,
.article-reader-content .hero-band h1,
.article-reader-content .blog-title,
.article-reader-content h1.blog-title {
  color: white;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.article-reader-content .hero .deck,
.article-reader-content .hero-band .subtitle,
.article-reader-content .article-summary {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0;
}
.article-reader-content .meta,
.article-reader-content .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 12px;
}
.article-reader-content .body-text,
.article-reader-content .article-body,
.article-reader-content .article-content {
  max-width: 760px;
  margin: 0 auto;
}
.article-reader-content .body-text,
.article-reader-content .article-body {
  color: #2a2a28;
  font-size: 1.04rem;
  line-height: 1.9;
}
.article-reader-content .article-panel,
.article-reader-content .callout,
.article-reader-content .callout-blue,
.article-reader-content .highlight-card {
  background: #f4f9fd;
  border: 1px solid #dbeaf6;
  border-radius: 16px;
  padding: 18px 18px 8px;
  margin: 20px 0;
}
.article-reader-content .callout,
.article-reader-content .callout-blue,
.article-reader-content .highlight-card {
  background: linear-gradient(135deg, #0b1f3a, #183660);
  border: 0;
  color: white;
  padding: 22px 20px;
}
.article-reader-content .callout p,
.article-reader-content .callout-blue p,
.article-reader-content .highlight-card p {
  color: rgba(255,255,255,.82);
  margin-bottom: 10px;
}
.article-reader-content .article-blockquote,
.article-reader-content .pull-quote {
  border-left: 4px solid #12c8df;
  padding-left: 18px;
  color: #184f75;
  font-size: 1.08rem;
  font-style: italic;
  margin: 18px 0;
}
.article-reader-content .stat-row,
.article-reader-content .insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.article-reader-content .stat-box,
.article-reader-content .insight-item {
  background: white;
  border: 1px solid #dfeaf4;
  border-radius: 14px;
  padding: 16px 14px;
}
.article-reader-content .stat-num {
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1;
}
.article-reader-content .stat-lbl,
.article-reader-content .insight-title {
  color: #2d5172;
  font-weight: 700;
  margin-top: 6px;
}
.article-reader-content .input,
.article-reader-content input,
.article-reader-content textarea {
  font: inherit;
}

.blog-search-panel {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
  padding: 20px 22px;
  margin-bottom: 26px;
}
.search-wrap {
  margin-bottom: 16px;
}
.search-wrap input {
  width: 100%;
  border: 1px solid #d7e6f2;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #f7fbff;
}
.search-wrap input:focus {
  outline: 2px solid rgba(18,200,223,.3);
  border-color: #84dfe9;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  border: 1px solid #d8e6f3;
  background: #f4f9fd;
  color: #194d76;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(100deg, #00a8c8, #0b7cc7);
  border-color: transparent;
  color: white;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.blog-grid .category-card.hidden {
  display: none;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.metric-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.metric-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(11,40,66,.10);
  border-color: #9ddaf4;
}
.metric-box strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.08em;
  line-height: 1.1;
}
.metric-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.portfolio-intro {
  margin-bottom: 24px;
}
.portfolio-timeline {
  margin-top: 16px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11,40,66,.04);
  padding: 26px 24px;
}
.timeline-header {
  margin-bottom: 20px;
}
.timeline-header .eyebrow {
  margin-bottom: 8px;
}
.timeline-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #e4edf5;
}
.timeline-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.timeline-year {
  color: #0b6da7;
  font-weight: 800;
  line-height: 1.3;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.timeline-card {
  background: #f4f9fd;
  border: 1px solid #dfeaf4;
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.timeline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.timeline-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
}
.timeline-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 110, 170, 0.08);
  color: #0a6fa7;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.timeline-tag.active {
  background: rgba(27, 175, 110, 0.12);
  color: #0e8b5b;
}
.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.portfolio-cta {
  margin: 22px 0 30px;
}
.portfolio-cta .button {
  margin-left: auto;
}

.site-footer { background: #06172d; color: #b8c9dc; padding: 19px 0; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-links a:hover { color: var(--cyan); }
.socials { display: flex; gap: 15px; align-items: center; }
.socials a {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #36506b; border-radius: 7px; color: white; font-weight: 800;
}
.socials a:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 1050px) {
  .portfolio-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-content { padding-top: 28px; }
  .cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .coast-card { grid-column: 1 / -1; min-height: 190px; }
  .hero-grid { min-height: 410px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav { min-height: 68px; flex-wrap: wrap; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 30px; height: 30px; }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 34px; gap: 12px; }
 h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); letter-spacing: -1.5px; }
  .hero-art { max-width: 440px; justify-self: center; margin-top: 8px; }
  .section { padding: 38px 0; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .card { padding: 18px 15px; min-height: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .highlights { border-left: 0; border-top: 1px solid #c5e1ef; padding: 22px 0 0; }
  .coast-card { grid-column: auto; min-height: 190px; }
 .page-main h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
 .page-content { padding: 28px 0 36px; }
 .profile-card { grid-template-columns: 1fr; }
 .project-grid, .info-grid, .category-grid { grid-template-columns: 1fr; }
 .contact-item { flex-direction: column; align-items: flex-start; }
 .footer-inner { flex-direction: column; text-align: center; }
 .footer-links { justify-content: center; }
}
@media (max-width: 420px) {
 .cards { grid-template-columns: 1fr; }
 .card { min-height: auto; }
 .hero-tags { display: grid; grid-template-columns: 1fr; }
 .tag { width: 100%; }
 .page-hero { padding-top: 42px; }
 .story-block, .contact-panel, .info-card { padding-left: 18px; padding-right: 18px; }
 .profile-card { padding: 18px; }
 .footer-links { gap: 7px; }
}
