@import url('https://fonts.googleapis.com/css2?family=Matangi:wght@300..900&display=swap');
:root { --navy: #101c33; --navy-deep: #071426; --gold: #a68754; --white: #fff; }
html { background: var(--navy); }
.about-page { min-width: 320px; margin: 0; background: var(--navy); color: var(--white); font-family: "Matangi", sans-serif; }
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-header { position: relative; z-index: 10; min-height: 112px; display: flex; align-items: center; justify-content: space-between; padding: .5rem clamp(1.25rem, 4vw, 4.5rem); background: var(--navy); }
.about-header__logo { display: inline-flex; align-items: center; }
.about-header__logo img { display: block; width: auto; height: 96px; object-fit: contain; }
.about-header__contact { display: inline-flex; align-items: center; color: var(--white); font-family: "Matangi", sans-serif; font-size: var(--font-size--400); font-weight: 400; line-height: var(--line-height--400); text-decoration: none; padding: .75rem 0; border: 0; }
.about-header__contact:hover, .about-header__contact:focus-visible { color: var(--white); }
.about-header__contact:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }
.about-header__contact-word { display: inline-flex; overflow: hidden; height: 1.3em; }
.about-header__contact-char { display: inline-block; line-height: 1.3em; transform: translateZ(0); text-shadow: currentColor 0 1.3em; transition-property: transform; transition-duration: .9s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
.about-header__contact-char:nth-child(2) { transition-delay: .005s; }
.about-header__contact-char:nth-child(3) { transition-delay: .01s; }
.about-header__contact-char:nth-child(4) { transition-delay: .015s; }
.about-header__contact-char:nth-child(5) { transition-delay: .02s; }
.about-header__contact-char:nth-child(6) { transition-delay: .025s; }
.about-header__contact-char:nth-child(7) { transition-delay: .03s; }
.about-header__contact:hover .about-header__contact-char,
.about-header__contact:focus-visible .about-header__contact-char { transform: translate3d(0, -100%, 0); }
.about { min-height: calc(100svh - 112px); padding: clamp(2rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem); }
.about__container { width: min(1536px, calc(100% - 2.5rem)); margin: 0 auto; }
.about__row { display: grid; grid-template-columns: minmax(300px, 35%) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.about__portrait-wrap { overflow: hidden; border-radius: 15px; background: var(--navy-deep); }
.about__portrait { display: block; width: 100%; aspect-ratio: 4 / 5.7; object-fit: cover; object-position: center top; }
.about__photo-card { position: relative; isolation: isolate; overflow: visible; }
.about__animated-border { position: absolute; inset: -6px; z-index: -1; overflow: hidden; border-radius: 19px; background: #101c33; box-shadow: none; pointer-events: none; }
.about__animated-border::before { content: ""; position: absolute; top: 50%; left: 50%; width: 42%; height: 180%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), #fff, rgba(255,255,255,.35), transparent); transform: translate(-50%, -50%) rotate(0deg); animation: about-card-rotation 5s linear infinite; }
.about__animated-border::after { content: ""; position: absolute; inset: 2px; border-radius: 17px; background: #101c33; }
@keyframes about-card-rotation { to { transform: translate(-50%, -50%) rotate(360deg); } }
.about__content h1 { margin: -.15em 0 .25em; font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.about__heading-row { display: flex; align-items: center; gap: clamp(.75rem, 1.5vw, 1.5rem); }
.about__flag { display: block; width: 48px; height: 48px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: center; transform: translateY(4px); }
.about__intro { max-width: 980px; margin: 0; font-size: clamp(1rem, 1.25vw, 1.28rem); font-weight: 300; line-height: 1.48; }
.about-tabs { margin-top: 1.5rem; }
.about-tabs__list { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 4rem); margin-bottom: 2.2rem; }
.about-tabs__tab { position: relative; appearance: none; border: 0; padding: .25rem 0 .55rem; background: none; color: var(--white); font: inherit; font-size: clamp(1.05rem, 1.5vw, 1.45rem); cursor: pointer; }
.about-tabs__tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .2s ease; }
.about-tabs__tab:hover::after, .about-tabs__tab:focus-visible::after, .about-tabs__tab.is-active::after { width: 55%; }
.about-tabs__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.about-tabs__panel { animation: tab-in .24s ease; }
.about-tabs__panel[hidden] { display: none; }
.about-tabs__panel ul { list-style: none; padding: 0; margin: 0; }
.about-tabs__panel li { margin: 0 0 1rem; font-size: clamp(.98rem, 1.2vw, 1.18rem); line-height: 1.4; }
.about-tabs__panel li span { display: block; margin-bottom: .15rem; color: var(--gold); font-size: .92em; }
.about-tabs__button { display: inline-block; margin-top: 2rem; padding: .8rem 1.35rem; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--white); text-decoration: none; transition: background .2s ease, color .2s ease; }
.about-tabs__button:hover, .about-tabs__button:focus-visible { background: #c4a66f; border-color: #c4a66f; color: var(--white); }
.about__verse { max-width: 900px; margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0; border: 0; text-align: center; }
.about__verse p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.5; }
.about__verse span { color: var(--gold); }
.about__verse cite { display: block; margin-top: .45rem; font-size: .95rem; font-style: italic; }
@keyframes tab-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .about-header { min-height: 88px; } .about-header__logo img { height: 72px; } .about { min-height: calc(100svh - 88px); } .about__row { grid-template-columns: 1fr; gap: 2.5rem; } .about__portrait-wrap { width: min(100%, 520px); margin: 0 auto; } .about__portrait { aspect-ratio: 4 / 5; } }
@media (max-width: 520px) { .about__container { width: min(100% - 2rem, 1536px); } .about-tabs__list { gap: 1.25rem; justify-content: space-between; } .about-tabs__tab { font-size: 1rem; } .about__content h1 { font-size: 3.35rem; } }
@media (prefers-reduced-motion: reduce) { .about-tabs__panel, .about__animated-border::before { animation: none; } .about-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Single-screen About composition */
@media (min-width: 901px) {
  .about-page { height: 100vh; height: 100dvh; overflow: hidden; }
  .about-header { width: min(90vw, 1440px); min-height: clamp(88px, 11vh, 112px); margin-inline: auto; padding: clamp(.75rem, 1.6vh, 1.25rem) 0 0; }
  .about-header__logo img { height: clamp(68px, 8vh, 84px); }
  .about { height: calc(100vh - clamp(88px, 11vh, 112px)); height: calc(100dvh - clamp(88px, 11vh, 112px)); min-height: 0; padding: 0 0 clamp(1.25rem, 2.5vh, 2.25rem); }
  .about__container { width: min(90vw, 1440px); height: 100%; }
  .about__row { height: 100%; min-height: 0; grid-template-columns: minmax(430px, 38%) minmax(0, 1fr); gap: clamp(3.5rem, 5vw, 6rem); align-items: start; padding-top: 0; transform: translateY(clamp(-.7rem, -1vh, -.35rem)); }
  .about__portrait-wrap { position: relative; width: min(100%, 500px); height: min(67vh, 640px); overflow: visible; border-radius: 0; background: transparent; justify-self: start; margin-top: clamp(1.75rem, 4.2vh, 3.25rem); }
  .about__photo-card { position: absolute; width: 54%; }
  .about__photo-card--soccer { right: 0; bottom: 0; z-index: 1; height: 88%; transform: scale(1.055); }
  .about__photo-card--selfie { top: 0; left: 0; z-index: 2; height: auto; aspect-ratio: 1199 / 1943; }
  .about__portrait { position: relative; z-index: 2; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 15px; background: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
  .about__portrait--soccer { object-fit: cover; object-position: center 60%; transform: none; }
  .about__portrait--selfie { object-fit: fill; object-position: center top; transform: none; }
  .about__content { min-width: 0; align-self: start; }
  .about__heading-row { margin-bottom: clamp(1rem, 1.8vh, 1.5rem); gap: clamp(1rem, 1.75vw, 1.75rem); }
  .about__content h1 { margin: 0; font-size: clamp(3.05rem, 4.4vw, 4.65rem); }
  .about__flag { width: clamp(34px, 4vw, 58px); height: clamp(34px, 4vw, 58px); }
  .about__intro { max-width: none; font-size: clamp(.8rem, 1vw, 1.02rem); line-height: 1.7; }
  .about-tabs { margin-top: clamp(.65rem, 1.2vh, 1rem); }
  .about-tabs__list { gap: clamp(2rem, 4vw, 4rem); margin-bottom: clamp(.65rem, 1.25vh, 1.05rem); }
  .about-tabs__tab { font-size: clamp(1rem, 1.35vw, 1.3rem); padding-bottom: .4rem; }
  .about-tabs__panel li { margin-bottom: clamp(.34rem, .62vh, .55rem); font-size: clamp(.78rem, .95vw, .98rem); line-height: 1.5; }
  .about-tabs__button { margin-top: clamp(.5rem, 1vh, 1rem); padding: .62rem 1.15rem; }
}

@media (max-width: 900px) {
  .about-page { min-height: 100svh; overflow-x: hidden; }
  .about-header, .about__container { width: min(100% - 2rem, 680px); margin-inline: auto; padding-inline: 0; }
  .about-header { padding-top: .75rem; }
  .about__portrait-wrap { position: relative; width: min(88vw, 500px); height: min(112vw, 630px); overflow: visible; border-radius: 0; background: transparent; margin: 0 auto; }
  .about__photo-card { position: absolute; width: 58%; }
  .about__photo-card--soccer { right: 0; bottom: 0; z-index: 1; height: 88%; transform: scale(1.055); }
  .about__photo-card--selfie { top: 0; left: 0; z-index: 2; height: auto; aspect-ratio: 1199 / 1943; }
  .about__portrait { position: relative; z-index: 2; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 15px; background: transparent; box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
  .about__portrait--soccer { object-fit: cover; object-position: center 60%; transform: none; }
  .about__portrait--selfie { object-fit: fill; object-position: center top; transform: none; }
  .about__heading-row { margin-bottom: 1.35rem; gap: clamp(.75rem, 3vw, 1.25rem); }
  .about__content h1 { margin-bottom: 0; }
  .about__flag { width: clamp(30px, 9vw, 48px); height: clamp(30px, 9vw, 48px); }
  .about__intro { line-height: 1.68; }
  .about-tabs__panel li { line-height: 1.52; }
}

/* Shared project-detail page styles */
.interior { background: #f3f0e9; color: #071224; }
.interior .site-header { position: fixed; z-index: 30; inset: 0 0 auto; min-height: 72px; padding: 0 clamp(1.25rem,4vw,4.5rem); display: flex; align-items: center; justify-content: space-between; color: #fff; background: rgba(7,18,36,.94); }
.interior .brand { display: flex; align-items: center; gap: .75rem; font-weight: 650; }
.interior .brand img { width: 48px; height: 48px; object-fit: contain; }
.interior .site-nav { display: flex; gap: clamp(1rem,3vw,3rem); }
.interior .menu-button { display: none; }
.interior .page-hero { min-height: 78svh; background: #071224; color: #fff; display: grid; align-items: end; padding: 10rem clamp(1.25rem,4vw,4.5rem) 5rem; }
.interior .page-hero__inner, .interior .section { width: 100%; max-width: 1400px; margin-inline: auto; }
.interior .page-hero h1 { font-size: clamp(3.7rem,8vw,8.2rem); font-weight: 350; letter-spacing: -.055em; line-height: .93; margin: 0; }
.interior .project-header { width: 100%; margin-inline: auto; padding-inline: max(5vw,calc((100vw - 1440px)/2)); background: #101c33; }
.interior .page-hero__heading { display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem,6vw,7rem); }
.interior .page-hero__mark { display: block; flex: 0 1 auto; width: clamp(110px,18vw,270px); max-height: clamp(90px,16vw,220px); object-fit: contain; }
.interior .page-hero__mark--rgg { width: clamp(150px,24vw,360px); }
.interior .page-hero p:last-child { font-size: clamp(1.15rem,2vw,1.7rem); max-width: 760px; line-height: 1.55; margin-top: 2rem; color: #d5dbe4; }
.interior .eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: .72rem; font-weight: 700; margin-bottom: 1.3rem; }
.interior .section { padding: clamp(5rem,10vw,10rem) clamp(1.25rem,4vw,4.5rem); }
.interior .content-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); gap: clamp(2rem,8vw,9rem); align-items: start; }
.interior .prose h2 { font-size: clamp(2.5rem,5vw,5rem); font-weight: 350; letter-spacing: -.045em; line-height: 1; margin: 0 0 2rem; }
.interior .prose p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 1.4rem; }
.interior .portrait { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.interior .facts { list-style: none; margin-top: 2.5rem; border-top: 1px solid rgba(7,18,36,.16); }
.interior .facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(7,18,36,.16); }
.interior .facts span { color: #738095; }
.interior .tech-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.interior .tech-list span { border: 1px solid rgba(7,18,36,.16); border-radius: 999px; padding: .65rem 1rem; }
.interior .project-visual { min-height: 500px; display: grid; place-items: center; padding: clamp(2rem,8vw,8rem); }
.interior .project-visual img { max-height: 500px; object-fit: contain; }
.interior .project-visual--navy { background: #101c33; }
.interior .project-visual--gold { background: #fbaf18; }
.interior .project-visual--red { background: #a71626; }
.interior .work-log-section { max-width: 1180px; padding-top: 0; padding-bottom: clamp(3rem,6vw,6rem); }
.interior .work-log { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding: clamp(1.5rem,3vw,2.75rem); border-radius: 20px; background: #101c33; color: #fff; }
.interior .work-log__copy h2 { margin: 0 0 1.5rem; font-size: clamp(2.35rem,4.5vw,4.75rem); font-weight: 350; letter-spacing: -.045em; line-height: 1; }
.interior .work-log__copy > p:not(.eyebrow) { margin: 0 0 2rem; color: #d5dbe4; font-size: clamp(1rem,1.5vw,1.15rem); line-height: 1.7; }
.interior .work-log__button { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem; border: 1px solid #a68754; border-radius: 999px; background: #a68754; color: #fff; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.interior .work-log__button:hover, .interior .work-log__button:focus-visible { background: #c4a66f; border-color: #c4a66f; transform: translateY(-2px); }
.interior .work-log__preview { display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: #fff; box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.interior .work-log__preview img { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.interior .next-project { display: flex; justify-content: space-between; border-top: 1px solid rgba(7,18,36,.16); font-size: clamp(1.5rem,4vw,4rem); }
.interior .site-footer { min-height: 500px; padding: clamp(5rem,10vw,9rem) clamp(1.25rem,4vw,4.5rem) 2rem; background: #071224; color: #fff; }
.interior .site-footer h2 { font-size: clamp(3rem,7vw,7rem); font-weight: 350; margin: 0; }
.interior .site-footer nav { display: flex; gap: 2rem; margin-top: 4rem; }
@media(max-width:800px) { .interior .content-grid, .interior .work-log { grid-template-columns: 1fr; } .interior .site-nav { gap: 1rem; } .interior .brand span { display: none; } .interior .page-hero { min-height: 68svh; } .interior .page-hero__heading { align-items: flex-end; gap: 1rem; } .interior .page-hero__mark { width: clamp(78px,25vw,125px); max-height: 110px; } .interior .page-hero__mark--rgg { width: clamp(105px,31vw,165px); } .interior .work-log { padding: clamp(1.25rem,5vw,2rem); border-radius: 18px; } }
