/* ==========================================================
   FATIH — PERSONAL PROFILE
   01. DESIGN TOKENS
   Ubah nilai di :root untuk menyesuaikan warna dan ukuran.
   Tidak ada framework, icon library, font eksternal, atau gambar eksternal.
   ========================================================== */
:root {
  color-scheme: dark;
  --bg: #0B0F0E;
  --bg-secondary: #151D19;
  --accent: #408B7B;
  --accent-light: #A7C9BD;
  --text: #EDEEE6;
  --muted: #A8B3AA;
  --faint: #77877F;
  --line: rgba(167, 201, 189, .16);
  --line-strong: rgba(167, 201, 189, .29);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --width: 1160px;
  --header-height: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 02. RESET & ACCESSIBILITY */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 8%, rgba(64,139,123,.075), transparent 34%); }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 5px; }
img, svg { max-width: 100%; }
p, h1, h2, h3, blockquote { margin-top: 0; }
p { margin-bottom: 1.2em; }
.container { width: min(calc(100% - 72px), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 120; padding: 12px 18px; background: var(--accent-light); color: var(--bg); border-radius: 4px; }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 03. HEADER, BRAND, NAVIGATION */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 110; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--accent-light); pointer-events: none; }
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(11,15,14,.88); border-color: var(--line); box-shadow: 0 8px 32px rgba(0,0,0,.08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .87rem; font-weight: 650; letter-spacing: .17em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -.07em; color: var(--accent-light); }
.nav-list { list-style: none; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); padding: 0; margin: 0; }
.nav-list a { position: relative; display: inline-block; padding: 12px 0; font-size: .76rem; font-weight: 550; letter-spacing: .08em; color: var(--muted); transition: color .25s ease; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: var(--accent-light); transition: right .35s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="location"] { color: var(--text); }
.nav-list a:hover::after, .nav-list a[aria-current="location"]::after { right: 0; }
.nav-list .nav-contact { padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--text); }
.nav-list .nav-contact::after { display: none; }
.nav-list .nav-contact:hover { border-color: var(--accent-light); background: rgba(167,201,189,.07); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg-secondary); color: var(--text); cursor: pointer; }
.menu-toggle-lines { display: grid; gap: 5px; }
.menu-toggle-lines span { display: block; width: 19px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 04. SHARED TYPOGRAPHY & BUTTONS */
main { overflow: clip; }
section[id] { scroll-margin-top: var(--header-height); }
.section { padding: clamp(95px, 11vw, 154px) 0; }
.section-kicker { display: inline-flex; align-items: center; gap: 15px; margin: 0 0 24px; text-transform: uppercase; font-size: .68rem; font-weight: 600; letter-spacing: .25em; color: var(--accent-light); }
.section-kicker::before { content: ""; width: 25px; height: 1px; background: var(--accent); }
.section-title { font: 400 clamp(2.7rem, 5.4vw, 4.8rem)/1.09 var(--serif); letter-spacing: -.045em; margin-bottom: 25px; }
.section-title em, .serif-accent { font-style: italic; color: var(--accent-light); }
.section-summary { max-width: 515px; font-size: .99rem; line-height: 1.9; color: var(--muted); }
.text-muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #07110E; font-size: .8rem; font-weight: 750; letter-spacing: .025em; cursor: pointer; transition: transform .3s var(--ease), background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.btn:hover { transform: translateY(-3px); background: var(--accent-light); border-color: var(--accent-light); box-shadow: 0 14px 35px rgba(64,139,123,.12); }
.btn:active { transform: translateY(-1px); }
.arrow { display: inline-block; transition: transform .3s var(--ease); font-size: 1rem; font-weight: 400; }
.btn:hover .arrow, .contact-link.is-linked:hover .arrow { transform: translate(3px, -3px); }

/* 05. HERO — ABSTRACT BOTANICAL STUDY */
.hero { min-height: max(750px, 100svh); display: flex; align-items: center; position: relative; padding: calc(var(--header-height) + 75px) 0 115px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 78% 43%, rgba(44,93,77,.20), transparent 37%), radial-gradient(ellipse at 55% 92%, rgba(64,139,123,.07), transparent 40%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: 30px; }
.hero-copy { position: relative; z-index: 2; padding-top: 20px; }
.hero-eyebrow { margin-bottom: 22px; color: var(--accent-light); font-size: .71rem; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; }
.hero-name { margin: 0 0 23px -7px; font: 400 clamp(6.7rem, 13vw, 11.4rem)/.85 var(--serif); letter-spacing: -.095em; }
.hero-name span { color: var(--accent); }
.hero-line { max-width: 620px; margin-bottom: 19px; font: 400 clamp(1.65rem, 3vw, 2.45rem)/1.28 var(--serif); letter-spacing: -.028em; }
.hero-line em { color: var(--accent-light); font-weight: 400; }
.hero-description { max-width: 465px; margin-bottom: 32px; font-size: .94rem; line-height: 1.95; color: var(--muted); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.hero-note { font-size: .73rem; letter-spacing: .08em; color: var(--faint); }
.hero-art { position: relative; width: min(100%, 560px); aspect-ratio: 1/1.11; justify-self: end; display: grid; place-items: center; transform: translate3d(var(--art-x,0px), var(--art-y,0px), 0); transition: transform .45s ease-out; }
.art-orbit { position: absolute; border: 1px solid rgba(167,201,189,.13); border-radius: 50%; aspect-ratio: 1; }
.art-orbit--outer { width: 91%; }
.art-orbit--middle { width: 74%; border-style: dashed; border-color: rgba(167,201,189,.11); animation: orbit 100s linear infinite; }
.art-orbit--inner { width: 53%; border-color: rgba(167,201,189,.12); }
.art-orbit--outer::before, .art-orbit--outer::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 18px rgba(167,201,189,.55); }
.art-orbit--outer::before { top: 14%; left: 15%; }
.art-orbit--outer::after { right: 13%; bottom: 16%; width: 3px; height: 3px; opacity: .5; }
.botanical { position: relative; z-index: 1; width: 77%; overflow: visible; filter: drop-shadow(0 16px 30px rgba(0,0,0,.13)); }
.art-cross { position: absolute; z-index: 0; background: rgba(167,201,189,.12); }
.art-cross.horizontal { height: 1px; width: 110%; }
.art-cross.vertical { width: 1px; height: 105%; }
.art-coordinate { position: absolute; z-index: 2; font-size: .61rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.art-coordinate.top { top: 6%; right: 7%; }
.art-coordinate.bottom { bottom: 6%; left: 4%; }
.art-figure { position: absolute; right: 3%; bottom: 14%; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .2em; font-size: .58rem; color: var(--faint); }
.hero-scroll { position: absolute; bottom: 42px; left: max(36px, calc((100% - var(--width))/2)); display: flex; align-items: center; gap: 13px; color: var(--faint); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll::before { content: ""; height: 32px; width: 1px; background: linear-gradient(var(--accent-light), transparent); }
@keyframes orbit { to { transform: rotate(360deg); } }

/* 06. ABOUT */
.about-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(45px, 10vw, 150px); align-items: start; }
.about-statement { position: relative; padding-left: 28px; border-left: 1px solid var(--accent); margin: 52px 0 0; font: 400 clamp(1.75rem, 3vw, 2.9rem)/1.34 var(--serif); letter-spacing: -.035em; }
.about-statement em { color: var(--accent-light); }
.about-copy { padding-top: 12px; }
.about-copy p { font-size: .97rem; line-height: 2; color: var(--muted); }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-values span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; font-size: .65rem; font-weight: 550; letter-spacing: .14em; color: var(--accent-light); text-transform: uppercase; }

/* 07. INTERESTS — 3 + 2 GRID */
.interests { background: var(--bg-secondary); position: relative; }
.interests .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.interests .section-heading .section-summary { max-width: 340px; margin-bottom: 11px; }
.interest-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.interest-card { grid-column: span 2; display: flex; flex-direction: column; min-height: 283px; padding: clamp(24px, 2.7vw, 36px); position: relative; overflow: hidden; border: 1px solid var(--line); background: rgba(11,15,14,.25); transition: background .4s ease, border-color .4s ease, transform .4s var(--ease); }
.interest-card:nth-child(n+4) { grid-column: span 3; min-height: 240px; }
.interest-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .5s var(--ease); }
.interest-card:hover { transform: translateY(-5px); border-color: rgba(167,201,189,.38); background: rgba(64,139,123,.10); }
.interest-card:hover::after { width: 100%; }
.interest-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: auto; }
.interest-icon { width: 37px; height: 37px; color: var(--accent-light); }
.interest-icon * { vector-effect: non-scaling-stroke; }
.interest-number { font-size: .7rem; letter-spacing: .12em; color: var(--faint); }
.interest-card h3 { margin: 30px 0 9px; font: 400 clamp(1.35rem, 1.7vw, 1.65rem)/1.28 var(--serif); letter-spacing: -.02em; }
.interest-card p { margin: 0; max-width: 330px; font-size: .83rem; line-height: 1.85; color: var(--muted); }

/* 08. PHILOSOPHY */
.philosophy { position: relative; }
.philosophy::before { content: ""; position: absolute; width: 390px; height: 390px; border: 1px solid rgba(167,201,189,.045); border-radius: 50%; right: -210px; top: 45px; pointer-events: none; }
.philosophy-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 9vw, 120px); }
.philosophy-intro { position: sticky; top: 135px; align-self: start; }
.philosophy-quote { max-width: 330px; margin-top: 38px; font: italic 400 clamp(1.5rem, 2.5vw, 2.2rem)/1.43 var(--serif); color: var(--accent-light); }
.principle { display: grid; grid-template-columns: 43px 1fr; gap: 22px; padding: 27px 0 29px; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle-number { padding-top: 3px; font-size: .7rem; letter-spacing: .15em; color: var(--accent-light); }
.principle h3 { margin: 0 0 9px; font: 400 clamp(1.35rem, 2vw, 1.75rem)/1.3 var(--serif); }
.principle p { margin: 0; font-size: .85rem; line-height: 1.85; color: var(--muted); }

/* 09. JOURNEY */
.journey { background: var(--bg-secondary); }
.journey-heading { max-width: 680px; margin-bottom: 58px; }
.timeline { position: relative; max-width: 860px; margin-left: auto; }
.timeline::before { content: ""; position: absolute; top: 9px; bottom: 48px; left: 129px; width: 1px; background: linear-gradient(var(--accent), var(--line)); }
.timeline-item { display: grid; grid-template-columns: 106px 25px minmax(0,1fr); gap: 12px; padding: 0 0 50px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-time { padding-top: 1px; color: var(--accent-light); font-size: .74rem; letter-spacing: .04em; }
.timeline-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin: 8px auto 0; border: 1px solid var(--accent-light); border-radius: 50%; background: var(--bg-secondary); }
.timeline-item:first-child .timeline-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(64,139,123,.13); }
.timeline-content { padding-left: 18px; }
.timeline-content h3 { margin: 0 0 9px; font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.3 var(--serif); }
.timeline-content p { max-width: 550px; margin: 0; font-size: .87rem; line-height: 1.9; color: var(--muted); }
.timeline-footnote { margin: 55px 0 0 auto; max-width: 860px; padding-left: 161px; font-size: .72rem; letter-spacing: .04em; color: var(--faint); }

/* 10. GOALS */
.goals-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 10vw, 140px); align-items: start; }
.goals-statement { margin-top: 40px; max-width: 460px; font: 400 clamp(1.7rem, 2.9vw, 2.55rem)/1.38 var(--serif); letter-spacing: -.02em; }
.goal-list { margin-top: 30px; border-top: 1px solid var(--line); }
.goal-item { display: grid; grid-template-columns: 34px 1fr; column-gap: 15px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.goal-index { color: var(--accent-light); font-size: .72rem; padding-top: 3px; }
.goal-item h3 { margin: 0 0 5px; font-size: .95rem; font-weight: 550; letter-spacing: .005em; }
.goal-item p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.8; }

/* 11. CONTACT & FOOTER */
.contact { position: relative; padding-bottom: 115px; background: var(--bg-secondary); }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 100%, rgba(64,139,123,.085), transparent 57%); }
.contact-inner { position: relative; }
.contact-header { max-width: 690px; }
.contact-header .section-title { font-size: clamp(3.2rem, 6.5vw, 6rem); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 48px; }
.contact-link { min-width: 0; min-height: 93px; padding: 18px 23px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 3px; background: rgba(11,15,14,.15); }
.contact-link.is-linked { transition: border-color .25s, background .25s, transform .3s var(--ease); }
.contact-link.is-linked:hover { transform: translateY(-3px); border-color: var(--accent-light); background: rgba(64,139,123,.10); }
.contact-type { display: block; font-size: .97rem; font-weight: 550; }
.contact-status { display: block; padding-top: 2px; color: var(--faint); font-size: .7rem; overflow-wrap: anywhere; }
.contact-link.is-linked .contact-status { color: var(--accent-light); }
.contact-link .arrow { color: var(--accent-light); flex-shrink: 0; }
.contact-link:not(.is-linked) .arrow { opacity: .3; }
.footer { border-top: 1px solid var(--line); background: var(--bg-secondary); }
.footer-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; font-size: .74rem; color: var(--faint); }
.footer-signature { font: italic 400 1.25rem var(--serif); color: var(--accent-light); }
.back-top { position: fixed; z-index: 70; right: 25px; bottom: 25px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent-light); background: rgba(21,29,25,.95); box-shadow: 0 6px 20px rgba(0,0,0,.1); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s, border-color .3s; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--accent-light); transform: translateY(-3px); }
.back-top svg { width: 19px; height: 19px; }

/* 12. REVEAL ANIMATION: konten tetap terlihat tanpa JS */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .js .reveal[data-delay="1"] { transition-delay: .1s; }
  .js .reveal[data-delay="2"] { transition-delay: .2s; }
  .js .reveal[data-delay="3"] { transition-delay: .3s; }
}

/* 13. TABLET */
@media (max-width: 1000px) {
  :root { --header-height: 72px; }
  .nav-list { gap: 17px; }
  .nav-list a { font-size: .7rem; }
  .hero { min-height: 740px; }
  .hero-name { font-size: clamp(6rem, 12.5vw, 9rem); }
  .interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interest-card, .interest-card:nth-child(n+4) { grid-column: auto; min-height: 250px; }
  .interest-card:last-child { grid-column: 1 / -1; min-height: 220px; }
}

/* 14. MOBILE NAV & COMPACT LAYOUT */
@media (max-width: 760px) {
  .container { width: min(calc(100% - 42px), var(--width)); }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(var(--header-height) - 1px); left: 0; right: 0; padding: 14px 21px 23px; border-bottom: 1px solid var(--line-strong); background: rgba(15,22,18,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-list { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; font-size: .91rem; padding: 12px 7px; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list .nav-contact { margin-top: 14px; padding: 12px 14px; text-align: center; }
  .hero { min-height: auto; padding: 145px 0 115px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { padding-top: 0; }
  .hero-name { margin-left: -3px; font-size: clamp(6.3rem, 20vw, 9.5rem); }
  .hero-line { font-size: clamp(1.75rem, 5vw, 2.3rem); }
  .hero-art { justify-self: center; width: min(100%, 460px); margin: 2px auto -12px; }
  .hero-scroll { bottom: 32px; left: 21px; }
  .about-layout, .philosophy-layout, .goals-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-statement { margin-top: 35px; }
  .about-copy { padding-top: 0; }
  .philosophy-intro { position: static; }
  .philosophy-quote { margin-top: 18px; }
  .interests .section-heading { display: block; }
  .interests .section-heading .section-summary { max-width: 520px; }
  .timeline { margin-left: 0; }
  .timeline-footnote { padding-left: 0; }
  .goals-statement { margin-top: 22px; }
  .goal-list { margin-top: 5px; }
}
@media (max-width: 560px) {
  .section { padding: 86px 0; }
  .hero { padding-top: 137px; }
  .hero-eyebrow { font-size: .63rem; }
  .hero-name { font-size: clamp(6.1rem, 22vw, 7.6rem); }
  .hero-description { font-size: .9rem; }
  .hero-art { width: min(100%, 385px); }
  .art-coordinate, .art-figure { font-size: .52rem; }
  .section-title { font-size: clamp(2.65rem, 12vw, 3.65rem); }
  .interest-grid, .contact-links { grid-template-columns: 1fr; }
  .interest-card, .interest-card:nth-child(n+4), .interest-card:last-child { grid-column: auto; min-height: 224px; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 17px minmax(0,1fr); gap: 12px; padding-bottom: 39px; }
  .timeline-time { grid-column: 2; grid-row: 1; padding-left: 0; }
  .timeline-dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 8px; }
  .timeline-content { grid-column: 2; grid-row: 2; padding-left: 0; }
  .timeline-content h3 { margin-top: 1px; }
  .timeline-footnote { margin-top: 34px; }
  .contact { padding-bottom: 80px; }
  .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 9px; }
  .back-top { right: 16px; bottom: 16px; width: 43px; height: 43px; }
}

/* 15. ACCESSIBILITY — REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* INTERACTIVE INTEREST CARD */

.interest-card {
    cursor: pointer;
}

.interest-card.is-active {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.interest-card-detail {
    margin-top: 14px;
    line-height: 1.7;
    animation: cardReveal 0.3s ease;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* FLOATING PARTICLES */

.floating-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    opacity: 0.65;
}

.floating-particles span {
    position: absolute;
    bottom: -10px;
    left: var(--left);

    width: var(--size);
    height: var(--size);

    background: #A7C9BD;
    border-radius: 50%;

    box-shadow:
        0 0 6px #A7C9BD,
        0 0 14px #408B7B;

    opacity: 0;

    animation:
        particleFloat var(--duration) linear
        var(--delay) infinite;
}

.floating-particles span:nth-child(1) {
    --left: 8%;
    --size: 3px;
    --duration: 12s;
    --delay: -3s;
}

.floating-particles span:nth-child(2) {
    --left: 18%;
    --size: 5px;
    --duration: 16s;
    --delay: -8s;
}

.floating-particles span:nth-child(3) {
    --left: 29%;
    --size: 2px;
    --duration: 10s;
    --delay: -5s;
}

.floating-particles span:nth-child(4) {
    --left: 41%;
    --size: 4px;
    --duration: 14s;
    --delay: -10s;
}

.floating-particles span:nth-child(5) {
    --left: 52%;
    --size: 3px;
    --duration: 18s;
    --delay: -6s;
}

.floating-particles span:nth-child(6) {
    --left: 64%;
    --size: 5px;
    --duration: 13s;
    --delay: -9s;
}

.floating-particles span:nth-child(7) {
    --left: 75%;
    --size: 2px;
    --duration: 11s;
    --delay: -4s;
}

.floating-particles span:nth-child(8) {
    --left: 87%;
    --size: 4px;
    --duration: 17s;
    --delay: -12s;
}

.floating-particles span:nth-child(9) {
    --left: 95%;
    --size: 3px;
    --duration: 15s;
    --delay: -7s;
}

.floating-particles span:nth-child(10) {
    --left: 35%;
    --size: 4px;
    --duration: 19s;
    --delay: -14s;
}

.floating-particles span:nth-child(11) {
    --left: 58%;
    --size: 2px;
    --duration: 12s;
    --delay: -2s;
}

.floating-particles span:nth-child(12) {
    --left: 78%;
    --size: 5px;
    --duration: 20s;
    --delay: -16s;
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: translate3d(35px, -50vh, 0);
        opacity: 0.6;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        transform: translate3d(-25px, -110vh, 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-particles {
        display: none;
    }
}

/* INTERACTIVE INTEREST CARDS */
.interest-card-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transform: translateY(10px);

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        transform 0.3s ease,
        margin 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .interest-card:hover .interest-card-detail {
        max-height: 300px;
        opacity: 1;
        margin-top: 14px;
        transform: translateY(0);
    }
}

.interest-card-detail {
    display: none !important;
}

.interest-card:hover .interest-card-detail {
    display: block !important;
}