/* Centrip Studios: original blue, bold typography, artwork-first presentation. */
:root {
  --blue: #24ace4;
  --ink: #11151b;
  --muted: #616b76;
  --line: #dbe3e9;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(132px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: #080b10; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #08719d; outline-offset: 6px; }
.games-section a:focus-visible, .games-section button:focus-visible, .hero a:focus-visible, .hero button:focus-visible { outline-color: white; }
::selection { background: #bcecff; color: #11151b; }
.container { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.section { padding-block: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: white; color: #11151b; padding: 12px; }
.skip-link:focus { top: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 25px; border: 2px solid currentColor; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, color .2s; }
.primary { background: white; color: #172631; border-color: white; }
.primary:hover { background: #102c3d; color: white; border-color: #102c3d; }
.dark { background: #11151b; color: white; border-color: #11151b; }
.dark:hover { background: #214b62; border-color: #214b62; }
.text-link { display: inline-flex; align-items: center; gap: 22px; border-bottom: 1px solid currentColor; padding: 6px 0; font-size: 13px; font-weight: 700; }
.text-link:hover { color: #1687ba; }
.eyebrow, .section-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; }
/* Shared navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--blue); color: white; }
.nav-wrap { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand img { width: 46px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { display: inline-flex; flex-direction: row; align-items: baseline; gap: 2px; white-space: nowrap; }
.brand-name { font-size: 31px; font-weight: 800; letter-spacing: 0em; line-height: 1; }
.brand-sub { display: block; font-size: 21px; letter-spacing: .07em; font-weight: 400; line-height: 1; opacity: .78; }
#navigation { display: flex; align-items: center; gap: 42px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
#navigation a { padding-block: 12px; }
#navigation a:hover { text-decoration: underline; text-underline-offset: 7px; }
#navigation .nav-contact { border: 2px solid #ffffffb0; padding: 10px 23px; }
.nav-contact span { margin-left: 20px; }
.menu-toggle { display: none; padding: 10px; font-weight: 700; }
/* Apps and studio information */
.apps-section { background: #e9f7fe; overflow: hidden; }
.apps-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 85px; }
.section-label { color: #217495; margin-bottom: 22px; }
.apps-copy h2 { font-size: 68px; letter-spacing: -.045em; }
.apps-copy > p:not(.section-label) { color: #465b68; font-size: 18px; margin: 25px 0 30px; max-width: 440px; }
.time-art { height: 470px; position: relative; display: grid; place-items: center; width: 100%; }
.time-orbit { width: 420px; height: 420px; max-width: 100%; position: absolute; background: #c5eafa; border-radius: 50%; }
.time-art img { height: 445px; width: auto; border: 8px solid #151c23; border-radius: 32px; transform: rotate(9deg); box-shadow: 18px 25px 25px #062e461f; transition: transform .3s; }
.time-art:hover img { transform: rotate(3deg); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-layout h2 { font-size: 54px; letter-spacing: -.04em; }
.about-copy h3 { font-size: 25px; margin-bottom: 23px; }
.about-copy p { margin-bottom: 20px; color: var(--muted); font-size: 16px; }
.about-copy .text-link { margin-top: 8px; }
.contact-section { background: var(--blue); color: #092b3c; padding-block: 75px; }
.contact-layout { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.contact-layout h2 { font-size: 58px; letter-spacing: -.03em; }
.contact-layout p { margin-top: 20px; }
.contact-email { display: inline-flex; align-items: center; gap: 25px; font-size: clamp(18px, 2.2vw, 28px); padding-block: 15px 5px; border-bottom: 1px solid #176589; }
.contact-side { text-align: right; }
.contact-side > a { font-size: 16px; }
.social-links { display: flex; gap: 20px; margin-top: 24px; font-size: 12px; }
.site-footer { background: #080b10; color: #c4cdd7; padding-block: 48px 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-bottom: 38px; }
.footer-top p { font-size: 13px; }
.footer-top > a:last-child { font-size: 12px; }
.footer-top .brand { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #2d333c; padding-top: 24px; }
.footer-bottom small, .footer-bottom nav { font-size: 11px; }
.footer-bottom nav { display: flex; gap: 25px; }
/* Supporting and legal pages */
.legal-main { padding-block: 70px 100px; }
.legal-heading { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.legal-heading h1 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -.04em; margin: 18px 0; }
.legal-heading > p:last-child { color: var(--muted); font-size: 13px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; padding-top: 40px; }
.legal-nav { align-self: start; position: sticky; top: calc(132px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 12px; max-height: calc(100dvh - 152px - env(safe-area-inset-top, 0px)); overflow: auto; padding: 5px; }
.legal-nav a { font-size: 12px; color: var(--muted); line-height: 1.5; }
.legal-nav a:hover { color: #08719d; }
.legal-copy { max-width: 760px; overflow-wrap: anywhere; }
.legal-copy p { color: #4a5662; font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.legal-copy h2 { font-size: 25px; margin: 38px 0 18px; line-height: 1.25; }
.simple-page { padding-block: 100px; min-height: 65vh; max-width: 950px; }
.simple-page h1 { font-size: clamp(45px, 6vw, 75px); letter-spacing: -.04em; margin: 25px 0; }
.simple-page > p:not(.eyebrow) { font-size: 18px; max-width: 630px; color: var(--muted); margin-bottom: 30px; }
.simple-page .primary { background: #08719d; color: white; }
.simple-page .support-note { font-size: 12px; margin-top: 16px; }
.back-link { display: table; margin-top: 35px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  #navigation { gap: 25px; }
  .hero { min-height: 680px; padding: 135px 50px 120px; }
  .hero h1 { font-size: 100px; }
  .hero-showcase { width: 66%; height: 420px; top: 75px; right: -7%; }
  .hero-scroll { left: 50px; }
  .apps-layout, .about-layout { gap: 60px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 86px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 38px; height: 40px; }
  .brand-wordmark { gap: 6px; }
  .brand-name { font-size: 25px; }
  .brand-sub { font-size: 17px; letter-spacing: .04em; }
  .menu-toggle { display: block; }
  #navigation { width: 100%; gap: 15px; justify-content: space-between; padding-bottom: 20px; font-size: 10px; }
  #navigation .nav-contact { padding: 8px 12px; }
  .nav-contact span { margin-left: 10px; }
  html.js #navigation { display: none; }
  html.js #navigation.is-open { display: flex; }
  .hero { padding: 40px 25px 100px; min-height: 810px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(72px, 13vw, 110px); }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-copy .button { margin-top: 23px; font-size: 11px; padding: 13px 19px; }
  .hero-showcase { top: auto; bottom: 85px; height: 310px; width: 91%; right: -3%; gap: 8px; transform: rotate(-7deg); }
  .hero-panel span { font-size: 10px; padding: 20px 7px 10px; }
  .hero-scroll { display: none; }
  .hero-mark { width: 450px; left: -280px; top: 0; }
  .games-section { padding: 45px 25px 65px; }
  .section-heading h2 { font-size: 24px; }
  .game-grid { gap: 22px; }
  .game-meta h3 { font-size: 19px; }
  .game-meta p { font-size: 12px; min-height: 58px; }
  .game-meta .text-link { font-size: 10px; gap: 10px; padding: 7px 10px; }
  .coming-next { margin-top: 40px; padding: 23px 20px; gap: 18px; flex-wrap: wrap; }
  .coming-next .text-link { font-size: 12px; }
  .apps-layout { gap: 25px; padding-block: 60px; }
  .apps-copy h2 { font-size: 48px; }
  .apps-copy > p:not(.section-label) { font-size: 16px; }
  .time-art { height: 390px; }
  .time-art img { height: 350px; }
  .time-orbit { height: 280px; width: 280px; }
  .section { padding-block: 65px; }
  .about-layout { gap: 40px; }
  .about-layout h2 { font-size: 42px; }
  .contact-layout { flex-direction: column; align-items: flex-start; gap: 30px; }
  .contact-side { text-align: left; }
  .contact-layout h2 { font-size: 46px; }
  .contact-section { padding-block: 55px; }
  .footer-top p { display: none; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .legal-layout { display: block; padding-top: 25px; }
  .legal-nav { position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; padding: 0 0 25px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
  .legal-nav .eyebrow { grid-column: 1 / -1; }
  .legal-main { padding-block: 45px 65px; }
}
@media (max-width: 560px) {
  .hero { min-height: 780px; }
  .hero-showcase { height: 305px; width: 106%; right: -9%; bottom: 90px; }
  .hero h1 { font-size: 78px; }
  .game-grid { grid-template-columns: 1fr; gap: 40px; }
  .game-meta h3 { font-size: 24px; }
  .game-meta p { font-size: 14px; min-height: 0; }
  .game-meta .text-link { font-size: 12px; padding: 9px 18px; }
  .preview-label { font-size: 12px; }
  .coming-next .text-link { margin-left: 0; }

  .apps-layout, .about-layout { grid-template-columns: 1fr; }
  .apps-layout { gap: 30px; }
  .time-art { height: 440px; }
  .time-art img { height: 400px; }
  .time-orbit { width: 330px; height: 330px; }
  .contact-email { font-size: clamp(16px, 4.5vw, 23px); gap: 13px; }
  .social-links { gap: 18px; font-size: 11px; }
  .gallery-stage { gap: 5px; }
  .gallery-stage img { max-width: calc(100% - 82px); }
  .gallery-stage button { width: 34px; height: 40px; }
  #gallery-dialog { padding: 18px; }
  .dialog-header h2 { font-size: 23px; }
  .simple-page { padding-block: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Directly browsable app galleries. */
.button, #navigation .nav-contact, .status-tag { border-radius: 999px; }
.button { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 14px 24px; }
.feature-hero { background: var(--blue); color: #072b40; overflow: hidden; }
.feature-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; padding-block: 65px 90px; }
.feature-label { font-size: 11px; font-weight: 700; letter-spacing: .13em; margin-bottom: 22px; }
.feature-copy h1 { color: white; font-size: clamp(60px, 6.8vw, 96px); letter-spacing: -.055em; max-width: 460px; }
.feature-copy > p:not(.feature-label) { font-size: 18px; line-height: 1.7; margin-block: 24px 28px; }
.feature-phones { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 20px; }
.feature-phones img { width: min(45%, 235px); height: auto; border: 8px solid #15212b; border-radius: 34px; box-shadow: 12px 24px 32px #06496b30; }
.feature-phones img:first-child { transform: rotate(-8deg) translateY(18px); }
.feature-phones img:last-child { transform: rotate(7deg) translateY(-18px); }
/* Native scroll timelines avoid main-thread scroll handlers and per-frame
   inherited CSS variable updates. Unsupported browsers keep the static pose. */
@supports (animation-timeline: view()) and (animation-range: exit 0% exit 100%) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-hero { view-timeline: --featured-phones block; }
    .feature-phones img {
      will-change: transform;
      animation: featured-phone-left 1s linear both;
      animation-timeline: --featured-phones;
      animation-range: exit 0% exit 100%;
    }
    .feature-phones img:last-child { animation-name: featured-phone-right; }
  }
}
@keyframes featured-phone-left {
  from { transform: translate3d(0, 0, 0) rotate(-8deg) translateY(18px); }
  to { transform: translate3d(-12px, -90px, 0) rotate(-15deg) translateY(18px); }
}
@keyframes featured-phone-right {
  from { transform: translate3d(0, 0, 0) rotate(7deg) translateY(-18px); }
  to { transform: translate3d(12px, -150px, 0) rotate(13deg) translateY(-18px); }
}
.games-section { padding: 70px 0 90px; background: #0b0e13; color: white; }
.games-section > * { max-width: 1200px; }
.catalog-heading { font-size: 44px; letter-spacing: -.035em; margin-bottom: 55px; }
.app-showcase + .app-showcase { margin-top: 85px; padding-top: 65px; border-top: 1px solid #303641; }
.app-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.app-heading h3 { font-size: 32px; letter-spacing: -.025em; }
.app-heading p { margin-top: 12px; color: #adb9c7; font-size: 15px; max-width: 620px; }
.app-heading .button { flex-shrink: 0; }
.store-button { background: white; color: #15212b; border-color: white; }
.store-button:hover { background: #cdeeff; border-color: #cdeeff; }
.status-tag { display: inline-block; margin-top: 14px; margin-left: 0; text-align: left; border: 1px solid #526071; padding: 8px 17px; color: #c6d1dd; font-size: 13px; }
.screenshots { display: flex; align-items: center; gap: 25px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #5b798e #19222d; padding: 12px 8px 26px; border-radius: 12px; }
.screenshots:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.screenshots img { display: block; flex: 0 0 auto; height: 370px; width: auto; max-width: none; border: 7px solid #1e2834; border-radius: 28px; scroll-snap-align: start; box-shadow: 0 9px 16px #0003; }
.landscape-screenshots img { height: 265px; border-radius: 25px; }
.strip-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; color: #a8b6c5; font-size: 12px; }
.strip-controls > div { display: flex; gap: 10px; }
.strip-controls button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #587086; border-radius: 50%; color: white; font-size: 20px; }
.strip-controls button:hover:not(:disabled) { background: #244457; }
.strip-controls button:disabled { opacity: .3; cursor: default; }
.apps-section { padding-block: 75px 85px; background: #e9f7fe; }
.apps-section .app-heading p { color: #4b6475; }
.apps-section .screenshots { scrollbar-color: #5b798e #cde4f0; }
.apps-section .screenshots img { height: 410px; border-color: #15212b; }
.apps-section .strip-controls { color: #466476; }
.apps-section .strip-controls button { color: #183d54; }
.apps-section .strip-controls button:hover:not(:disabled) { background: #cde4f0; }
@media (max-width: 1000px) {
  .feature-layout { gap: 30px; }
  .feature-phones { gap: 15px; padding: 12px; }
  .feature-phones img { border-width: 6px; border-radius: 27px; }
  .screenshots img { height: 340px; }
  .landscape-screenshots img { height: 240px; }
}
@media (max-width: 700px) {
  .feature-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 35px 55px; }
  .feature-copy h1 { font-size: 64px; }
  .feature-copy > p:not(.feature-label) { margin-block: 18px 23px; font-size: 16px; }
  .feature-label { margin-bottom: 15px; }
  .feature-phones { max-width: 440px; margin-inline: auto; padding: 20px 12px; }
  .feature-phones img { width: 43%; }
  .games-section, .apps-section { padding-block: 50px 60px; }
  .catalog-heading { font-size: 36px; margin-bottom: 36px; }
  .app-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 22px; }
  .app-heading h3 { font-size: 29px; }
  .app-heading p { font-size: 14px; }
  .app-showcase + .app-showcase { margin-top: 45px; padding-top: 40px; }
  .screenshots { gap: 18px; margin-right: -20px; padding-right: 20px; }
  .screenshots img { height: 350px; border-width: 6px; border-radius: 25px; }
  .landscape-screenshots img { height: auto; width: min(85vw, 470px); border-radius: 22px; }
  .apps-section .screenshots img { height: 350px; }
  .strip-controls { font-size: 11px; }
}

/* Quiet, rounded controls and a compact mobile navigation panel. */
.button {
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 3px 8px #061f3010;
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 18px #061f3020; }
.button:active { transform: translateY(0); box-shadow: 0 1px 3px #061f3010; }
.primary:hover { background: #edf8ff; color: #15212b; border-color: transparent; }
.store-button:hover { background: #dcefff; border-color: transparent; }
#navigation .nav-contact {
  border: 1px solid #ffffff70;
  background: #ffffff18;
  padding: 11px 22px;
  border-radius: 14px;
  transition: background .18s, color .18s;
}
#navigation .nav-contact:hover { background: white; color: #143a51; text-decoration: none; }
.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #ffffff55;
  background: #ffffff20;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: white; color: #123c53; }
.menu-icon { position: relative; display: block; width: 20px; height: 16px; }
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s, top .2s;
}
.menu-icon::before { top: 4px; }
.menu-icon::after { top: 11px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 7px; transform: rotate(-45deg); }
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .nav-wrap { position: relative; }
  html.js #navigation {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    width: auto;
    padding: 10px;
    border: 1px solid #d9eaf4;
    border-radius: 20px;
    background: #fff;
    color: #17364a;
    box-shadow: 0 18px 45px #06395430;
    gap: 3px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 16px;
  }
  html.js #navigation.is-open { display: flex; flex-direction: column; align-items: stretch; }
  html.js #navigation > a { display: block; padding: 13px 16px; border-radius: 12px; text-align: left; }
  html.js #navigation > a:hover { text-decoration: none; background: #eaf6fd; }
  html.js #navigation .nav-contact { margin-top: 4px; border: 0; background: #eaf6fd; color: #17364a; }
}
@media (prefers-reduced-motion: reduce) { .button:hover, .button:active { transform: none; } }

/* Paint both viewport edges, including exposed safe areas and overscroll. */
html {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  background: #080b10;
}
body { min-height: 100dvh; }
body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  pointer-events: none;
}
/* The header also paints the canvas exposed above the page when bouncing. */
.site-header::before { content: ''; position: absolute; inset: auto 0 100%; height: 100vh; background: var(--blue); pointer-events: none; }
.page-content { background: white; }
@media (max-width: 800px) {
  html { scroll-padding-top: calc(106px + env(safe-area-inset-top, 0px)); }
}
body::after { bottom: 0; height: var(--safe-area-bottom); background: #080b10; }
.site-header {
  padding-top: var(--safe-area-top);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.site-footer { padding-bottom: calc(26px + var(--safe-area-bottom)); }

/* Full-width angled transitions, with space reserved for the content. */
.feature-hero, .games-section, .apps-section, .contact-section { position: relative; }
.feature-hero { padding-bottom: 65px; }
.feature-hero::after, .games-section::after, .apps-section::after,
.contact-section::before, .contact-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  pointer-events: none;
}
.feature-hero::after { background: #0b0e13; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.games-section { padding-bottom: 165px; }
.games-section::after { background: #e9f7fe; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.apps-section { padding-bottom: 160px; }
.apps-section::after { background: white; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.contact-section { padding-top: 145px; padding-bottom: 145px; }
.contact-section::before { top: -1px; bottom: auto; background: white; clip-path: polygon(0 0, 100% 0, 0 100%); }
.contact-section::after { background: #080b10; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
@media (max-width: 700px) {
  .feature-hero { padding-bottom: 35px; }
  .feature-hero::after, .games-section::after, .apps-section::after,
  .contact-section::before, .contact-section::after { height: 48px; }
  .games-section, .apps-section { padding-bottom: 105px; }
  .contact-section { padding-top: 100px; padding-bottom: 105px; }
}

/* Reuse the original site's Instagram/Facebook glyphs and supplied X image. */
@font-face {
  font-family: 'Centrip Social';
  src: url('../fonts/themify.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-details h2 { font-size: 58px; letter-spacing: -.035em; }
.contact-intro { margin-top: 20px; font-size: 16px; }
.contact-method + .contact-method { margin-top: 29px; }
.contact-method h3 { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.contact-address { font-size: clamp(21px, 2.3vw, 32px); letter-spacing: -.03em; overflow-wrap: anywhere; }
.contact-phone { font-size: 23px; }
.contact-address:hover, .contact-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-socials { display: flex; gap: 12px; margin-top: 35px; padding-top: 28px; border-top: 1px solid #12537535; }
.contact-socials a { display: grid; place-items: center; height: 54px; width: 54px; border-radius: 16px; color: #00aeef; background: #fff; box-shadow: 0 3px 8px #06496b12; transition: transform .18s, box-shadow .18s; }
.contact-socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 16px #06496b25; }
.contact-socials a:active { transform: translateY(0); }
.social-icon { font-family: 'Centrip Social'; font-size: 25px; font-style: normal; font-weight: normal; line-height: 1; }
.contact-socials img { width: 25px; height: auto; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-details h2 { font-size: 46px; }
  .contact-intro { margin-top: 15px; }
  .contact-address { font-size: clamp(20px, 5vw, 28px); }
  .contact-phone { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .contact-socials a:hover { transform: none; } }

@media (max-width: 560px) { .footer-top { flex-wrap: wrap; } }

/* Only JavaScript-prepared, offscreen content is hidden before its reveal. */
.scroll-reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-pending { opacity: 1; }
}
