/* LONG WHALE PTE. LTD. — corporate site */

:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c2430;
  --muted: #5b6672;
  --accent: #0f4c5c;
  --accent-dark: #0a3844;
  --line: #e6e2da;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--accent-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark img { display: block; }

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 16ch;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
}

.btn:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* Sections */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.section p { color: var(--ink); max-width: 62ch; }

.section .lead { color: var(--muted); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p { margin: 0 0 20px; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card-grid .card { max-width: none; }

.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: #e7f0f2;
  border: 1px solid #d3e3e7;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Page (inner pages) */
.page {
  padding: 64px 0 32px;
}

.page h1 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.page p { max-width: 62ch; }

.page ul {
  padding-left: 22px;
  max-width: 62ch;
}

.page li { margin: 6px 0; }

.page a { color: var(--accent); }

/* Contact blocks */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  max-width: 560px;
  margin: 20px 0;
}

.contact-block h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.contact-block a {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 15px;
  color: var(--muted);
}

.site-footer .footer-name {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.site-footer p { margin: 4px 0; max-width: 62ch; }

.site-footer a { color: var(--accent); text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.footer-links {
  margin: 18px 0 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal { font-size: 13.5px; margin-top: 22px; }

@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 44px 0; }
}
