@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Fraunces:opsz,wght,SOFT@9..144,300..700,0..100&family=Nunito:wght@400..800&display=swap');

/* ---------- base ---------- */
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; }
.lh-hand { font-family: var(--font-hand); font-weight: 600; color: var(--coral-ink); margin: 0; }
:where(.lh-btn, .lh-nav-link, .lh-lang-opt, .lh-menu-btn, .lh-link, .lh-article-link, .lh-footer a):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* watercolor pigments — every colour is a token; paintings always sit on `paper` */
.f-paper { fill: var(--paper); } .f-sky { fill: var(--sky); } .f-blush { fill: var(--blush); } .f-sea { fill: var(--sea); } .f-sea-deep { fill: var(--sea-deep); } .f-glow { fill: var(--glow); }
.f-sand { fill: var(--sand); } .f-dune { fill: var(--dune); } .f-grass { fill: var(--grass); } .f-rock { fill: var(--rock); }
.f-coral { fill: var(--coral); } .f-butter { fill: var(--butter); } .f-seafoam { fill: var(--seafoam); }
.f-skin { fill: var(--skin); } .f-hair { fill: var(--hair); } .f-denim { fill: var(--denim); } .f-ink { fill: var(--paper-ink); }
.s-paper { stroke: var(--paper); } .s-ink { stroke: var(--paper-ink); } .s-grass { stroke: var(--grass); } .s-coral { stroke: var(--coral); }
.s-skin { stroke: var(--skin); } .s-sea-deep { stroke: var(--sea-deep); }
.lh-paper-grain { opacity: .1; mix-blend-mode: multiply; pointer-events: none; }

/* anything painted on paper keeps daylight values in every theme */
.lh-paper-scope { background: var(--paper); --ink: var(--paper-ink); --ink-muted: var(--paper-ink-muted); --coral-ink: var(--paper-accent);
  --tide: var(--paper-ink); --on-tide: var(--paper); --surface-raised: var(--paper); --surface-sky: #f1f6f9; --focus: var(--paper-ink); color: var(--paper-ink); }

/* ---------- Logo ---------- */
.lh-logo { display: inline-flex; align-items: flex-end; gap: 10px; color: var(--tide); line-height: 0; }
.lh-logo-art { display: block; fill: currentColor; flex: none; }
.lh-logo-inline .lh-logo-word { margin-bottom: 2px; }

/* ---------- Button ---------- */
.lh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.lh-btn-md { font-size: 15px; line-height: 20px; padding: 10px 22px; }
.lh-btn-lg { font-size: 17px; line-height: 22px; padding: 14px 30px; }
.lh-btn-primary { background: var(--tide); color: var(--on-tide); box-shadow: var(--shadow-soft); }
.lh-btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.lh-btn-secondary { background: var(--surface-raised); color: var(--tide); border-color: var(--tide); }
.lh-btn-secondary:hover { background: var(--surface-sky); }
.lh-btn-soft { background: var(--butter); color: #1f3a46; }
.lh-btn-soft:hover { transform: translateY(-1px); }
.lh-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Tag ---------- */
.lh-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.lh-tag-sea { background: color-mix(in srgb, var(--sea) 50%, var(--surface-raised)); }
.lh-tag-seafoam { background: color-mix(in srgb, var(--seafoam) 55%, var(--surface-raised)); }
.lh-tag-butter { background: color-mix(in srgb, var(--butter) 70%, var(--surface-raised)); }
.lh-tag-coral { background: color-mix(in srgb, var(--coral) 45%, var(--surface-raised)); }
.lh-tag-neutral { background: var(--surface-sand); }
[data-theme="dark"] .lh-tag-sea { background: color-mix(in srgb, var(--sea) 55%, var(--surface-raised)); }
[data-theme="dark"] .lh-tag-seafoam { background: color-mix(in srgb, var(--seafoam) 35%, var(--surface-raised)); }
[data-theme="dark"] .lh-tag-coral { background: color-mix(in srgb, var(--coral) 30%, var(--surface-raised)); }
[data-theme="dark"] .lh-tag-butter { background: var(--butter); color: #1f3a46; }
.lh-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- SiteHeader ---------- */
.lh-header { display: flex; align-items: center; gap: 24px; padding: 14px 32px; background: var(--surface-raised); border-bottom: 1px solid var(--line); position: relative; }
.lh-header-brand { text-decoration: none; display: inline-flex; }
.lh-nav { display: flex; gap: 4px; margin: 0 auto; }
.lh-nav-link { padding: 8px 14px; border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.lh-nav-link:hover { background: var(--surface-sky); }
.lh-nav-link.is-active { color: var(--tide); background: var(--surface-sky); }
.lh-header-end { display: flex; align-items: center; gap: 12px; }
.lh-lang { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--surface-sand); }
.lh-lang-opt { border: 0; background: transparent; color: var(--ink-muted); font: 800 12px/16px var(--font-sans); letter-spacing: .06em; padding: 6px 10px; border-radius: var(--radius-pill); cursor: pointer; }
.lh-lang-opt.is-on { background: var(--surface-raised); color: var(--tide); box-shadow: var(--shadow-soft); }
.lh-menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--surface-sky); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.lh-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
@media (max-width: 1020px) {
  .lh-header { padding: 12px 16px; gap: 12px; }
  .lh-header-brand { margin-right: auto; }
  .lh-nav { display: none; }
  .lh-header-end .lh-btn { display: none; }
  .lh-menu-btn { display: inline-flex; }
  .lh-header.is-open .lh-nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface-raised); padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); z-index: 5; }
}

/* ---------- HeroScene ---------- */
.lh-hero { position: relative; overflow: hidden; }
.lh-hero-stage { position: relative; width: 100%; aspect-ratio: 1400 / 760; }
.lh-hero-stage img { position: absolute; display: block; height: auto; user-select: none; pointer-events: none; }
.lh-hero-ground { position: absolute; inset: 0; width: 100%; height: 100%; }
.lh-hero-grass { left: 0; bottom: 1%; width: 20%; }
.lh-hero-child { left: 12%; bottom: 5%; width: 11.5%; }
.lh-hero-gulls { right: 5%; top: 1%; width: 13%; }
.lh-hero-lighthouse { right: 0; bottom: 0; width: 37%; }
.lh-drawn-art { display: block; width: 100%; height: 100%; }
.lh-hero-copy { position: absolute; top: 9%; left: 50%; transform: translateX(-50%); width: min(520px, 36%); text-align: center; }
.lh-hero-note { font-size: 34px; line-height: 36px; transform: rotate(-2deg); margin-bottom: 8px; }
.lh-hero-title { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-weight: 560; font-size: 54px; line-height: 58px; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); }
.lh-hero-intro { font-size: 18px; line-height: 29px; color: var(--ink-muted); margin: 0 auto 24px; max-width: 460px; }
.lh-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.lh-hero-drawn .lh-hero-copy { width: min(560px, 44%); top: 7%; }
@media (max-width: 1100px) {
  .lh-hero-copy { top: 5%; width: min(460px, 38%); }
  .lh-hero-title { font-size: 40px; line-height: 44px; }
  .lh-hero-intro { font-size: 16px; line-height: 25px; }
  .lh-hero-note { font-size: 28px; }
}
@media (max-width: 820px) {
  .lh-hero { display: flex; flex-direction: column-reverse; }
  .lh-hero-copy, .lh-hero-drawn .lh-hero-copy { position: static; transform: none; width: auto; padding: 40px 16px 8px; }
  .lh-hero-title { font-size: 38px; line-height: 42px; }
}

/* ---------- SectionHeading ---------- */
.lh-heading { max-width: 640px; }
.lh-heading-center { text-align: center; margin: 0 auto; }
.lh-heading-eyebrow { font-size: 28px; line-height: 30px; margin-bottom: 6px; }
.lh-heading-title { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-weight: 560; font-size: 44px; line-height: 50px; margin: 0; color: var(--ink); }
.lh-heading-intro { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin: 14px 0 0; }
.lh-hl { position: relative; white-space: nowrap; }
.lh-squiggle { position: absolute; left: -2%; bottom: -8px; width: 104%; height: 12px; }
@media (max-width: 720px) { .lh-heading-title { font-size: 32px; line-height: 38px; } }

/* ---------- WaveDivider ---------- */
.lh-wave { line-height: 0; }
.lh-wave svg { display: block; width: 100%; height: 48px; overflow: visible; }

/* ---------- Cards ---------- */
.lh-card { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.lh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.lh-card-title { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-weight: 600; font-size: 21px; line-height: 27px; margin: 0; color: var(--ink); }
.lh-card-text { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 25px; }
.lh-meta { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.lh-link { color: var(--tide); font-weight: 800; text-decoration: none; font-size: 15px; }
.lh-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.lh-service { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.lh-service-icon { display: block; margin: -6px 0 0 -6px; }
.lh-line-icon { fill: none; stroke: var(--paper-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.lh-toy { display: flex; flex-direction: column; }
.lh-toy-art { position: relative; aspect-ratio: 6 / 4; display: flex; align-items: center; justify-content: center; }
.lh-toy-art img { width: 100%; height: 100%; object-fit: cover; }
.lh-toy-svg { width: 74%; height: auto; overflow: visible; }
.lh-toy-age { position: absolute; top: 12px; left: 12px; }
.lh-toy-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.lh-toy-note { font-size: 23px; line-height: 26px; }

.lh-article-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.lh-article-cover { aspect-ratio: 2 / 1; overflow: hidden; }
.lh-article-cover svg, .lh-article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lh-article-cover img.is-cutout { object-fit: contain; padding: 10px 16px; box-sizing: border-box; }
.lh-article-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.lh-article-cat { margin: 0; color: var(--coral-ink); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lh-article-link:hover .lh-card-title { color: var(--tide); }

/* ---------- ParentTip ---------- */
.lh-tip { position: relative; background: var(--surface-raised); border-radius: var(--radius-md); padding: 30px 30px 26px; box-shadow: var(--shadow-soft); transform: rotate(-1.2deg); max-width: 460px; }
.lh-tip-tape { position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: var(--butter); opacity: .85; border-radius: 3px; transform: rotate(3deg); }
.lh-tip-label { font-size: 30px; line-height: 32px; margin-bottom: 8px; }
.lh-tip-text { margin: 0; color: var(--ink); font-size: 17px; line-height: 27px; }
.lh-tip-sign { font-size: 24px; line-height: 28px; margin-top: 12px; text-align: right; color: var(--tide); }

/* ---------- PaintedFeature ---------- */
.lh-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lh-feature.is-reverse .lh-feature-art { order: 2; }
.lh-feature-art { background: transparent; display: flex; justify-content: center; }
.lh-feature-img { display: block; width: 100%; max-width: 460px; height: auto; }
.lh-feature-drawn { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .lh-feature { grid-template-columns: 1fr; gap: 24px; } .lh-feature.is-reverse .lh-feature-art { order: 0; } }

/* ---------- ClosingShore ---------- */
.lh-closing { background: var(--surface-sand); }
.lh-closing-scene { position: relative; overflow: hidden; }
.lh-closing-stage { position: relative; width: 100%; aspect-ratio: 1400 / 760; }
.lh-closing-stage.is-drawn { aspect-ratio: 1400 / 700; }
.lh-closing-stage img { position: absolute; display: block; height: auto; user-select: none; }
.lh-closing-painting { right: 5%; top: 2%; width: 35%; }
.lh-closing-shells { left: 4%; bottom: 4%; width: 24%; pointer-events: none; }
.lh-closing-gulls { left: 3%; top: 3%; width: 12%; pointer-events: none; }
.lh-closing-copy { position: absolute; top: 34%; left: 8%; width: 46%; text-align: center; }
.lh-closing-drawn .lh-closing-copy { top: 18%; left: 50%; transform: translateX(-50%); width: min(720px, 56%); }
.lh-closing-note { font-size: 46px; line-height: 50px; transform: rotate(-2deg); color: var(--ink); margin-bottom: 18px; }
.lh-footer { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 48px 64px 32px; max-width: 1200px; margin: 0 auto; }
.lh-footer-tag { font-size: 24px; line-height: 28px; margin-top: 10px; }
.lh-footer-contact { color: var(--ink-muted); font-size: 15px; line-height: 24px; margin: 12px 0 0; white-space: pre-line; }
.lh-footer-head { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 6px 0 12px; }
.lh-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lh-footer a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.lh-footer a:hover { color: var(--tide); }
.lh-footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 20px; }
@media (max-width: 820px) {
  .lh-closing-scene { display: flex; flex-direction: column-reverse; }
  .lh-closing-copy, .lh-closing-drawn .lh-closing-copy { position: static; transform: none; width: auto; padding: 32px 16px 0; }
  .lh-closing-painting { left: 8%; right: auto; width: 84%; top: 0; position: relative !important; }
  .lh-closing-stage:not(.is-drawn) { aspect-ratio: auto; }
  .lh-closing-note { font-size: 34px; line-height: 38px; }
  .lh-footer { grid-template-columns: 1fr 1fr; padding: 40px 16px 24px; }
  .lh-footer-brand { grid-column: 1 / -1; }
}
