:root {
      color-scheme: light dark;
      --bg: #f3f6f4;
      --paper: #ffffff;
      --ink: #101a1d;
      --muted: #46575b;
      --line: #ccd6d4;
      --deep: #0b2a31;
      --deep-2: #123b43;
      --mint: #9ee6d9;
      --accent: #ec6738;
      --accent-ink: #171513;
      --soft: #deebe8;
      --shadow: 0 24px 70px rgba(14, 37, 42, .14);
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #081317;
        --paper: #102126;
        --ink: #eef7f5;
        --muted: #b7c8c5;
        --line: #294249;
        --deep: #071e24;
        --deep-2: #12343b;
        --mint: #89d7ca;
        --accent: #ff7645;
        --accent-ink: #140f0d;
        --soft: #173238;
        --shadow: 0 28px 80px rgba(0, 0, 0, .35);
      }
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: "Source Sans 3", sans-serif;
      font-size: 18px;
      line-height: 1.55;
      overflow-x: hidden;
    }
    a { color: inherit; }
    img { display: block; max-width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }
    .wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

    .hero {
      background: var(--deep);
      color: #f5fbfa;
      min-height: min(760px, 92vh);
      display: grid;
      align-items: center;
      position: relative;
      isolation: isolate;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 8px;
      background: linear-gradient(90deg, var(--accent) 0 38%, var(--mint) 38% 62%, transparent 62%);
      z-index: 3;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
      gap: clamp(34px, 6vw, 92px);
      align-items: center;
      padding-block: 80px 70px;
    }
    .signal {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--mint);
      font-size: .86rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .signal::before {
      content: "";
      width: 28px;
      height: 2px;
      background: currentColor;
    }
    h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; margin: 0; line-height: .94; }
    h1 {
      font-size: clamp(3.7rem, 8vw, 7.5rem);
      max-width: 760px;
      letter-spacing: -.025em;
      text-wrap: balance;
    }
    h1 span { color: var(--accent); }
    .hero-copy > p {
      max-width: 620px;
      margin: 27px 0 0;
      font-size: clamp(1.05rem, 1.7vw, 1.28rem);
      color: #d5e2e0;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
    .button {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      min-height: 52px;
      padding: 12px 20px;
      border: 2px solid transparent;
      font-weight: 700;
      text-decoration: none;
      border-radius: 4px;
      transition: background .2s ease, color .2s ease, border-color .2s ease;
    }
    .button.primary { background: var(--accent); color: var(--accent-ink); }
    .button.primary:hover { background: #ff8053; }
    .button.ghost { border-color: #608087; color: #f5fbfa; }
    .button.ghost:hover { border-color: var(--mint); color: var(--mint); }
    .arrow { font-size: 1.2em; transform: translateY(-1px); }

    .hero-visual { position: relative; }
    .photo-frame {
      position: relative;
      min-height: 540px;
      box-shadow: var(--shadow);
      overflow: hidden;
      background: #1a353b;
    }
    .photo-frame img {
      width: 100%;
      height: 540px;
      object-fit: cover;
      object-position: 53% center;
      filter: saturate(.75) contrast(1.06);
    }
    .photo-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 44%, rgba(5, 24, 29, .8) 100%);
      pointer-events: none;
    }
    .field-note {
      position: absolute;
      z-index: 2;
      left: -28px;
      bottom: 26px;
      max-width: 300px;
      padding: 18px 21px 19px;
      background: var(--paper);
      color: var(--ink);
      box-shadow: 0 18px 42px rgba(0,0,0,.2);
    }
    .field-note strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; line-height: 1; margin-bottom: 7px; }
    .field-note span { color: var(--muted); font-size: .93rem; }
    .temperature-mark {
      position: absolute;
      right: -20px;
      top: -22px;
      width: 102px;
      height: 102px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--mint);
      color: #0b262b;
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1.65rem;
      font-weight: 800;
      transform: rotate(7deg);
      box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

    .principle-strip { background: var(--accent); color: var(--accent-ink); }
    .principle-strip .wrap {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 22px;
      align-items: center;
      padding-block: 23px;
    }
    .principle-strip strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; line-height: 1; }
    .principle-strip p { margin: 0; font-weight: 600; }

    section { padding-block: clamp(70px, 9vw, 112px); }
    .section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; align-items: end; margin-bottom: 48px; }
    .section-head h2 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); letter-spacing: -.02em; }
    .section-head p { margin: 0; max-width: 650px; color: var(--muted); font-size: 1.08rem; }
    .rule { width: 54px; height: 5px; background: var(--accent); margin-bottom: 17px; }

    .topics { background: var(--paper); }
    .topic-list { border-top: 1px solid var(--line); }
    .topic {
      display: grid;
      grid-template-columns: 80px minmax(0, .8fr) minmax(240px, 1.2fr);
      gap: 26px;
      align-items: start;
      padding: 27px 0 29px;
      border-bottom: 1px solid var(--line);
    }
    .topic .num { color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; font-weight: 800; }
    .topic h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1; }
    .topic p { margin: 0; color: var(--muted); }

    .about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
    .about h2 { font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.02em; max-width: 680px; }
    .about h2 span { color: var(--accent); }
    .about-copy p { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
    .about-copy p:first-child { color: var(--ink); font-size: 1.3rem; line-height: 1.45; }
    .cred-line { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; font-weight: 700; }
    .cred-line svg { flex: 0 0 auto; color: var(--accent); }

    .watch { background: var(--deep-2); color: #f2f9f7; position: relative; overflow: hidden; }
    .watch::after {
      content: "";
      position: absolute;
      width: 420px;
      height: 420px;
      right: -210px;
      top: -210px;
      border: 55px solid rgba(158, 230, 217, .11);
      border-radius: 50%;
    }
    .watch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; z-index: 1; }
    .watch h2 { font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.02em; max-width: 600px; }
    .watch h2 span { color: var(--mint); }
    .watch-copy { align-self: end; }
    .watch-copy p { margin: 0 0 23px; color: #d4e3e0; font-size: 1.08rem; }
    .platforms { display: flex; flex-wrap: wrap; gap: 10px; }
    .platform {
      padding: 9px 13px;
      border: 1px solid #50747b;
      color: #f1f8f6;
      border-radius: 999px;
      font-size: .9rem;
      font-weight: 700;
    }

    .contact { padding-block: clamp(72px, 10vw, 126px); }
    .contact-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 40px;
      align-items: center;
      padding: clamp(30px, 6vw, 68px);
      background: var(--soft);
      border-top: 7px solid var(--accent);
    }
    .contact h2 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.02em; }
    .contact p { margin: 14px 0 0; color: var(--muted); max-width: 620px; }
    .email-button { background: var(--deep); color: #fff; white-space: nowrap; }
    .email-button:hover { background: var(--accent); color: var(--accent-ink); }
    .email-text { display: none; }

    footer { padding: 0 0 36px; }
    .footer-line { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .9rem; }

    @media (max-width: 900px) {
      .hero { min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; padding-block: 62px 72px; }
      .hero-copy { max-width: 720px; }
      .hero-visual { width: calc(100% - 18px); justify-self: end; }
      .photo-frame, .photo-frame img { height: 490px; min-height: 490px; }
      .field-note { left: -18px; }
      .section-head, .about-grid, .watch-grid { grid-template-columns: 1fr; }
      .section-head { gap: 18px; }
      .contact-card { grid-template-columns: 1fr; }
      .email-button { justify-self: start; }
    }

    @media (max-width: 620px) {
      body { font-size: 17px; }
      .wrap { width: min(100% - 28px, 1160px); }
      .hero-grid { gap: 48px; padding-top: 54px; }
      h1 { font-size: clamp(3.35rem, 18vw, 5.4rem); }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .button { width: 100%; }
      .hero-visual { width: calc(100% - 8px); }
      .photo-frame, .photo-frame img { height: 380px; min-height: 380px; }
      .field-note { left: -8px; right: 20px; bottom: 20px; max-width: none; }
      .temperature-mark { width: 82px; height: 82px; right: -8px; top: -18px; font-size: 1.35rem; }
      .principle-strip .wrap { grid-template-columns: 1fr; gap: 7px; }
      .topic { grid-template-columns: 45px 1fr; gap: 8px 15px; }
      .topic p { grid-column: 2; }
      .contact-card { padding: 32px 22px; }
      .email-button { width: 100%; }
      .email-full { display: none; }
      .email-text { display: inline; }
      .footer-line { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { transition: none !important; }
    }

/* ---------- article pages & guides index ---------- */
.site-header { background: var(--deep); color: #f5fbfa; }
.site-header-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; gap: 20px; }
.brand { font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.site-header nav a { margin-left: 22px; text-decoration: none; font-weight: 600; color: #d5e2e0; }
.site-header nav a:hover { color: var(--mint); }

.article { padding-block: clamp(48px, 7vw, 88px); }
.article-inner { max-width: 780px; }
.crumb { font-size: .92rem; color: var(--muted); margin: 0 0 20px; }
.crumb a { color: var(--muted); }
.article h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); letter-spacing: -.02em; margin-bottom: 28px; text-wrap: balance; }
.article h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); letter-spacing: -.015em; margin: 46px 0 14px; }
.article p, .article li { font-size: 1.08rem; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 24px; padding-left: 26px; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--accent); font-weight: 700; }
.article a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.callout { background: var(--soft); border-left: 6px solid var(--accent); padding: 20px 24px; margin: 30px 0; border-radius: 0 6px 6px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }

.guides { background: var(--paper); }
a.topic { text-decoration: none; }
a.topic:hover h3 { color: var(--accent); }
a.topic .num { text-decoration: none; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 620px) {
  .footer-nav { flex-direction: column; gap: 6px; }
  .site-header nav a { margin-left: 14px; }
}
