/* ==========================================================================
   SJFK – design tokens (same palette + fonts as the original site)
   ========================================================================== */
:root {
  --alt-font: "Plus Jakarta Sans", sans-serif;
  --primary-font: "Inter", sans-serif;

  --base: #39373a;
  --base-dark: #1d1c1e;
  --base-soft: #f1f0f1;
  --yellow: #ee2f35;
  --dark: #1c1b1c;
  --dark-2: #1b1d22;
  --gray: #3b393c;
  --line: #e4e4e4;
  --light: #f7f7f7;
  --white: #fff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.05), 0 2px 8px rgb(16 24 40 / 0.04);
  --shadow: 0 10px 30px -12px rgb(16 24 40 / 0.18);
  --shadow-lg: 0 24px 48px -18px rgb(16 24 40 / 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --topbar-h: 44px;
  --nav-h: 76px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  color: var(--gray);
  background: var(--white);
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.4rem; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--dark); letter-spacing: -0.02em; line-height: 1.2; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--base); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--base); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container-wide { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 960px; }
.narrow-xl { max-width: 1080px; }

.section { padding-block: clamp(56px, 8vw, 110px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.section-alt { background: var(--light); }
.h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.25; margin-bottom: 1.2rem; }
.justify { text-align: justify; }

/* ---------- scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js .reveal-up { transform: translateY(32px); }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.reveal { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 0;
  font-family: var(--alt-font); font-weight: 700; font-size: 14px; letter-spacing: 0.01em; line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--base); color: #fff; box-shadow: 0 10px 22px -10px rgb(57 55 58 / 0.7); }
.btn-primary:hover { background: var(--base-dark); }
.btn-yellow { background: var(--yellow); color: #fff; box-shadow: 0 10px 22px -12px rgb(0 0 0 / 0.5); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; text-transform: uppercase; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: calc(var(--topbar-h) * -1); z-index: 100; }
.topbar { height: var(--topbar-h); background: var(--light); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--dark); }
.topbar__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__msg a { font-weight: 700; margin-left: 4px; background: linear-gradient(var(--dark), var(--dark)) 0 100% / 100% 1px no-repeat; }
.topbar__info { display: flex; align-items: center; gap: 28px; }
.topbar__info a, .topbar__addr { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { color: var(--base); }

.navbar { background: rgb(255 255 255 / 0.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s; }
.is-scrolled .navbar { box-shadow: 0 8px 28px -14px rgb(16 24 40 / 0.35); border-color: var(--line); }
.navbar__row { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; font-weight: 600; }
.menu__item { position: relative; }
.menu__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 0; background: none;
  font-size: 15px; color: var(--dark); line-height: 1.3; transition: color 0.2s, background-color 0.2s;
}
.menu__link:hover, .has-dd:hover > .menu__link, .has-dd:focus-within > .menu__link { color: var(--base); background: var(--base-soft); }
.menu__link.active { color: var(--base); }
.chev { font-size: 10px; transition: transform 0.25s; }
.has-dd:hover > .menu__link .chev { transform: rotate(180deg); }

.dd {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 230px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd a, .fly-label { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--dark); line-height: 1.4; transition: background-color 0.15s, color 0.15s; }
.dd a:hover, .dd a.active, .has-fly:hover > .fly-label { background: var(--base-soft); color: var(--base); }
.fly-label { cursor: default; }
.chev-r { transform: rotate(-90deg); }
.has-fly { position: relative; }
.fly { position: absolute; left: calc(100% + 8px); top: -8px; min-width: 200px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.fly::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
.has-fly:hover > .fly, .has-fly:focus-within > .fly { opacity: 1; visibility: visible; transform: none; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--light); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 0.3s, opacity 0.2s, top 0.3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 575px) { .nav-cta { display: none; } }
@media (max-width: 991px) {
  :root { --nav-h: 66px; }
  .topbar__info { display: none; }
  .burger { display: block; }
  .brand img { height: 40px; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgb(16 24 40 / 0.35);
    max-height: calc(100svh - var(--nav-h) - var(--topbar-h)); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu__link { width: 100%; justify-content: space-between; padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .dd, .fly { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; display: none; }
  .dd::before, .fly::before { display: none; }
  .has-dd.is-open > .dd { display: block; }
  .has-dd.is-open > .menu__link .chev { transform: rotate(180deg); }
  .has-dd:hover > .dd { opacity: 1; transform: none; }
  .has-fly .fly { display: block; padding-left: 12px; border-left: 2px solid var(--line); margin: 0 0 6px 14px; }
  .fly-label { font-weight: 700; color: var(--dark); padding-bottom: 4px; }
  .fly-label .chev { display: none; }
  .has-fly:hover > .fly-label { background: none; color: var(--dark); }
}

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */
.hero { position: relative; height: clamp(460px, calc(100svh - var(--topbar-h) - var(--nav-h)), 760px); background: var(--dark); overflow: hidden; color: #fff; outline-offset: -4px; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 0; transition: opacity 1s ease, visibility 0s 1s; }
.hero__slide.is-prev { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1s ease, visibility 0s; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); will-change: transform; backface-visibility: hidden; }
.hero__slide.is-active .hero__img, .hero__slide.is-prev .hero__img { animation: kenburns 6s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 14 30 / 0.35) 0%, rgb(10 14 30 / 0.15) 40%, rgb(10 14 30 / 0.75) 100%); }
.hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: clamp(56px, 9vw, 96px); text-align: center; }
.hero__caption { margin: 0; font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 500; line-height: 1.5; text-shadow: 0 2px 24px rgb(0 0 0 / 0.55); }
.hero__caption span { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.hero__slide.is-active .hero__caption span { animation: capIn 0.8s 0.35s var(--ease) both; }
.hero__slide.is-prev .hero__caption { opacity: 0; transition: opacity 0.35s ease; }
@keyframes capIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.12); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; font-size: 22px; transition: background-color 0.25s, transform 0.25s; }
.hero__arrow:hover { background: rgb(255 255 255 / 0.28); transform: scale(1.06); }
.hero__arrow--prev { left: clamp(12px, 3vw, 40px); } .hero__arrow--next { right: clamp(12px, 3vw, 40px); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.5); transition: width 0.3s, background-color 0.3s; }
.hero__dots button.is-active { width: 30px; background: var(--yellow); }
@media (max-width: 640px) { .hero__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active .hero__img, .hero__slide.is-prev .hero__img, .hero__slide.is-active .hero__caption span { animation: none; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; min-height: 250px; display: flex; align-items: center; background: var(--dark) center / cover no-repeat; color: #fff; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 14 30 / 0.55), rgb(10 14 30 / 0.1) 70%); }
.page-hero__inner { padding-block: 56px; }
.page-hero h1 { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1.4; font-weight: 700; color: #fff; letter-spacing: 0.04em; text-shadow: 0 2px 12px rgb(0 0 0 / 0.4); margin-bottom: 16px; animation: heroIn 0.8s var(--ease) both; }
.page-hero__dash { display: inline-block; width: 30px; height: 2px; background: var(--yellow); }
.page-hero h3 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 500; letter-spacing: -0.04em; color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / 0.45); animation: heroIn 0.9s 0.12s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Shared section bits
   ========================================================================== */
.section-title { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-title h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.045em; position: relative; padding-bottom: 18px; }
.section-title h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 52px; height: 4px; translate: -50% 0; border-radius: 4px; background: linear-gradient(90deg, var(--base), var(--yellow)); }
.section-title--xl { max-width: 900px; }
.section-title--xl h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.5; }
.section-heading { text-align: center; font-size: clamp(1.6rem, 2.8vw, 1.95rem); font-weight: 700; margin-bottom: clamp(28px, 4vw, 48px); position: relative; padding-bottom: 18px; }
.section-heading::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 52px; height: 4px; translate: -50% 0; border-radius: 4px; background: linear-gradient(90deg, var(--base), var(--yellow)); }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- people cards ---------- */
.person { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; background: var(--light); transition: transform 0.6s var(--ease); }
.person--photo { position: relative; }
.person--photo:hover .person__photo { transform: scale(1.04); }
.person--photo .person__body { position: relative; background: #fff; flex: 1; }
.person__avatar { display: grid; place-items: center; width: 84px; height: 84px; margin: 26px auto 0; border-radius: 50%; background: var(--base-soft); color: var(--base); font-size: 34px; transition: background-color 0.3s, color 0.3s, transform 0.3s; }
.person:hover .person__avatar { background: var(--base); color: #fff; transform: scale(1.06); }
.person__body { padding: 20px 22px 24px; }
.person__body p { margin: 0; font-size: 15px; line-height: 1.7; }
.person__body p + p { margin-top: 2px; }
.person__name { font-family: var(--primary-font); font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -0.03em; color: var(--dark); margin-bottom: 6px; }

/* ---------- gallery cards ---------- */
.shot { margin: 0; display: flex; flex-direction: column; }
.shot__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--light); }
.shot__media img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.shot:hover .shot__media img { transform: scale(1.05); }
.shot figcaption { padding: 22px 4px 8px; }
.shot figcaption p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.85; }
.text-link { color: var(--base); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Home
   ========================================================================== */
.about__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media { position: relative; justify-self: end; max-width: 520px; width: 100%; }
.about__media > img:first-child { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.about__card { position: absolute; left: -28px; bottom: 56px; width: 240px; padding: 26px 20px 20px; text-align: center; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.about__card span { display: block; margin: 12px 0 18px; font-weight: 700; line-height: 1.5; color: var(--dark); letter-spacing: -0.03em; }
.about__avatar { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--base-soft); }
.about__text p { font-size: 16.5px; }
.about__text p:last-child { margin-bottom: 0; }
.org-media { max-width: 560px; padding-bottom: 36px; }
.org-media__float { position: absolute; right: -4%; bottom: 0; width: 52%; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .about__row { grid-template-columns: 1fr; }
  .about__media { justify-self: center; }
  .about__card { left: 12px; bottom: 24px; }
}

.tiles { border-block: 1px solid var(--line); }
.tiles__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 1920px; margin-inline: auto; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 20px 40px; border-right: 1px solid var(--line); isolation: isolate; overflow: hidden; transition: color 0.3s; }
.tile:last-child { border-right: 0; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--base); transform: translateY(100%); transition: transform 0.45s var(--ease); }
.tile:hover::before, .tile:focus-visible::before { transform: none; }
.tile__icon { font-size: 40px; color: var(--base); margin-bottom: 20px; transition: color 0.3s, transform 0.4s var(--ease); }
.tile__title { font-family: var(--alt-font); font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.03em; color: var(--dark); margin-bottom: 6px; transition: color 0.3s; }
.tile p { margin: 0; font-size: 15px; line-height: 1.65; transition: color 0.3s; }
.tile:hover .tile__icon { color: #fff; transform: translateY(-4px) scale(1.08); }
.tile:hover .tile__title, .tile:hover p { color: #fff; }
@media (max-width: 1280px) { .tiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { padding: 32px 14px; } .tile:nth-child(even) { border-right: 0; } }

/* ==========================================================================
   Welfare
   ========================================================================== */
.slides3 { display: flex; gap: 18px; height: 460px; }
.slide3 { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; background: var(--light); border-radius: 20px; overflow: hidden; transition: flex-grow 0.6s var(--ease), box-shadow 0.4s; outline-offset: 4px; }
.slide3.is-active { flex-grow: 2.2; box-shadow: var(--shadow-lg); }
.slide3 img { width: 100%; height: 55%; object-fit: cover; }
.slide3__content { flex: 1; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.slide3__icon { font-size: 28px; color: var(--base); margin-bottom: 10px; }
.slide3 h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 4px; }
.slide3 p { margin: 0; line-height: 1.7; font-size: 15px; }
@media (max-width: 900px) {
  .slides3 { flex-direction: column; height: auto; }
  .slide3 { flex: none; }
  .slide3 img { height: 220px; }
}
.membership { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 48px; font-weight: 600; color: var(--dark); font-size: 19px; letter-spacing: -0.03em; }
.membership a { color: var(--base); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.pill { background: var(--yellow); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 18px; border-radius: 999px; line-height: 30px; letter-spacing: 0.08em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__media img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.accordion__item { border-bottom: 1px solid var(--line); }
.accordion h4 { margin: 0; }
.accordion button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; font-size: 19px; font-weight: 600; color: var(--dark); letter-spacing: -0.03em; line-height: 1.4; }
.accordion button svg { flex: none; font-size: 14px; color: var(--base); transition: transform 0.3s; }
.accordion__item.is-open button svg { transform: rotate(180deg); }
.accordion__item.is-open button { color: var(--base); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel p { font-size: 15.5px; }
.accordion__panel > div > p:last-child { margin-bottom: 20px; }
.accordion__panel > div > p:first-child { margin-top: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-intro__boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.info-card { background: var(--light); border-radius: 18px; padding: 28px; font-size: 17px; line-height: 1.8; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card img { border-radius: 12px; margin-bottom: 24px; width: 100%; }
.info-card__title { display: block; font-family: var(--alt-font); font-size: 19px; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.info-card p { margin: 0; }
@media (max-width: 900px) { .contact-intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-intro__boxes { grid-template-columns: 1fr; } }

.contact-sheet { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 64px); box-shadow: var(--shadow-lg); }
.contact-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.contact-sheet__head .h3 { margin: 0; font-family: var(--alt-font); }
.contact-sheet__icon { font-size: 34px; color: var(--base); animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translate(4px, -6px) rotate(8deg); } }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field-full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .newsletter input {
  width: 100%; padding: 15px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--light); font: inherit; font-size: 15px; color: var(--dark); line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa0ab; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--base); background: #fff; box-shadow: 0 0 0 4px rgb(57 55 58 / 0.12); }
.contact-form__note { margin: 0; font-size: 15px; line-height: 1.7; align-self: center; }
.contact-form__submit { text-align: right; align-self: center; }
.form-result { grid-column: 1 / -1; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.form-result.is-ok { background: #e8f8ef; color: #17784a; }
.form-result.is-err { background: #fdecec; color: #b42318; }
@media (max-width: 700px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form__submit { text-align: left; }
}
.connect { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; }
.connect h6 { font-size: 18px; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.connect__line { display: none; flex: 0 0 90px; height: 1px; background: var(--dark); opacity: 0.2; }
@media (min-width: 992px) { .connect__line { display: block; } }

/* social icons */
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.25); color: #fff; font-size: 15px; transition: background-color 0.25s, color 0.25s, transform 0.25s, border-color 0.25s; }
.social a:hover { background: var(--base); border-color: var(--base); transform: translateY(-3px); }
.social--dark a { width: 46px; height: 46px; border-color: var(--line); color: var(--dark); font-size: 17px; }
.social--dark a:hover { color: #fff; }

.not-found { text-align: center; min-height: 50vh; display: grid; align-content: center; }
.not-found__code { font-family: var(--alt-font); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; color: var(--base); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: rgb(255 255 255 / 0.7); font-weight: 300; font-size: 16px; }
.footer-top { border-bottom: 1px solid rgb(255 255 255 / 0.12); padding-block: 52px; }
.footer-top__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-top h5 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 6px; }
.footer-top span { font-size: 20px; font-weight: 300; line-height: 1.5; }
.footer-top__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr 1.3fr; gap: 36px; padding-block: 64px 48px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 20px; }
.footer-h { display: block; color: #fff; font-size: 18px; font-weight: 400; margin-bottom: 10px; }
.footer-grid ul:not(.social) li a { display: inline-block; padding: 2px 0; transition: color 0.2s, transform 0.2s; }
.footer-grid ul:not(.social) li a:hover { color: #fff; transform: translateX(4px); }
.footer-grid p { line-height: 1.75; }
.newsletter { position: relative; }
.newsletter input { background: transparent; border-color: rgb(255 255 255 / 0.2); color: #fff; padding-right: 54px; }
.newsletter input::placeholder { color: rgb(255 255 255 / 0.5); }
.newsletter input:focus { outline: 0; border-color: var(--yellow); }
.newsletter button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 9px; background: var(--base); color: #fff; display: grid; place-items: center; font-size: 16px; transition: background-color 0.2s; }
.newsletter button:hover { background: var(--base-dark); }
.newsletter .form-result { margin-top: 10px; font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px 28px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .footer-grid > div:last-child { grid-column: 1 / -1; } .footer-top__row { text-align: center; justify-content: center; } }

/* ---------- scroll-to-top with progress ring ---------- */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top svg { width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.scroll-top circle { fill: none; stroke-width: 3; }
.scroll-top__track { stroke: var(--line); }
.scroll-top__bar { stroke: var(--base); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.scroll-top__arrow { fill: none; stroke: var(--dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; rotate: 90deg; transform-origin: 24px 24px; }
