/* Core Style Guide variables and light defaults */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #182235;
  --surface-3: #121a2b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #ff5a00;
  --accent-soft: rgba(255, 90, 0, 0.14);
  --border: rgba(148, 163, 184, 0.22);
  --chart-grid: rgba(148, 163, 184, 0.3);
}

:root[data-theme="light"] {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --accent: #ff5a00;
  --accent-soft: rgba(255, 90, 0, 0.1);
  --border: rgba(15, 23, 42, 0.14);
  --chart-grid: rgba(15, 23, 42, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(255, 90, 0, 0.1), transparent 38%), var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: clip;
}

:root[data-theme="light"] body {
  background: radial-gradient(circle at top right, rgba(255, 90, 0, 0.08), transparent 40%), var(--bg);
}

a {
  color: inherit;
}

.site-grid-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  z-index: -1;
}

.hero-glow {
  position: fixed;
  right: -8rem;
  top: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.24), rgba(255, 90, 0, 0));
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
  animation: heroPulse 6s ease-in-out infinite;
}

.hero-glow::after {
  content: "";
  position: absolute;
  left: -14rem;
  top: 10rem;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0));
}

.theme-switch {
  position: relative;
  box-sizing: border-box;
  width: 64px;
  height: 32px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: rgb(226, 232, 240);
  border: 1.25px solid var(--color-background-inverted, #e2e8f0);
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.65);
  padding: 6px 7px;
  transition: background 180ms, border-color 180ms, transform 120ms;
  z-index: 80;
  overflow: hidden;
}

.theme-toggle-corner {
  position: fixed;
  top: 0.95rem;
  right: 1rem;
}

.theme-toggle-thumb {
  position: absolute;
  left: 5px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.theme-icon {
  position: absolute;
  width: 0.95rem;
  height: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.theme-icon-moon {
  left: 0.55rem;
  color: #0f172a;
  z-index: 3;
}

.theme-icon-sun {
  right: 0.55rem;
  color: #f8fafc;
  z-index: 1;
}

[data-theme="light"] .theme-icon-moon {
  color: #f8fafc;
}

[data-theme="light"] .theme-icon-sun {
  color: #0f172a;
  z-index: 3;
}

:root[data-theme="light"] .theme-toggle-thumb {
  transform: translate(30px, -50%);
}

.section-shell {
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 32px rgba(2, 6, 23, 0.22);
}

.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.2;
  font-weight: 800;
  margin-top: 0.35rem;
  color: var(--text);
}

.section-copy {
  color: var(--muted);
  line-height: 1.75;
}

.typewriter-role {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 1.75rem;
  font-size: clamp(0.98rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: #fdba74;
}

.typewriter-cursor {
  width: 0.5rem;
  height: 1.1rem;
  border-radius: 0.1rem;
  background: var(--accent);
  animation: blinkCursor 0.9s step-end infinite;
}

.engineer-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 90, 0, 0.08), transparent 35%), var(--surface);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.hero-right-column {
  display: grid;
  gap: 0.9rem;
}

.hero-image-section {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 2;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(2, 6, 23, 0.22);
}

.hero-image-section img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.lazy-media {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.02);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.lazy-media.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.engineer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}

.status-panel {
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(255, 90, 0, 0.13), rgba(255, 90, 0, 0.02));
  border: 1px solid rgba(255, 90, 0, 0.32);
}

.status-title {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fdba74;
}

.status-copy {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-metric-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: linear-gradient(155deg, rgba(255, 90, 0, 0.12), rgba(255, 90, 0, 0.02));
  overflow: hidden;
}

.hero-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--accent);
}

.hero-metric-value {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text);
}

.hero-metric-label {
  margin-top: 0.3rem;
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: var(--text);
  background: rgba(15, 23, 42, 0.3);
}

:root[data-theme="light"] .code-chip {
  background: rgba(241, 245, 249, 0.9);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.86rem;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 90, 0, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.86rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.resume-section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-actions {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.resume-preview-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  overflow: hidden;
  background: var(--surface-3);
}

.resume-preview-frame iframe {
  width: 100%;
  height: 72vh;
  border: 0;
}

.resume-fallback-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-link,
.mobile-nav-link {
  position: relative;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 1.45rem;
  height: 1.45rem;
  filter: drop-shadow(0 0 12px rgba(255, 90, 0, 0.24));
}

.visitor-dropdown-wrap {
  position: relative;
}

.visitor-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.visitor-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  width: 20.5rem;
  max-width: min(92vw, 20.5rem);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.88));
  box-shadow: 0 20px 28px rgba(2, 6, 23, 0.42);
  z-index: 90;
}

:root[data-theme="light"] .visitor-dropdown {
  background: linear-gradient(160deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95));
}

.nav-link::after,
.mobile-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.mobile-nav-link:hover::after {
  transform: scaleX(1);
}

.chart-panel {
  min-height: 18rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 0, 0.1), transparent 48%),
    rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] .chart-panel {
  background: rgba(148, 163, 184, 0.08);
}

.skill-row {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.2);
}

:root[data-theme="light"] .skill-row {
  background: rgba(148, 163, 184, 0.08);
}

.skill-meter {
  margin-top: 0.7rem;
  height: 0.42rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.26);
}

.skill-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.5), rgba(255, 90, 0, 1));
}

.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 90, 0, 0.1), transparent 28%), var(--surface-3);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -4.5rem;
  top: -4.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.25), rgba(255, 90, 0, 0));
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 0, 0.6);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.4);
}

.projects-scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 22rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.projects-scroll-row > .project-card {
  scroll-snap-align: start;
}

.projects-scroll-row::-webkit-scrollbar {
  display: none;
}

.projects-scroll-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.projects-scroll-btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.projects-scroll-btn svg {
  width: 1rem;
  height: 1rem;
}

.projects-scroll-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 0, 0.6);
  color: var(--accent);
}

.project-overview-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
}

.all-projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
}

.project-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 0, 0.38);
  background: rgba(255, 90, 0, 0.12);
  color: #fdba74;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.project-headline-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.6rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.metric-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 0, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  font-size: 0.67rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.project-description {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.project-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-link {
  position: relative;
  padding-bottom: 0.12rem;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.55rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(255, 90, 0, 0));
}

.timeline-item {
  position: relative;
  padding-left: 2.15rem;
  padding-bottom: 1.2rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--surface);
}

.timeline-content {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.95rem;
  background: linear-gradient(170deg, rgba(255, 90, 0, 0.08), rgba(255, 90, 0, 0)), rgba(15, 23, 42, 0.22);
}

:root[data-theme="light"] .timeline-content {
  background: rgba(148, 163, 184, 0.1);
}

.timeline-period {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.timeline-role {
  margin-top: 0.3rem;
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.timeline-company {
  color: var(--muted);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.timeline-bullets {
  margin-top: 0.7rem;
  color: var(--muted);
  list-style: disc;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form-panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--surface);
  display: grid;
  gap: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-input {
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface-2);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.2);
}

.visitor-card {
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.34));
}

:root[data-theme="light"] .visitor-card {
  background: linear-gradient(160deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.75));
}

.visitor-flag-shell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] .visitor-flag-shell {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.13);
}

.visitor-primary {
  color: #f8fafc;
}

.visitor-muted {
  color: rgba(226, 232, 240, 0.66);
}

:root[data-theme="light"] .visitor-primary {
  color: #0f172a;
}

:root[data-theme="light"] .visitor-muted {
  color: #64748b;
}

.visitor-details-wrap {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .visitor-details-wrap {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.visitor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .visitor-row {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.visitor-k {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: rgba(226, 232, 240, 0.6);
}

.visitor-v {
  font-size: 0.74rem;
  font-weight: 600;
  color: #f8fafc;
  text-align: right;
  max-width: 56%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root[data-theme="light"] .visitor-k {
  color: #64748b;
}

:root[data-theme="light"] .visitor-v {
  color: #0f172a;
}

.visitor-secure {
  font-size: 0.74rem;
  font-weight: 700;
  color: #f97316;
}

.text-accent {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.social-icon-link {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-icon-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.social-icon-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 0, 0.6);
  color: var(--accent);
}

.chatbot-project-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.96), rgba(245, 109, 16, 0.96));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(255, 90, 0, 0.32);
}

.chatbot-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #fff;
  animation: dotPulse 1.3s ease-in-out infinite;
}

/* Light mode hardcoded utility fixes */
:root[data-theme="light"] .text-white,
:root[data-theme="light"] .text-slate-100,
:root[data-theme="light"] .text-slate-200,
:root[data-theme="light"] .text-slate-300,
:root[data-theme="light"] .text-slate-400 {
  color: var(--text) !important;
}

:root[data-theme="light"] .bg-ink\/95,
:root[data-theme="light"] .bg-ink {
  background: rgba(255, 255, 255, 0.92) !important;
}

:root[data-theme="light"] .border-slate-700\/70,
:root[data-theme="light"] .border-slate-600 {
  border-color: rgba(15, 23, 42, 0.15) !important;
}

:root[data-theme="light"] .nav-link,
:root[data-theme="light"] .mobile-nav-link {
  color: #1e293b;
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes blinkCursor {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes dotPulse {
  0%,
  100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.4); }
}

@media (min-width: 640px) {
  .section-shell {
    padding: 1.6rem;
  }

  .hero-metric-value {
    font-size: 1.08rem;
  }
}

@media (max-width: 767px) {
  .theme-toggle-corner {
    top: 0.8rem;
    right: 0.8rem;
  }

  .chatbot-project-link {
    right: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.74rem;
    padding: 0.55rem 0.8rem;
  }
}

@media (max-width: 639px) {
  .hero-glow {
    width: 20rem;
    height: 20rem;
    right: -7rem;
    top: -6rem;
  }

  .resume-actions {
    width: 100%;
  }

  .resume-preview-frame,
  .resume-preview-frame iframe {
    min-height: 62vh;
    height: 62vh;
  }

  .hero-image-section {
    aspect-ratio: 4 / 3;
  }

  .projects-scroll-wrap {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .projects-scroll-btn {
    display: none;
  }

  .shape-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
