/* ============================================================
   template01 — 지도사 홈 기본 스타일 (2026-11-05)
   · 자바스크립트 라이브러리를 쓰지 않습니다 (CSS + 아주 짧은 스크립트만)
   · 색은 아래 :root 변수만 바꾸면 회사 색으로 바뀝니다
   · 움직임 규칙: templates/template01/animation.md
   ============================================================ */

:root {
  --t3-ink: #142d45;
  --t3-body: #53687b;
  --t3-line: #dce5ed;
  --t3-bg: #ffffff;
  --t3-bg-alt: #f4f8fa;
  --t3-main: #145477;
  --t3-main-dark: #0d3d5a;
  --t3-accent: #79c3d6;
  --t3-radius: 16px;
  --t3-ease: cubic-bezier(.22,.61,.36,1);
  --t3-head: 88px;          /* 머리글 높이 — 첫 화면에서 사진 위에 겹칠 때 쓴다 */
}

/* ── 공통 ── */
/* 왼쪽 선을 머리글(로고)·다른 화면과 같게 맞춘다 — 사이트 .wrap 과 같은 폭을 쓴다 */
.t3-wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.t3-kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--t3-accent); }
.t3-title { margin: 0 0 .7rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.3; color: var(--t3-ink); }
.t3-lead { margin: 0; font-size: 1rem; line-height: 1.9; color: var(--t3-body); }
.t3-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--t3-bg); }
.t3-section-alt { background: var(--t3-bg-alt); }

/* ── 머리글 (1단 메뉴 · 첫 화면에서는 사진 위에 겹친다) ──
   · 첫 화면: 어두운 띠로 사진 위에 얹힌다 (글자·로고는 흰색)
   · 스크롤하거나 메뉴를 열면 흰 띠로 바뀐다 (홈 스크립트가 is-solid 를 붙인다)
   · 안쪽 화면: 지금까지처럼 흰 머리글 그대로 (page-home 이 없으므로) */
.nav-phone { display: none; }   /* 휴대폰에서만 보이는 전화 단추 */

body.page-home .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(6,16,28,.62) 0%, rgba(6,16,28,.26) 62%, rgba(6,16,28,0) 100%);
  border-bottom: 0;
}
body.page-home .brand-name { color: #fff; }
/* 첫 화면에서는 글자만 흰색인 그림으로 바꿔 CS 색을 살린다 (2026-11-07) */
body.page-home .brand-wordmark-dark { display: none; }
body.page-home .brand-wordmark-light { display: block; }
/* 심볼 로고도 어두운 첫 화면에서는 빛 버전으로 바꿔 끼운다 (2026-11-12) */
body.page-home .logo-img { display: none; }
body.page-home .logo-img-light { display: block; }
body.page-home .brand-company + .brand-company { border-left-color: rgba(255,255,255,.35); }
body.page-home .brand-sub { color: rgba(255,255,255,.75); }
body.page-home .main-nav > a { color: #fff; }
body.page-home .main-nav > a:hover { color: #e8d9a8; }
/* 서브메뉴가 있는 메뉴도 같은 색으로 (2026-11-07) */
body.page-home .nav-group-btn,
body.page-home .nav-group:hover .nav-group-btn { color: #fff; }
body.page-home .nav-group-btn:hover,
body.page-home .nav-group.open .nav-group-btn { color: #e8d9a8; }
body.page-home .nav-cta { background: var(--t3-accent); color: #fff !important; }
body.page-home .nav-toggle { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff; }
body.page-home .nav-toggle-bar,
body.page-home .nav-toggle-bar::before,
body.page-home .nav-toggle-bar::after { background: #fff; }

body.page-home .site-header.is-solid {
  background: var(--t3-bg);
  border-bottom: 1px solid var(--t3-line);
}
body.page-home .site-header.is-solid .brand-name { color: var(--t3-ink); }
body.page-home .site-header.is-solid .brand-wordmark-dark { display: block; }
body.page-home .site-header.is-solid .brand-wordmark-light { display: none; }
body.page-home .site-header.is-solid .logo-img { display: block; }
body.page-home .site-header.is-solid .logo-img-light { display: none; }
body.page-home .site-header.is-solid .brand-company + .brand-company { border-left-color: var(--t3-line); }
body.page-home .site-header.is-solid .brand-sub { color: var(--t3-body); }
body.page-home .site-header.is-solid .main-nav > a { color: var(--t3-ink); }
body.page-home .site-header.is-solid .main-nav > a:hover { color: var(--t3-main); }
body.page-home .site-header.is-solid .nav-group-btn,
body.page-home .site-header.is-solid .nav-group:hover .nav-group-btn { color: var(--t3-ink); }
body.page-home .site-header.is-solid .nav-group-btn:hover,
body.page-home .site-header.is-solid .nav-group.open .nav-group-btn { color: var(--t3-main); }
body.page-home .site-header.is-solid .nav-toggle { background: var(--t3-bg-alt); border-color: var(--t3-line); color: var(--t3-ink); }
body.page-home .site-header.is-solid .nav-toggle-bar,
body.page-home .site-header.is-solid .nav-toggle-bar::before,
body.page-home .site-header.is-solid .nav-toggle-bar::after { background: var(--t3-ink); }

/* ── 단추 ── */
.t3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.6rem; border-radius: 10px; font-size: .95rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--t3-ease), background .2s var(--t3-ease);
}
.t3-btn-main { background: var(--t3-main); color: #fff; }
.t3-btn-main:hover { background: var(--t3-main-dark); transform: translateY(-2px); }
.t3-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.t3-btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.t3-btn-line { background: #fff; color: var(--t3-main); border: 1px solid var(--t3-line); }
.t3-btn-line:hover { transform: translateY(-2px); }

/* ── 1. 히어로 (슬라이딩 아님 · 페이드 + 아주 느린 확대) ── */
.t3-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh; overflow: hidden; background: #0b1a2b;
}
.t3-hero-bgs { position: absolute; inset: 0; }
.t3-hero-bg {
  position: absolute; inset: 0;
  background-position: 50% 50%; background-size: cover;
  opacity: 0; transform: scale(1);
  transition: opacity 1s var(--t3-ease), transform 3.2s linear;
}
.t3-hero-bg.is-on { opacity: 1; transform: scale(1.05); }
.t3-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,16,28,.5) 0%, rgba(6,16,28,.26) 45%, rgba(6,16,28,.04) 100%);
}
.t3-hero-mark {
  position: absolute; top: calc(var(--t3-head) + 14px); right: 20px; z-index: 3; margin: 0;
  display: flex; align-items: center; gap: .5rem; color: #fff; font-size: .78rem;
}
.t3-hero-mark img { width: 34px; height: auto; }
.t3-hero-inner { position: relative; z-index: 4; width: 100%; padding-bottom: clamp(3rem, 8vw, 5rem); color: #fff; }
.t3-hero-inner .t3-kicker { color: #e8d9a8; }
/* 제목 크기 — 지금의 75% (2026-11-08 신대표 지시 · 박스 안에서 너무 컸다) */
.t3-hero-inner h1 { margin: 0 0 .9rem; font-size: clamp(1.275rem, 3.75vw, 2.25rem); font-weight: 800; line-height: 1.3; }
/* 제목·설명·바로가기를 감싸는 네모 박스 — 화면 맨 왼쪽에 붙이고, 사진 위에서 글자가 잘 보이게 조금 어둡게 */
.t3-hero-box {
  display: inline-block; min-width: min(38rem, 100%); max-width: 46rem;
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.6rem);
  background: rgba(4, 12, 22, .58);
  border-radius: 2px;
}
/* 영문 문구도 박스 안 글자와 같은 선에 서게 한다 */
.t3-hero-inner .t3-kicker { margin-left: clamp(1.4rem, 3vw, 2.6rem); }
.t3-hero-box > :last-child { margin-bottom: 0; }
/* 글(제목·설명·바로가기)은 사진과 같은 박자로 부드럽게 바뀐다 */
.t3-hero-slide { transition: opacity .35s var(--t3-ease); }
.t3-hero-slide.is-fading { opacity: 0; }
/* 제목 아래 설명 글 — 뱃지가 아니라 보통 글자로 보이게 */
.t3-hero-desc {
  margin: 0 0 1.6rem; max-width: 34rem;
  color: rgba(255, 255, 255, .92); font-size: .98rem; line-height: 1.85;
}
/* 「바로가기」 — 오른쪽 맞춤 · 글자는 한 단계 작게 */
.t3-hero-more {
  display: flex; width: fit-content; margin-left: auto; align-items: center; gap: .4rem;
  padding-bottom: .2rem; border-bottom: 1px solid rgba(255, 255, 255, .55);
  color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none;
}
.t3-hero-more:hover { color: #e8d9a8; border-bottom-color: #e8d9a8; }
.t3-hero-lead { max-width: 46rem; margin: 0 0 1.6rem; font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.9; color: rgba(255,255,255,.92); }
.t3-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.t3-hero-down { position: absolute; right: 20px; bottom: 22px; z-index: 4; color: rgba(255,255,255,.85); font-size: .85rem; text-decoration: none; }
.t3-hero-down span { display: inline-block; animation: t3-bob 1.8s var(--t3-ease) infinite; }
@keyframes t3-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ── 2. 핵심 3카드 ── */
.t3-core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.t3-core-card {
  display: block; padding: 1.6rem 1.4rem; color: inherit; text-decoration: none;
  background: #fff; border: 1px solid var(--t3-line); border-radius: var(--t3-radius);
  transition: transform .2s var(--t3-ease), box-shadow .2s var(--t3-ease);
}
.t3-core-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,39,68,.10); }
.t3-core-no { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--t3-accent); }
.t3-core-card h2 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--t3-ink); }
.t3-core-card p { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.8; color: var(--t3-body); }
.t3-core-more { font-size: .85rem; font-weight: 700; color: var(--t3-main); }

/* ── 3. 회사소개 ── */
.t3-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.t3-about-photo { margin: 0; overflow: hidden; border-radius: var(--t3-radius); }
.t3-about-photo img { display: block; width: 100%; height: auto; }
.t3-about .t3-btn { margin-top: 1.2rem; }
/* 대표 사진 + 대표 경력 (2026-11-07) */
.t3-about-portrait { position: relative; max-width: 300px; margin-left: auto; background: #fff; border: 1px solid var(--t3-line); }
.t3-about-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.t3-about-portrait figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem;
  padding: .9rem 1.1rem; border-top: 1px solid var(--t3-line);
}
.t3-about-portrait figcaption strong { font-size: 1.05rem; color: var(--t3-ink); letter-spacing: .04em; }
.t3-about-portrait figcaption span { font-size: .82rem; line-height: 1.6; color: var(--t3-body); }
.t3-about-points { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.t3-about-points li {
  position: relative; padding-left: 1.1rem; margin-bottom: .5rem;
  font-size: .95rem; line-height: 1.65; color: var(--t3-body); word-break: keep-all;
}
.t3-about-points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--t3-accent);
}
.t3-about-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.t3-about-tags li {
  padding: .32rem .7rem; border-radius: 999px;
  background: rgba(29, 78, 137, .07); border: 1px solid rgba(29, 78, 137, .16);
  font-size: .8rem; font-weight: 700; color: var(--t3-main);
}

/* ── 4. 자격·지정 ── */
.t3-cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.t3-cert-list li { padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--t3-line); border-left: 4px solid var(--t3-accent); border-radius: 10px; }
.t3-cert-list strong { display: block; font-size: .98rem; color: var(--t3-ink); }
.t3-cert-list span { display: block; margin-top: .3rem; font-size: .85rem; line-height: 1.7; color: var(--t3-body); }

/* ── 5. 사업분야 ── */
.t3-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.t3-area-card { padding: 1.4rem; background: #fff; border: 1px solid var(--t3-line); border-radius: var(--t3-radius); }
.t3-area-no { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--t3-accent); }
.t3-area-card h3 { margin: .4rem 0 .5rem; font-size: 1.05rem; color: var(--t3-ink); }
.t3-area-card p { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.8; color: var(--t3-body); }
.t3-area-items { margin: 0; padding: 0; list-style: none; }
.t3-area-items a { display: block; padding: .35rem 0; font-size: .88rem; color: var(--t3-main); text-decoration: none; }
.t3-area-items a:hover { text-decoration: underline; }

/* ── 6. 왜 우리인가 ── */
.t3-strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.t3-strength { padding: 1.3rem; background: #fff; border: 1px solid var(--t3-line); border-radius: var(--t3-radius); }
.t3-strength-no { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--t3-accent); }
.t3-strength h3 { margin: .4rem 0 .5rem; font-size: 1rem; color: var(--t3-ink); }
.t3-strength p { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--t3-body); }

/* ── 7. 소식 ── */
.t3-news { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--t3-line); }
.t3-news li { border-bottom: 1px solid var(--t3-line); }
.t3-news a { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem .2rem; font-size: .95rem; color: var(--t3-ink); text-decoration: none; }
.t3-news time { flex: none; font-size: .85rem; color: #94a3b8; }

/* ── 8. 실적 — 현장 사진 갤러리 (2026-11-07 · 누르면 크게 보기) ── */
.t3-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.t3-gallery-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; }
.t3-gallery-item img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; transition: transform .35s var(--t3-ease);
}
.t3-gallery-item:hover img, .t3-gallery-item:focus-visible img { transform: scale(1.04); }

/* 사진 크게 보기 — 화면을 덮는 판 */
.t3-lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 56px 16px 40px; background: rgba(4, 12, 22, .94);
}
.t3-lightbox[hidden] { display: none; }
.t3-lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin: 0; max-width: 100%; }
.t3-lightbox-img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 130px); border-radius: 10px; }
.t3-lightbox-count { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.t3-lightbox-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.t3-lightbox-btn:hover { background: rgba(255, 255, 255, .26); }
.t3-lightbox-close { position: absolute; top: 14px; right: 14px; }

/* ── 등장 효과 (한 번만 · 움직임 싫으면 정지) ── */
.t3-rise { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--t3-ease), transform .5s var(--t3-ease); }
.t3-rise.is-in { opacity: 1; transform: none; }

/* ── 휴대폰 (640px 이하) ── */
@media (max-width: 640px) {
  :root { --t3-head: 68px; }
  .t3-wrap { width: calc(100% - 40px); }
  .t3-core-grid, .t3-area-grid, .t3-cert-list, .t3-strength-grid { grid-template-columns: 1fr; }
  .t3-about { grid-template-columns: 1fr; }
  .t3-about-photo { order: -1; }
  .t3-about-portrait { max-width: 250px; margin: 0 auto; }
  .t3-hero-actions { flex-direction: column; align-items: stretch; }
  .t3-btn { width: 100%; }
  .t3-hero-mark { top: calc(var(--t3-head) + 8px); right: 12px; font-size: .72rem; }
  .t3-hero-down { display: none; }
  .t3-work-grid { grid-template-columns: repeat(2, 1fr); }
  /* 갤러리는 휴대폰에서 두 칸 — 화살표는 사진 위에 겹쳐 둔다 (좁아서 옆에 세우면 사진이 작아진다) */
  .t3-gallery { grid-template-columns: repeat(2, 1fr); gap: .4rem; }
  .t3-lightbox { padding: 64px 8px 16px; gap: 0; }
  .t3-lightbox-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; }
  .t3-lightbox-prev { left: 8px; }
  .t3-lightbox-next { right: 8px; }
  .t3-lightbox-close { top: 12px; right: 12px; transform: none; }
  .t3-lightbox-img { max-height: calc(100vh - 180px); }

  /* 휴대폰 머리글: 로고 + 전화 + ☰ 세 개만 (layout.md) */
  .brand-text { display: none; }
  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .t3-hero::after { background: linear-gradient(180deg, rgba(6,16,28,.5) 0%, rgba(6,16,28,.28) 55%, rgba(6,16,28,.55) 100%); }
  .t3-hero-box { display: block; max-width: none; }
  .nav-phone {
    display: inline-flex; align-items: center; gap: 4px;
    margin-left: auto; margin-right: 6px;
    padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 700;
    background: var(--t3-accent); color: #fff; text-decoration: none;
  }
  body.page-home .nav-phone { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); }
  body.page-home .site-header.is-solid .nav-phone { background: var(--t3-accent); border-color: transparent; }
}

/* ── 대표 사진 (회사소개 인사말 아래) ── */
.ceo-portrait { margin: 24px 0 0; max-width: 190px; overflow: hidden; border-radius: var(--t3-radius); }
.ceo-portrait img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .ceo-portrait { max-width: 150px; margin-top: 18px; }
}

/* ── 움직임을 싫어하는 사람 설정 ── */
@media (prefers-reduced-motion: reduce) {
  .t3-hero-bg, .t3-hero-bg.is-on { transition: none; transform: none; }
  .t3-hero-slide { transition: none; }
  .t3-hero-down span { animation: none; }
  .t3-rise { opacity: 1; transform: none; transition: none; }
  .t3-btn:hover, .t3-core-card:hover { transform: none; }
}

/* Refined homepage */
.t3-hero {
  min-height: min(860px, 100svh);
  background: #0b2238;
}
.t3-hero-bg { background-position: center 48%; }
.t3-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 23, 39, .66), rgba(5, 23, 39, .23) 72%),
    linear-gradient(0deg, rgba(5, 23, 39, .76), transparent 70%);
}
.t3-hero-mark {
  padding: .6rem .85rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(7, 27, 44, .48);
  backdrop-filter: blur(10px);
}
.t3-hero-inner { padding-bottom: clamp(4.5rem, 9vh, 7rem); }
.t3-hero-inner .t3-kicker {
  color: #a4deeb;
  font-size: .76rem;
  letter-spacing: .22em;
}
.t3-hero-inner h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.28;
  letter-spacing: -.055em;
  word-break: keep-all;
}
.t3-hero-box {
  min-width: min(36rem, 100%);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border: 1px solid rgba(255, 255, 255, .2);
  border-left: 3px solid #79c3d6;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(125deg, rgba(7, 27, 44, .86), rgba(7, 27, 44, .58));
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
}
.t3-hero-inner .t3-kicker { margin-left: clamp(1.6rem, 3.5vw, 2.8rem); }
.t3-hero-desc { max-width: 38rem; font-size: 1.05rem; }
.t3-hero-more {
  margin-top: .25rem;
  padding: .72rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #12324b;
  transition: background .2s ease, transform .2s ease;
}
.t3-hero-more:hover {
  transform: translateY(-2px);
  border-bottom-color: transparent;
  background: #bce6ee;
  color: #12324b;
}
.t3-hero-down { letter-spacing: .04em; }
.t3-core-card, .t3-area-card, .t3-cert-list li, .t3-strength {
  border-color: #e1e9ef;
  border-radius: var(--t3-radius);
  box-shadow: 0 8px 24px rgba(13, 40, 65, .045);
}
.t3-core-card:hover {
  border-color: #b4d7e2;
  box-shadow: 0 16px 34px rgba(13, 40, 65, .1);
}
.t3-core-no, .t3-area-no, .t3-strength-no { color: #2681a5; }
.t3-about-portrait { box-shadow: 0 18px 42px rgba(13, 40, 65, .1); }
.t3-about-portrait img { background: #eaf2f6; }
.t3-about-tags li { background: #eef7fa; border-color: #d7ebf1; }
.t3-area-card { padding: 1.7rem; }
.t3-gallery { gap: .85rem; }
.t3-gallery-item { overflow: hidden; background: #eaf2f6; }
.t3-gallery-item img { border-radius: var(--t3-radius); }
.t3-gallery-item:hover img, .t3-gallery-item:focus-visible img { transform: scale(1.035); }

@media (max-width: 640px) {
  .t3-hero { min-height: max(620px, 100svh); }
  .t3-hero-bg { background-position: 55% center; }
  .t3-hero-mark {
    gap: .4rem;
    max-width: calc(100% - 24px);
    padding: .45rem .65rem;
    font-size: .65rem;
  }
  .t3-hero-mark img { width: 28px; }
  .t3-hero-box { border-radius: 0 14px 14px 0; }
  .t3-hero-inner .t3-kicker { margin-left: 1.6rem; }
  .t3-hero-inner h1 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .t3-hero-desc { font-size: .95rem; }
  .t3-hero-more { width: fit-content; margin-left: auto; }
  .t3-gallery { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .t3-hero-more:hover { transform: none; }
}

