/* ============================================================================
   SEA Group — 2026 rebuild (standalone: not shared with the Construction site)
   Navy ink + periwinkle accent to sit visually alongside SEACON New.
   ========================================================================== */
:root {
  --ink: #10173f;
  --ink-dim: #4b5378;
  --ink-faint: #8a90ad;
  --accent: #4250c8;
  --accent-deep: #242b73;
  --paper: #f4f6fc;
  --white: #ffffff;
  --line: #e3e6f2;
  --radius: 18px;
  --shadow: 0 14px 40px -18px rgba(16, 23, 63, .25);
  --font-d: 'Sora', sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--ink); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; }

/* ambient sky */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(66, 80, 200, .16), transparent 60%),
    radial-gradient(760px 420px at 88% 4%, rgba(122, 160, 255, .18), transparent 60%),
    linear-gradient(180deg, #eef1fb 0%, var(--paper) 42%);
}

/* header — seamless glass, no separating line */
header { position: sticky; top: 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
header.scrolled { background: rgba(244, 246, 252, .82); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(16, 23, 63, .25); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff; font-family: var(--font-d); font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.logo-text { font-family: var(--font-d); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.15; }
.logo-text small { display: block; font-family: var(--font-b); font-weight: 500; font-size: 10.5px; color: var(--ink-faint); letter-spacing: .04em; }
nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
nav a { text-decoration: none; color: var(--ink-dim); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
nav a:hover { color: var(--ink); background: rgba(66, 80, 200, .08); }
nav a.active { color: #fff; background: var(--accent); }
nav .nav-cta { color: #fff; background: var(--accent-deep); margin-left: 8px; }
nav .nav-cta:hover { background: var(--accent); color: #fff; }
.hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 20px 16px; background: rgba(244, 246, 252, .97); backdrop-filter: blur(14px); }
.mobile-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; }

/* layout primitives */
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: rgba(66, 80, 200, .1); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px;
}
.section-title { font-family: var(--font-d); font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 26px; }
.content-section { max-width: 1180px; margin: 0 auto; padding: 56px 24px; }
.content-section.alt { max-width: none; background: var(--white); }
.content-section.alt > * { max-width: 1132px; margin-left: auto; margin-right: auto; }
.content-section.alt .section-title { margin-bottom: 26px; }

.page-hero { max-width: 1180px; margin: 0 auto; padding: 64px 24px 8px; }
.page-hero h1 { font-family: var(--font-d); font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 12px; }
.page-hero p { color: var(--ink-dim); font-size: 17px; max-width: 640px; }
h1 em, .section-title em { font-style: normal; background: linear-gradient(120deg, var(--accent), #7aa0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* home hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 56px 24px 12px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-copy h1 { font-family: var(--font-d); font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 14px; }
.hero-copy p { color: var(--ink-dim); font-size: 16.5px; margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-badges img { height: 44px; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.hero-badges span { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.hero-photo img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); display: block; }

.btn-primary, .btn-ghost {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 13px 26px; border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; box-shadow: 0 10px 26px -12px rgba(66, 80, 200, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(66, 80, 200, .7); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* cards & grids */
.grid-1 { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 4px 16px -10px rgba(16, 23, 63, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ccd3f0; }
.card h3 { font-family: var(--font-d); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 14.5px; }
.card-icon { font-size: 26px; margin-bottom: 10px; }
.linkcard { text-decoration: none; display: block; }
.linkcard h3 { color: var(--accent-deep); }

/* people */
.person { text-align: center; }
.person img { width: 116px; height: 116px; object-fit: cover; border-radius: 50%; border: 4px solid var(--paper); box-shadow: var(--shadow); margin-bottom: 12px; }
.person-role { color: var(--accent); font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.person a { color: var(--ink-faint); font-size: 12.5px; text-decoration: none; word-break: break-all; }
.person a:hover { color: var(--accent); }

/* prose & splits */
.prose { max-width: 760px; }
.prose p { color: var(--ink-dim); font-size: 16px; margin-bottom: 16px; }
.prose strong { color: var(--ink); }
.prose-img { border-radius: 16px; box-shadow: var(--shadow); margin: 4px 0 18px; }
.prose-cta { margin-top: 22px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.photo-stack { display: grid; gap: 14px; }
.photo-stack img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); display: block; }
.badge-row { display: flex; gap: 14px; margin-top: 8px; }
.badge-row img { height: 56px; background: #fff; padding: 6px; border-radius: 10px; border: 1px solid var(--line); }
.steps { counter-reset: step; list-style: none; display: grid; gap: 10px; margin: 8px 0 4px; }
.steps li {
  counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px 13px 52px; position: relative; color: var(--ink-dim); font-size: 15px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* news */
.newscard { text-decoration: none; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.newscard img, .news-tile { width: 100%; height: 168px; object-fit: cover; display: block; }
.news-tile { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: rgba(255,255,255,.55); font-family: var(--font-d); font-weight: 800; font-size: 34px; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.news-body time { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.news-body .more { color: var(--accent); font-weight: 700; font-size: 13.5px; margin-top: auto; }

/* contact */
.contact-card p, .contact-card a { color: var(--ink-dim); font-size: 15px; text-decoration: none; }
.contact-card a:hover { color: var(--accent); }
.hint-line { margin-top: 26px; color: var(--ink-faint); font-size: 14px; }
.hint-line a { color: var(--accent); }

/* footer */
footer { background: var(--ink); color: #c6cbe4; margin-top: 64px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 52px 24px 30px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer-brand p { font-size: 13.5px; line-height: 1.65; margin-top: 12px; color: #9aa2c9; }
.footer-col h4 { font-family: var(--font-d); color: #fff; font-size: 13.5px; margin-bottom: 12px; letter-spacing: .04em; }
.footer-col a, .footer-col span { display: block; color: #9aa2c9; text-decoration: none; font-size: 13.5px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); text-align: center; padding: 18px; font-size: 12.5px; color: #7c84ad; }

/* reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 980px) {
  nav { display: none; }
  .hamburger { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
