/* ============================================
   PORTFOLIO — STYLES
   Refined editorial minimalism
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-bg: #F5F3EF;
  --color-bg-alpha: rgba(245, 243, 239, 0.88);
  --color-text: #1A1A1A;
  --color-text-secondary: #6B6560;
  --color-text-tertiary: #9A948D;
  --color-border: #DDD8D0;
  --color-border-light: #EAE7E2;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter Tight', 'Helvetica Neue', sans-serif;

  --topbar-h: 60px;
  --grid-gap: 20px;
  --section-pad: 120px;
  --side-pad: max(24px, 5vw);

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --transition-normal: 300ms var(--ease-out);
  --transition-slow: 400ms var(--ease-in-out);
}

@media (max-width: 639px) {
  :root {
    --topbar-h: 48px;
    --section-pad: 72px;
    --side-pad: 20px;
    --grid-gap: 16px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

/* Focus states */
:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* --- Section heading shared style --- */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

/* --- Reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery items: fade in + lift */
.reveal-gallery {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal-gallery.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* About portrait: scale up from slight zoom */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal-zoom.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Heading: subtle clip reveal */
.reveal-heading {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.reveal-heading.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax image inside gallery cards */
.works__item-media img {
  transition: transform 300ms var(--ease-out);
}

.works__item[data-parallax] .works__item-media img {
  will-change: transform;
}


/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(var(--topbar-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--color-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-light);
  transition: transform var(--transition-normal);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--side-pad);
  max-width: 1600px;
  margin: 0 auto;
}

.top-bar__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-bar__nav {
  display: flex;
  gap: 32px;
}

.top-bar__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--transition-normal);
  position: relative;
}

.top-bar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width var(--transition-normal);
}

.top-bar__link:hover,
.top-bar__link--active {
  color: var(--color-text);
}

.top-bar__link:hover::after,
.top-bar__link--active::after {
  width: 100%;
}

/* Hamburger */
.top-bar__menu-btn {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.top-bar__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.top-bar__menu-btn span:first-child { top: 4px; }
.top-bar__menu-btn span:last-child { top: 14px; }

.top-bar__menu-btn.active span:first-child {
  transform: translateY(5px) rotate(45deg);
}
.top-bar__menu-btn.active span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .top-bar__nav { display: none; }
  .top-bar__menu-btn { display: block; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav__link {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
}


/* ============================================
   WORKS GALLERY
   ============================================ */
.works {
  padding-top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
  padding-bottom: var(--section-pad);
  max-width: 1600px;
  margin: 0 auto;
}

/* Grid */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

@media (max-width: 1023px) and (min-width: 640px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .works__grid { grid-template-columns: 1fr; }
}

.works__item {
  cursor: pointer;
  overflow: hidden;
}

.works__item-media {
  position: relative;
  overflow: hidden;
  background: var(--color-border-light);
  aspect-ratio: 3 / 4;
}

.works__item-media img,
.works__item-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Video hold hints */
.works__item-media .video-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.works__item-media .video-hint--left {
  left: 10px;
}

.works__item-media .video-hint--right {
  right: 10px;
}

.works__item-media .video-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.works__item:hover .works__item-media img,
.works__item:hover .works__item-media video {
  transform: translateY(0) scale(1.05) !important;
}

.works__item:hover .works__item-media {
  box-shadow: none;
}

.works__item-info {
  padding: 14px 4px 20px;
}

.works__item-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2px;
  color: var(--color-text);
}

.works__item-info-text {
  flex: 1;
  min-width: 0;
}

.works__item-arrow {
  display: none;
}

@media (hover: none) {
  .works__item-info {
    display: flex;
    align-items: center;
  }

  .works__item-arrow {
    display: block;
    font-size: 18px;
    color: var(--color-text-tertiary);
    flex-shrink: 0;
    padding: 4px 0 4px 12px;
  }
}

.works__item-meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
}

/* Load more */
.works__load-more-wrap {
  text-align: center;
  padding-top: 40px;
}

.works__load-more {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 40px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: background var(--transition-normal), color var(--transition-normal);
}

.works__load-more:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(245, 243, 239, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  transition: background 400ms ease, backdrop-filter 400ms ease, -webkit-backdrop-filter 400ms ease, visibility 0s 400ms;
}

.lightbox.open {
  visibility: visible;
  background: rgba(245, 243, 239, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 400ms ease, backdrop-filter 400ms ease, -webkit-backdrop-filter 400ms ease, visibility 0s 0s;
}

.lightbox__close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: 40px;
  z-index: 210;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--color-text-secondary);
  padding: 0;
  transition: color 200ms ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

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

.lightbox__content {
  display: flex;
  width: 90vw;
  max-width: 1400px;
  height: 85vh;
  gap: 40px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 400ms ease 100ms, transform 400ms ease 100ms;
}

.lightbox.open .lightbox__content {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 900px) {
  .lightbox {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .lightbox__close {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 16px;
  }

  .lightbox__content {
    flex-direction: column;
    width: 100vw;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 0;
    overflow-x: hidden;
  }

  .lightbox__media img.sliding {
    transition: opacity 300ms var(--ease-out);
    transform: none !important;
  }
}

.lightbox__media-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox__media-container {
  position: relative;
  display: inline-flex;
}

.lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__media img,
.lightbox__media video {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
}

/* Slide animation only when navigating between photos */
.lightbox__media img.sliding {
  opacity: 0;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.lightbox__media img.sliding.loaded {
  opacity: 1;
  transform: translateX(0);
}

.lightbox__media-nav {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 8px;
  justify-content: center;
}

.lightbox__media-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition-normal);
  flex-shrink: 0;
  aspect-ratio: 1;
}

.lightbox__media-dot.active {
  background: var(--color-text);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 243, 239, 0.7);
  color: var(--color-text-secondary);
  transition: color 200ms ease, background 200ms ease, transform 150ms ease;
  z-index: 5;
}

.lightbox__arrow:hover {
  color: var(--color-text);
  background: rgba(245, 243, 239, 0.95);
}

.lightbox__arrow:active {
  transform: translateY(-50%) scale(0.85);
}

.lightbox__arrow--prev { left: -56px; }
.lightbox__arrow--next { right: -56px; }

.lightbox__info {
  width: 320px;
  flex-shrink: 0;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.lightbox.open .lightbox__info {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .lightbox__info {
    width: 100%;
    flex: 1;
    padding: 16px 20px 32px;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

.lightbox__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.25;
}

.lightbox__meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lightbox__description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.lightbox__availability {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
}


/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid var(--color-border-light);
}

.process__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process__intro {
  max-width: 720px;
  margin-bottom: 64px;
}

.process__intro p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Process Gallery — asymmetric grid */
.process__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .process__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process__gallery {
    grid-template-columns: 1fr;
  }
}

.process__gallery-item {
  overflow: hidden;
  border-radius: 2px;
}

.process__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process__gallery-item--tall {
  grid-row: span 2;
}

.process__gallery-item--wide {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .process__gallery-item--tall { grid-row: span 1; }
  .process__gallery-item--wide { grid-column: span 1; }
}

/* Evolution strip */
.process__evolution {
  margin-bottom: 80px;
}

.process__evolution-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.process__evolution-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.process__evolution-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.process__evolution-stage {
  flex: 0 0 180px;
  scroll-snap-align: start;
}

.process__evolution-stage img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
}

.process__evolution-stage figcaption {
  font-size: 12px;
  color: var(--color-text-tertiary);
  text-align: center;
}

/* Process video */
.process__video-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
}

.process__video-wrap {
  max-width: 900px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-border-light);
  aspect-ratio: 16 / 9;
}

.process__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid var(--color-border-light);
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.about__pullquote {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--color-border);
}

.about__pullquote p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}

.about__portrait figure {
  border-radius: 2px;
  overflow: hidden;
}

.about__portrait img {
  width: 100%;
}


/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
}

.contact__inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact__email {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  margin-bottom: 12px;
  transition: color var(--transition-normal);
}

.contact__email:hover {
  color: var(--color-text-secondary);
}

.contact__location {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-bottom: 32px;
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.contact__social-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
  transition: color var(--transition-normal);
  position: relative;
}

.contact__social-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width var(--transition-normal);
}

.contact__social-link:hover {
  color: var(--color-text);
}

.contact__social-link:hover::after {
  width: 100%;
}

.contact__inquiries {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact__inquiry-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-text-secondary);
  transition: background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.contact__inquiry-link:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px var(--side-pad) 40px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer__divider {
  width: 40px;
  height: 1px;
  background: var(--color-border);
  margin: 0 auto 24px;
}

.footer__copy {
  font-size: 12px;
  color: var(--color-text-tertiary);
  letter-spacing: 0.02em;
}


/* ============================================
   MOBILE ADAPTIVE (≤ 639px)
   ============================================ */
@media (max-width: 639px) {

  /* Top bar — compact */
  .top-bar__name {
    font-size: 15px;
  }

  /* Gallery grid — single column, vary aspect ratios for editorial feel */
  .works__item-media {
    aspect-ratio: 4 / 5;
  }

  .works__item--large .works__item-media {
    aspect-ratio: 3 / 4;
  }

  .works__item--small .works__item-media {
    aspect-ratio: 1 / 1;
  }

  .works__item-title {
    font-size: 15px;
  }

  .works__item-meta {
    font-size: 11px;
  }

  /* Load more button */
  .works__load-more {
    width: 100%;
    padding: 14px 20px;
  }

  /* Lightbox — scrollable on mobile, photo near full screen */
  .lightbox__content {
    flex-direction: column;
    width: 100vw;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 0;
    padding: 0;
  }

  .lightbox__media-wrap {
    flex: none;
    width: 100vw;
    height: 70svh;
    padding-top: max(20px, env(safe-area-inset-top, 12px));
    background: var(--color-bg);
  }

  .lightbox__media-container {
    width: 100%;
    height: 100%;
  }

  .lightbox__media {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
  }

  .lightbox__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .lightbox__media video {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .lightbox__info {
    flex: none;
    padding: 20px var(--side-pad) calc(env(safe-area-inset-bottom, 0px) - 80px);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .lightbox__title {
    font-size: 22px;
    word-wrap: break-word;
  }

  .lightbox__detail,
  .lightbox__description {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .lightbox__close {
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: 16px;
  }

  .lightbox__arrow {
    display: none;
  }

  .lightbox__media-nav {
    bottom: 4px;
    gap: 4px;
  }

  .lightbox__media-dot {
    width: 5px;
    height: 5px;
  }

  /* About — tighter spacing */
  .about__content {
    gap: 32px;
  }

  .about__text p {
    font-size: 15px;
  }

  .about__pullquote {
    margin-top: 28px;
    padding-left: 16px;
  }

  .about__pullquote p {
    font-size: 20px;
  }

  /* Section headings */
  .section-heading {
    margin-bottom: 32px;
  }

  /* Contact — stack inquiry links vertically */
  .contact__inquiries {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .contact__inquiry-link {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 20px;
  }

  .contact__social {
    gap: 20px;
    margin-bottom: 32px;
  }

  /* Footer */
  .footer {
    padding: 24px var(--side-pad) 32px;
  }
}

/* ============================================
   TABLET ADAPTIVE (640px – 1023px)
   ============================================ */
@media (max-width: 1023px) and (min-width: 640px) {

  .works__item-media {
    aspect-ratio: 3 / 4;
  }

  .lightbox__content {
    width: 95vw;
    gap: 24px;
  }

  .lightbox__info {
    width: 280px;
  }

  .about__content {
    gap: 48px;
  }
}

/* ============================================
   TOUCH DEVICES — disable hover effects
   ============================================ */
@media (hover: none) {
  .works__item:hover .works__item-media img,
  .works__item:hover .works__item-media video {
    transform: none !important;
  }

  .works__item:hover .works__item-media {
    box-shadow: none;
  }
}
