/* 00-fonts.css */
/* Self-hosted Google Fonts (SIL Open Font License 1.1; see static/fonts/OFL-*.txt).
   Latin subset, variable weight. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/static/fonts/inter.woff2") format("woff2");
}

/* 01-tokens.css */
/* Design tokens: the one place the brand look is defined.

   Groups map onto a WordPress theme.json for the FluentCart rebuild:
     --wfw-color-*   -> settings.color.palette        (--wp--preset--color--*)
     --wfw-font-*    -> settings.typography.fontFamilies
     --wfw-text-*    -> settings.typography.fontSizes (fluid)
     --wfw-space-*   -> settings.spacing.spacingSizes
     --wfw-radius-*, --wfw-shadow-* -> settings.custom / styles
   Component CSS should use these tokens, never raw values. */
:root {
  /* Paper and surfaces */
  --wfw-color-paper: #f5efe3;        /* page background, warm cream */
  --wfw-color-paper-deep: #ece2d0;   /* bands, wells, the gallery wall */
  --wfw-color-card: #fbf8f2;         /* cards, mats, inputs */
  --wfw-color-line: #dccdb5;         /* hairlines and borders */

  /* Ink */
  --wfw-color-ink: #3d2f26;          /* body text, ink brown */
  --wfw-color-ink-soft: #6e5c4e;     /* secondary text */
  --wfw-color-ink-faint: #9a8877;    /* captions, meta */

  /* Accents */
  --wfw-color-sage: #8c9c7e;
  --wfw-color-sage-deep: #5d6c51;    /* primary buttons, links on hover */
  --wfw-color-sage-wash: #dfe3d3;
  --wfw-color-rose: #c49a91;
  --wfw-color-rose-deep: #a06e66;    /* badges, highlights */
  --wfw-color-rose-wash: #f0dcd5;
  --wfw-color-ochre: #c9a46a;        /* pressed-petal centers, small details */
  --wfw-color-frame: #6b5442;        /* walnut picture frames */
  --wfw-color-on-accent: #fbf8f2;    /* text on sage/rose fills */

  /* Type */
  --wfw-font-serif: "Cormorant Garamond", "Garamond", "Iowan Old Style", "Times New Roman", serif;
  --wfw-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wfw-text-xs: 0.75rem;
  --wfw-text-sm: 0.875rem;
  --wfw-text-base: 1rem;
  --wfw-text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --wfw-text-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --wfw-text-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
  --wfw-text-3xl: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --wfw-text-display: clamp(2.75rem, 1.8rem + 4.4vw, 5.25rem);

  --wfw-leading-tight: 1.05;
  --wfw-leading-snug: 1.25;
  --wfw-leading-body: 1.65;
  --wfw-tracking-caps: 0.16em;

  /* Spacing (4px base, then roomy steps for sections) */
  --wfw-space-1: 0.25rem;
  --wfw-space-2: 0.5rem;
  --wfw-space-3: 0.75rem;
  --wfw-space-4: 1rem;
  --wfw-space-5: 1.5rem;
  --wfw-space-6: 2rem;
  --wfw-space-7: 3rem;
  --wfw-space-8: 4rem;
  --wfw-space-section: clamp(3.5rem, 2rem + 6vw, 7.5rem);

  /* Layout */
  --wfw-width-content: 75rem;        /* main column */
  --wfw-width-prose: 38rem;          /* comfortable reading measure */
  --wfw-gutter: clamp(1rem, 0.5rem + 3vw, 2.5rem);

  /* Shape and depth */
  --wfw-radius-sm: 3px;
  --wfw-radius-md: 8px;
  --wfw-radius-lg: 16px;
  --wfw-radius-pill: 999px;
  --wfw-shadow-soft: 0 1px 2px rgb(61 47 38 / 0.06), 0 8px 24px rgb(61 47 38 / 0.07);
  --wfw-shadow-frame: 0 2px 3px rgb(61 47 38 / 0.18), 0 14px 30px -8px rgb(61 47 38 / 0.35);

  /* Motion */
  --wfw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wfw-duration: 220ms;
}

/* 10-base.css */
/* Base: reset, typography and shared components (buttons, eyebrow, frames). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--wfw-color-paper);
  /* Faint paper grain and a warm vignette. */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgb(255 255 255 / 0.55), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgb(201 164 106 / 0.08), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.18 0 0 0 0 0.15 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, scroll;
  color: var(--wfw-color-ink);
  font-family: var(--wfw-font-sans);
  font-size: var(--wfw-text-base);
  line-height: var(--wfw-leading-body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--wfw-font-serif);
  font-weight: 500;
  line-height: var(--wfw-leading-snug);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--wfw-text-3xl); line-height: var(--wfw-leading-tight); }
h2 { font-size: var(--wfw-text-2xl); }
h3 { font-size: var(--wfw-text-xl); }
p { text-wrap: pretty; }
em { font-style: italic; }

a { color: inherit; text-decoration-color: var(--wfw-color-rose); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--wfw-color-sage-deep); }
:focus-visible { outline: 2px solid var(--wfw-color-sage-deep); outline-offset: 3px; border-radius: var(--wfw-radius-sm); }
::selection { background: var(--wfw-color-rose-wash); }

.skip-link {
  position: absolute; left: var(--wfw-space-4); top: -4rem; z-index: 100;
  padding: var(--wfw-space-2) var(--wfw-space-4);
  background: var(--wfw-color-ink); color: var(--wfw-color-on-accent);
  border-radius: var(--wfw-radius-sm);
}
.skip-link:focus { top: var(--wfw-space-4); color: var(--wfw-color-on-accent); }

/* A centered column. Use on any section's inner wrapper. */
.container {
  width: 100%;
  max-width: calc(var(--wfw-width-content) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding-inline: var(--wfw-gutter);
}

/* Small caps label above headings. */
.eyebrow {
  font-family: var(--wfw-font-sans);
  font-size: var(--wfw-text-xs);
  font-weight: 500;
  letter-spacing: var(--wfw-tracking-caps);
  text-transform: uppercase;
  color: var(--wfw-color-sage-deep);
  margin-bottom: var(--wfw-space-4);
  display: flex; align-items: center; gap: var(--wfw-space-3);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.6; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: var(--wfw-space-3); }
.button-row--center { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--wfw-radius-pill);
  font-family: var(--wfw-font-sans);
  font-size: var(--wfw-text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--wfw-duration) var(--wfw-ease), color var(--wfw-duration) var(--wfw-ease), border-color var(--wfw-duration) var(--wfw-ease), transform var(--wfw-duration) var(--wfw-ease);
}
.button:active { transform: translateY(1px); }
.button--primary { background: var(--wfw-color-sage-deep); color: var(--wfw-color-on-accent); }
.button--primary:hover { background: var(--wfw-color-ink); color: var(--wfw-color-on-accent); }
.button--secondary { background: transparent; color: var(--wfw-color-ink); border-color: var(--wfw-color-ink-faint); }
.button--secondary:hover { background: var(--wfw-color-card); border-color: var(--wfw-color-ink); color: var(--wfw-color-ink); }

/* A walnut picture frame with a cream mat. Put an image or a botanical inside .frame__mat. */
.frame {
  padding: clamp(6px, 1.2vw, 12px);
  background: linear-gradient(145deg, #7d6450, var(--wfw-color-frame) 45%, #574334);
  border-radius: 2px;
  box-shadow: var(--wfw-shadow-frame);
}
.frame__mat {
  aspect-ratio: 4 / 5; /* 8x10 */
  display: grid; place-items: center;
  padding: 10%;
  background: var(--wfw-color-card);
  box-shadow: inset 0 0 0 1px rgb(61 47 38 / 0.08), inset 0 2px 6px rgb(61 47 38 / 0.12);
}
.frame__mat > * { width: 100%; height: 100%; object-fit: contain; }

/* Pressed-botanical illustrations (templates/partials/icons.html). */
.botanical { overflow: visible; }
.bot-stem { fill: none; stroke: var(--wfw-color-sage-deep); stroke-width: 1.4; stroke-linecap: round; }
.bot-stem--fine { stroke-width: 0.7; stroke: var(--wfw-color-sage); }
.bot-leaf { fill: none; stroke: var(--wfw-color-sage); stroke-width: 1.2; stroke-linecap: round; }
.bot-leaf-fill { fill: var(--wfw-color-sage); fill-opacity: 0.75; stroke: var(--wfw-color-sage-deep); stroke-width: 0.5; }
.bot-flower { fill: #efe6d6; stroke: var(--wfw-color-ink-faint); stroke-width: 0.35; }
.bot-petal { fill: var(--wfw-color-rose); fill-opacity: 0.8; stroke: var(--wfw-color-rose-deep); stroke-width: 0.5; }
.bot-center { fill: var(--wfw-color-ochre); stroke: var(--wfw-color-frame); stroke-width: 0.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 20-layout.css */
/* Layout: site header, nav and footer. */

/* Brand wordmark */
.brand { display: inline-flex; align-items: center; gap: var(--wfw-space-2); text-decoration: none; color: var(--wfw-color-ink); }
.brand:hover { color: var(--wfw-color-ink); }
.brand__mark { color: var(--wfw-color-sage-deep); width: 1.9rem; flex: none; }
.brand__mark svg { width: 100%; height: auto; }
.brand__name { font-family: var(--wfw-font-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.brand__name em { font-weight: 500; color: var(--wfw-color-rose-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(245 239 227 / 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--wfw-color-line);
}
.site-header__inner {
  max-width: calc(var(--wfw-width-content) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding: var(--wfw-space-4) var(--wfw-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--wfw-space-5);
}
.site-nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--wfw-space-1) var(--wfw-space-6); }
.site-nav__link {
  position: relative;
  display: inline-block; padding: var(--wfw-space-1) 0;
  font-size: var(--wfw-text-sm); font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none; color: var(--wfw-color-ink-soft);
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--wfw-color-rose-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--wfw-duration) var(--wfw-ease);
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--wfw-color-ink); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.cart-toggle {
  position: relative;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--wfw-color-line); border-radius: var(--wfw-radius-pill);
  background: var(--wfw-color-card); color: var(--wfw-color-ink);
  cursor: pointer;
  transition: border-color var(--wfw-duration) var(--wfw-ease);
}
.cart-toggle:hover { border-color: var(--wfw-color-ink-faint); }
.cart-toggle__count {
  position: absolute; top: -0.2rem; right: -0.2rem;
  min-width: 1.25rem; height: 1.25rem; padding-inline: 0.3rem;
  display: grid; place-items: center;
  border-radius: var(--wfw-radius-pill);
  background: var(--wfw-color-rose-deep); color: var(--wfw-color-on-accent);
  font-size: 0.6875rem; font-weight: 600; line-height: 1;
}

/* Phones: brand and cart on one row, nav centered below. */
@media (max-width: 47.99rem) {
  .site-header__inner { grid-template-columns: 1fr auto; gap: var(--wfw-space-3) var(--wfw-space-4); padding-block: var(--wfw-space-3); }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .site-nav:not(:has(li)) { display: none; }
  .site-nav__list { gap: var(--wfw-space-1) var(--wfw-space-5); }
  .site-nav__link { font-size: var(--wfw-text-xs); letter-spacing: 0.08em; text-transform: uppercase; }
  .brand__name { font-size: 1.3rem; }
}

/* Footer */
.site-footer {
  margin-top: var(--wfw-space-section);
  background: var(--wfw-color-paper-deep);
  border-top: 1px solid var(--wfw-color-line);
  color: var(--wfw-color-ink-soft);
  font-size: var(--wfw-text-sm);
}
.site-footer__inner {
  max-width: calc(var(--wfw-width-content) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding: var(--wfw-space-8) var(--wfw-gutter) var(--wfw-space-7);
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--wfw-space-7) var(--wfw-space-6);
}
.site-footer__tagline { margin-top: var(--wfw-space-4); max-width: 22rem; font-family: var(--wfw-font-serif); font-size: var(--wfw-text-lg); font-style: italic; line-height: 1.45; color: var(--wfw-color-ink-soft); }
.site-footer__heading { font-family: var(--wfw-font-sans); font-size: var(--wfw-text-xs); font-weight: 600; letter-spacing: var(--wfw-tracking-caps); text-transform: uppercase; color: var(--wfw-color-ink); margin-bottom: var(--wfw-space-4); }
.site-footer__links { display: grid; gap: var(--wfw-space-2); }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__soon { color: var(--wfw-color-ink-faint); font-style: italic; }
.site-footer__note { margin-top: var(--wfw-space-4); color: var(--wfw-color-ink-faint); }
.social { display: flex; gap: var(--wfw-space-2); }
.social__link {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--wfw-color-line); border-radius: var(--wfw-radius-pill);
  color: var(--wfw-color-ink-soft); background: var(--wfw-color-card);
  transition: color var(--wfw-duration) var(--wfw-ease), border-color var(--wfw-duration) var(--wfw-ease);
}
.social__link:hover { color: var(--wfw-color-rose-deep); border-color: var(--wfw-color-rose); }
.site-footer__base {
  max-width: calc(var(--wfw-width-content) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding: var(--wfw-space-5) var(--wfw-gutter) var(--wfw-space-6);
  border-top: 1px solid var(--wfw-color-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wfw-space-3);
  font-size: var(--wfw-text-xs); color: var(--wfw-color-ink-faint);
}
.prototype-note { display: inline-flex; align-items: center; gap: var(--wfw-space-2); letter-spacing: 0.04em; color: var(--wfw-color-ink-soft); }
.prototype-note::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--wfw-color-rose); }

@media (max-width: 59.99rem) {
  .site-footer__inner { grid-template-columns: repeat(3, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 35.99rem) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--wfw-space-6); padding-top: var(--wfw-space-7); }
}

/* 30-not-found.css */
/* 404 page. */
.not-found {
  max-width: calc(var(--wfw-width-prose) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding: var(--wfw-space-section) var(--wfw-gutter) 0;
  text-align: center;
}
.not-found .eyebrow { justify-content: center; }
.not-found .eyebrow::before { display: none; }
.not-found__art { width: 9rem; margin: 0 auto var(--wfw-space-6); transform: rotate(-3deg); }
.not-found__title { font-size: var(--wfw-text-3xl); }
.not-found__text { margin: var(--wfw-space-4) auto var(--wfw-space-6); max-width: 32rem; color: var(--wfw-color-ink-soft); font-size: var(--wfw-text-lg); }

/* 50-home.css */
/* Home page. */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) var(--wfw-space-section); }
.hero__inner {
  max-width: calc(var(--wfw-width-content) + 2 * var(--wfw-gutter));
  margin-inline: auto;
  padding-inline: var(--wfw-gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.hero__title { font-size: var(--wfw-text-display); font-weight: 500; max-width: 11ch; }
.hero__sub {
  margin-top: var(--wfw-space-5);
  max-width: 30rem;
  font-size: var(--wfw-text-lg);
  color: var(--wfw-color-ink-soft);
}
.hero__copy .button-row { margin-top: var(--wfw-space-6); }

.hero__media { position: relative; }
.hero__caption {
  margin-top: var(--wfw-space-3);
  font-family: var(--wfw-font-serif); font-style: italic; font-size: var(--wfw-text-base);
  color: var(--wfw-color-ink-faint); text-align: right;
}

/* Placeholder gallery wall: three framed botanicals over a console. */
.gallery-wall {
  position: relative;
  aspect-ratio: 6 / 5;
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.78fr;
  align-items: center;
  gap: 7%;
  padding: 11% 9% 20%;
  border-radius: var(--wfw-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 10%, rgb(255 250 240 / 0.9), transparent 55%),
    linear-gradient(180deg, #e7dcc8 0%, #ddcfb7 100%);
  box-shadow: inset 0 0 0 1px rgb(61 47 38 / 0.06), var(--wfw-shadow-soft);
}
.gallery-wall .frame--side { margin-top: 6%; }
.gallery-wall__console {
  position: absolute; left: 14%; right: 14%; bottom: 9%;
  height: 4.5%;
  border-radius: 2px;
  background: linear-gradient(180deg, #8a6f58, #6b5442);
  box-shadow: 0 10px 18px -6px rgb(61 47 38 / 0.45);
}
.gallery-wall__console::before {
  /* A small vase of dried stems on the console. */
  content: ""; position: absolute; right: 12%; bottom: 100%;
  width: 7%; aspect-ratio: 2 / 3;
  border-radius: 40% 40% 30% 30%;
  background: var(--wfw-color-rose-wash);
  box-shadow: inset -3px -2px 0 rgb(160 110 102 / 0.25);
}

@media (max-width: 55.99rem) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: 13ch; }
}
@media (max-width: 35.99rem) {
  .hero__copy .button { flex: 1 1 100%; }
  .hero__caption { text-align: left; }
}

