/* ==========================================================================
   Hari Dahal — Portfolio (dahalhari.com)
   Bento Studio × Neo-Teal Architectural Design (Handcrafted, Zero AI Clichés)
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-canvas: #0b0f14;
  --bg-tile: #11171f;
  --bg-tile-alt: #141c26;
  --bg-tile-hover: #17212d;
  --bg-nav: rgba(15, 21, 29, 0.88);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Signature Original dahalhari.com Neo-Teal */
  --teal: #00a78e;
  --teal-hover: #00c4a7;
  --teal-dim: rgba(0, 167, 142, 0.12);
  --teal-border: rgba(0, 167, 142, 0.42);

  --border-subtle: #1e293b;
  --border-strong: #2dd4bf33;
  --dotted-rule: rgba(148, 163, 184, 0.22);

  --kbd-bg: #1a2430;
  --kbd-border: #283648;
  --kbd-text: #e2e8f0;

  --code-bg: rgba(0, 167, 142, 0.12);
  --code-text: #2dd4bf;

  --hero-overlay: linear-gradient(
    135deg,
    rgba(11, 15, 20, 0.92) 0%,
    rgba(15, 23, 32, 0.84) 55%,
    rgba(0, 167, 142, 0.16) 100%
  );
  --shadow-tile: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --bg-canvas: #f3f5f7;
  --bg-tile: #ffffff;
  --bg-tile-alt: #f8fafc;
  --bg-tile-hover: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.92);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --teal: #008f79;
  --teal-hover: #00a78e;
  --teal-dim: rgba(0, 143, 121, 0.09);
  --teal-border: rgba(0, 143, 121, 0.38);

  --border-subtle: #dce3ec;
  --border-strong: rgba(0, 143, 121, 0.35);
  --dotted-rule: rgba(15, 23, 42, 0.18);

  --kbd-bg: #f1f5f9;
  --kbd-border: #cbd5e1;
  --kbd-text: #1e293b;

  --code-bg: rgba(0, 143, 121, 0.1);
  --code-text: #007563;

  --hero-overlay: linear-gradient(
    135deg,
    rgba(15, 23, 34, 0.88) 0%,
    rgba(19, 29, 42, 0.82) 60%,
    rgba(0, 167, 142, 0.22) 100%
  );
  --shadow-tile: 0 8px 24px -8px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Subtle architectural dot grid on canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

img {
  max-width: 100%;
  display: block;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   SIGNATURE NEO-TEAL SPEECH-BUBBLE TAG & NOTCHED DIVIDER
   (Direct homage to original dahalhari.com #00a78e elements)
   ========================================================================== */
.neo-tag {
  display: inline-block;
  position: relative;
  background: var(--teal);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.36rem 0.85rem;
  margin-bottom: 1.15rem;
  line-height: 1.2;
}

.neo-tag::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--teal);
}

/* Original-style inline <kbd> and <code> technical callouts */
kbd {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76em;
  font-weight: 600;
  padding: 0.1rem 0.42rem;
  background: var(--kbd-bg);
  color: var(--kbd-text);
  border: 1px solid var(--kbd-border);
  border-radius: 3px;
  vertical-align: baseline;
}

code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82em;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: 3px;
}

/* ==========================================================================
   FLOATING ARCHITECTURAL TOP NAVBAR
   ========================================================================== */
.top-header {
  position: sticky;
  top: 0.9rem;
  z-index: 100;
  padding: 0 1.5rem;
  margin-bottom: 1.75rem;
}

.nav-bar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.15rem;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow-tile);
}

/* Iconic [h]dahal Logo Mark */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-h-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 4px solid var(--teal);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.brand-logo:hover .brand-h-box {
  background: var(--teal);
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a.nav-item {
  position: relative;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 0.45rem 0.75rem;
}

.nav-links a.nav-item::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a.nav-item:hover {
  color: var(--text-primary);
}

.nav-links a.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  background: var(--teal);
  color: #ffffff;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.nav-blog-btn:hover {
  background: var(--teal-hover);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tile);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.theme-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

[data-theme="dark"] .sun-svg {
  display: block;
}
[data-theme="dark"] .moon-svg {
  display: none;
}
[data-theme="light"] .sun-svg {
  display: none;
}
[data-theme="light"] .moon-svg {
  display: block;
}

/* ==========================================================================
   BENTO STUDIO × NEO-TEAL HERO GRID (12-COLUMN ASYMMETRIC)
   ========================================================================== */
.bento-hero {
  margin-bottom: 4.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

.bento-tile {
  background: var(--bg-tile);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-tile);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-tile:hover {
  border-color: var(--teal-border);
}

/* Tile 1: Main Neo-Teal Dossier with Original Mountain Backdrop (8 cols) */
.tile-dossier {
  grid-column: span 8;
  background-image: var(--hero-overlay), url("/images/header-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  border-top: 3px solid var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dossier-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.dossier-head h1 span {
  color: var(--teal-hover);
}

.dossier-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

/* Modernized Dotted Key-Value Spec Table from Original dahalhari.com */
.dossier-specs {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.75rem;
}

.dossier-specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.24);
  font-size: 0.86rem;
}

.spec-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.spec-val {
  color: #f1f5f9;
  font-weight: 600;
  text-align: right;
}

.spec-val a {
  color: #2dd4bf;
  border-bottom: 1px dotted rgba(45, 212, 191, 0.5);
}

.spec-val a:hover {
  color: #ffffff;
  border-bottom-style: solid;
}

/* Tile 2: Portrait Tile (4 cols) */
.tile-portrait {
  grid-column: span 4;
  padding: 0;
  min-height: 390px;
  background: #0d131a;
  border-top: 3px solid var(--teal);
  display: flex;
  flex-direction: column;
}

.portrait-img-wrap {
  position: relative;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

.portrait-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.tile-portrait:hover .portrait-img-wrap img {
  transform: scale(1.03);
}

.portrait-caption {
  padding: 0.85rem 1.25rem;
  background: var(--bg-tile);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.portrait-caption strong {
  color: var(--text-primary);
  font-weight: 700;
}

.portrait-caption span {
  color: var(--teal);
  font-weight: 600;
}

/* Tile 3: About Me & Stack Matrix (7 cols) */
.tile-about {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-title span {
  color: var(--teal);
}

.about-copy {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.about-copy p + p {
  margin-top: 0.65rem;
}

.stack-table {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.stack-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.84rem;
}

.stack-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Tile 4: Education & Hand-Drawn Sketch Tile (5 cols) */
.tile-education {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-tile-alt);
}

.edu-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.edu-sketch-frame {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--teal);
  flex-shrink: 0;
  background: #ffffff;
}

.edu-sketch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-school {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.edu-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.edu-details {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
}

.edu-details li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.4rem;
  border-bottom: 1px dotted var(--dotted-rule);
}

.edu-details li span:first-child {
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.edu-details li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   BUTTONS (Tactile Neo-Teal Outlined & Solid)
   ========================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-neo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(15, 23, 34, 0.55);
  transition: all 0.18s ease;
}

.btn-neo:hover {
  border-color: var(--teal-hover);
  color: var(--teal-hover);
}

.btn-neo.solid {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.btn-neo.solid:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: #ffffff;
}

.btn-surface {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tile-alt);
  color: var(--text-primary);
}

.btn-surface:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ==========================================================================
   NEO-TEAL SECTION HEADERS (With Signature Center-Notched Horizontal Rule)
   ========================================================================== */
.section-block {
  margin-bottom: 4.5rem;
}

.section-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

/* Signature thick Neo-Teal bar segment on the bottom rule */
.section-header-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 3px;
  background: var(--teal);
}

.section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.15;
}

.section-heading span {
  color: var(--teal);
  font-weight: 400;
}

.section-side-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  padding-bottom: 0.15rem;
  border-bottom: 1px dotted var(--teal);
}

.section-side-link:hover {
  color: var(--teal-hover);
  border-bottom-style: solid;
}

/* ==========================================================================
   PROJECTS BENTO GRID (12-Column Architectural Layout)
   ========================================================================== */
.projects-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

.project-tile {
  grid-column: span 4;
  background: var(--bg-tile);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-tile);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-tile.span-6 {
  grid-column: span 6;
}

.project-tile.span-8 {
  grid-column: span 8;
}

.project-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-tile:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.project-tile:hover::before {
  opacity: 1;
}

.proj-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

/* Architectural [01] Index Box echoing the [h]dahal mark */
.proj-index-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  border: 2px solid var(--teal);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.project-tile:hover .proj-index-box {
  background: var(--teal);
  color: #ffffff;
}

.proj-category {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-tile h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.project-tile h3 a:hover {
  color: var(--teal);
}

.proj-bullets {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.proj-bullets li {
  position: relative;
  padding-left: 0.95rem;
}

.proj-bullets li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.proj-footer {
  padding-top: 0.9rem;
  border-top: 1px dotted var(--dotted-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proj-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}

.proj-link:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

/* ==========================================================================
   EXPERIENCE ARCHITECTURAL TIMELINE BENTO (#experience)
   ========================================================================== */
.exp-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.exp-tile {
  background: var(--bg-tile);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-tile);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.exp-tile:hover {
  background: var(--bg-tile-hover);
  border-color: var(--teal);
}

.exp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dotted var(--dotted-rule);
}

.exp-role {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.exp-org {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 0.18rem;
}

.exp-date-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid var(--teal-border);
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.exp-points {
  list-style: none;
  display: grid;
  gap: 0.42rem;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.exp-points li {
  position: relative;
  padding-left: 0.95rem;
}

.exp-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   LATEST WRITING ON DEVELOPERWHO.COM (#writing)
   ========================================================================== */
.writing-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.writing-tile {
  background: var(--bg-tile);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-tile);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.writing-tile:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.writing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.writing-tile h4 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.writing-tile:hover h4 {
  color: var(--teal);
}

.writing-tile p {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER / CONTACT (#contact)
   ========================================================================== */
.site-footer {
  margin-top: 2rem;
  padding-bottom: 3.5rem;
}

.footer-bento {
  background: var(--bg-tile);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-tile);
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.footer-title span {
  color: var(--teal);
}

.footer-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-sub a {
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 980px) {
  .tile-dossier,
  .tile-portrait,
  .tile-about,
  .tile-education,
  .project-tile,
  .project-tile.span-6,
  .project-tile.span-8 {
    grid-column: span 12;
  }

  .tile-portrait {
    min-height: 340px;
  }

  .exp-bento-grid,
  .writing-bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .top-header {
    padding: 0 0.85rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hide-mobile {
    display: none;
  }

  .dossier-specs {
    grid-template-columns: 1fr;
  }

  .stack-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .bento-tile,
  .project-tile,
  .exp-tile,
  .writing-tile {
    padding: 1.35rem;
  }
}
