/* =========================================================
   V3 — colour accents, larger radii, profile submenu
   Black / white / grey with Apple blue + a restrained green
   ========================================================= */

:root {
  --green: #2f9f6b;
  --green-deep: #217a53;
  --green-soft: rgba(47, 159, 107, 0.1);
  --ice: #f2f8f7;
  --ice-blue: #eff6fb;
}

/* Keep photography in its original colour. Only UI surfaces are monochrome. */
.resume-photo img,
.about-photo img,
.work-card img,
.view-slot img,
.work-view img {
  filter: none !important;
}

/* ---------------------------------------------------------
   Page surfaces — white / grey, with very faint blue-green light
   --------------------------------------------------------- */
body,
.site-bg {
  background: #f5f5f7;
}

.hero {
  background:
    radial-gradient(ellipse 52% 42% at 86% 0%, rgba(126, 178, 229, 0.16), transparent 68%),
    radial-gradient(ellipse 46% 36% at 9% 16%, rgba(85, 166, 126, 0.1), transparent 72%),
    linear-gradient(180deg, #f1f4f6 0%, #f8f9fa 46%, #ffffff 100%);
}

.hero-soft-glow {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.05), rgba(28, 122, 107, 0.025) 48%, transparent 72%);
}

.section--work {
  background:
    linear-gradient(180deg, #f7f9fa 0%, #f2f5f6 100%);
}

.section--capabilities {
  background: #ffffff;
}

.section--about {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f9f7 50%, #f5f8f8 100%);
}

/* ---------------------------------------------------------
   Navigation / transparency / radius
   --------------------------------------------------------- */
.site-header {
  top: 16px;
  padding: 0 24px;
}

.nav-shell {
  height: 62px;
  padding: 0 11px 0 19px;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(239, 249, 245, 0.14)),
    rgba(224, 239, 234, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 12px 36px rgba(24, 48, 47, 0.08);
  -webkit-backdrop-filter: blur(38px) saturate(155%);
  backdrop-filter: blur(38px) saturate(155%);
}

.site-header.is-scrolled .nav-shell {
  height: 58px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(239, 249, 245, 0.22)),
    rgba(224, 239, 234, 0.2);
  border-color: rgba(255, 255, 255, 0.82);
}

.brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.nav-links {
  margin: 0 20px;
}

.nav-link,
.nav-trigger {
  font-size: 12px;
  height: 36px;
  padding: 0 13px;
  color: var(--ink);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-open .nav-trigger {
  background: rgba(255, 255, 255, 0.42);
}

.nav-link.is-active {
  color: var(--ink);
  background: rgba(47, 159, 107, 0.09);
}

.nav-cta {
  height: 38px;
  padding: 0 17px;
  font-size: 10px;
  background: var(--blue);
}

/* The dropdown is translucent glass, but stays legible. */
.mega-menu {
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 249, 0.8)),
    rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(52px) saturate(145%);
  backdrop-filter: blur(52px) saturate(145%);
}

.mega-inner {
  gap: 11px;
}

.mega-link {
  border-radius: 18px;
}

.mega-link.is-active,
.mega-link:hover {
  background: rgba(255, 255, 255, 0.78);
}

.mega-link.is-active .mega-link-text small,
.mega-link:hover .mega-link-text small {
  color: var(--green-deep);
}

.mega-preview {
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.66);
}

.mega-preview-en {
  color: var(--green-deep);
}

.mega-preview[data-theme="blue"],
.work-view[data-theme="blue"],
.work-view-bg[data-theme="blue"] {
  --mp-a: #ddebf8;
  --mp-b: #f6fafd;
  --mp-g: #b9d6ef;
  --mp-dark: #3c5364;
}

.mega-preview[data-theme="ice"],
.work-view[data-theme="ice"],
.work-view-bg[data-theme="ice"] {
  --mp-a: #e3f1eb;
  --mp-b: #f6fbf8;
  --mp-g: #c1dfd2;
  --mp-dark: #3c574c;
}

.mega-preview[data-theme="silver"],
.work-view[data-theme="silver"],
.work-view-bg[data-theme="silver"] {
  --mp-a: #ebeff1;
  --mp-b: #fafbfb;
  --mp-g: #d6e2e3;
  --mp-dark: #455154;
}

.mega-preview[data-theme="mist"],
.work-view[data-theme="mist"],
.work-view-bg[data-theme="mist"] {
  --mp-a: #e3eaf2;
  --mp-b: #f6f9fc;
  --mp-g: #c4d6e6;
  --mp-dark: #3f5365;
}

.mega-preview[data-theme="night"],
.work-view[data-theme="night"],
.work-view-bg[data-theme="night"] {
  --mp-a: #11191b;
  --mp-b: #060809;
  --mp-g: #275452;
  --mp-dark: #e2eeeb;
}

.site-header.is-on-dark .nav-shell {
  background:
    linear-gradient(145deg, rgba(74, 91, 91, 0.36), rgba(24, 32, 32, 0.3)),
    rgba(24, 34, 34, 0.2);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-on-dark .nav-link.is-active {
  background: rgba(95, 185, 143, 0.15);
}

/* ---------------------------------------------------------
   Hero + glass hover previews under the two buttons
   --------------------------------------------------------- */
.hero-title-muted {
  color: #7d8a8e;
}

.hero-status-line i {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 159, 107, 0.12);
}

.hero-actions {
  position: relative;
  z-index: 3;
}

.hero-actions::before {
  content: "";
  position: absolute;
  inset: -38px -90px -104px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 47%, rgba(47, 159, 107, 0.13), transparent 55%),
    radial-gradient(ellipse at 73% 55%, rgba(0, 113, 227, 0.11), transparent 58%);
  filter: blur(24px);
}

.hero-action {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-action-info {
  position: absolute;
  top: calc(100% + 13px);
  z-index: 20;
  width: 248px;
  padding: 15px 16px 16px;
  overflow: hidden;
  border-radius: 24px;
  text-align: left;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.982);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.45s var(--ease);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(242, 250, 246, 0.4)),
    rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28),
    0 20px 50px rgba(22, 50, 43, 0.12);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
}

.hero-action-info::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 159, 107, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-action:last-child .hero-action-info::before {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15), transparent 65%);
}

.hero-action:first-child .hero-action-info {
  left: -6px;
}

.hero-action:last-child .hero-action-info {
  right: -6px;
}

.hero-action:hover .hero-action-info,
.hero-action:focus-within .hero-action-info {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-info-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dot--green { background: var(--green); }
.dot--blue { background: var(--blue); }

.hero-action-info strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-action-info p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.hero .button--glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.67);
  border: 1px solid rgba(28, 75, 59, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(28, 48, 42, 0.04);
}

.hero .button--glass:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(47, 159, 107, 0.2);
}

.hero-actions .button--primary {
  background:
    linear-gradient(145deg, rgba(41, 151, 255, 0.92), rgba(0, 113, 227, 0.82)),
    rgba(0, 113, 227, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 28px rgba(0, 113, 227, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
}

.hero-foot {
  border-color: rgba(0, 0, 0, 0.065);
}

/* ---------------------------------------------------------
   Work cards — larger radii, cool tints, no rectangular islands
   --------------------------------------------------------- */
.work-card {
  border-radius: 38px;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.work-art {
  border-radius: 29px;
}

.work-art--wedding {
  --wa-a: #e3edf7;
  --wa-b: #f9fbfd;
  --wa-c: #cde0ef;
  --wa-glow: #bbd8ed;
}

.work-art--hotel {
  --wa-a: #e7f2ed;
  --wa-b: #f8fbfa;
  --wa-c: #cde2d7;
  --wa-glow: #c4e2d3;
}

.work-art--product {
  --wa-a: #edf1f3;
  --wa-b: #fbfbfc;
  --wa-c: #d4e0e1;
  --wa-glow: #d3e5e0;
}

.work-art--event {
  --wa-a: #e5ebf3;
  --wa-b: #f7f9fc;
  --wa-c: #ccd9e7;
  --wa-glow: #c4d7e8;
}

.work-art--video {
  --wa-a: #101718;
  --wa-b: #060809;
  --wa-c: #0a1112;
  --wa-glow: #275e5b;
}

.work-art--video::after {
  background:
    radial-gradient(circle at 70% 36%, rgba(68, 135, 128, 0.18), transparent 42%),
    linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, 0.045) 38%, transparent 55%);
}

.work-word,
.work-card:hover .work-word {
  color: rgba(29, 50, 48, 0.22);
}

.work-card:hover .work-word {
  color: rgba(29, 50, 48, 0.3);
}

.work-art--video .work-word,
.work-card:hover .work-art--video .work-word {
  color: rgba(228, 244, 238, 0.24);
}

.work-topline {
  color: rgba(37, 59, 57, 0.48);
}

.work-art--video .work-topline {
  color: rgba(228, 244, 238, 0.48);
}

.work-slot {
  color: rgba(35, 57, 54, 0.7);
}

.work-art--video .work-slot {
  color: rgba(238, 249, 244, 0.82);
}

.video-orb {
  background: radial-gradient(circle, rgba(61, 144, 134, 0.2), transparent 68%);
}

.work-caption {
  padding: 13px 8px 4px;
}

.work-card--video .work-caption strong {
  color: var(--ink);
}

/* ---------------------------------------------------------
   Capability cards — larger corners and calm colour
   --------------------------------------------------------- */
.cap-card {
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(248, 252, 251, 0.42)),
    rgba(255, 255, 255, 0.26);
}

.cap-card--capture {
  background:
    radial-gradient(ellipse at 92% 4%, rgba(115, 174, 227, 0.14), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 250, 0.46));
}

.cap-card--retouch {
  background:
    radial-gradient(ellipse at 92% 4%, rgba(152, 182, 185, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 250, 0.46));
}

.cap-card--edit {
  background:
    radial-gradient(ellipse at 92% 4%, rgba(115, 160, 200, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 252, 0.46));
}

.cap-card--social {
  background:
    radial-gradient(ellipse at 92% 4%, rgba(105, 173, 137, 0.13), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 249, 0.46));
}

.cap-card::before {
  background: radial-gradient(circle, rgba(72, 151, 127, 0.075), transparent 68%);
}

.cap-card--capture .cap-icon { color: #256e9f; background: rgba(229, 242, 252, 0.7); }
.cap-card--edit .cap-icon { color: #38759d; background: rgba(234, 244, 250, 0.72); }
.cap-card--social .cap-icon { color: #267d57; background: rgba(230, 245, 237, 0.76); }
.cap-card--end .cap-icon { color: #2c7c5b; background: rgba(233, 246, 239, 0.72); }

.pipeline-line {
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.2), rgba(47, 159, 107, 0.24));
}

.pipeline-line b {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 159, 107, 0.09);
}

.pipeline-step i {
  color: var(--green-deep);
}

/* ---------------------------------------------------------
   Personal profile / résumé
   --------------------------------------------------------- */
.section--about {
  padding-top: 108px;
  padding-bottom: 120px;
}

.resume-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 39px;
  border-bottom: 1px solid var(--line);
}

.resume-head h2 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 620;
  line-height: 1.07;
  letter-spacing: -0.07em;
}

.resume-head > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  justify-self: end;
  max-width: 280px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.availability-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.availability-inline i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 159, 107, 0.1);
}

.resume-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(26px, 3.4vw, 44px);
  margin-top: 37px;
}

.resume-side {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.resume-photo-card {
  width: 100%;
  max-width: 408px;
  margin: 0;
  padding: 9px;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(ellipse at 84% 2%, rgba(116, 172, 222, 0.15), transparent 47%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(245, 250, 248, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.97),
    0 22px 58px rgba(27, 52, 49, 0.09);
}

.resume-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.13 / 1;
  border-radius: 30px;
  background: #e8eef0;
}

.resume-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 63%, rgba(7, 18, 16, 0.26));
}

.resume-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: none;
}

.resume-photo-label {
  position: absolute;
  left: 13px;
  bottom: 13px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(19, 29, 27, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.resume-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 408px;
  padding: 5px;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(244, 250, 247, 0.32)),
    rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 26px rgba(25, 49, 46, 0.055);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.resume-tab {
  min-width: 0;
  min-height: 38px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  transition:
    color 0.25s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.resume-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.resume-tab.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 3px 10px rgba(25, 49, 46, 0.08);
}

.resume-tab.is-active::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

.resume-tab:focus-visible {
  outline-offset: -2px;
}

.resume-detail {
  min-width: 0;
  scroll-margin-top: 78px;
  min-height: 440px;
  padding: 30px 32px 28px;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(245, 251, 249, 0.55)),
    rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 66px rgba(26, 52, 47, 0.07);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  backdrop-filter: blur(32px) saturate(160%);
}

.resume-panel[hidden] {
  display: none;
}

.resume-panel.is-active {
  animation: resumePanelIn 0.48s var(--ease) both;
}

@keyframes resumePanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.resume-panel-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.resume-panel-head > span {
  flex: 1 0 100%;
  color: var(--green-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.resume-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  font-weight: 580;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.resume-panel-head > p {
  margin-left: auto;
  padding-bottom: 3px;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.resume-exp-list {
  margin-top: 2px;
}

.resume-exp {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.065);
}

.resume-exp:last-child {
  border-bottom: 0;
  padding-bottom: 1px;
}

.resume-exp-date {
  padding-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.resume-exp h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 570;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.resume-exp h4 span {
  margin-left: 7px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.resume-exp p {
  margin-top: 4px;
  color: #65656b;
  font-size: 11px;
  line-height: 1.7;
}

.resume-skill-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.resume-skill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(244, 250, 247, 0.35)),
    rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.resume-skill > span {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--green-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.resume-skill h4 {
  font-size: 14px;
  font-weight: 570;
  letter-spacing: -0.02em;
}

.resume-skill p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.resume-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.resume-field-grid span {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 18px;
  color: var(--ink-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(244, 250, 247, 0.36)),
    rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.86);
  font-size: 11px;
}

.resume-field-grid i {
  color: var(--green-deep);
  font-size: 7px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.resume-trait-lead {
  max-width: 550px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.035em;
}

.resume-trait-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.resume-trait-list li {
  position: relative;
  padding-left: 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.resume-trait-list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------------------------------------------------------
   Contact — one clear glass surface, no duplicate rows
   --------------------------------------------------------- */
.contact {
  padding: 0 24px 24px;
  background: #f5f5f7;
}

.contact-shell {
  padding-top: 88px;
  background:
    radial-gradient(ellipse 48% 42% at 83% 6%, rgba(47, 122, 116, 0.22), transparent 68%),
    radial-gradient(ellipse 38% 42% at 12% 88%, rgba(58, 96, 139, 0.14), transparent 72%),
    linear-gradient(145deg, #131719 0%, #030405 55%, #0a0e0f 100%);
}

.contact-glow--one {
  background: rgba(55, 122, 114, 0.24);
}

.contact-glow--two {
  background: rgba(70, 106, 145, 0.12);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.contact-head {
  max-width: 820px;
}

.contact-head h2 {
  font-size: clamp(56px, 7.4vw, 112px);
}

.contact-head > p {
  margin-top: 20px;
}

.text-gradient--light {
  background: linear-gradient(100deg, #f5f5f7 0%, #dae6e5 38%, #8eb9b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-direct {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  justify-self: end;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(14, 21, 22, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 25px 68px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.contact-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 19px 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-line:first-child {
  border-top: 0;
}

.contact-label {
  color: rgba(245, 245, 247, 0.38);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.11em;
}

.contact-value {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #e7eef0;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.contact-value i {
  color: rgba(245, 245, 247, 0.48);
  font-size: 16px;
  font-style: normal;
  transition: transform 0.3s var(--ease), color 0.25s ease;
}

.contact-line:hover .contact-value {
  color: #9dd8c4;
}

.contact-line:hover .contact-value i {
  color: #9dd8c4;
  transform: translate(2px, -2px);
}

.phone-reveal {
  padding: 0;
  color: rgba(231, 238, 240, 0.55);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  transition: color 0.25s ease;
}

.phone-reveal:hover {
  color: #9dd8c4;
}

.phone-link {
  color: #e7eef0;
  font-size: 16px;
  letter-spacing: 0.015em;
}

.contact .footer {
  margin-top: 82px;
}

.footer-bottom {
  justify-content: flex-start;
}

.contact-direct .phone-reveal {
  display: inline;
}

/* ---------------------------------------------------------
   Work category overlay — match the larger geometry
   --------------------------------------------------------- */
.view-top {
  border-radius: 999px;
  overflow: hidden;
}

.view-meta {
  border-radius: 28px;
}

.view-meta > div:nth-child(2) {
  padding-bottom: 2px;
}

.view-grid {
  gap: 18px;
}

.view-slot {
  border-radius: 32px;
}

.view-slot-top {
  color: rgba(35, 58, 55, 0.52);
}

.view-slot.is-video .view-slot-top {
  color: rgba(237, 248, 244, 0.55);
}

.view-note {
  justify-content: flex-end;
  padding-top: 19px;
}

.work-view[data-theme="night"] .view-note {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1024px) {
  .view-meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* Monochrome gradient transition, with just a trace of teal */
.bloom {
  background:
    radial-gradient(circle at 42% 42%, #ffffff 0%, #eef6f3 28%, #c3ded8 53%, #6d8f8d 78%, #172021 100%);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-shell {
    border-radius: 999px;
  }

  .resume-layout {
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  }

  .resume-exp {
    grid-template-columns: 114px minmax(0, 1fr);
    gap: 17px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .nav-shell {
    height: 56px;
    padding: 0 9px 0 14px;
    border-radius: 999px;
  }

  .site-header.is-scrolled .nav-shell {
    height: 54px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-links {
    margin: 0 5px;
  }

  .nav-link,
  .nav-trigger {
    height: 32px;
    padding: 0 7px;
    font-size: 10.5px;
  }

  .nav-cta {
    height: 32px;
    padding: 0 11px;
    font-size: 9px;
  }

  .mega-menu {
    top: 79px;
    left: 12px;
    right: 12px;
    border-radius: 30px;
  }

  .resume-head {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 29px;
  }

  .resume-head h2 {
    font-size: clamp(44px, 7.2vw, 62px);
  }

  .resume-head > p {
    justify-self: start;
    max-width: 420px;
  }

  .resume-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 30px;
  }

  .resume-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }

  .resume-photo-card,
  .resume-tabs {
    max-width: 408px;
  }

  .resume-detail {
    min-height: 0;
    padding: 27px 26px 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-direct {
    max-width: 100%;
    justify-self: stretch;
  }

  .contact-head h2 {
    font-size: clamp(52px, 10vw, 86px);
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    padding: 0 8px;
  }

  .nav-shell {
    height: 52px;
    padding: 0 6px 0 11px;
  }

  .site-header.is-scrolled .nav-shell {
    height: 50px;
  }

  .brand {
    font-size: 13.5px;
  }

  .nav-links {
    margin: 0 2px;
  }

  .nav-link,
  .nav-trigger {
    height: 28px;
    padding: 0 6px;
    font-size: 9.9px;
  }

  .nav-cta {
    height: 30px;
    padding: 0 10px;
    font-size: 8.5px;
  }

  .mega-menu {
    top: 68px;
    left: 8px;
    right: 8px;
    border-radius: 28px;
  }

  .hero-action-info {
    display: none;
  }

  .section--about {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .resume-head {
    gap: 17px;
  }

  .resume-head h2 {
    font-size: clamp(40px, 10.8vw, 56px);
    letter-spacing: -0.065em;
  }

  .resume-head > p {
    max-width: 340px;
    font-size: 10px;
  }

  .availability-inline {
    font-size: 8.5px;
  }

  .resume-layout {
    gap: 20px;
    margin-top: 25px;
  }

  .resume-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .resume-photo-card {
    max-width: 100%;
    padding: 8px;
    border-radius: 30px;
  }

  .resume-photo {
    border-radius: 23px;
  }

  .resume-tabs {
    width: 100%;
    padding: 4px;
  }

  .resume-tab {
    min-height: 36px;
    font-size: 10.5px;
  }

  .resume-detail {
    padding: 23px 18px 12px;
    border-radius: 30px;
  }

  .resume-panel-head {
    padding-bottom: 13px;
    gap: 3px 10px;
  }

  .resume-panel-head h3 {
    font-size: 23px;
  }

  .resume-panel-head > span {
    font-size: 7px;
  }

  .resume-panel-head > p {
    font-size: 7px;
  }

  .resume-exp {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .resume-exp-date {
    padding-top: 0;
    font-size: 8.5px;
  }

  .resume-exp h4 {
    font-size: 13.5px;
  }

  .resume-exp h4 span {
    display: inline;
    margin-left: 6px;
    font-size: 9.5px;
  }

  .resume-exp p {
    font-size: 10.5px;
    line-height: 1.65;
  }

  .resume-skill-list {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 14px;
  }

  .resume-skill {
    padding: 14px;
    border-radius: 18px;
  }

  .resume-field-grid {
    gap: 7px;
    margin-top: 14px;
  }

  .resume-field-grid span {
    min-height: 42px;
    font-size: 10.5px;
    border-radius: 15px;
  }

  .resume-trait-lead {
    margin-top: 18px;
    font-size: 20px;
  }

  .resume-trait-list {
    margin-top: 17px;
    padding-top: 15px;
  }

  .contact {
    padding: 0 10px 10px;
  }

  .contact-shell {
    padding-top: 64px;
  }

  .contact-head h2 {
    font-size: clamp(47px, 13.4vw, 74px);
  }

  .contact-head > p {
    margin-top: 16px;
    font-size: 12px;
  }

  .contact-layout {
    gap: 26px;
  }

  .contact-line {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 68px;
    gap: 12px;
    padding: 15px 16px;
  }

  .contact-value,
  .phone-link {
    font-size: 14px;
  }

  .contact-value i {
    font-size: 14px;
  }

  .phone-reveal {
    font-size: 12px;
  }

  .contact .footer {
    margin-top: 57px;
  }

  .footer-bottom {
    margin-top: 18px;
  }

  .view-slot {
    border-radius: 26px;
  }

  .view-top {
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .nav-link,
  .nav-trigger {
    padding: 0 4px;
    font-size: 9.2px;
  }

  .brand {
    font-size: 12.5px;
  }

  .nav-cta {
    padding: 0 8px;
    font-size: 8px;
  }

  .nav-shell {
    padding-left: 9px;
  }

  .resume-head h2 {
    font-size: clamp(37px, 10.5vw, 44px);
  }

  .resume-tab {
    min-height: 34px;
    font-size: 10px;
  }

  .contact-value {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-action-info {
    transition: none;
  }

  .resume-panel.is-active {
    animation: none;
  }
}

/* Tablet: keep the avatar + its submenu together, detail panel alongside. */
@media (min-width: 801px) and (max-width: 960px) {
  .resume-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
    align-items: start;
  }

  .resume-side {
    gap: 11px;
  }

  .resume-photo-card,
  .resume-tabs {
    max-width: none;
  }

  .resume-detail {
    min-height: 440px;
    padding: 26px 24px 15px;
  }

  .resume-exp {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }

  .resume-exp-date {
    padding-top: 0;
    font-size: 8.5px;
  }

  .resume-exp h4 span {
    display: inline;
    margin-left: 6px;
    font-size: 9.5px;
  }

  .resume-skill-list {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 14px;
  }

  .resume-skill {
    padding: 13px;
    border-radius: 18px;
  }

  .resume-field-grid {
    gap: 7px;
    margin-top: 14px;
  }

  .resume-field-grid span {
    min-height: 42px;
    font-size: 10.5px;
    border-radius: 15px;
  }

  .resume-trait-lead {
    margin-top: 17px;
    font-size: 19px;
  }
}
