/* =========================================================================
   Shared page styles: base, light section frame, section tag, scroll reveal
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #050B18; color: #0B1B3F; font-family: 'DM Sans', 'Noto Sans SC', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* Light section (Framer: #F7F7F7, 80px padding, 32px gap, 1280px content) */
.sec { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; padding: 80px; background: #F7F7F7; overflow: visible; }
.sec-inner { position: relative; width: min(1280px, 100%); }

/* "02 · ABOUT ——" tag */
.sec-tag { display: flex; align-items: center; gap: 12px; width: min(1280px, 100%); }
.sec-tag span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #C8A96A; white-space: nowrap; }
.sec-tag i { display: block; width: 40px; height: 1px; background: #C8A96A; }

/* Whole section rises in when it reaches the screen (Framer appear effect) */
.sec-rise { opacity: 0; transform: translateY(48px); transition: opacity .9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.sec-rise.is-in { opacity: 1; transform: none; }

/* Items inside a section: [data-up] rises when the section is shown; delay via --d */
[data-up] { opacity: 0; transform: translateY(30px); transition: opacity .9s ease var(--d, 0s), transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s); }
.is-in [data-up] { opacity: 1; transform: none; }

@media (max-width: 899.98px) { .sec { padding: 64px 24px; gap: 26px; } }
@media (max-width: 639.98px) { .sec { padding: 56px 20px; gap: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .sec-rise, [data-up] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
