/* Shared look for every page. Direction: "One motif" (taste-skill seed 2073641767).
   The motif is Willow's round name tag: every picture, button, bullet and tag is a circle; everything else is square. */
:root {
  /* Maria's brand colours, sampled from her logo and cards */
  --ground: #d7d4ab;          /* brand sage, exactly as on her logo and cards */
  --ground-2: #e6e4c6;        /* a lighter wash of the sage, for tiles */
  --ink: #2f2e1b;
  --ink-soft: #5b5a3a;
  --olive: #706d44;           /* the logo's lettering */
  --sage: #a3a468;            /* brand olive green: the motif */
  --sage-deep: #5a5834;       /* panels */
  --sage-2: #55532f;
  --sage-3: #b9b98a;
  --sage-4: #c9c89a;
  --pale: #f6f4e6;            /* ink on deep olive */
  --orange: #e2a76d;          /* brand paw orange, for fills behind dark text */
  --brown: #a7815c;           /* brand caramel, from the business card */
  --action: #8a6544;          /* brand caramel, deepened for AA contrast with cream text */
  --action-hover: #735336;

  --font: "Roundo", "Nunito", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1rem + 1.25vw, 2.25rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --step-display: clamp(3rem, 1rem + 5.4vw, 5.5rem);

  --m: clamp(16px, 2.4vw, 32px);   /* the one pair of page margins */
  --gap: clamp(120px, 14vw, 200px); /* between sections */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--sage-deep); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
::selection { background: var(--sage-4); color: var(--ink); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.display { font-size: var(--step-display); letter-spacing: -0.03em; line-height: 1; }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ground); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons: a pill, the tag's shape stretched. One fill. */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--action); color: var(--ground); font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.pill:hover { background: var(--action-hover); color: var(--ground); transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.98); }
.pill--sm { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.pill--light { background: var(--ground); color: var(--sage-deep); }
.pill--light:hover { background: var(--pale); color: var(--sage-deep); }
.textlink { font-weight: 600; }
.textlink--light { color: var(--pale); }
.textlink--light:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Bar */
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--m); }
/* Maria's logo, as she designed it */
.mark { display: block; flex: none; width: clamp(116px, 12vw, 180px); }
.mark img { width: 100%; }
.nav ul { display: flex; align-items: center; gap: 8px 28px; }
.nav a:not(.pill) { text-decoration: none; font-weight: 500; }
.nav a:not(.pill):hover { text-decoration: underline; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: var(--ground-2); color: var(--ink); border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; }

/* Footer: the tag motif built large */
.foot { margin-top: var(--gap); background: var(--ink); color: var(--pale); padding: 64px var(--m) 120px; }
.foot__mark { --u: min(30svh, 15vw); display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; }
.foot__mark span { width: calc(var(--d) * var(--u)); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--d) * var(--u) * .58); font-weight: 500; line-height: 1; color: var(--ink); background: var(--sage-3); }
.foot__mark span:nth-child(3n+2) { background: var(--sage-4); }
.foot__mark span:nth-child(3n) { background: var(--orange); color: var(--ink); }
.foot__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 56px; }
.foot__cols > div { grid-column: span 2; }
.foot__cols > .foot__contact { grid-column: 9 / 13; }
.foot h3 { font-size: var(--step-body); margin-bottom: 14px; color: #fff; }
.foot li { margin-top: 8px; font-size: 0.9375rem; }
.foot a { color: var(--pale); }
.foot a:hover { color: #fff; }
.foot__base { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; font-size: 0.9375rem; }
.foot__credits { margin-top: 24px; font-size: var(--step-small); color: var(--sage-4); max-width: 80ch; }

.call-bar { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .bar__in { position: relative; }
  .nav { display: none; position: absolute; z-index: 20; top: 100%; left: 0; right: 0; background: var(--ground); padding: 8px var(--m) 24px; box-shadow: 0 16px 32px rgba(29, 42, 32, .12); } /* taste-skill-ignore: an open menu floats, the one shadow */
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.pill) { display: block; padding: 14px 0; font-size: 1.125rem; }
  .nav .pill { margin-top: 12px; width: 100%; }

  .foot { padding-bottom: 120px; }
  .foot__mark { --u: 15vw; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .foot__cols > div { grid-column: span 1; }
  .foot__cols > .foot__contact { grid-column: 1 / -1; }

  .call-bar { display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: var(--ground-2); }
  .call-bar a { flex: 1; display: grid; place-items: center; min-height: 56px; font-weight: 600; text-decoration: none; }
  .call-bar a:first-child { background: var(--action); color: var(--ground); }
}
@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}

/* Willow, peeking over the footer: the footer is her body */
.foot { position: relative; }
.willow { position: absolute; right: 14%; bottom: calc(100% - 1px); width: clamp(96px, 9vw, 132px); height: auto; overflow: hidden; }
.willow__eyes { transform-origin: 60px 50px; animation: blink 6s infinite; }
.willow__pupils { transition: transform .15s linear; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .willow__eyes { animation: none; } }
