/* Fantabularium: a painted gift emporium. Ivory paper, peacock teal wood, antique gold, coral ribbon. Dot's art carries the look. */
:root {
  --teal: #1D6264;
  --teal-deep: #134A4C;
  --night: #123B3D;
  --coral: #C73A4E;
  --coral-deep: #A42C3F;
  --cream: #FBF4E4;
  --paper: #FFFBF1;
  --gold: #C9A23F;
  --gold-deep: #8a6c1f;
  --ink: #22302F;
  --muted: #55605E;
  --line: #e6d8b8;
  --display: "Cherry Swash", Georgia, "Times New Roman", serif;
  --text: "Spline Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2 { font-family: var(--display); font-weight: 700; color: var(--night); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: var(--cream); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 12px; }

/* header: tight, one line on desktop */
.top { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 var(--gold) inset, 0 -1px 0 var(--gold) inset; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; padding-block: 10px; }
.mark { font-family: var(--display); font-weight: 700; font-size: 1.85rem; color: var(--coral); text-decoration: none; line-height: 1.1; letter-spacing: .01em; }
.mark:hover { color: var(--coral-deep); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; font-size: .97rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--teal); }
.nav a[href$="shop.html"] { background: var(--coral); color: var(--paper); padding: 7px 16px; border-radius: 999px; border: 0; }
.nav a[href$="shop.html"]:hover { background: var(--coral-deep); color: var(--paper); }

/* buttons */
.btn { display: inline-block; background: var(--teal); color: var(--paper); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--teal); }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal); color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* home hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding-block: 40px 28px; }
.hero-text { min-width: 0; }
.lede { font-size: 1.1rem; margin-top: 18px; max-width: 60ch; }
.hero-art, .land-art { margin: 0; }
.hero-art img, .land-art img { border: 1px solid var(--gold); padding: 6px; background: var(--paper); }

/* teasers */
.teasers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.teasers a, .index a, .drawers a, .months a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.t-img, .d-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; }
.t-img img, .d-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teasers a:hover img, .drawers a:hover img { transform: scale(1.04); }
.i-name { font-family: var(--display); font-weight: 700; color: var(--teal); font-size: 1.3rem; line-height: 1.2; margin-top: 6px; }
.i-blurb { color: var(--ink); font-size: .98rem; }
.teasers { padding-block: 24px 56px; }

/* the window */
.window { background: var(--night); color: var(--cream); padding-bottom: 56px; }
.window-art img { width: 100%; max-height: 440px; object-fit: cover; object-position: center; }
.window-in { text-align: center; padding-top: 34px; }
.window h2 { color: var(--cream); }
.window-in > p { max-width: 58ch; margin: 10px auto 0; color: #E6F1EE; }
.panes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pane-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.pane { display: block; background: var(--teal); border: 2px solid var(--gold); border-radius: 50% 50% 6px 6px / 22% 22% 6px 6px; padding: 14px; }
.pane img { background: #fff; border-radius: 50% 50% 3px 3px / 20% 20% 3px 3px; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.pane-name { display: inline-block; margin-top: 12px; color: var(--cream); font-weight: 500; }
.pane-name:hover { color: var(--gold); }

/* landing headers */
.land { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding-block: 40px 30px; }
.land.no-art { grid-template-columns: 1fr; }
.land-text { min-width: 0; }
.group { padding-block: 10px 30px; }
.group h2 { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); }
.g-blurb { max-width: 70ch; margin-bottom: 22px; }
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; }
.index a { padding: 12px 0; border-bottom: 1px dotted var(--line); gap: 2px; }
.index a:hover .i-name { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.index .i-name { font-size: 1.2rem; margin-top: 0; }
.drawers { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.drawers.cols4 { grid-template-columns: repeat(4, 1fr); }
.months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 18px; text-align: center; }
.f-img { display: block; aspect-ratio: 4 / 5; }
.f-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.months a:hover img { transform: translateY(-4px); }
.months .i-name { font-size: 1.15rem; margin-top: 2px; }
.f-flowers { font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* shop band */
.band-img img { width: 100%; max-height: 340px; object-fit: cover; }

/* articles */
.art-head { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: end; padding-block: 34px 26px; }
.art-head.no-art { grid-template-columns: 1fr; }
.head-text { min-width: 0; max-width: 760px; }
.crumb { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.crumb a { color: var(--gold-deep); text-decoration: none; }
.head-art { margin: 0; }
.head-art img { border: 1px solid var(--gold); padding: 5px; background: var(--paper); }
.head-art.flower img { border: 0; padding: 0; background: none; mix-blend-mode: multiply; max-height: 340px; width: auto; margin-left: auto; }
.prose { max-width: 760px; margin-left: 0; padding-bottom: 50px; }
@media (min-width: 1161px) { .prose { margin-left: calc((100vw - 1160px) / 2); } }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.7em; color: var(--teal); font-size: 1.65rem; }
.prose h3 { font-family: var(--text); font-weight: 600; font-size: 1.12rem; color: var(--night); margin: 1.5em 0 0; }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose p, .prose li { text-wrap: pretty; }
.index .i-name { text-wrap: balance; }
.prose li::marker { color: var(--gold-deep); }
.back { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 2.2em !important; font-weight: 600; }
.back a { text-decoration: none; }
.back a::before { content: "\2190\00a0"; }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2em !important; }

/* gift note helper */
.helper { padding-bottom: 50px; }
.helper-in { max-width: 640px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid var(--gold); padding: 24px; border-radius: 6px; }
.helper label { font-weight: 600; font-size: .95rem; margin-top: 6px; }
.helper select, .helper textarea { font: inherit; padding: 10px 12px; border: 1px solid #cbbd9d; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.helper textarea { resize: vertical; font-family: var(--display); font-size: 1.2rem; line-height: 1.5; }
.note-count { font-size: .85rem; color: var(--muted); }
.helper-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.helper button, .signup button { font: 600 1rem var(--text); background: var(--teal); color: var(--paper); border: 2px solid var(--teal); border-radius: 999px; padding: 11px 22px; cursor: pointer; }
.helper button:hover, .signup button:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.helper button.ghost { background: transparent; color: var(--teal); }
.helper-more { margin-top: 20px; }
.print-card { display: none; }

/* signup band (every page) and The Gift Year signup page */
.signup { background: #E4EFEB; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.free-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: center; padding-block: 44px; }
.free-band-pic img { border: 1px solid var(--gold); padding: 5px; background: var(--paper); }
.signup-text p { margin-top: 6px; max-width: 54ch; }
.kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin: 0 0 6px; }
.signup-text .btns { margin-top: 16px; }
.btn.coral { background: var(--coral); border-color: var(--coral); }
.btn.coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.free { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 44px; padding-bottom: 64px; }
.free-pic { margin: 0; }
.free-pic img { border: 1px solid var(--gold); padding: 6px; background: var(--paper); }
.free h1 { margin: .15em 0 .3em; }
.free p, .free li, .signup-text p { text-wrap: pretty; }
.free-list { padding-left: 1.2em; margin: .6em 0 1.2em; }
.free-list li { margin: .3em 0; }
.ml-form { background: var(--paper); border: 1px solid var(--gold); border-radius: 14px; padding: 20px 22px; margin-top: 8px; }
.ml-form label { display: block; font-weight: 600; color: var(--night); margin-bottom: 6px; font-size: .95rem; }
.ml-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ml-row input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem; padding: 11px 16px; border: 1px solid #9DBDB6; border-radius: 999px; background: #fff; color: var(--ink); }
.ml-row input[type=email]:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.ml-row .btn { cursor: pointer; font: 600 1rem var(--text); }
.ml-form .row-success h2 { margin: .1em 0 .3em; font-size: 1.7rem; }
.ml-form .row-success p { margin: .4em 0; }
.ml-form .ml-error input[type=email] { border-color: var(--coral-deep); }

/* footer */
.foot { background: var(--night); color: #D3E5E1; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 28px; }
.foot .mark { color: var(--cream); font-size: 1.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #E6F1EE; text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.copy { margin-left: auto; font-size: .9rem; }

@media (max-width: 900px) {
  .hero, .land, .art-head { grid-template-columns: 1fr; gap: 24px; }
  .art-head .head-art { max-width: 320px; }
  .head-art.flower img { margin-left: 0; max-height: 260px; }
  .teasers ul { grid-template-columns: repeat(2, 1fr); }
  .drawers, .drawers.cols4 { grid-template-columns: repeat(2, 1fr); }
  .months { grid-template-columns: repeat(4, 1fr); }
  .free-band-in, .free { grid-template-columns: 1fr; gap: 26px; }
  .free { padding-top: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .mark { font-size: 1.6rem; }
  .nav { gap: 2px 16px; font-size: .92rem; }
  .panes { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .index { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(3, 1fr); }
  .drawers, .drawers.cols4, .teasers ul { gap: 20px; }
  .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  body.printing-note > *:not(main) { display: none !important; }
  body.printing-note main > *:not(.helper) { display: none !important; }
  body.printing-note .helper > *:not(.print-card) { display: none !important; }
  body.printing-note .print-card { display: block; font-family: var(--display); font-size: 22pt; line-height: 1.5; padding: 1in; white-space: pre-wrap; }
}
