:root {
  --ink: #0b2f2a;
  --ink-2: #1a4940;
  --cream: #f3efe4;
  --paper: #fffdf7;
  --gold: #e5bd64;
  --coral: #e97257;
  --blue: #306a93;
  --line: rgba(11, 47, 42, .17);
  --shadow: 0 28px 90px rgba(5, 35, 30, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 228, .88);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 80;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 780; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 15px;
}
.topbar nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.topbar nav a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 700; transition: color .3s cubic-bezier(.22, 1, .36, 1); }
.topbar nav a:hover, .topbar nav a.is-active { color: var(--coral); }
.topbar nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
}
.lang { background: var(--paper); }
.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  position: absolute;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { display: none; }

.hero {
  min-height: 78vh;
  padding: clamp(16px, 2.2vw, 32px) clamp(20px, 7vw, 110px) clamp(80px, 11vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .5fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: end;
  background:
    radial-gradient(circle at 80% 10%, rgba(229, 189, 100, .3), transparent 28%),
    linear-gradient(145deg, #f8f4ea, #e6eee6);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(11, 47, 42, .12);
  border-radius: 50%;
  right: -11vw;
  top: -14vw;
  box-shadow: 0 0 0 80px rgba(11, 47, 42, .025), 0 0 0 160px rgba(11, 47, 42, .018);
}
.intro { max-width: 1040px; position: relative; z-index: 2; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-weight: 850;
  font-size: .72rem;
  color: var(--coral);
  margin: 0 0 20px;
}
.intro h1, .city-heading h2, .section-head h2, .contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}
.intro h1 { font-size: clamp(3.7rem, 8.8vw, 8.4rem); margin: 0 0 16px; }
.hero-title span + span::before { content: " "; }
.lede { max-width: 680px; margin: 0; color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.lede-mobile { display: none; }
.result-promise { max-width: 720px; margin: 18px 0 0; padding-left: 15px; border-left: 3px solid var(--coral); font-weight: 800; color: var(--ink); }
.intro-stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 40px 0; }
.intro-stats div { min-width: 125px; padding-top: 12px; border-top: 1px solid var(--line); }
.intro-stats strong { display: block; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.intro-stats strong small { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .33em; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.intro-stats span { display: block; color: var(--ink-2); font-size: .75rem; margin-top: 7px; }
.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 45px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px 14px 22px;
  font-weight: 800;
}
.primary-cta span:last-child { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.cv-actions { display: flex; gap: 8px; }
.cv-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,247,.62);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 850;
}
.cv-actions a:hover { background: var(--paper); border-color: var(--ink); }
.hero-visual { display: flex; align-self: start; align-items: flex-start; justify-content: flex-end; gap: 25px; padding-top: 42px; position: relative; z-index: 2; }
.mobile-profile-actions { display: none; }
.portrait-card { width: min(100%, 330px); margin: 0; transform: none; }
.portrait-frame { overflow: hidden; border-radius: 160px 160px 28px 28px; background: var(--ink); box-shadow: 0 32px 70px rgba(11,47,42,.26); border: 8px solid rgba(255,253,247,.8); }
.portrait-frame img { display: block; width: 100%; height: auto; }

.career-city { padding: clamp(80px, 9vw, 135px) clamp(16px, 4vw, 64px); background: #0b2f2a; color: white; }
.city-heading { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 40px; max-width: 1450px; margin: 0 auto 48px; }
.city-heading .eyebrow { color: var(--gold); }
.city-heading h2 { font-size: clamp(3rem, 6vw, 6rem); margin: 0; color: var(--cream); }
.city-instruction { max-width: 420px; color: rgba(255,255,255,.68); margin: 0 0 8px; }
.city-instruction-mobile { display: none; }
.map-shell { max-width: 1500px; margin: auto; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 36px; padding: 12px; box-shadow: 0 50px 120px rgba(0,0,0,.25); }
.map-wrap { position: relative; width: 100%; overflow: hidden; border-radius: 28px; }
.map-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -100px 100px rgba(4,31,27,.08); border-radius: inherit; }
.map-wrap > img { display: block; width: 100%; height: auto; }

.place-pin, .floor {
  position: absolute;
  z-index: 5;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.place-pin { display: flex; align-items: center; gap: 8px; transform: translate(-50%, -50%); }
.pin-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 10px 25px rgba(0,0,0,.28);
  font-size: .72rem;
  font-weight: 900;
  transition: .2s ease;
}
.pin-card {
  display: grid;
  text-align: left;
  background: rgba(255,253,247,.95);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 12px;
  min-width: max-content;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateX(-8px);
  transition: .2s ease;
}
.pin-card b { font-size: .76rem; }
.pin-card small { font-size: .65rem; opacity: .65; }
.place-pin:hover .pin-card, .place-pin:focus-visible .pin-card { opacity: 1; transform: none; }
.place-pin:hover .pin-dot, .place-pin:focus-visible .pin-dot { background: var(--gold); transform: scale(1.1); }
.stadium-pin { left: 24%; top: 34%; }
.bachelor-pin { left: 68%; top: 72%; }
.master-pin { left: 30%; top: 72%; }
.future-pin { left: 84%; top: 48%; }
.future-pin .pin-dot { background: var(--gold); font-size: 1.2rem; }

.tower-label {
  position: absolute;
  z-index: 4;
  left: 53.2%;
  top: 3.5%;
  transform: translateX(-50%);
  display: grid;
  text-align: center;
  background: var(--ink);
  color: white;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
.tower-label b { font-size: .85rem; }
.tower-label small { font-size: .62rem; color: rgba(255,255,255,.65); }
.tower-floors { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.floor {
  left: 62%;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateY(-50%);
  background: rgba(11,47,42,.88);
  color: white;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 5px 9px 5px 5px;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  transition: .2s ease;
}
.floor::before { content: ""; position: absolute; width: 5.4vw; right: 100%; border-top: 1px solid rgba(255,255,255,.72); }
.floor span { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: .58rem; font-weight: 900; }
.floor b { font-size: .65rem; white-space: nowrap; }
.floor small { font-size: .58rem; color: rgba(255,255,255,.64); }
.floor:hover, .floor:focus-visible { background: var(--coral); transform: translateY(-50%) translateX(5px); }
.floor-6 { top: 10%; }
.floor-5 { top: 20%; }
.floor-4 { top: 30%; }
.floor-3 { top: 40%; }
.floor-2 { top: 50%; }
.floor-1 { top: 61%; }
.mobile-career-slider { display: none; }
.career-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 560px);
  align-items: start;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  scrollbar-width: none;
}
.career-slider-track::-webkit-scrollbar { display: none; }
.career-slide {
  scroll-snap-align: start;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 210px auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(0,0,0,.2);
}
.career-slide-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-image: linear-gradient(180deg, rgba(5,30,26,.04), rgba(5,30,26,.64)), url("assets/career-city-v2.webp");
  background-repeat: no-repeat;
  background-size: 280% auto;
}
.visual-bachelor { background-position: 88% 88%; }
.visual-master { background-position: 10% 88%; }
.visual-stadium { background-position: 5% 22%; }
.visual-tower { background-position: 53% 18%; }
.visual-future { background-position: 100% 46%; }
.career-slide-stage {
  position: relative;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(11,47,42,.76);
  color: white;
  font-size: .64rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}
.career-slide-number {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  color: white;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.career-slide-floor {
  position: absolute;
  left: 18px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.career-slide-copy { padding: 23px; display: flex; flex-direction: column; }
.career-slide-kicker { margin: 0 0 8px; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; font-weight: 900; }
.career-slide-title { margin: 0 0 11px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.career-slide-summary {
  margin: 0;
  color: var(--ink-2);
  font-size: .86rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.career-slide-metrics { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 12px; padding-top: 0; }
.career-slide-metrics span { padding: 6px 9px; border-radius: 999px; background: rgba(11,47,42,.08); font-size: .65rem; font-weight: 800; }
.career-slide-open { width: 100%; border: 0; border-radius: 13px; background: var(--ink); color: white; padding: 12px 15px; font-size: .75rem; font-weight: 900; cursor: pointer; }
.career-floor-list { display: grid; gap: 4px; margin-top: 16px; }
.career-floor-choice {
  width: 100%;
  min-height: 38px;
  padding: 4px 10px 4px 4px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 247, .8);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .3s cubic-bezier(.22, 1, .36, 1);
}
.career-floor-choice strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  font-size: .65rem;
}
.career-floor-choice span { font-size: .68rem; font-weight: 700; }
.career-floor-choice:hover { transform: translateX(4px); background: white; }
.career-floor-choice:active { transform: translateX(4px) scale(.98); }
.career-slider-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; color: rgba(255,255,255,.64); font-size: .7rem; font-weight: 800; }
.career-slider-count { color: var(--gold); font-size: .76rem; }

.impact, .skills, .contact-section { padding: clamp(80px, 10vw, 150px) clamp(20px, 7vw, 110px); }
.impact { background: var(--cream); }
.section-head { max-width: 900px; margin-bottom: 58px; }
.section-head h2, .contact-section h2 { font-size: clamp(3rem, 6vw, 6.2rem); margin: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.impact-grid article { min-height: 390px; padding: clamp(25px, 3vw, 46px); background: var(--cream); display: flex; flex-direction: column; }
.impact-grid article > span, .skill-columns span { color: var(--coral); font-size: .72rem; font-weight: 900; }
.impact-grid strong { font-family: Georgia, serif; font-size: clamp(3.7rem, 6vw, 6.8rem); font-weight: 500; line-height: 1; margin: auto 0 30px; }
.impact-grid h3 { font-size: 1.05rem; margin: 0 0 12px; }
.impact-grid p { color: var(--ink-2); margin: 0; font-size: .9rem; }

.skills { padding-block: clamp(48px, 5vw, 64px); background: var(--paper); }
.skills .section-head h2 span { display: block; }
.skill-columns { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.skill-columns > div { padding: 30px 28px 30px 0; min-height: 210px; border-right: 1px solid var(--line); }
.skill-columns > div + div { padding-left: 28px; }
.skill-columns > div:last-child { border-right: 0; }
.skill-columns h3 { font-family: Georgia, serif; font-size: 1.55rem; margin: 38px 0 15px; }
.skill-columns p { color: var(--ink-2); margin: 0; }

.projects {
  padding: clamp(58px, 7vw, 100px) clamp(20px, 7vw, 110px);
  background: var(--cream);
}
.projects-heading {
  max-width: 980px;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.projects-heading .section-head { margin: 0; }
.projects-heading h2 span { display: block; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.project-card--featured { grid-column: 1 / -1; min-height: 430px; background: var(--paper); }
.project-card--featured .project-card-main { grid-template-columns: minmax(280px, .72fr) minmax(480px, 1.28fr); gap: clamp(28px, 4vw, 64px); }
.project-card--featured .project-content h3 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
.project-card--featured .project-content > p:not(.project-link) { font-size: .96rem; line-height: 1.55; }
.project-card--cms::before { width: 260px; height: 260px; right: -105px; top: -120px; }
.project-card {
  min-height: 360px;
  padding: clamp(21px, 2.2vw, 30px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 8px 0 rgba(11, 47, 42, .035);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card::before {
  content: "";
  width: 180px;
  height: 180px;
  position: absolute;
  right: -72px;
  top: -74px;
  border-radius: 50%;
  border: 1px solid rgba(11, 47, 42, .1);
  box-shadow: 0 0 0 34px rgba(11, 47, 42, .025), 0 0 0 68px rgba(11, 47, 42, .018);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 47, 42, .4);
  box-shadow: 0 24px 55px rgba(5, 35, 30, .12);
}
.project-card--padel, .project-card--bot { background: #f8f3e8; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.project-number { color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.project-kind {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.project-card-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, .8fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.project-content { min-width: 0; display: flex; flex-direction: column; padding-top: 10px; }
.project-content h3 {
  margin: 0 0 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.55vw, 2.65rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.project-content > p:not(.project-link) { max-width: 620px; margin: 0; color: var(--ink-2); font-size: .84rem; line-height: 1.45; }
.project-role {
  margin: 15px 0 !important;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 47, 42, .07);
  color: var(--ink) !important;
  font-size: .7rem !important;
  font-weight: 700;
}
.project-visual {
  min-width: 0;
  min-height: 210px;
  margin: 0;
  display: grid;
  place-items: center;
  align-self: center;
}
.project-visual img { width: 100%; height: 230px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(5, 35, 30, .12)); }
.project-showcase {
  min-width: 0;
  min-height: 310px;
  margin: 0;
  position: relative;
  align-self: center;
}
.showcase-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(11, 47, 42, .18);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 24px 44px rgba(5, 35, 30, .14);
}
.showcase-window--store { width: 72%; height: 82%; left: 0; top: 0; transform: rotate(-2deg); }
.showcase-window--admin { width: 63%; height: 70%; right: 0; bottom: 0; transform: rotate(2deg); }
.showcase-bar { height: 32px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); background: #f4efe5; }
.showcase-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(11, 47, 42, .24); }
.showcase-bar span { margin-left: auto; font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.showcase-store-hero { height: 92px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--paper); }
.showcase-store-hero b { max-width: 180px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1; }
.showcase-store-hero small { margin-top: 8px; color: rgba(255,255,255,.7); font-size: .56rem; }
.showcase-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.showcase-products i { height: 70px; border-radius: 10px; background: #dde7dd; }
.showcase-products i:nth-child(2) { background: #ead3c6; }
.showcase-products i:nth-child(3) { background: #c8d8d5; }
.showcase-admin-nav { display: flex; gap: 8px; padding: 13px; border-bottom: 1px solid var(--line); font-size: .58rem; }
.showcase-admin-nav b, .showcase-admin-nav span { padding: 6px 8px; border-radius: 7px; background: #f0eee7; }
.showcase-admin-nav b { background: var(--ink); color: white; }
.showcase-orders { display: grid; gap: 8px; padding: 12px; }
.showcase-orders i { height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #f3f0e8; }
.project-link {
  margin: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
}
.project-link span:last-child {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  transition: transform .2s ease, background .2s ease;
}
.project-link:hover span:last-child { transform: translate(2px, -2px); background: var(--coral); }
.project-link--current { color: var(--ink-2); cursor: default; }
.project-link--current span:last-child { background: var(--gold); color: var(--ink); }
.project-link--current:hover span:last-child { transform: none; background: var(--gold); }

.outside-work {
  padding: clamp(48px, 5vw, 64px) clamp(20px, 7vw, 110px);
  background: var(--ink);
  color: var(--paper);
}
.outside-work-heading { max-width: 930px; margin-bottom: clamp(28px, 4vw, 42px); }
.outside-work-heading .eyebrow { color: var(--gold); }
.outside-work-heading h2 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.life-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); grid-template-rows: repeat(2, minmax(190px, auto)); gap: clamp(12px, 1.6vw, 20px); }
.life-card { position: relative; overflow: hidden; padding: clamp(22px, 2.6vw, 34px); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.055); }
.life-card--padel { grid-row: 1 / span 2; min-height: 440px; background: #143f37; }
.life-card--cooking { background: var(--gold); color: var(--ink); border-color: transparent; }
.life-card--esports { background: var(--paper); color: var(--ink); border-color: transparent; }
.life-card-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .64rem; letter-spacing: .13em; }
.life-card-label span { color: var(--coral); font-weight: 900; }
.life-card-label b { font-weight: 850; }
.life-card-mark { margin: clamp(38px, 6vw, 86px) 0 20px; font-family: Georgia, serif; font-size: clamp(3.5rem, 8vw, 7.8rem); line-height: .8; letter-spacing: -.07em; opacity: .95; }
.life-card-mark--rating { font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: .9; white-space: nowrap; }
.life-card--cooking .life-card-mark, .life-card--esports .life-card-mark { margin: 30px 0 16px; font-size: clamp(2.7rem, 4vw, 4.6rem); }
.life-card h3 { max-width: 650px; margin: 0 0 12px; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.4vw, 2.65rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.life-card p { max-width: 620px; margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.72); }
.life-card--cooking p, .life-card--esports p { color: var(--ink-2); }
.life-card--padel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: 75px; border: 2px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018); }

.contact-section { background: var(--gold); display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.contact-section .eyebrow { color: var(--ink); }
.contact-copy > p { font-size: 1.18rem; margin: 0 0 28px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-actions a { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 850; text-decoration: none; }
.contact-emoji { display: inline-block; width: 1.15em; flex: 0 0 auto; }
.contact-label { text-decoration: underline; text-underline-offset: 5px; }
.contact-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.contact-resumes { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.contact-resumes > span { margin-right: 4px; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.contact-resumes a { padding: 8px 13px; border: 1px solid rgba(11,47,42,.34); border-radius: 999px; text-decoration: none; font-size: .75rem; font-weight: 900; }

footer { padding: 30px clamp(20px, 4vw, 64px); display: flex; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--cream); font-size: .85rem; }
footer a { text-decoration: none; }

.case-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: 88vh;
  border: 0;
  border-radius: 28px;
  padding: clamp(30px, 5vw, 60px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.case-modal::backdrop { background: rgba(5,25,22,.72); backdrop-filter: blur(8px); }
.close { position: absolute; right: 20px; top: 18px; border: 1px solid var(--line); background: white; width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.case-kicker { color: var(--coral); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 850; margin: 0 45px 14px 0; }
.case-title { font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 20px; }
.case-summary { font-size: 1.12rem; color: var(--ink-2); }
.case-body { margin: 28px 0; }
.case-body section { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.case-body h3 { margin: 0; color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.case-body p { margin: 0; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 9px; }
.case-metrics span { background: var(--ink); color: white; padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.case-contact { display: none; margin-top: 26px; padding: 22px; border-radius: 18px; background: var(--gold); }
.case-contact.is-visible { display: grid; gap: 10px; }
.case-contact p { margin: 0 0 4px; font-weight: 750; }
.case-contact > a { display: inline-flex; align-items: center; gap: 7px; width: fit-content; font-size: 1.05rem; font-weight: 900; text-decoration: none; }
.case-contact .modal-cv-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.case-contact .modal-cv-links a { padding: 8px 12px; border: 1px solid rgba(11,47,42,.3); border-radius: 999px; text-decoration: none; font-size: .75rem; }

@media (max-width: 1180px) {
  .floor { left: 61%; }
  .floor b { display: none; }
  .floor::before { width: 4.5vw; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid article { min-height: 320px; }
}

@media (max-width: 900px) {
  .topbar .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu {
    min-height: 100dvh;
    padding: 112px 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(243, 239, 228, .98);
    backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;
    transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1);
  }
  .mobile-menu[aria-hidden="false"] { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu nav { display: grid; gap: 8px; }
  .mobile-menu nav a {
    width: fit-content;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 8vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    text-decoration: none;
    opacity: 0;
    transform: translateY(24px);
    transition: color .3s cubic-bezier(.22, 1, .36, 1), opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1);
  }
  .mobile-menu nav a:hover, .mobile-menu nav a.is-active { color: var(--coral); }
  .mobile-menu[aria-hidden="false"] nav a { opacity: 1; transform: none; }
  .mobile-menu[aria-hidden="false"] nav a:nth-child(2) { transition-delay: 60ms; }
  .mobile-menu[aria-hidden="false"] nav a:nth-child(3) { transition-delay: 120ms; }
  .mobile-menu[aria-hidden="false"] nav a:nth-child(4) { transition-delay: 180ms; }
  .mobile-menu-cv { display: flex; flex-wrap: wrap; gap: 8px; }
  .mobile-menu-cv a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 700;
  }
  .hero { min-height: 72vh; grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; margin-top: 18px; padding-top: 0; }
  .portrait-card { width: 230px; transform: none; }
  .city-heading { grid-template-columns: 1fr; }
  .city-instruction { max-width: 650px; }
  .city-instruction-desktop { display: none; }
  .city-instruction-mobile { display: block; }
  .map-shell { display: none; }
  .mobile-career-slider { display: block; }
  .skill-columns { grid-template-columns: 1fr 1fr; }
  .skill-columns > div:nth-child(2) { border-right: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: auto; }
  .project-card--featured .project-card-main { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); }
  .project-card-main { grid-template-columns: minmax(0, 1.25fr) minmax(170px, .75fr); }
  .life-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .life-card--padel { grid-row: auto; min-height: 360px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { height: 66px; padding: 0 16px; }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; padding: 8px 16px 38px; row-gap: 32px; }
  .intro .eyebrow {
    margin-bottom: 12px;
    white-space: nowrap;
    max-width: 100%;
    font-size: clamp(.46rem, 2vw, .55rem);
    letter-spacing: .03em;
  }
  .intro h1 { font-size: clamp(2.35rem, 10.6vw, 3rem); margin-bottom: 12px; }
  .hero-title span { display: block; white-space: nowrap; }
  .hero-title span + span::before { content: none; }
  .lede-desktop { display: none; }
  .lede-mobile { display: block; font-size: .875rem; line-height: 1.45; }
  .result-promise { margin-top: 13px; padding-left: 11px; font-size: .8rem; line-height: 1.35; }
  .hero-actions { display: none; }
  .hero-visual { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 12px; width: 100%; margin-top: 0; transform: translateY(-8px); }
  .portrait-card { width: 100%; position: relative; transform: none; }
  .portrait-frame { border-width: 6px; }
  .mobile-profile-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; }
  .mobile-profile-actions a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,253,247,.72);
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    font-size: .68rem;
    line-height: 1.2;
    white-space: nowrap;
    font-weight: 900;
  }
  .mobile-profile-actions .mobile-explore { background: var(--ink); color: white; border-color: var(--ink); }
  .intro-stats { flex-wrap: nowrap; gap: 7px; }
  .intro-stats div { min-width: 0; flex: 1 1 0; }
  .intro-stats { margin: 22px 0 0; }
  .intro-stats strong { font-size: 1.42rem; }
  .intro-stats span { font-size: .64rem; line-height: 1.25; }
  .career-city { padding: 46px 14px 50px; }
  .city-heading { gap: 12px; margin-bottom: 22px; }
  .city-heading .eyebrow { margin-bottom: 11px; }
  .city-heading h2 { font-size: 2.55rem; }
  .city-instruction { font-size: .8rem; line-height: 1.4; }
  .career-slider-track { grid-auto-columns: calc(100vw - 44px); gap: 10px; }
  .career-slide { min-height: 0; grid-template-rows: 178px auto; border-radius: 21px; }
  .career-slide-visual { padding: 14px; }
  .career-slide-stage { font-size: .58rem; padding: 6px 8px; }
  .career-slide-number { font-size: 1.8rem; }
  .career-slide-floor { left: 14px; bottom: 13px; width: 40px; height: 40px; }
  .career-slide-copy { padding: 18px; }
  .career-slide-kicker { font-size: .57rem; }
  .career-slide-title { font-size: 1.75rem; margin-bottom: 9px; }
  .career-slide-summary { font-size: .79rem; line-height: 1.42; -webkit-line-clamp: 4; }
  .career-slide-metrics { margin: 12px 0; padding-top: 0; }
  .skills { padding: 40px 20px; }
  .skills .section-head { margin-bottom: 26px; }
  .skills .section-head h2 { font-size: 2.55rem; }
  .skill-columns { grid-template-columns: 1fr 1fr; background: var(--line); gap: 1px; border: 1px solid var(--line); }
  .skill-columns > div, .skill-columns > div + div { border: 0; background: var(--paper); padding: 15px; min-height: 142px; }
  .skill-columns h3 { margin: 16px 0 8px; font-size: 1.08rem; }
  .skill-columns p { font-size: .68rem; line-height: 1.42; }
  .projects { padding: 46px 14px; }
  .projects-heading { padding: 0 6px; margin-bottom: 24px; }
  .projects-heading .section-head h2 { font-size: 2.55rem; }
  .projects-heading .section-head .eyebrow { margin-bottom: 11px; }
  .project-card { min-height: 0; padding: 19px; border-radius: 22px; }
  .project-card--featured .project-card-main { grid-template-columns: 1fr; }
  .project-card--featured .project-content h3 { font-size: 2.7rem; }
  .project-card-main { grid-template-columns: 1fr; gap: 4px; margin-top: 8px; }
  .project-showcase { grid-row: 1; min-height: 250px; margin-bottom: 8px; }
  .showcase-window--store { width: 76%; height: 80%; }
  .showcase-window--admin { width: 68%; height: 66%; }
  .project-visual { grid-row: 1; min-height: 150px; }
  .project-visual img { height: 170px; }
  .project-content { grid-row: 2; padding-top: 0; }
  .project-content h3 { font-size: 2rem; }
  .project-content > p:not(.project-link) { font-size: .79rem; line-height: 1.45; }
  .project-role { margin: 14px 0 !important; }
  .outside-work { padding: 40px 14px; }
  .outside-work-heading { padding: 0 6px; margin-bottom: 24px; }
  .outside-work-heading h2 { font-size: 2.55rem; }
  .life-grid { gap: 10px; }
  .life-card { min-height: 0; padding: 21px; border-radius: 22px; }
  .life-card--padel { min-height: 310px; }
  .life-card-mark { margin: 55px 0 18px; font-size: 4.8rem; }
  .life-card-mark--rating { font-size: 3rem; }
  .life-card--cooking .life-card-mark, .life-card--esports .life-card-mark { margin: 28px 0 14px; font-size: 3.2rem; }
  .life-card h3 { font-size: 1.75rem; }
  .life-card p { font-size: .78rem; line-height: 1.45; }
  .contact-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 48px 20px;
  }
  .contact-section h2 { font-size: 2.55rem; }
  .contact-copy > p { margin-bottom: 20px; font-size: .94rem; line-height: 1.45; }
  .contact-actions a { font-size: 1rem; }
  .contact-resumes { margin-top: 22px; }
  footer { flex-direction: column; }
  .case-body section { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .mobile-menu nav a { transform: none; }
}
