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

:root {
  --color-bg: #fff;
  --color-bg-alt: #f7f7f7;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-accent: #e31c23;
  --color-accent-dark: #c4181e;
  --color-accent-light: rgba(227, 28, 35, 0.06);
  --color-border: #e8e8e8;
  --font-sans: "Montserrat", "Noto Sans JP", sans-serif;
  --max-width: 960px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-text);
}

/* ========================================
   Scroll reveal
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}


.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  position: relative;
  padding: 12px 8px;
  margin: -12px -8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 8px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s var(--ease-out-expo), background 0.3s;
  pointer-events: none;
}

.nav-links a:hover::after {
  width: calc(100% - 16px);
}

.nav-links a:hover {
  color: #fff;
}

.header.is-scrolled .nav-links a {
  color: var(--color-text-muted);
}

.header.is-scrolled .nav-links a::after {
  background: var(--color-text);
}

.header.is-scrolled .nav-links a:hover {
  color: var(--color-text);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-top {
  background: var(--color-accent);
  padding: 160px 0 80px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-catch {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s 0.2s var(--ease-out-expo) forwards;
}

.accent {
  color: #fff;
  position: relative;
}

.accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background: #ffe600;
  z-index: -1;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.8s 0.5s var(--ease-out-expo) forwards;
}

.hero-avatar {
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.8s 0.4s var(--ease-out-expo) forwards;
}

.hero-avatar {
  text-align: center;
}

.hero-avatar img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.hero-avatar-name {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-avatar-role {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.hero-bottom {
  padding: 48px 0 96px;
  background: var(--color-bg);
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 16px;
  margin-bottom: 28px;
}

/* ========================================
   About
   ======================================== */
.about-intro {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 14px;
  line-height: 2.1;
  text-align: left;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  text-align: left;
  max-width: 600px;
  margin: 56px auto 0;
  scroll-margin-top: 80px;
}

.about-block h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--color-text);
  line-height: 1.3;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-left: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--color-border);
  border-radius: 50%;
}

.timeline-item dt {
  flex-shrink: 0;
  width: 80px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.timeline-item dd {
  font-size: 14px;
  color: var(--color-text-muted);
}

.timeline-item dd small {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
  margin-top: 2px;
  opacity: 0.8;
}

/* Skills */
.skill-group {
  margin-bottom: 16px;
  padding-left: 16px;
  position: relative;
}

.skill-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--color-border);
  border-radius: 50%;
}

.skill-group h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text);
}

.skill-group p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* About block text */
.about-block > p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 2;
}

/* Info list (取引形態) */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list > div {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.info-list dt {
  flex-shrink: 0;
  width: 90px;
  font-weight: 700;
  color: var(--color-text);
  font-size: 13px;
}

.info-list dd {
  color: var(--color-text-muted);
}

/* ========================================
   Works Gate
   ======================================== */
.works-gate {
  text-align: center;
  padding: 60px 0;
}

.works-gate > p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.works-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.works-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.works-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.works-error {
  color: var(--color-accent);
  font-size: 13px;
  margin-top: 12px;
}

/* Gate transitions */
.works-gate.is-leaving {
  animation: gateFadeOut 0.5s var(--ease-out-expo) forwards;
}

.works-gate.is-error {
  animation: gateShake 0.4s ease-in-out;
}

.works-form.is-loading .btn {
  pointer-events: none;
  opacity: 0.5;
}

.works-form.is-loading .btn::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes gateFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

/* ========================================
   Button
   ======================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-text);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* ========================================
   Works Grid
   ======================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  animation: worksReveal 0.6s ease-out both;
}

.work-card,
.work-card * {
  cursor: pointer;
}

.work-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
  opacity: 0;
  animation: cardSlideUp 0.5s var(--ease-out-expo) forwards;
}

.work-card:nth-child(1) { animation-delay: 0.15s; }
.work-card:nth-child(2) { animation-delay: 0.3s; }
.work-card:nth-child(3) { animation-delay: 0.45s; }
.work-card:nth-child(4) { animation-delay: 0.6s; }
.work-card:nth-child(5) { animation-delay: 0.75s; }
.work-card:nth-child(6) { animation-delay: 0.9s; }

.work-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

@keyframes worksReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.work-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.work-card-thumb[style] {
  background-size: cover;
  background-position: center;
  background-color: #eee;
}

.work-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card-body {
  padding: 20px;
}

.work-card-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.work-card-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.work-card-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.tag--more {
  background: var(--color-bg-alt);
  border-color: transparent;
  font-weight: 600;
  color: var(--color-text);
}

.work-card:hover .tag {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* ========================================
   Modal
   ======================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-backdrop.is-visible {
  display: block;
  animation: modalOverlayIn 0.3s ease-out forwards;
}

.modal-backdrop.is-leaving {
  animation: modalOverlayOut 0.3s ease-in forwards;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.modal.is-open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 680px;
  width: calc(100% - 48px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  pointer-events: auto;
  animation: modalSlideIn 0.4s var(--ease-out-expo);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal.is-closing .modal-content {
  animation: modalSlideOut 0.25s ease-in forwards;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 10;
  pointer-events: auto;
  width: 40px;
  height: 40px;
  margin: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.modal-media {
  margin-top: -40px;
}

.modal-media img,
.modal-media video {
  width: 100%;
  display: block;
  border-radius: 14px 14px 0 0;
}

.modal-media img + img,
.modal-media img + video,
.modal-media video + img,
.modal-media video + video {
  border-radius: 0;
}

.modal-body {
  padding: 28px 32px 36px;
}

.modal-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.modal-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-info > div {
  display: flex;
  gap: 16px;
}

.modal-info dt {
  flex-shrink: 0;
  width: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  padding-top: 3px;
}

.modal-info dd {
  font-size: 14px;
  line-height: 1.8;
}

.modal-info dd a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.modal-info dd a:hover {
  opacity: 0.7;
}

/* Modal nav */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: auto;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modal-prev {
  left: 16px;
}

.modal-next {
  right: 16px;
}

@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}

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

@keyframes modalOverlayOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ========================================
   Contact
   ======================================== */
.section--dark {
  background: #f0f0f0;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.section--dark .section-title {
  color: var(--color-text);
}

.section--dark .section-title::after {
  background: var(--color-accent);
}

.contact-lead {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 2;
}

.contact-fields-count {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-bottom: 32px;
}

.required {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

.contact-form {
  max-width: 520px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  border: 2px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-group textarea {
  resize: vertical;
}

.btn--large {
  padding: 16px 52px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

/* Confirm page */
.confirm-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: 8px;
}

.confirm-list > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.confirm-list dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.confirm-list dd {
  font-size: 15px;
  line-height: 1.8;
}

.confirm-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-back {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--color-text);
}

.contact-sub {
  margin-top: 36px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.contact-sub a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.contact-sub a:hover {
  opacity: 0.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  display: flex;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-links img {
  display: block;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-block:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .nav-links {
    display: none;
  }


  .hero-top {
    padding: 120px 0 48px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-avatar img {
    width: 120px;
    height: 120px;
  }

  .hero-desc br {
    display: none;
  }


  .section {
    padding: 64px 0;
  }

  .works-form {
    flex-direction: column;
  }

  .modal-content {
    width: calc(100% - 24px);
    max-height: calc(100vh - 40px);
    border-radius: 10px;
  }

  .modal-media img,
  .modal-media video {
    border-radius: 10px 10px 0 0;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-info > div {
    flex-direction: column;
    gap: 2px;
  }

  .modal-info dt {
    width: auto;
  }

  .modal-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .modal-nav:hover {
    transform: scale(1.08);
  }

  .modal-prev {
    left: auto;
    right: 72px;
  }

  .modal-next {
    right: 20px;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-catch,
  .hero-desc,
  .hero-avatar {
    opacity: 1;
    transform: none;
  }
}
