/* Hiyom website styles. All colours are tokens so the look can change in one place. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1c2433;
  --muted: #5b6475;
  --accent: #e8673c;
  --accent-text: #ffffff;
  --line: #ebe4d8;
  --sky-top: #fde8c8;
  --sky-bottom: #f9cfa8;
  --hill-1: #f2a37a;
  --hill-2: #d9765a;
  --hill-3: #2f3f5c;
  --people: #fbf8f3;
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1b2d;
    --surface: #16243a;
    --text: #eef1f6;
    --muted: #a7b0c0;
    --accent: #ff8a5c;
    --accent-text: #0f1b2d;
    --line: #243552;
    --sky-top: #1d2d4a;
    --sky-bottom: #4a3a5a;
    --hill-1: #8a4f5e;
    --hill-2: #5b3a52;
    --hill-3: #0b1424;
    --people: #ffd27a;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }

.top, main, footer {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: .3px;
}
nav { display: flex; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 72px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin: 0 0 20px;
}
.h1-soft { color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 34em; }
.hero-art { width: 100%; height: auto; display: block; }
.sun { animation: rise 2.4s ease-out both; }
.rays { animation: glow 2.4s ease-out .8s both; }
@keyframes rise { from { transform: translateY(40px); } to { transform: none; } }
@keyframes glow { from { opacity: 0; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .sun, .rays { animation: none; } }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}
.button:hover { filter: brightness(1.05); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; }
h2 { font-size: 30px; margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 12px 0 8px; font-size: 22px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.icon { width: 48px; height: 48px; fill: var(--accent); stroke: var(--accent); }
.icon .dot { fill: var(--surface); }
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent) !important;
  margin: 4px 0 0 !important;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
}
.value-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid var(--accent); }
.value-list span { color: var(--muted); }

.contact { text-align: center; }
.contact p { color: var(--muted); margin: 0 0 24px; }
.notfound { border-top: 0; padding-top: 96px; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0 0 6px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.social a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.social a:hover { border-color: var(--accent); color: var(--accent); }
.small { font-size: 12px; }

/* Phones */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 48px; }
  .grid, .value-list { grid-template-columns: 1fr; }
  nav { gap: 14px; }
  nav a { font-size: 14px; }
  section { padding: 44px 0; }
}
@media (max-width: 420px) {
  nav a[href="#people"] { display: none; }
}
