body {font-size:14px;}

  :root {
    color-scheme: only light;
    --paper: #f6f1e7;
    --surface: #fffdf8;
    --surface-2: #efe7d8;
    --ink: #1c1917;
    --ink-soft: #6d665a;
    --border: #e4dbcb;
    --cyan: #1aa7d8;
    --pink: #ff4d97;
    --yellow: #ffd21f;
    --ink-btn: #1c1917;
    --accent: var(--ink-btn);
    --accent-contrast: #fffdf8;
    --shadow: 0 1px 2px rgba(40,30,10,.05), 0 18px 40px rgba(40,30,10,.09);
    --shadow-soft: 0 1px 3px rgba(40,30,10,.07);
    --radius: 16px;
    --maxw: 1180px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55; -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
  a { color: inherit; }
  img, svg { max-width: 100%; display: block; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  /* Promo bar with CMYK stripe */
  .promo {
    text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink);
    background: var(--surface); padding: 9px 16px 8px; position: relative;
  }
  .promo::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0 33%, var(--pink) 33% 66%, var(--yellow) 66% 100%);
  }

  /* Header */
  header.site {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav { display: flex; align-items: center; gap: 28px; height: 70px; }
  .brand { font-weight: 800; font-size: 1.24rem; letter-spacing: -0.04em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
  .brand .mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--cyan), var(--pink) 55%, var(--yellow)); flex: none; }
  .nav .links { display: flex; gap: 26px; margin-left: 10px; }
  .nav .links a { text-decoration: none; color: var(--ink-soft); font-size: .93rem; font-weight: 600; transition: color .15s; }
  .nav .links a:hover { color: var(--ink); }
  .nav .spacer { flex: 1; }
  .icon-btn { position: relative; background: none; border: 1px solid var(--border); color: var(--ink); border-radius: 11px; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
  .icon-btn:hover { background: var(--surface-2); }
  .cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--pink); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
  .cart-count.show { transform: scale(1); }

  /* Buttons */
  .btn { font: inherit; font-weight: 700; cursor: pointer; border-radius: 12px; padding: 14px 24px; border: 1.5px solid transparent; transition: transform .1s, background .15s, opacity .15s; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--accent); color: var(--accent-contrast); }
  .btn-primary:hover { opacity: .88; }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); }
  .btn-block { width: 100%; }

  /* Hero */
  .hero { padding-top: 68px; padding-bottom: 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
  .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--pink); }
  .hero h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 850; letter-spacing: -0.04em; }
  .hero h1 em { font-style: normal; color: var(--cyan); }
  .hero p.lead { font-size: 1.14rem; color: var(--ink-soft); margin: 22px 0 32px; max-width: 40ch; }
  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
  .hero-meta div { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
  .hero-meta svg { color: var(--cyan); flex: none; }

  /* Hero image frame */
  .frame { position: relative; }
  .frame .photo {
    aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
    background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center;
  }
  .frame .photo img { width: 100%; height: 100%; object-fit: cover; }
  .frame .tag { position: absolute; left: -12px; top: 26px; background: var(--yellow); color: #1c1917; font-weight: 800; font-size: .82rem; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-soft); transform: rotate(-4deg); }
  .ph-note { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--paper); font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: 8px; white-space: nowrap; }

  /* Sections */
  section.block { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 40px; }
  .section-head .eyebrow { margin-bottom: 12px; }
  .section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 850; }
  .section-head p { color: var(--ink-soft); margin: 10px 0 0; max-width: 52ch; }

  /* Products — two only */
  .products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card .art { height: clamp(280px, 44vh, 480px); flex: none; position: relative; overflow: hidden; }
  .card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .card .ph-note { position: absolute; }
  .card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
  .card .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
  .card h3 { font-size: 1.35rem; font-weight: 800; }
  .card .price { font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
  .card .desc { color: var(--ink-soft); font-size: .96rem; margin: -6px 0 0; }
  .sizes { display: flex; gap: 7px; flex-wrap: wrap; }
  .size { border: 1.5px solid var(--border); background: var(--paper); color: var(--ink-soft); border-radius: 9px; padding: 7px 13px; font-size: .85rem; font-weight: 700; cursor: pointer; transition: all .12s; }
  .size:hover { border-color: var(--ink); color: var(--ink); }
  .size.sel { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .card .btn { margin-top: auto; }

  /* Story */
  .story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
  .story-grid p { color: var(--ink-soft); font-size: 1.08rem; }
  .story-grid p + p { margin-top: 14px; }
  .story-art { aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; box-shadow: var(--shadow-soft); }

  /* Footer */
  footer.site { background: var(--surface); border-top: 1px solid var(--border); padding: 60px 0 34px; margin-top: 24px; }
  .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .foot-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 14px; }
  .foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .foot-grid a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
  .foot-grid a:hover { color: var(--ink); }
  .foot-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .85rem; }

  /* Cart drawer */
  .overlay { position: fixed; inset: 0; background: rgba(20,15,5,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .overlay.open { opacity: 1; pointer-events: auto; }
  .drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--paper); z-index: 100; box-shadow: -12px 0 40px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
  .drawer.open { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
  .drawer-head h3 { font-size: 1.2rem; font-weight: 800; }
  .close-btn { background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
  .close-btn:hover { background: var(--surface-2); }
  .drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
  .cart-empty { text-align: center; color: var(--ink-soft); padding: 60px 0; }
  .cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .cart-item .thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--surface-2); flex: none; display: grid; place-items: center; overflow: hidden; }
  .cart-item .info { flex: 1; min-width: 0; }
  .cart-item .info .nm { font-weight: 700; font-size: .95rem; }
  .cart-item .info .meta { color: var(--ink-soft); font-size: .82rem; }
  .qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 8px; }
  .qty button { background: var(--surface); border: none; color: var(--ink); width: 28px; height: 28px; cursor: pointer; font-size: 1rem; }
  .qty button:hover { background: var(--surface-2); }
  .qty span { min-width: 30px; text-align: center; font-size: .9rem; font-weight: 700; }
  .cart-item .line-price { font-weight: 800; white-space: nowrap; }
  .remove { background: none; border: none; color: var(--ink-soft); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 4px 0 0; }
  .drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border); background: var(--surface); }
  .sumrow { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .95rem; color: var(--ink-soft); }
  .sumrow.total { font-size: 1.15rem; font-weight: 850; color: var(--ink); margin: 12px 0 16px; }

  /* Checkout modal */
  .modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(20,15,5,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .modal.open { opacity: 1; pointer-events: auto; }
  .modal-card { background: var(--paper); border-radius: 18px; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); transform: translateY(12px) scale(.98); transition: transform .25s; }
  .modal.open .modal-card { transform: none; }
  .modal-head { padding: 24px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; }
  .modal-head h3 { font-size: 1.45rem; font-weight: 850; }
  form.checkout { padding: 18px 26px 26px; display: grid; gap: 14px; }
  .field { display: grid; gap: 6px; }
  .field label { font-size: .85rem; font-weight: 700; }
  .field input, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
  .field input:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
  .field.two { grid-template-columns: 1fr 1fr; display: grid; gap: 12px; }
  .field.two > div { display: grid; gap: 6px; }
  .note { font-size: .82rem; color: var(--ink-soft); background: var(--surface-2); padding: 12px 14px; border-radius: 10px; }
  .confirm { text-align: center; padding: 42px 30px; }
  .confirm .check { width: 66px; height: 66px; border-radius: 50%; background: var(--cyan); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
  .confirm h3 { font-size: 1.5rem; font-weight: 850; margin-bottom: 8px; }
  .confirm p { color: var(--ink-soft); }
  .ordernum { font-weight: 800; color: var(--ink); }

  @media (max-width: 900px) {
    .hero-grid, .story-grid { grid-template-columns: 1fr; gap: 36px; }
    .frame { max-width: 440px; }
    .story-grid .story-art { order: -1; max-width: 440px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav .links { display: none; }
  }
  @media (max-width: 620px) {
    .products { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; padding-bottom: 40px; }
    section.block { padding-top: 44px; padding-bottom: 44px; }
    .promo { font-size: .74rem; }
    .size { padding: 9px 15px; }
    .field.two { grid-template-columns: 1fr; }
  }

  .field textarea { resize: vertical; min-height: 90px; }
  .order-guide { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .order-guide h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .order-guide ol { padding-left: 22px; max-width: 75ch; }
  .order-guide li { padding: 8px 0 8px 6px; color: var(--ink-soft); }
  .order-guide strong { color: var(--ink); }
  .order-guide p, .order-intro, .order-help, .order-status { margin: 0; color: var(--ink-soft); }
  .order-help, .order-status { font-size: .85rem; }
  .order-status:empty { display: none; }
  .order-guide a, .checkout a { overflow-wrap: anywhere; }
  section[id], footer[id] { scroll-margin-top: 90px; }
  #modalClose { font-size: 1.7rem; line-height: 1; }
