/* Fowey Gifts — the brand layer over /qx/v5/blocks.css (2026-09-15).
   The mockup's look (sites/foweygifts/static/css/site.css): warm cream, sage, soft browns,
   Cormorant Garamond for display and Inter for text. Every class the builder emits is styled here. */
:root {
  --fg-sage-deep: #4a5a44; --fg-sage: #5b6f5c; --fg-sage-soft: #7d8b75; --fg-sage-pale: #d8dccf;
  --fg-cream: #f5ede0; --fg-cream-deep: #ece2cf; --fg-cream-soft: #fbf6ec;
  --fg-brown: #6b4f33; --fg-brown-deep: #3d2f20; --fg-brown-soft: #8a7159;
  --fg-rule: rgba(61, 47, 32, .10);
  --fg-display: "Cormorant Garamond", "Times New Roman", serif;
  --fg-body: "Inter", -apple-system, system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
html, body { width: 100%; margin: 0; padding: 0; }
#qx-app { width: 100%; margin: 0; padding: 0; }
body { margin: 0; background: var(--fg-cream); color: var(--fg-brown); font-family: var(--fg-body); }
a { color: inherit; }

.fg-container { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.fg-narrow { width: min(44rem, 100% - 2rem); }

/* header */
.fg-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  padding: .6rem clamp(1rem, 3vw, 2rem); background: var(--fg-cream-soft); border-bottom: 1px solid var(--fg-rule);
  position: sticky; top: 0; z-index: 20; transition: transform .25s ease; }
/* THE HEADER GETS OUT OF THE WAY (Graham, 2026-09-15: "use the same header technique on foweygifts as iconkind").
   The engine's scroll-state script (a head node in themes/fg.theme.json, NOTEBOARD C40) writes data-qx-scroll on
   <html>: the header slides up while the page scrolls down and comes back as soon as it scrolls up. Only the page
   scrolling moves it, never a tap, and it stays while anything in it has keyboard focus. html and body clip rather
   than hide sideways overflow (above), which is what lets position: sticky work at all. With reduced motion it snaps. */
html[data-qx-scroll="down"] .fg-header:not(:focus-within) { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .fg-header { transition: none; } }
.fg-mark { display: inline-flex; align-items: baseline; min-height: 44px; align-items: center; text-decoration: none;
  font-family: var(--fg-display); font-size: 1.75rem; color: var(--fg-brown-deep); letter-spacing: .01em; }
/* the wordmark is two text blocks, and .qx-text sets its own size and display: both inherit here */
.fg-mark > .qx-text { display: inline; font-size: inherit; line-height: inherit; }
.fg-mark-a { font-style: italic; }
.fg-mark-b { font-weight: 600; }
.fg-nav { flex-wrap: wrap; }
.fg-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .35rem; text-decoration: none;
  font-size: .9rem; color: var(--fg-brown); }
/* on a phone the sections are one row you can swipe, under the wordmark, not three rows of links */
@media (max-width: 640px) {
  .fg-header { padding-bottom: 0; }
  .fg-nav { flex-basis: 100%; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-inline: -.35rem; }
  .fg-nav::-webkit-scrollbar { display: none; }
  .fg-nav-link { white-space: nowrap; }
}
@media (hover: hover) { .fg-nav-link:hover { color: var(--fg-sage-deep); text-decoration: underline; text-underline-offset: .25em; } }

/* type */
.fg-kicker { margin: 0 0 .6rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-sage); }
.fg-h1, .fg-h2, .fg-holding-title { font-family: var(--fg-display); font-weight: 600; color: var(--fg-brown-deep); line-height: 1.08; margin: 0; }
.fg-h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
.fg-h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-bottom: .6rem; }
.fg-lead { font-size: clamp(1.05rem, 2.3vw, 1.25rem); line-height: 1.65; margin: 1rem 0 0; max-width: 40rem; }
.fg-body { font-size: 1.05rem; line-height: 1.7; margin: 0 0 1rem; max-width: 42rem; }

/* buttons */
.fg-ctas { margin-top: 1.4rem; }
.fg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.3rem;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; font-weight: 600; font-size: .95rem; }
.fg-btn-primary { background: var(--fg-sage-deep); color: var(--fg-cream-soft); }
.fg-btn-ghost { border-color: var(--fg-sage); color: var(--fg-sage-deep); }
@media (hover: hover) {
  .fg-btn-primary:hover { background: var(--fg-sage); }
  .fg-btn-ghost:hover { background: var(--fg-sage-pale); }
}
.fg-btn:focus-visible, .fg-nav-link:focus-visible { outline: 2px solid var(--fg-sage-deep); outline-offset: 3px; }

/* bands */
.fg-hero { padding-block: clamp(3rem, 9vw, 6rem); background: linear-gradient(180deg, var(--fg-cream-deep), var(--fg-cream)); }
.fg-band { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.fg-band-soft { background: var(--fg-cream-soft); }
.fg-story { background: var(--fg-sage-deep); color: var(--fg-cream-soft); }
.fg-story .fg-h2 { color: var(--fg-cream-soft); }
.fg-story .fg-kicker { color: var(--fg-sage-pale); }
.fg-story .fg-btn-ghost { border-color: var(--fg-sage-pale); color: var(--fg-cream-soft); }
@media (hover: hover) { .fg-story .fg-btn-ghost:hover { background: rgba(245, 237, 224, .12); } }
.fg-page-top { padding-block: clamp(2.5rem, 7vw, 4.5rem) 1.5rem; background: var(--fg-cream-deep); }
.fg-section { padding-block: 2rem clamp(3rem, 8vw, 5rem); }

/* collection tiles */

/* the honest empty state, and the "what's in here" chips */
.fg-empty { margin: 1rem 0 0; padding: 1.2rem 1.4rem; border: 1px dashed var(--fg-sage-soft); border-radius: 12px;
  background: var(--fg-cream-soft); font-style: italic; line-height: 1.6; max-width: 42rem; }
.fg-chips { flex-wrap: wrap; }
.fg-chip { display: inline-flex; align-items: center; min-height: 2rem; padding: 0 .9rem; border-radius: 999px;
  background: var(--fg-cream-soft); border: 1px solid var(--fg-rule); font-size: .88rem; }

/* footer */
.fg-footer { background: var(--fg-brown-deep); color: var(--fg-cream-deep); padding-block: 2.5rem; }
.fg-footer-inner { gap: .8rem; }
.fg-footer-mark { font-family: var(--fg-display); font-size: 1.6rem; font-style: italic; margin: 0; color: var(--fg-cream-soft); }
.fg-footer-links { flex-wrap: wrap; }
.fg-footer-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .3rem; text-decoration: none; font-size: .9rem; }
@media (hover: hover) { .fg-footer-link:hover { text-decoration: underline; text-underline-offset: .25em; } }
.fg-disclosure { margin: .4rem 0 0; font-size: .85rem; color: var(--fg-sage-pale); }
.fg-copy { margin: 0; font-size: .8rem; opacity: .75; }

/* the holding page */
.fg-holding { min-height: 100svh; display: grid; place-items: center; padding: 2rem; background: var(--fg-cream); }
.fg-holding-inner { align-items: center; text-align: center; }
.fg-holding-title { font-size: clamp(3rem, 12vw, 5.5rem); font-style: italic; }
.fg-holding-lead { margin: .8rem 0 0; font-size: 1.1rem; color: var(--fg-brown-soft); }
.fg-hero-inner { align-items: flex-start; }

/* THE PICKS (plan step 2): affiliate cards, a grid that is two across on a phone and four on a laptop */
.fg-picks-note { margin: 1.2rem 0 .8rem; font-size: .85rem; color: var(--fg-brown-soft); }
.fg-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 46%), 1fr)); gap: 1rem; }
.fg-pick { gap: .35rem; padding: .8rem .8rem 1rem; border-radius: 14px; background: var(--fg-cream-soft); border: 1px solid var(--fg-rule); }
.fg-pick-img { border-radius: 10px; overflow: hidden; background: var(--fg-cream-deep); margin-bottom: .4rem; }
.fg-pick-retailer { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-sage); }
.fg-pick-name { margin: 0; font-family: var(--fg-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; color: var(--fg-brown-deep); }
.fg-pick-price { margin: 0; font-weight: 600; }
.fg-pick-note { margin: 0; font-size: .92rem; line-height: 1.5; }
.fg-pick-link { margin-top: auto; align-self: flex-start; font-size: .88rem; padding: 0 1.1rem; white-space: nowrap; }

/* THE HERO ON THE ESTUARY: the morning scene covers the band (svg-asset sets width and height:auto inline,
   so the cover is done here, as on iconkind's night hero: as wide as the band or 16/9 of its height,
   whichever is larger, anchored at the bottom right where the boats and the shore are). A soft cream
   wash from the left keeps the words readable over the sky. */
.fg-hero-scene { position: relative; isolation: isolate; overflow: hidden; justify-content: center; background: var(--fg-cream); }
.fg-hero-art { position: absolute; right: 0; bottom: 0; z-index: -2; width: max(100%, calc(min(88svh, 50rem) * 16 / 9)); pointer-events: none; }
.fg-hero-art svg { width: 100% !important; height: auto !important; display: block; }
.fg-hero-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 237, 224, .92) 0%, rgba(245, 237, 224, .7) 38%, rgba(245, 237, 224, 0) 66%); }
@media (max-width: 720px) {
  .fg-hero-scene::after { background: linear-gradient(180deg, rgba(245, 237, 224, .9) 0%, rgba(245, 237, 224, .75) 55%, rgba(245, 237, 224, .1) 100%); }
}
/* the words keep to the open sky on the left: the headline breaks into two lines rather than running into the town */
.fg-hero-scene .fg-h1 { max-width: 8.6em; }
.fg-hero-scene .fg-lead { max-width: 30rem; }
/* on a phone the picture sits under the words: the band is as tall as its words plus room for the boats and
   the shore, and the scene is shown from its right-hand side (the town, the boats, the sand) */
@media (max-width: 720px) {
  .fg-hero-scene { min-height: auto !important; padding-block: 2.5rem 13rem; }
  .fg-hero-art { width: 250%; }
}
/* SAMPLE PICKS (2026-09-15): a drawing in place of a photo, and a label that says what they are */
.fg-pick-art { aspect-ratio: 4 / 5; }
.fg-pick-art svg { width: 100% !important; height: 100% !important; display: block; }
.fg-pick-sample { color: var(--fg-brown-soft); }

/* ── WALK THE LANE (2026-09-15): shopfronts in a row that scrolls sideways and snaps, Willow at the top ── */
.fg-lane-lead { margin-bottom: 0; }
.fg-lane { align-items: stretch; margin-top: 1.4rem; padding-block: .25rem 1rem;
  padding-inline: max(1rem, calc((100% - 72rem) / 2)); scroll-padding-inline: max(1rem, calc((100% - 72rem) / 2));
  scrollbar-width: thin; scrollbar-color: var(--fg-sage-pale) transparent; overscroll-behavior-x: contain; }
.fg-lane > * { flex: 0 0 auto; scroll-snap-align: start; }
.fg-lane-host { width: min(15rem, 70vw); align-items: center; justify-content: center; text-align: center;
  padding: 1.2rem 1rem 1.3rem; border-radius: 14px; background: var(--fg-cream-soft); border: 1px solid var(--fg-rule); }
.fg-lane-host-figure { margin-bottom: .5rem; }
.fg-lane-host-name { margin: 0; font-family: var(--fg-display); font-size: 1.6rem; font-weight: 600; color: var(--fg-brown-deep); }
.fg-lane-host-role { margin: 0 0 .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-sage); }
.fg-lane-host-line { margin: 0; font-family: var(--fg-display); font-style: italic; font-size: 1.12rem; line-height: 1.35; color: var(--fg-brown); }
.fg-window { width: min(22rem, 84vw); display: flex; flex-direction: column; gap: .3rem; color: inherit; text-decoration: none; border-radius: 14px; }
.fg-window-art { aspect-ratio: 28 / 25; border-radius: 14px; overflow: hidden; margin-bottom: .45rem; transition: transform .25s ease; }
.fg-window-art svg { width: 100% !important; height: 100% !important; display: block; }
.fg-window-name { margin: 0; font-family: var(--fg-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--fg-brown-deep); }
.fg-window-blurb { margin: 0; font-size: .92rem; line-height: 1.5; }
.fg-window-more { margin-top: .2rem; font-weight: 600; font-size: .9rem; color: var(--fg-sage-deep); }
.fg-window:focus-visible { outline: 2px solid var(--fg-sage-deep); outline-offset: 4px; }
@media (hover: hover) { .fg-window:hover .fg-window-art { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .fg-window-art { transition: none; } .fg-window:hover .fg-window-art { transform: none; } }

/* ── WILLOW'S NOTE (2026-09-15): the line on each pick, on a luggage label with her rose ── */
.fg-pick-tag { position: relative; gap: .55rem; margin-top: .35rem; padding: .6rem .75rem .65rem 1.35rem;
  background: var(--fg-cream); border: 1px solid var(--fg-rule); border-radius: 4px 12px 12px 4px; }
.fg-pick-tag::before { content: ""; position: absolute; left: .5rem; top: .95rem; width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--fg-cream-soft); box-shadow: inset 0 0 0 1px var(--fg-rule); }
.fg-pick-tag-mark { flex: 0 0 auto; }
.fg-pick-tag-text { min-width: 0; }
.fg-pick-tag-label { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-sage); }
.fg-pick-tag .fg-pick-note { font-family: var(--fg-display); font-style: italic; font-size: 1.08rem; line-height: 1.35; color: var(--fg-brown); }
@media (max-width: 40rem) {
  .fg-pick-tag { padding-left: 1.1rem; }
  .fg-pick-tag-mark { display: none; }
  .fg-pick-tag .fg-pick-note { font-size: 1rem; }
}

/* ── ASK WILLOW (2026-09-15): the gift finder, a page per answer ── */
.fg-lane-host-link { margin-top: 1rem; }
.fg-ask-hint { margin-top: 1rem; align-self: flex-start; }
.fg-ask-top { gap: 1.2rem 2rem; }
.fg-ask-host { flex: 0 0 auto; }
.fg-ask-top-text { flex: 1 1 20rem; min-width: 0; }
.fg-ask-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: 1rem; }
.fg-ask-card { display: flex; flex-direction: column; gap: .45rem; min-height: 10rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: 14px;
  background: var(--fg-cream-soft); border: 1px solid var(--fg-rule); color: inherit; text-decoration: none; }
@media (hover: hover) { .fg-ask-card:hover { border-color: var(--fg-sage-soft); } }
.fg-ask-card:focus-visible { outline: 2px solid var(--fg-sage-deep); outline-offset: 3px; }
.fg-ask-card-name { margin: 0; font-family: var(--fg-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--fg-brown-deep); }
.fg-ask-card-line { margin: 0; font-family: var(--fg-display); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--fg-brown); }
.fg-ask-card-count { margin-top: auto; font-weight: 600; font-size: .85rem; color: var(--fg-sage-deep); }
.fg-ask-back { align-self: flex-start; }
.fg-ask-band { margin-top: 2.2rem; margin-bottom: .8rem; font-size: clamp(1.5rem, 3.5vw, 2rem); }

/* ── STEP INSIDE (2026-09-15): each section page opens inside its shop, the words over the calm left of the room ── */
.fg-room { position: relative; isolation: isolate; overflow: hidden; justify-content: center; background: var(--fg-cream); padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.fg-room-art { position: absolute; right: 0; bottom: 0; z-index: -2; width: max(100%, calc(min(78svh, 46rem) * 16 / 9)); pointer-events: none; }
.fg-room-art svg { width: 100% !important; height: auto !important; display: block; }
.fg-room::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 237, 224, .96) 0%, rgba(245, 237, 224, .88) 38%, rgba(245, 237, 224, 0) 64%); }
.fg-room-inner { align-items: flex-start; }
.fg-room .fg-h1 { max-width: 9em; }
.fg-room .fg-lead { max-width: 26rem; }
@media (max-width: 40rem) {
  .fg-room { min-height: auto !important; padding-block: 2.2rem 12rem; }
  .fg-room-art { width: 230%; }
  .fg-room::after { background: linear-gradient(180deg, rgba(245, 237, 224, .92) 0%, rgba(245, 237, 224, .78) 55%, rgba(245, 237, 224, 0) 100%); }
}

/* ── THE LANE TODAY (2026-09-15): the story band shows the legend's harbour centuries on, beside its words ── */
.fg-story-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.fg-today-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 34px rgba(23, 28, 51, .3); }
.fg-today-frame .fg-scene { display: block; width: 100%; }
.fg-story-text { min-width: 0; }
@media (max-width: 52rem) {
  .fg-story-inner { grid-template-columns: 1fr; }
  .fg-today-frame { aspect-ratio: 272 / 225; }
  .fg-today-frame .fg-scene { width: 147% !important; max-width: none !important; margin-left: -20.6%; }
}

/* ── THE ICONKIND SHOP (2026-09-15): the house range at the end of the lane, and a midnight room to step into ── */
.fg-stage { display: block; width: 100%; }
.fg-window-art .fg-stage { height: 100%; }
.fg-room-night { background: #242c4d; }
.fg-room-night::after { background: linear-gradient(90deg, rgba(23, 28, 51, .94) 0%, rgba(23, 28, 51, .82) 38%, rgba(23, 28, 51, 0) 64%); }
.fg-room-night .fg-h1, .fg-room-night .fg-lead { color: var(--fg-cream-soft); }
.fg-room-night .fg-kicker { color: #f2c14e; }
@media (max-width: 40rem) {
  /* the characters are the point of this room: leave them clear below the words */
  .fg-room-night { padding-block: 2.2rem 21rem; }
  .fg-room-night::after { background: linear-gradient(180deg, rgba(23, 28, 51, .92) 0%, rgba(23, 28, 51, .7) 42%, rgba(23, 28, 51, 0) 60%); }
}

/* ── DEV: THE SEASONS (2026-09-15): //internal pages for reviewing every season on the lane and inside ── */
.fg-dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.fg-dev-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(26rem, 100%), 1fr)); }
.fg-dev-tile { gap: .45rem; }
.fg-dev-room { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.fg-dev-room svg { width: 100% !important; height: auto !important; display: block; }
.fg-dev-caption { margin: 0; font-size: .88rem; font-weight: 600; color: var(--fg-brown); }
.fg-dev-h2 { margin-top: 1.5rem; }

/* ── DEV: THE MAP (2026-09-15): /dev, reached from Dev in the footer, every idea and every page ── */
.fg-dev-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: .6rem; margin: .8rem 0 1.6rem; }
.fg-dev-map-link { display: flex; flex-direction: column; gap: .15rem; min-height: 44px; padding: .7rem .9rem; border-radius: 10px;
  background: var(--fg-cream-soft); border: 1px solid var(--fg-rule); color: inherit; text-decoration: none; }
@media (hover: hover) { .fg-dev-map-link:hover { border-color: var(--fg-sage-soft); } }
.fg-dev-map-link:focus-visible { outline: 2px solid var(--fg-sage-deep); outline-offset: 3px; }
.fg-dev-map-title { font-weight: 600; color: var(--fg-brown-deep); }
.fg-dev-map-path { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--fg-brown-soft); }
