@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Pedro Viriato Vasconcelos — Portfolio Stylesheet
   Contemporary Swiss & Editorial Minimalist Design
   Borderless & Pure Whitespace
   Typography: Inter across entire website
   ========================================================================== */

:root {
  --bg-color: #ffffff;
  --text-main: #0a0a0a;
  --text-muted: #737373;
  --text-faint: #a3a3a3;
  --surface-subtle: #f5f5f4;
  --surface-image-placeholder: #eae9e6;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --color-orange: #ff4d00;
  
  --font-sans: 'Inter', sans-serif;
  
  --header-height: 60px;
  --transition-smooth: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Font Enforcement */
html,
body,
header,
nav,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
textarea,
select,
[role="button"],
.project-title,
.project-meta,
.about-small-text,
.about-email-link,
.nav-link,
.brand-link,
.modal-title,
.modal-meta,
.modal-description,
.modal-spec-label,
.modal-spec-value,
.site-footer {
  font-family: 'Inter', sans-serif;
}

/* Custom Minimal Orange Circular Cursor matching the favicon */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor [role="button"],
  html.has-custom-cursor .project-item,
  html.has-custom-cursor .project-close-btn,
  html.has-custom-cursor .project-action-btn {
    cursor: none;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--color-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: width 200ms cubic-bezier(0.16, 1, 0.3, 1),
              height 200ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 200ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, width, height, opacity;
}

.custom-cursor.visible {
  opacity: 1;
}

.custom-cursor.hovering {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 77, 0, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 77, 0, 0.35);
}

.custom-cursor.active {
  transform: translate3d(-50%, -50%, 0) scale(0.75);
}

@media (hover: none) or (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
  body, a, button, [role="button"] {
    cursor: auto !important;
  }
}

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

html {
  font-size: 14px;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-smooth);
}

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

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

/* ==========================================================================
   Header Navigation (No border line)
   ========================================================================== */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--header-height);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  /* Removed border line */
  border-bottom: none;
  font-size: 0.92rem;
  box-sizing: border-box;
  transform: none !important;
}

.header-left .brand-link {
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.header-center {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.01em;
}

.header-center .nav-link {
  color: var(--text-main);
  position: relative;
  padding-bottom: 2px;
  cursor: pointer;
}

.header-center .nav-link.active {
  border-bottom: 1px solid var(--text-main);
}

.header-center .nav-separator {
  color: var(--text-main);
  user-select: none;
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */

.main-content {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-view {
  width: 100%;
}

/* ==========================================================================
   Editorial Intro (Generous Space Below Header)
   ========================================================================== */

.editorial-intro {
  margin-top: clamp(6.5rem, 13vh, 9.5rem);
  margin-bottom: clamp(2.5rem, 4.5vh, 3.75rem);
  display: flex;
  justify-content: center;
}

.intro-text {
  max-width: 500px;
  text-align: left;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.52;
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: -0.015em;
  padding: 0 0.5rem;
}

/* ==========================================================================
   Work Section — Dynamic Editorial Asymmetric Grid
   Non-linear rhythm, varied thumbnail sizes, 16:9 H & V ratios
   ========================================================================== */

.work-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.project-row {
  display: flex;
  margin-bottom: clamp(2.5rem, 4vh, 4rem);
}

/* Row 1: Kokima (16:9 Horizontal, 58%) + Modus (9:16 Vertical, 28%, offset bottom) */
.row-kokima-modus {
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.row-kokima-modus .item-kokima {
  flex: 0 0 58%;
  max-width: 58%;
}

.row-kokima-modus .item-modus {
  flex: 0 0 28%;
  max-width: 28%;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.5rem);
}

/* Row 2: Bench (9:16 Vertical, 24%, offset top) + Table (16:9 Horizontal, 62%) */
.row-bench-table {
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
}

.row-bench-table .item-bench {
  flex: 0 0 24%;
  max-width: 24%;
  margin-top: clamp(1rem, 2vh, 2rem);
}

.row-bench-table .item-table {
  flex: 0 0 62%;
  max-width: 62%;
}

/* Row 3: Cardbot (16:9 Horizontal, 44%) + Glow and Go (9:16 Vertical, 32%, offset top) */
.row-cardbot-glow {
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
}

.row-cardbot-glow .item-cardbot {
  flex: 0 0 46%;
  max-width: 46%;
}

.row-cardbot-glow .item-glow {
  flex: 0 0 30%;
  max-width: 30%;
  margin-top: clamp(1.5rem, 3vh, 3rem);
}

/* Row 4: Symposium (16:9 Horizontal, 72%, offset right) */
.row-symposium {
  justify-content: flex-end;
  padding-right: clamp(0.5rem, 2vw, 2rem);
}

.row-symposium .item-symposium {
  flex: 0 0 68%;
  max-width: 68%;
}

/* Fallback legacy row layouts */
.project-row.layout-compact-wide .project-item.item-compact {
  flex: 0 0 38%;
  max-width: 38%;
}

.project-row.layout-compact-wide .project-item.item-wide {
  flex: 0 0 calc(62% - 3.5rem);
  max-width: calc(62% - 3.5rem);
}

.project-row.layout-wide-compact .project-item.item-wide {
  flex: 0 0 calc(62% - 3.5rem);
  max-width: calc(62% - 3.5rem);
}

.project-row.layout-wide-compact .project-item.item-compact {
  flex: 0 0 38%;
  max-width: 38%;
}

.project-row.layout-feature-offset {
  justify-content: flex-end;
}

.project-row.layout-feature-offset .project-item.item-feature {
  flex: 0 0 74%;
  max-width: 74%;
}

/* Project Item Structure */

.project-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.project-visual-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--surface-image-placeholder);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

/* User-Requested Ratios: 16:9 Horizontal and 3:4 Vertical (4:3 Portrait) */
.aspect-16-9-h,
.aspect-horizontal {
  aspect-ratio: 16 / 9;
}

.aspect-16-9-v,
.aspect-4-3-v,
.aspect-vertical {
  aspect-ratio: 3 / 4;
}

/* Backward-Compatible Ratio Mappings */
.aspect-classic,
.aspect-cinematic,
.aspect-panoramic,
.aspect-landscape,
.aspect-compact {
  aspect-ratio: 16 / 9;
}

.aspect-portrait,
.aspect-square,
.aspect-portrait-tall {
  aspect-ratio: 3 / 4;
}

.project-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-smooth);
}

.project-item:hover .project-image {
  transform: scale(1.018);
}

.project-placeholder-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  color: transparent;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-placeholder-fallback {
  transform: scale(1.018);
}

/* Project Caption / Metadata (Directly below image) */
.project-caption {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: opacity var(--transition-smooth);
}

.project-title {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.project-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.project-item:hover .project-caption {
  opacity: 0.75;
}

/* ==========================================================================
   About Page View (Only Small Text on Left, Animated Visual without Background on Right)
   ========================================================================== */

.about-page-layout {
  width: 100%;
  margin-top: clamp(7rem, 14vw, 13rem);
  padding-bottom: clamp(6rem, 12vw, 12rem);
}

.about-split-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3rem, 6vw, 6rem);
}

.about-left-text {
  flex: 0 0 420px;
  max-width: 420px;
}

.about-small-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-main);
  letter-spacing: -0.012em;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.about-small-contact {
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-email-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.about-email-link:hover {
  color: var(--text-main);
}

.about-right-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.about-gif-wrapper {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.about-animated-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none;
  outline: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform var(--transition-smooth);
}

.about-animated-image:hover {
  transform: scale(1.03);
}

.about-canvas-wrapper {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.about-canvas {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: transparent !important;
  display: block;
  cursor: grab;
  touch-action: none;
  outline: none;
  user-select: none;
}

.about-canvas:active {
  cursor: grabbing;
}

/* ==========================================================================
   About 3 Pictures Stage (Distinct spots, dimensions & aspect ratios; 5s auto-change)
   ========================================================================== */

.about-visual-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-card {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.12);
}

.about-photo-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 5;
}

/* Card 1: Creative Portrait (Wide 16:9, offset upper right, large footprint) */
.about-photo-card.card-1 {
  width: 100%;
  max-width: 510px;
  top: 15px;
  right: 0;
}

.about-photo-card.card-1 .about-photo-wrapper.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

/* Card 2: Product Development (Vertical 3:4 portrait, centered, tall footprint) */
.about-photo-card.card-2 {
  width: 100%;
  max-width: 330px;
  top: 0;
  right: 65px;
}

.about-photo-card.card-2 .about-photo-wrapper.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Card 3: Material Macro (Medium 4:3 landscape, offset lower left, compact footprint) */
.about-photo-card.card-3 {
  width: 100%;
  max-width: 420px;
  bottom: 15px;
  right: 40px;
}

.about-photo-card.card-3 .about-photo-wrapper.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.about-photo-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--surface-image-placeholder);
  overflow: hidden;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-card:hover .about-photo-img {
  transform: scale(1.02);
}

/* ==========================================================================
   Footer (No border line, no back to top)
   ========================================================================== */

.site-footer {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  /* Removed border line */
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.footer-icon-link svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-icon-link:hover {
  opacity: 0.45;
  transform: translateY(-1px);
}

/* ==========================================================================
   Project Detail Lightbox / Modal (Borderless & Minimal)
   ========================================================================== */

/* ==========================================================================
   Project Detail Modal (Vertical Stack — nunomartins style)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 280ms;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 6.5rem 2.5rem 5rem;
  display: block;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

header:nth-of-type(1) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.modal-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem max(2.5rem, calc((100vw - 1060px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  transform: none !important;
}

.modal-title-group,
.project-title-group,
.project-intro-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-intro-header {
  margin-bottom: 2.75rem;
}

.modal-title,
.project-page-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-main);
}

.modal-meta,
.project-page-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.modal-close-btn,
.project-close-btn,
.project-action-btn {
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity var(--transition-smooth);
}

.modal-close-btn:hover,
.project-close-btn:hover,
.project-action-btn:hover {
  opacity: 0.45;
}

/* Vertical 6 Images Stack (nunomartins style) */
.modal-images-stack,
.project-images-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

.modal-image-item,
.project-image-item {
  width: 100%;
  background-color: var(--surface-image-placeholder);
  border-radius: 2px;
  overflow: hidden;
}

.modal-image-item img,
.project-image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* After the images: Just the editorial text */
.modal-body-simple,
.project-body-simple {
  width: 100%;
  max-width: 820px;
  padding-bottom: 4rem;
}

.modal-description,
.project-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.modal-footer-action,
.project-footer-action {
  margin-top: 3rem;
  display: flex;
  align-items: center;
}

.project-page-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 4.5rem) 2.5rem 5rem;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Subtle Fade-in Reveal
   ========================================================================== */

.fade-in-target {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .site-header {
    padding: 0 1.5rem;
  }
  
  .main-content {
    padding: 0 1.5rem;
  }

  .site-footer {
    padding: 2.5rem 1.5rem;
  }

  .editorial-intro {
    margin-top: clamp(4rem, 7vh, 5.5rem);
    margin-bottom: clamp(1.75rem, 3vh, 2.5rem);
  }

  .project-row {
    gap: 1.75rem;
    margin-bottom: clamp(2rem, 3.5vh, 3rem);
  }

  .row-kokima-modus .item-kokima {
    flex: 0 0 58%;
    max-width: 58%;
  }

  .row-kokima-modus .item-modus {
    flex: 0 0 32%;
    max-width: 32%;
  }

  .row-bench-table .item-bench {
    flex: 0 0 28%;
    max-width: 28%;
  }

  .row-bench-table .item-table {
    flex: 0 0 62%;
    max-width: 62%;
  }

  .row-cardbot-glow .item-cardbot {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 0.75rem;
  }

  .row-cardbot-glow .item-glow {
    flex: 0 0 38%;
    max-width: 38%;
  }

  .row-symposium .item-symposium {
    flex: 0 0 78%;
    max-width: 78%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 52px;
  }

  .site-header {
    padding: 0 1.25rem;
    font-size: 0.88rem;
  }

  .main-content {
    padding: 0 1.25rem;
  }

  .editorial-intro {
    margin-top: 4.5rem;
    margin-bottom: 2.25rem;
  }

  .intro-text {
    font-size: 0.95rem;
    padding: 0;
  }

  /* Single Column Stack on Mobile with Generous Spacing */
  .project-row {
    flex-direction: column !important;
    gap: 2.5rem;
    margin-bottom: 2.75rem;
  }

  .project-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }

  .about-page-layout {
    margin-top: 6rem;
  }

  .about-split-container {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .about-left-text {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-gif-wrapper,
  .about-canvas-wrapper {
    max-width: 280px;
  }

  .about-animated-image {
    max-width: 260px;
  }

  .modal-backdrop {
    padding: 5.5rem 1.25rem 3.5rem;
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .project-page-container {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .project-intro-header {
    margin-bottom: 1.75rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-images-stack {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .modal-description {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1.25rem;
  }
}



@media (max-width: 768px) {
  .about-right-visual {
    display: flex;
    width: 100%;
    min-width: 0;
    flex: none;
    justify-content: center;
    overflow: hidden;
    margin-top: 24px;
  }

  .about-visual-stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .about-photo-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    opacity: 0;
  }

  .about-photo-card.is-active {
    opacity: 1;
    z-index: 2;
  }

  .about-photo-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .about-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


