@import url('https://api.fontshare.com/css?f[]=clash-display@400,500,600,700&f[]=switzer@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');
:root {
  --bg: #f5f6ef;
  --surface: #ffffff;
  --surface-soft: #e9ece3;
  --ink: #0d1728;
  --muted: #546170;
  --primary: #1247c4;
  --accent: #e5d21f;
  --line: rgba(13, 23, 40, 0.22);
  --container: 1500px;
  --pad: 56px;
  --section: 112px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --hero-ratio: 16 / 9;
  --card-ratio: 4 / 3;
  font-family: Arial, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); word-break: keep-all; overflow-wrap: break-word; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; background: var(--surface-soft); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 40; transform: translateY(-140%); background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { transform: translateY(0); }
.announce { min-height: 32px; display: flex; align-items: center; justify-content: center; padding: 6px 20px; background: var(--ink); color: var(--surface); font-size: 12px; letter-spacing: .08em; text-align: center; }
.header { position: sticky; top: 0; z-index: 30; min-height: 72px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: rgba(245,246,239,.97); }
.mark { font-size: 30px; letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: 30px; font-size: 12px; letter-spacing: .14em; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius-md); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); }
.mobile-nav { display: none; position: fixed; inset: 104px 0 auto; z-index: 25; padding: 20px var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-open .mobile-nav { display: block; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.12; text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: 76px; }
h2 { margin-bottom: 24px; font-size: 50px; }
h3 { margin-bottom: 10px; font-size: 24px; }
p { line-height: 1.7; }
.descriptor, .window-copy p, .ledger dd, .service-notes { color: var(--muted); }
.button, .text-link { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: var(--radius-md); padding: 12px 18px; background: transparent; }
.button.primary { background: var(--primary); border-color: var(--primary); color: white; }
.button.light { background: var(--ink); border-color: var(--ink); color: white; }
.text-link { margin-top: 4px; color: var(--primary); }
.home-hero { position: relative; min-height: calc(100vh - 104px); display: grid; align-items: end; overflow: hidden; background: var(--primary); }
.home-hero picture, .home-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero img { object-position: center; }
.horizon-copy { position: relative; z-index: 1; width: min(860px, calc(100% - 260px)); margin: 0 0 8vh var(--pad); padding: 36px 0 30px; color: white; border-top: 8px solid var(--accent); }
.horizon-copy .eyebrow { color: var(--accent); }
.horizon-copy p { max-width: 650px; color: rgba(255,255,255,.88); }
.side-tide { position: absolute; right: var(--pad); bottom: 8vh; z-index: 2; display: grid; gap: 24px; color: white; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.side-tide span { padding-top: 18px; border-top: 4px solid var(--accent); }
.tide-window { display: grid; grid-template-columns: minmax(0, 52%) minmax(360px, 34%) minmax(160px, 14%); min-height: 620px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.window-media { min-width: 0; background: var(--primary); }
.window-media img { height: 100%; aspect-ratio: 16 / 11; object-position: center; }
.window-copy { min-width: 0; display: grid; align-content: center; gap: 18px; padding: 72px var(--pad); background: var(--surface); }
.tide-notes { display: grid; align-content: stretch; border-left: 1px solid var(--line); background: var(--bg); }
.tide-notes span { display: grid; align-items: center; padding: 22px; border-bottom: 1px solid var(--line); color: var(--primary); font-size: 12px; letter-spacing: .12em; writing-mode: vertical-rl; }
.price { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }
.option-row, fieldset { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 8px; font-weight: 700; }
[data-option] { min-height: 42px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 14px; background: var(--bg); }
[data-option][aria-pressed="true"], .tide-controls button[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 -5px 0 var(--accent); }
.quantity { width: 152px; display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.quantity button { min-height: 42px; border: 0; background: var(--bg); }
.quantity output { display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: white; }
.bag-status, .form-status { min-height: 24px; margin: 0; color: var(--primary); font-weight: 700; }
.magazine-track, .ebb-flow, .ledger, .contact, .log-band, .log-route, .faq, .final-cta { padding: var(--section) var(--pad); }
.section-head { max-width: 900px; margin-bottom: 60px; }
.section-head.offset { margin-left: 12%; }
.track-strip { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 28px; align-items: end; }
.track-strip article { min-width: 0; padding-top: 20px; border-top: 8px solid var(--primary); }
.track-strip article.wide { transform: translateY(-38px); }
.track-strip span { display: block; margin-bottom: 16px; color: var(--primary); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.track-strip img { aspect-ratio: var(--card-ratio); margin-bottom: 20px; border-radius: var(--radius-md); }
.tide-lab { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 58px; align-items: center; padding: var(--section) var(--pad); background: var(--ink); color: var(--bg); }
.tide-lab .eyebrow, .tide-lab p { color: var(--accent); }
.tide-controls { display: grid; border-top: 1px solid rgba(245,246,239,.3); }
.tide-controls button { min-height: 86px; border: 0; border-bottom: 1px solid rgba(245,246,239,.3); background: transparent; color: var(--bg); text-align: left; font-size: 28px; }
.tide-controls button[aria-selected="true"] { color: var(--accent); padding-left: 34px; box-shadow: none; }
.image-tide img { width: 100%; height: 72vh; min-height: 520px; object-fit: cover; object-position: center; }
.ebb-flow { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: 68px; align-items: start; }
.ebb-flow ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); }
.ebb-flow li { list-style: none; display: grid; gap: 14px; min-width: 0; padding: 30px; background: var(--surface); }
.ledger dl, .facts dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ledger div, .facts div { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; color: var(--primary); }
dd { margin: 0; line-height: 1.7; }
.contact { display: grid; grid-template-columns: 42% 58%; gap: 56px; background: var(--primary); color: white; }
.contact .eyebrow, .contact p { color: white; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 8px; }
.form input, .form textarea { width: 100%; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius-md); background: rgba(255,255,255,.08); padding: 13px; color: white; }
.form textarea { min-height: 126px; resize: vertical; }
.log-opening { display: grid; grid-template-columns: minmax(0, .58fr) minmax(360px, .42fr); gap: 44px; align-items: start; padding: 54px var(--pad) var(--section); border-bottom: 1px solid var(--line); }
.gallery { min-width: 0; }
.main-frame { background: var(--surface); border: 1px solid var(--line); border-top: 8px solid var(--primary); }
.main-frame img { aspect-ratio: 4 / 5; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { min-width: 0; border: 2px solid transparent; border-radius: var(--radius-md); padding: 0; background: var(--surface); }
.thumbs button[aria-selected="true"] { border-color: var(--accent); }
.thumbs img { aspect-ratio: 1; border-radius: var(--radius-sm); }
.buy-panel { position: sticky; top: 126px; min-width: 0; display: grid; gap: 18px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.buy-panel h1 { font-size: 52px; }
.service-notes { display: grid; gap: 8px; margin: 0; padding: 18px 0 0 18px; border-top: 1px solid var(--line); line-height: 1.6; }
.horizon-marker { display: inline-grid; place-items: center; min-width: 46px; height: 28px; margin-bottom: 22px; border-top: 5px solid var(--accent); color: var(--primary); font-weight: 700; }
.log-chapter { display: grid; grid-template-columns: 62px 1fr 1fr; gap: 48px; align-items: center; padding: var(--section) var(--pad); border-bottom: 1px solid var(--line); }
.log-chapter.reverse img { order: 2; }
.log-chapter.reverse div { order: 3; }
.log-chapter img { aspect-ratio: var(--card-ratio); border-radius: var(--radius-md); }
.log-route { display: grid; grid-template-columns: 62px 30% 1fr; gap: 42px; align-items: start; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.log-route ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); }
.log-route li { list-style: none; display: grid; gap: 10px; padding: 26px; background: var(--surface); }
.wide-log-image { position: relative; padding: 0; border-bottom: 1px solid var(--line); }
.wide-log-image .horizon-marker { position: absolute; left: var(--pad); top: 34px; z-index: 1; background: var(--surface); padding: 0 12px; }
.wide-log-image img { height: 62vh; min-height: 460px; object-position: center; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 20px; }
.final-cta { background: var(--ink); color: white; }
.final-cta .eyebrow, .final-cta .bag-status { color: var(--accent); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: none; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; background: var(--ink); color: white; }
.sticky-buy button { border: 0; border-radius: var(--radius-md); background: var(--primary); color: white; padding: 12px 18px; font-weight: 700; }
@media (max-width: 900px) {
  :root { --pad: 28px; --section: 82px; }
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  h1 { font-size: 54px; }
  h2, .buy-panel h1 { font-size: 38px; }
  .horizon-copy { width: calc(100% - 56px); margin: 0 28px 44px; }
  .side-tide { display: none; }
  .tide-window, .tide-lab, .ebb-flow, .contact, .log-opening, .log-chapter, .log-route { grid-template-columns: 1fr; }
  .tide-notes { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .tide-notes span { writing-mode: initial; }
  .track-strip { grid-template-columns: 1fr; }
  .track-strip article.wide { transform: none; }
  .buy-panel { position: static; margin-top: 24px; }
  .log-chapter.reverse img, .log-chapter.reverse div { order: initial; }
  .log-route ol, .ebb-flow ol { grid-template-columns: 1fr; }
  .image-tide img, .wide-log-image img { height: 56vh; min-height: 420px; }
  .sticky-buy { display: grid; }
  body { padding-bottom: 72px; }
}
@media (max-width: 430px) {
  :root { --pad: 20px; --section: 68px; }
  .announce { font-size: 11px; }
  .header { min-height: 62px; }
  .mobile-nav { inset: 94px 0 auto; }
  .mark { font-size: 22px; }
  .home-hero { min-height: 78vh; }
  h1 { font-size: 40px; }
  h2, .buy-panel h1 { font-size: 30px; }
  .horizon-copy { width: calc(100% - 40px); margin: 0 20px 34px; }
  .window-copy, .magazine-track, .ebb-flow, .ledger, .contact, .log-band, .log-route, .faq, .final-cta, .log-opening, .log-chapter { padding-left: var(--pad); padding-right: var(--pad); }
  .ledger div, .facts div { grid-template-columns: 1fr; gap: 8px; }
  .tide-controls button { font-size: 22px; }
  .sticky-buy span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Fontshare typography differentiation */
:root {
  --font-heading: "Clash Display", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --font-body: "Switzer", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-accent: "Switzer", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
body {
  font-family: var(--font-body);
}
h1,
h2,
h3,
.hero-title,
.product-title,
.section-title,
.brand-mark,
.mark,
.logo,
.site-logo {
  font-family: var(--font-heading);
  font-weight: 500;
}
.eyebrow,
.section-kicker,
.notice,
.announce,
.nav,
.primary-nav,
.button,
.text-link,
.manual-link,
.price,
figcaption,
[data-option],
.gallery-controls button {
  font-family: var(--font-accent);
}
.brand-mark,
.mark,
.logo,
.site-logo {
  letter-spacing: 0.08em;
}
/* coastal sun care: crisp display with functional beach-label sans */

