/* ==========================================================================
   Álvaro Camus · alvarocamus.conex.cl
   ========================================================================== */

@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #c084fc;
}

@property --accent-2 {
  syntax: '<color>';
  inherits: true;
  initial-value: #6d8bff;
}

:root {
  --bg: #020204;
  --fg: #f5f3ff;
  --fg-2: rgb(245 243 255 / 0.74);
  --fg-3: rgb(245 243 255 / 0.5);
  --fg-4: rgb(245 243 255 / 0.28);
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --glass: rgb(12 12 20 / 0.55);
  --accent: #c084fc;
  --accent-2: #6d8bff;
  --accent-soft: rgb(192 132 252 / 0.14);
  --accent-mid: rgb(192 132 252 / 0.5);
  --display: "Syncopate", "Arial Black", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(18px, 3.2vw, 48px);
  --top: calc(var(--gutter) + 64px + env(safe-area-inset-top));
  --bottom: calc(var(--gutter) + 96px + env(safe-area-inset-bottom));
  transition: --accent 0.9s var(--ease), --accent-2 0.9s var(--ease);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root {
    --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
    --accent-mid: color-mix(in srgb, var(--accent) 50%, transparent);
  }
}

/* ---------- Base ---------- */

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

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: var(--accent-mid);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 500;
  transform: translate(-50%, -150%);
  transition: transform 0.4s var(--ease);
}

.skip:focus-visible {
  transform: translate(-50%, 0);
}

/* ---------- Lienzo y capas ---------- */

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.shocks {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.shock {
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  margin: -40vmax 0 0 -40vmax;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-mid), inset 0 0 40px var(--accent-soft);
  animation: shock 1.15s var(--ease) forwards;
}

@keyframes shock {
  from { transform: scale(0.01); opacity: 0.9; }
  to { transform: scale(1); opacity: 0; }
}

/* ---------- Intro ---------- */

.intro {
  display: none;
}

.js .intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
}

.is-ready .intro {
  opacity: 0;
  visibility: hidden;
}

.intro__inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  transition: transform 1.2s var(--ease);
}

.is-ready .intro__inner {
  transform: scale(1.4);
}

.intro__mark {
  width: 46px;
  height: 46px;
  overflow: visible;
  animation: breathe 1.8s ease-in-out infinite;
}

.intro__bar {
  position: relative;
  width: 120px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.intro__bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  animation: load 1.3s var(--ease-io) infinite;
}

@keyframes load {
  to { transform: translateX(100%); }
}

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

/* ---------- Barra superior ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--gutter) * 0.8 + env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  overflow: visible;
  transition: transform 0.8s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-12deg) scale(1.08);
}

.brand__name {
  font: 700 0.64rem/1 var(--display);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.4s;
}

.brand:hover .brand__name {
  color: var(--fg);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--fg-2);
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgb(74 222 128 / 0); }
}

/* ---------- Layout ---------- */

.layout {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 29vw, 420px);
  grid-template-rows: minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 96px);
  padding: var(--top) var(--gutter) var(--bottom);
  pointer-events: none;
}

.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.stage__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--fg-4);
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.6s;
}

.is-ready .stage__corner {
  opacity: 0.8;
}

.stage__corner:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.stage__corner:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.stage__corner:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.stage__corner:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.stage__hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font: 400 0.64rem/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--fg-4);
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.8s;
  font-variant-numeric: tabular-nums;
}

.stage__hud b {
  font-weight: 400;
  color: var(--fg-3);
}

.is-ready .stage__hud {
  opacity: 1;
}

.panels {
  display: grid;
  align-self: center;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  margin: -8px -6px;
  padding: 8px 6px 28px;
  overflow: hidden auto;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
  overscroll-behavior: contain;
  scrollbar-width: none;
  pointer-events: auto;
}

.panels::-webkit-scrollbar {
  display: none;
}

.panel {
  grid-area: 1 / 1;
  min-width: 0;
  outline: none;
}

.js .panel {
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}

.js .panel.is-active {
  visibility: visible;
  transition: none;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.js.is-ready .panel.is-active .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 280ms);
}

/* ---------- Tipografía de paneles ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font: 700 0.56rem/1 var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
}

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

.eyebrow__line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.panel__title {
  margin-bottom: 20px;
  font: 700 clamp(1.3rem, 1.9vw, 2rem)/1.15 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #fff 35%, var(--accent) 78%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glyph {
  color: var(--accent);
  opacity: 0.75;
}

.glyph--dim {
  opacity: 0.25;
}

.panel__lead {
  max-width: 40ch;
  font-size: clamp(0.95rem, 1.02vw, 1.04rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-2);
}

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.meta::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- Chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips--roles {
  margin-top: 26px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.015);
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--fg-2);
  transition: color 0.35s, border-color 0.35s, background-color 0.35s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.chip:hover,
.chip:focus-visible,
.chip.is-on {
  color: #fff;
  border-color: var(--accent-mid);
  background: var(--accent-soft);
  box-shadow: 0 0 26px -8px var(--accent);
  transform: translateY(-1px);
}

.chip--accent {
  color: #fff;
  border-color: var(--accent-mid);
  background: linear-gradient(110deg, var(--accent-soft), transparent);
}

/* ---------- Botones ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.5s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.5s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  color: #0a0a12;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 40px -14px var(--accent);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn--primary:hover {
  box-shadow: 0 14px 50px -10px var(--accent);
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.02);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--fg-3);
  background: rgb(255 255 255 / 0.06);
}

.btn.is-done {
  border-color: rgb(74 222 128 / 0.6);
  color: #86efac;
}

/* ---------- Trabajos ---------- */

.works {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.work {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: padding 0.6s var(--ease);
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent 75%);
  opacity: 0;
  transition: opacity 0.45s;
}

.work:hover,
.work:focus-visible,
.work.is-on {
  padding-left: 14px;
}

.work:hover::before,
.work:focus-visible::before,
.work.is-on::before {
  opacity: 1;
}

.work > * {
  position: relative;
}

.work__num {
  font: 700 0.56rem/1 var(--display);
  letter-spacing: 0.2em;
  color: var(--fg-4);
  transition: color 0.4s;
}

.work__title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

.work__desc {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--fg-3);
}

.work__dot {
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--fg-4);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.6s var(--ease);
}

.work:hover .work__num,
.work:focus-visible .work__num,
.work.is-on .work__num {
  color: var(--accent);
}

.work:hover .work__dot,
.work:focus-visible .work__dot,
.work.is-on .work__dot {
  background: var(--accent);
  box-shadow: 0 0 14px 3px var(--accent-mid);
  transform: scale(1.35);
}

/* ---------- Capacidades ---------- */

.skills {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.skills__label {
  margin-bottom: 10px;
  font: 700 0.52rem/1 var(--display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* ---------- Contacto ---------- */

.mail {
  display: block;
  margin-top: 28px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mail__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.mail__address {
  position: relative;
  display: inline-block;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mail__address::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}

.mail:hover .mail__address::after,
.mail:focus-visible .mail__address::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Navegación ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(var(--gutter) * 0.8 + env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateX(-50%);
}

.js .dock,
.js .topbar,
.js .foot {
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.5s, transform 1.2s var(--ease) 0.5s;
}

.js .dock {
  transform: translate(-50%, 16px);
}

.js .topbar {
  transform: translateY(-12px);
}

.js.is-ready .dock,
.js.is-ready .topbar,
.js.is-ready .foot {
  opacity: 1;
}

.js.is-ready .dock {
  transform: translate(-50%, 0);
}

.js.is-ready .topbar {
  transform: none;
}

.tabs {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.05);
}

.tabs__indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border: 1px solid var(--accent-mid);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02));
  box-shadow: 0 0 28px -6px var(--accent), inset 0 0 14px -6px var(--accent);
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}

.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 0.56rem/1 var(--display);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg-3);
  transition: color 0.4s;
}

.tab:hover {
  color: var(--fg);
}

.tab[aria-selected="true"] {
  color: #fff;
}

.tab__num {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  transition: color 0.4s;
}

.tab[aria-selected="true"] .tab__num {
  color: var(--accent);
}

/* ---------- Pie ---------- */

.foot {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--gutter) * 0.8 + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--fg-4);
  pointer-events: none;
}

.foot__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 1.2s var(--ease);
}

.foot__hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: breathe 2s ease-in-out infinite;
}

.foot__hint.is-hidden {
  opacity: 0;
}

/* ---------- Cursor ---------- */

.cursor {
  display: none;
}

.has-cursor .cursor {
  display: block;
}

.has-cursor,
.has-cursor * {
  cursor: none !important;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgb(255 255 255 / 0.6);
  transition: opacity 0.3s;
}

.cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
}

.cursor__ring i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-mid);
  border-radius: 50%;
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s, opacity 0.3s;
}

.cursor.is-hover .cursor__ring i {
  transform: scale(1.55);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cursor.is-hover .cursor__dot {
  opacity: 0;
}

.cursor.is-down .cursor__ring i {
  transform: scale(0.7);
}

.cursor.is-out .cursor__ring,
.cursor.is-out .cursor__dot {
  opacity: 0;
}

/* ---------- Página 404 ---------- */

.lost {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 32px;
  padding: var(--top) var(--gutter) calc(var(--gutter) * 1.6 + env(safe-area-inset-bottom));
  pointer-events: none;
}

.lost__copy {
  display: grid;
  justify-items: center;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
}

.lost__copy .eyebrow {
  justify-content: center;
}

.lost__copy .actions {
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .foot {
    display: none;
  }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) {
  .layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .tab {
    padding: 0 16px;
  }
}

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  :root {
    --top: calc(64px + env(safe-area-inset-top));
    --bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(140px, 36%) minmax(0, 1fr);
    row-gap: 22px;
  }

  .panels {
    align-self: stretch;
  }

  .stage__hud {
    display: none;
  }

  .foot {
    display: flex;
    left: 0;
    right: 0;
    bottom: calc(76px + env(safe-area-inset-bottom));
    justify-content: center;
    height: auto;
  }

  .foot__copy {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .brand__name {
    font-size: 0.56rem;
    letter-spacing: 0.34em;
  }

  .status {
    padding: 7px 12px 7px 11px;
    font-size: 0.66rem;
  }

  .status__long {
    display: none;
  }

  .stage__corner {
    width: 10px;
    height: 10px;
  }

  .dock {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .js .dock {
    transform: translateY(16px);
  }

  .js.is-ready .dock {
    transform: none;
  }

  .tabs {
    justify-content: space-between;
  }

  .tab {
    flex: 1;
    justify-content: center;
    height: 44px;
    padding: 0 4px;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }

  .tab__num {
    display: none;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .panel__title {
    margin-bottom: 14px;
    font-size: 1.2rem;
  }

  .panel__lead {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .chips--roles,
  .works,
  .skills,
  .mail {
    margin-top: 20px;
  }

  .actions {
    margin-top: 22px;
  }

  .btn {
    height: 44px;
    padding: 0 18px;
  }

  .work {
    padding: 12px 4px;
  }

  .meta {
    margin-top: 20px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  :root {
    --top: calc(56px + env(safe-area-inset-top));
    --bottom: calc(80px + env(safe-area-inset-bottom));
    --gutter: 18px;
  }

  .stage__hud,
  .foot {
    display: none;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .panel__title {
    margin-bottom: 10px;
  }

  .tab {
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
