/* Introshirts — shared styles for index.html and story.html */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Patrick+Hand&display=swap');

:root {
  --ink: #262525;
  --muted: #6b6462;
  --cream: #fbfaf7;
  --stone: #efede7;
  --mist: #e1edef;
  --aqua: #bcecf0;
  --aqua-pale: #e4f6f8;
  --teal: #0097b2;        /* the "HI" teal from the logo */
  --teal-deep: #007a91;   /* small text on light backgrounds */
  --line: #e4e1da;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', Arial, Helvetica, sans-serif;
  --hand: 'Patrick Hand', 'Comic Sans MS', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Every "Hi" on the site wears the logo teal */
.hi { color: var(--teal); font-weight: 700; }

/* ---------- Header ---------- */
.announcement { background: var(--ink); color: #fff; text-align: center; padding: 9px 16px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
header.site { background: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.nav { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 32px; }
.nav .logo img { height: 38px; width: auto; }
.navlinks { display: flex; gap: 30px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.navlinks a { white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks a.active { border-color: var(--teal); color: var(--teal-deep); }

/* ---------- Buttons & labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 700 13px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.light:hover, .btn.outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.tag-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-deep); }
.section-title { font-size: clamp(30px, 3.8vw, 46px); margin: 8px 0 10px; }
.wrap { max-width: 1200px; margin: auto; padding: 52px 32px; }
.center { text-align: center; }
.lede { font-size: 17px; margin-bottom: 0; color: var(--muted); max-width: 560px; }
.center .lede { margin-left: auto; margin-right: auto; }
.note { font-size: 12px; color: var(--muted); margin: 22px 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--stone); overflow: hidden; }
.hero-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 36px 32px 0; }
.hero-copy { padding-bottom: 36px; }
.hero h1 { margin: 0 0 16px; }
.hero h1 img { width: min(100%, 430px); }
.hero p { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; max-width: 470px; color: #45423f; }
.slogan { font-family: var(--hand); font-size: 26px; line-height: 1.2; margin: 26px 0 0; display: inline-block; position: relative; padding-bottom: 12px; }
.slogan::after { content: ""; position: absolute; left: 4%; right: 8%; bottom: 0; height: 9px; background: no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C50 2 140 1 198 4 C150 5 110 6 96 9' fill='none' stroke='%230097b2' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hero-visual { position: relative; align-self: end; width: min(100%, 340px); justify-self: center; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 300px 300px 0 0; }

/* ---------- Marquee ---------- */
.marquee { background: var(--aqua); overflow: hidden; padding: 16px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: slide 36s linear infinite; }
.marquee-track span { padding-right: 34px; }
.marquee .hi { color: var(--teal-deep); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Story teaser ---------- */
.story-teaser { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; align-items: center; }
.story-teaser p { font-size: 17px; line-height: 1.65; margin-bottom: 12px; color: var(--muted); }
.story-art { position: relative; min-height: 280px; border-radius: 24px; background: var(--mist); display: grid; place-items: center; padding: 36px; }
.story-teaser .say-hi { color: var(--ink); margin: 0; text-align: center; font-family: var(--hand); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; transform: rotate(-4deg); }
.say-hi .hi { font-size: 1.9em; letter-spacing: 0.02em; vertical-align: -0.08em; }
.say-hi-sub { display: block; position: relative; width: fit-content; margin: 14px auto 0; padding-bottom: 18px; font-size: 0.5em; }
.say-hi-sub::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: 0; height: 12px; background: no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C50 2 140 1 198 4 C150 5 110 6 96 9' fill='none' stroke='%230097b2' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.bubble { position: absolute; background: #fff; border-radius: 999px; padding: 10px 20px; font-family: var(--hand); font-size: 19px; box-shadow: 0 10px 26px rgba(38, 37, 37, .1); }
.bubble.one { top: -16px; right: 14px; transform: rotate(6deg); }
.bubble.two { bottom: -16px; left: 14px; transform: rotate(-5deg); }

/* ---------- Products ---------- */
.products { background: var(--stone); }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px auto 0; max-width: 820px; }
.product-card { background: #fff; border-radius: 22px; overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 1152 / 1412; object-fit: cover; object-position: 50% 100%; }
.product-meta { padding: 14px 20px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px; }
.product-meta > div { flex: 1; min-width: 0; }
.options-bar { max-width: 820px; margin: 14px auto 0; background: #fff; border-radius: 22px; padding: 18px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.options-bar .swatches + .swatches { width: 100%; justify-content: center; padding-top: 14px; border-top: 1px solid var(--line); }
.icon-text { display: flex; flex-direction: column; line-height: 1.3; }
.icon-text b { color: var(--ink); }
.size-chip { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--ink); }
.swatches .now { color: var(--teal-deep); font-weight: 700; }
.options-bar .enquire { width: 100%; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.swatches li { display: inline-flex; align-items: center; gap: 8px; }
.swatches .opt-label { flex: none; margin-right: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.icon-chip { width: 40px; height: 40px; border-radius: 50%; background: var(--aqua-pale); border: 1px solid rgba(38, 37, 37, .14); display: grid; place-items: center; }
.icon-chip img { width: 26px; height: 26px; aspect-ratio: auto; object-fit: contain; }
.product-card { display: flex; flex-direction: column; }
.product-meta { flex: 1; align-content: start; }
.swatches .dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(38, 37, 37, .22); }
.product-meta h3 { margin: 0 0 4px; font-size: 18px; }
.product-meta p { margin: 0; font-size: 14px; color: var(--muted); }
.pill { flex: none; background: var(--aqua); color: #1d5d68; border-radius: 999px; padding: 6px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.shop-block { margin-top: 48px; }

/* ---------- Designs ---------- */
.design-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.design { text-align: left; }
.icon-pick { margin-top: 30px; }
.pick-note { font-size: 14px; color: var(--muted); margin: 0; }
.icon-pick .design h3 { font-size: 14px; margin: 10px 2px 0; text-align: center; }
.icon-pick .design p { display: none; }
.icon-pick .design .art { padding: 16px; border-radius: 16px; }
.pick-title { font-family: var(--serif); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; margin: 8px 0 6px; }
.design-grid.two { grid-template-columns: repeat(2, 120px); justify-content: center; gap: 16px; margin-top: 18px; }
.design .art { aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; padding: 26px; background: var(--mist); transition: transform .25s; }
.design:hover .art { transform: translateY(-4px) rotate(-1deg); }
.design .art { overflow: hidden; }
.design .art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.design.aqua .art { background: var(--aqua); }
.design.dark .art { background: #2f2d33; }
.design.cream .art { background: #fff; border: 1px solid var(--line); }
.design h3 { margin: 16px 4px 2px; font-size: 18px; }
.design p { margin: 0 4px; font-size: 14px; color: var(--muted); }

/* ---------- Quote band ---------- */
.quote-band { background: var(--aqua); text-align: center; padding: 52px 24px; }
.quote-band h2 { font-size: clamp(28px, 3.8vw, 46px); max-width: 820px; margin: 10px auto 12px; }
.quote-band p { font-family: var(--hand); font-size: 24px; margin: 0; }
.quote-band .hi, .newsletter .hi { color: var(--teal-deep); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; text-align: left; }
.value { padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.value .emoji { font-size: 26px; }
.value h3 { font-size: 19px; margin: 6px 0 6px; }
.value p { margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--stone); text-align: center; padding: 52px 24px; }
.newsletter h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 8px 0 10px; }
.newsletter p { max-width: 520px; margin: 0 auto; }
.email-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto 8px; }
.email-form input { flex: 1; min-width: 0; border: 1.5px solid transparent; border-radius: 999px; padding: 15px 20px; font: 400 15px var(--sans); }
.email-form input:focus { outline: none; border-color: var(--teal); }
.form-msg { min-height: 20px; font-size: 13px; color: var(--teal-deep); font-weight: 700; }

.swatches .price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.order-btn { margin-top: 2px; }

/* ---------- Order form ---------- */
.order { background: var(--cream); }
.order-inner { max-width: 820px; margin: auto; padding: 52px 32px; }
.order-form { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.order-form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.email-form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.item-pick { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item-pick legend, .field { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.item-pick legend { padding: 0; margin-bottom: 8px; }
.item-pick label { position: relative; cursor: pointer; }
.item-pick input { position: absolute; opacity: 0; }
.item-pick span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; color: var(--muted); transition: border-color .15s, background .15s; }
.item-pick span b { color: var(--ink); font-size: 16px; }
.item-pick input:checked + span { border-color: var(--teal); background: var(--aqua-pale); }
.item-pick input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide, .order-foot, .order-form .form-msg { grid-column: 1 / -1; }
.field select, .field input, .field textarea { font: 400 15px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field[hidden] { display: none; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.order-total { margin: 0; font-size: 16px; }
.order-total b { font-family: var(--serif); font-size: 26px; margin-left: 6px; }
.form-msg a { color: var(--teal-deep); text-decoration: underline; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #fff; padding: 36px 32px 24px; }
.footer-inner { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: start; gap: 28px; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; }
.footer-inner p { font-family: var(--hand); font-size: 20px; color: #d9d2d2; margin: 12px 0 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { color: var(--aqua); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid #4a4747; font-size: 12px; color: #a9a2a2; }

/* ---------- Story page ---------- */
.story-hero { background: var(--stone); text-align: center; padding: 48px 24px 44px; }
.story-hero h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 880px; margin: 10px auto 14px; }
.story-hero p { font-size: 20px; max-width: 600px; margin: 0 auto; color: #45423f; }
.story-layout { max-width: 1100px; margin: auto; padding: 52px 32px; display: grid; grid-template-columns: .6fr 1fr; gap: 52px; align-items: start; }
.story-photo { position: sticky; top: 100px; }
.story-photo img { width: 100%; aspect-ratio: 1152 / 1412; object-fit: cover; border-radius: 24px; }
.story-photo figcaption { font-family: var(--hand); font-size: 19px; text-align: center; margin-top: 12px; color: var(--muted); }
.story-photo figure { margin: 0; }
.story-body p { font-size: 18px; line-height: 1.7; margin-bottom: 18px; }
.story-body .big { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; border-left: 4px solid var(--teal); padding-left: 22px; margin: 26px 0; }
.story-body .closing { font-family: var(--hand); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 40px 0 10px; }
.signature { font-weight: 700; color: var(--teal-deep); }
.cta { background: var(--aqua); text-align: center; padding: 52px 24px; }
.cta h2 { font-size: clamp(28px, 3.8vw, 46px); max-width: 800px; margin: 8px auto 12px; }
.cta p { max-width: 520px; margin: 0 auto 20px; }
.cta .hi { color: var(--teal-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .design-grid.two { grid-template-columns: repeat(2, 120px); }
}
@media (max-width: 760px) {
  .nav { padding: 12px 14px; }
  .nav .logo img { height: 22px; }
  .navlinks { gap: 10px; font-size: 10px; letter-spacing: 0.02em; }
  .nav .logo { flex: none; }
  .wrap { padding: 40px 22px; }
  .hero-inner { grid-template-columns: 1fr; padding: 24px 18px 0; gap: 16px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { width: min(70%, 260px); }
  .hero-copy { text-align: center; }
  .hero h1 { margin-bottom: 10px; }
  .hero h1 img { width: min(84%, 300px); margin: 0 auto; }
  .hero p { margin: 0 auto; font-size: 19px; }
  .story-teaser { grid-template-columns: 1fr; gap: 38px; }
  .story-art { min-height: 220px; }
  .values { grid-template-columns: 1fr; gap: 10px; }
  .value { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .value .emoji { grid-row: span 2; }
  .value h3 { margin: 0 0 2px; font-size: 17px; }
  .value p { font-size: 14px; }
  .products-grid { gap: 10px; margin-top: 20px; }
  .product-card { border-radius: 16px; }
  .product-meta { padding: 10px 12px 12px; flex-direction: column; gap: 8px; }
  .product-meta h3 { font-size: 16px; }
  .product-meta p { font-size: 12.5px; line-height: 1.4; }
  .pill { font-size: 9px; padding: 5px 10px; }
  .options-bar { border-radius: 16px; margin-top: 10px; }
  .shop-block { margin-top: 36px; }
  .lede { font-size: 16px; }
  .nav { gap: 10px; }
  .footer-links { gap: 18px; }
  footer.site { padding: 30px 22px 20px; }
  .options-bar { align-items: flex-start; padding: 18px 22px; }
  .order-btn { width: 100%; }
  .order-inner { padding: 40px 22px; }
  .order-form { grid-template-columns: 1fr; padding: 18px; }
  .item-pick { grid-template-columns: 1fr; }
  .order-foot .btn { width: 100%; }
  .options-bar .swatches + .swatches { justify-content: flex-start; }
  .swatches .opt-label { flex-basis: 100%; }
  .email-form { flex-direction: column; }
  .story-layout { grid-template-columns: 1fr; gap: 28px; padding: 40px 22px; }
  .story-photo { position: static; max-width: 300px; margin: 0 auto; }
  .story-body p { font-size: 17px; }
  .quote-band, .newsletter, .cta { padding: 40px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .design .art { transition: none; }
}
@media (max-width: 380px) {
  .nav { padding: 10px 14px; }
  .nav .logo img { height: 18px; }
  .navlinks { gap: 7px; font-size: 9px; letter-spacing: 0; }
  .announcement { font-size: 10px; letter-spacing: 0.1em; }
}
