/* =========================================================
   Project: Sunny Digital – A window into brand concepts
   Author: Sunny Assist (Giada)
   Role: Front-end styling, responsive layout and accessible UI

   Local fonts and component styles for the on-screen site.
   Responsive rules and interaction states sit with their component.
   The independent A4 layout is in print.css.

   Contents
   01 · Local fonts
   02 · Design tokens and colour palettes
   03 · Document layout, typography and shared links
   04 · Keyboard focus, skip link and shared controls
   05 · Masthead, Sunny Digital wordmark and strapline
   06 · Hero, window mark and animated headline
   07 · Collection navigation
   08 · Daylight ribbon and pause control
   09 · Instagram invitation
   10 · Project previews, cards and domain links
   11 · Behind the posts and project credits
   12 · Footer, contact links and verification cards
   13 · Motion keyframes
   ========================================================= */

/* =========================================================
   01 · Local fonts
   ========================================================= */

@font-face {
  font-family: Note;
  src: url("fonts/note-400.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Gothic;
  src: url("fonts/gothic-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Bricolage;
  src: url("fonts/bricolage-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Bricolage;
  src: url("fonts/bricolage-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: SunnyDisplay;
  src: url("fonts/sunnydisplay-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Sunny Bookman";
  src: url("fonts/sunny-bookman-600.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Sunny Poster";
  src: url("fonts/sunny-poster-600.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Sunny Text";
  src: url("fonts/sunny-text-400.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sunny Note Italic";
  src: url("fonts/sunny-note-italic-700.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

/* =========================================================
   02 · Design tokens and colour palettes
   ========================================================= */

:root {
  --collection-food: #ffdc29;
  --collection-services: #ded8ff;
  --collection-services-ink: #193478;
  --collection-services-edge: #534394;
}

:root {
  --ink: #20143b;
  --blue: #1d00ff;
  --lime: #d8ff34;
  --yellow: #ffd51a;
  --orange: #ff782c;
  --paper: #fff8e9;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.2'/%3E%3C/svg%3E");
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.45 Gothic,Arial,sans-serif;
}

:root {
  --ink: #30204d;
  --paper: #f6edff;
  --orange: #ff8144;
  --yellow: #ffe257;
  --blue: #1d00ff;
  background: var(--paper);
  color: var(--ink);
}

:root {
  --sheet: #ff8b24;
  --shade: #b84624;
  --ink: #31163e;
  --hero-ink: #31163e;
  --accent: #ffe033;
  --mark-ink: #862923;
  --mark-sun: #ffdb35;
  --tag: #ffdf74;
  --lime: #c8fa48;
  --paper: #fff7e7;
  --orange: #ff8b24;
  --blue: #1d00ff;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' width='34' height='34'%3E%3Cpath d='M4 3 29 17 18 19 21 29 15 32 11 22 5 28Z' fill='%23fff1c9' stroke='%23203ca4' stroke-width='2.3' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' width='36' height='36'%3E%3Cpath d='M14 21V5q0-3 3-3t3 3v11l2-2q3-1 4 3 4-2 5 3 4-1 4 4l-3 8q-1 2-4 2H16q-3 0-4-3L6 22q-2-4 2-4 2 0 6 3Z' fill='%23fff1c9' stroke='%23203ca4' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --crease: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='860' height='550' viewBox='0 0 860 550'%3E%3Cpath fill='%23fff' opacity='.16' d='M0 0h228l-72 108 113 45-139 83L0 186zm860 0v235l-87 51-86-70 45-118L560 0zM0 550V392l130-156 58 101-95 68 149 145zm860 0H572l79-108 127-47 82 42z'/%3E%3Cpath fill='%232a1237' opacity='.09' d='M0 186l130 50-39 91L0 392zM228 0l41 153 143-57 25-96zm632 235-87 51 5 109 82 42zM242 550 93 405l166 15 101 130zm330 0 79-108-117-61-76 169z'/%3E%3Cpath d='M0 186l130 50 139-83L228 0m632 235-87 51-86-70 45-118M93 405l166 15 101 130m98 0 76-169 117 61 127-47 82 42' fill='none' stroke='%23fff' stroke-opacity='.21' stroke-width='2'/%3E%3C/svg%3E");
  background: var(--paper);
  color: var(--ink);
}

:root[data-colour="blue"] {
  --sheet: #6557ed;
  --shade: #383099;
  --hero-ink: #fff9e8;
  --accent: #ffde38;
  --mark-ink: #1d00ff;
  --mark-sun: #ffda38;
  --tag: #d9c9ff;
}

:root[data-colour="red"] {
  --sheet: #ff6c73;
  --shade: #ac3450;
  --hero-ink: #431834;
  --accent: #fff09a;
  --mark-ink: #a51940;
  --mark-sun: #ffda98;
  --tag: #ffd4c7;
}

:root {
  --sheet: #ff8b25;
  --shade: #ad4a36;
  --mark-ink: #3b1864;
  --mark-sun: #ffac30;
  --tag: #fff092;
  --cardboard: url("cardboard.webp");
  --paper: #fff8e6;
}

:root[data-colour="orange"] {
  --sheet: #ff8b25;
  --shade: #ad4a36;
  --mark-ink: #3b1864;
  --mark-sun: #ffac30;
  --tag: #fff092;
}

:root[data-colour="blue"] {
  --sheet: #6654e9;
  --shade: #372899;
  --tag: #fff4af;
}

:root[data-colour="red"] {
  --sheet: #ff7679;
  --shade: #ab3857;
  --tag: #ffe5ae;
}

:root {
  --paper: #ddc9fb;
  --tag: #f7e8fa;
  --pressed: #4b2347;
  --pressed-edge: #ffc39b;
  --groove: #38152e;
  --accent: #fff1e6;
}

:root[data-colour="orange"] {
  --tag: #f7e8fa;
  --mark-sun: #ff9550;
}

:root[data-colour="blue"] {
  --tag: #e7deff;
  --pressed: #fbebff;
  --pressed-edge: #aa9cfc;
  --groove: #2c1c86;
}

:root[data-colour="red"] {
  --tag: #f9e2f0;
  --mark-sun: #ffa3bc;
  --accent: #fcedff;
  --pressed: #551f49;
  --pressed-edge: #ffa3a6;
  --groove: #641d3d;
}

:root {
  --orange-ink: #aa360c;
  --blue-ink: #1d00ff;
  --blue-mark: #ffda38;
  --red-ink: #a4101e;
  --control-radius: .78rem;
}

:root[data-colour="orange"] {
  --mark-ink: var(--orange-ink);
  --mark-sun: #fff;
  --tag: #fff;
  --accent: #fff7ed;
  --pressed: #54240e;
  --groove: #733012;
  --ticket-one: #ffe0c6;
  --ticket-two: #fff0e1;
  --ticket-three: #f9ccab;
  --ticket-ink: #502411;
  --ticket-depth: #9b411d;
  --label-paper: #fff2df;
}

:root[data-colour="blue"] {
  --mark-ink: var(--blue-ink);
  --mark-sun: var(--blue-mark);
  --tag: #fff5d6;
  --ticket-one: #ffdf69;
  --ticket-two: #e7edff;
  --ticket-three: #ccd8ff;
  --ticket-ink: #25225f;
  --ticket-depth: #251c83;
  --label-paper: #fff0af;
}

:root[data-colour="red"] {
  --sheet: #ef5752;
  --mark-ink: var(--red-ink);
  --mark-sun: #fff;
  --tag: #fff;
  --accent: #fff;
  --hero-ink: #421913;
  --pressed: #501a16;
  --groove: #691e14;
  --ticket-one: #fff1eb;
  --ticket-two: #ffdacc;
  --ticket-three: #fff8f1;
  --ticket-ink: #591b16;
  --ticket-depth: #932b21;
  --label-paper: #fff3ed;
}

:root {
  --blue: #1d00ff;
  --blue-ink: #15246b;
  --blue-mist: #e8eeff;
  --sun: #ffdb36;
  --sun-paper: #fff5b9;
  --sun-wash: #fffbea;
  --ink: var(--blue-ink);
  --paper: var(--sun-wash);
  --edge: #15246b40;
  --section-gutter: clamp(1rem,4.8vw,5.4rem);
  --sheet: #fffaef;
  --hero-ink: var(--blue);
  --pressed: var(--blue);
  --accent: var(--blue);
  --ticket-ink: var(--blue-ink);
  --ticket-depth: var(--blue-ink);
  --ticket-one: var(--blue-mist);
  --ticket-two: var(--blue-mist);
  --ticket-three: var(--blue-mist);
  background: var(--sun-wash);
  color: var(--blue-ink);
}

:root[data-colour="blue"] {
  --sheet: var(--blue);
  --hero-ink: var(--sun-wash);
  --pressed: var(--sun-wash);
  --accent: var(--sun);
  --ticket-ink: var(--blue-ink);
  --ticket-depth: var(--blue-ink);
  --ticket-one: var(--sun-paper);
  --ticket-two: var(--sun-paper);
  --ticket-three: var(--sun-paper);
}

:root {
  --opening-orange: #ff982f;
  --opening-edge: #f87a23;
  --opening-cream: #fff9eb;
}

/* =========================================================
   03 · Document layout, typography and shared links
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

.page {
  max-width: 92rem;
  margin: auto;
  padding-inline: clamp(1rem,4.5vw,4.25rem);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font: 600 1em/1.04 Gothic,Arial,sans-serif;
}

nav {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1.5px solid var(--ink);
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 700;
}

nav a {
  background: #fff;
  padding: .52rem .84rem;
  font-size: .92rem;
  box-shadow: 2px 2px 0 var(--ink);
}

nav a:first-child {
  background: var(--orange);
}

nav a:hover {
  transform: translateY(-2px);
}

@media (max-width:540px) {
  nav a {
      font-size: .86rem;
  }
}

.page {
  padding-inline: clamp(1rem,4.8vw,4.2rem);
}

nav {
  gap: .85rem 1.65rem;
}

nav a,
nav a:first-child {
  border: 0;
  border-radius: 0;
  padding: .2rem 0;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

nav a:hover {
  color: var(--blue);
  transform: none;
}

.page {
  max-width: none;
  padding: 0;
}

@media (pointer:fine) {
  body {
      cursor: var(--arrow) 4 3,auto;
  }

  a,
  button,
  summary,
  label input {
      cursor: var(--hand) 17 3,pointer;
  }
}

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

.page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  background: var(--opening-orange);
}

#main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-width: 0;
}

/* =========================================================
   04 · Keyboard focus, skip link and shared controls
   ========================================================= */

a:focus-visible {
  outline: 3px dashed currentColor;
  outline-offset: 5px;
}

.skip {
  position: absolute;
  z-index: 5;
  left: 1rem;
  top: 1rem;
  background: white;
  padding: .75rem;
  transform: translateY(-180%);
}

.skip:focus {
  transform: none;
}

@media (pointer:fine) {
  label:has(input) {
      cursor: var(--hand) 17 3,pointer;
  }
}

.skip {
  background: var(--sun-paper);
}

@media (pointer:fine) {
  #main :is(a[href],button,summary),
  a.skip {
      cursor: var(--hand) 17 3,pointer;
  }

  #main :is(a[href],button,summary) * {
      cursor: inherit;
  }
}

.utility-label {
  position: relative;
  top: .05em;
}

/* =========================================================
   05 · Masthead, Sunny Digital wordmark and strapline
   ========================================================= */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding-block: 1.15rem 1.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand .brand-note {
  max-width: 11rem;
  font-size: .94rem;
  line-height: 1.23;
  margin: 0;
  font-weight: 700;
}

@media (max-width:920px) {
  .masthead {
      flex-wrap: wrap;
  }
}

@media (max-width:540px) {
  .brand {
      gap: .65rem;
  }

  .brand .brand-note {
      font-size: .86rem;
  }
}

.masthead {
  padding-block: 1.15rem;
  align-items: center;
}

.brand .brand-note {
  font-size: .91rem;
  line-height: 1.19;
  font-weight: 400;
}

.masthead {
  background-color: var(--sheet);
  color: var(--hero-ink);
  transition: background-color .38s,color .38s;
}

.masthead {
  padding: .7rem clamp(1rem,4vw,4rem);
  gap: 1rem;
  border-bottom: 1px solid #27113238;
  position: relative;
  z-index: 4;
}

.brand .brand-note {
  font-size: .93rem;
  line-height: 1.23;
  color: var(--hero-ink);
}

@media (max-width:740px) {
  .masthead {
      flex-wrap: nowrap;
  }

  .brand .brand-note {
      display: none;
  }
}

.masthead {
  padding-block: .8rem;
  border: 0;
  background-image: linear-gradient(#ffffff18,#ffffff18),var(--cardboard);
  background-size: cover;
  background-blend-mode: normal,multiply;
}

.brand .brand-note {
  font: 600 clamp(1rem,1.45vw,1.32rem)/1.13 Gothic,Arial,sans-serif;
  max-width: 15rem;
}

@media (max-width:740px) {
  .masthead {
      flex-wrap: wrap;
      gap: .95rem;
  }

  .brand .brand-note {
      display: block;
  }
}

.masthead {
  border-bottom: 1px solid #38163042;
}

.brand .brand-note {
  font: 600 clamp(.99rem,1.38vw,1.27rem)/1.15 Gothic,Arial,sans-serif;
  max-width: none;
}

.brand .brand-note strong {
  display: block;
  font-size: 1.13em;
  font-weight: 600;
}

.brand .brand-note span {
  display: block;
  margin-top: .2em;
}

@media (max-width:740px) {
  .masthead {
      align-items: flex-start;
  }

  .brand .brand-note {
      font-size: clamp(.92rem,3.3vw,1.18rem);
  }
}

@media (max-width:375px) {
  .brand {
      gap: .65rem;
  }
}

.brand .brand-note {
  padding: .48rem .72rem;
  border-radius: .22rem .8rem .7rem .24rem;
  background: #f6e4f8 var(--cardboard) center/cover;
  background-blend-mode: multiply;
  color: #422053;
  box-shadow: inset 3px 0 #6a357a,inset 0 1px 2px #42184d48;
}

@media (max-width:520px) {
  .brand {
      gap: .58rem;
  }

  .brand .brand-note {
      padding: .4rem .47rem;
  }
}

.brand .brand-note {
  background-color: var(--label-paper);
  color: var(--ticket-ink);
  box-shadow: inset 3px 0 var(--ticket-depth),inset 0 2px 3px #38190b48,inset 0 -1px #fff;
  text-shadow: 0 1px #fff;
}

.brand .brand-note strong,
.brand .brand-note span {
  transition: transform .5s cubic-bezier(.2,.85,.25,1);
}

.brand .brand-note:hover strong {
  transform: translateX(.18rem);
}

.brand .brand-note:hover span {
  transform: translateX(.3rem);
}

.masthead {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--sun-wash);
  color: var(--blue-ink);
  border-bottom: 1px solid var(--edge);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: .42rem var(--section-gutter) .72rem;
}

.masthead .brand {
  --mark-ink: var(--blue);
  --mark-sun: var(--sun);
  width: fit-content;
  gap: clamp(.65rem,1.1vw,1.15rem);
  color: var(--blue);
}

.masthead .brand > svg {
  display: block;
  width: clamp(3.65rem,5.65vw,5.7rem);
  flex: none;
  transform: translateY(-2px) rotate(-5deg);
}

.brand-name {
  white-space: nowrap;
  font: 400 clamp(1.55rem,3vw,3.1rem)/.98 Bricolage,Arial,sans-serif;
  letter-spacing: -.025em;
}

.brand-name strong {
  font-weight: 600;
}

.masthead .brand .brand-note {
  max-width: none;
  margin: .3rem 0 0 .08rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--blue-ink);
  font: 400 clamp(.89rem,1.18vw,1.12rem)/1.3 Bricolage,Arial,sans-serif;
  letter-spacing: .025em;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .masthead .brand > svg {
      transition: scale .42s cubic-bezier(.22,.61,.36,1),rotate .42s cubic-bezier(.22,.61,.36,1);
  }

  :root:not(.motion-paused) .masthead .brand > svg:hover {
      scale: 1.11;
      rotate: 5deg;
  }

  :root.motion-paused .masthead .brand > svg {
      transition: none;
  }
}

@media (max-width:720px) {
  .masthead {
      grid-template-columns: 1fr;
      gap: .75rem;
  }
}

.masthead .brand .brand-note em {
  font-style: inherit;
}

.opening-word {
  display: inline-block;
}

.opening-letter {
  display: inline-block;
}

@media (prefers-reduced-motion:no-preference) {
  .opening-letter {
      transform: translateY(var(--opening-lift,0px)) scale(var(--opening-scale,1));
      transform-origin: center 75%;
      transition: transform .4s cubic-bezier(.18,.77,.28,1);
  }
}

@media (prefers-reduced-motion:no-preference) {
  .masthead .logo-dot {
      --opening-pace: 95ms;
      --opening-cycle: 720ms;
      animation: opening-dot-light var(--opening-cycle) linear
        calc(var(--opening-step,0) * var(--opening-pace)) infinite both;
  }

  .masthead .brand:hover .logo-dot {
      --opening-pace: 85ms;
      --opening-cycle: 620ms;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .brand-name > strong,
  .opening-word {
      display: inline-block;
      animation: opening-word-drift 8s ease-in-out infinite both;
  }

  .opening-word {
      animation-delay: -2s;
  }

  .motion-paused .brand-name > strong,
  .motion-paused .opening-word {
      animation-play-state: paused;
  }
}

.masthead {
  grid-template-columns: minmax(0,1fr);
  justify-items: center;
  padding-block: .68rem .84rem;
  background: #fff2e7;
  border-bottom: 1px solid #e6a98a5c;
}

.masthead .brand {
  color: #b62228;
}

.masthead .brand .brand-note {
  margin-top: .45rem;
  color: #ad2455;
  font: 600 clamp(.94rem,1.35vw,1.27rem)/1.16 "Sunny Bookman",Georgia,serif;
  letter-spacing: 0;
}

.masthead .brand .brand-note em {
  color: #b53c1d;
}

@media (prefers-reduced-motion:no-preference) {
  .masthead .brand .brand-note {
      animation: opening-note-float 5.4s ease-in-out infinite;
  }

  .motion-paused .masthead .brand .brand-note {
      animation-play-state: paused;
  }
}

.masthead {
  background: radial-gradient(ellipse at -5% 105%,#ff684e 0 28%,transparent 28.2%),
    radial-gradient(ellipse at 103% -25%,#ff684e 0 30%,transparent 30.2%),
    #fffdf7;
  border-color: #d83a2e48;
}

.masthead .brand .brand-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15em .3em;
  margin-top: .36rem;
  padding: 0;
  border: 0;
  background: none;
  color: #b62228;
  text-shadow: none;
  font: 700 clamp(.94rem,1.35vw,1.3rem)/1.18 SunnyDisplay,Arial,sans-serif;
  letter-spacing: .004em;
}

.masthead .brand .brand-note em {
  display: inline-block;
  padding: 0 .27em .08em;
  border-radius: .18em .31em .13em .3em;
  background: #ffdf42;
  color: #9f2023;
  font: 600 1.18em/1.04 "Sunny Poster",Georgia,serif;
  transform: rotate(-4deg);
}

@media (prefers-reduced-motion:no-preference) {
  .masthead .brand .brand-note em {
      animation: opening-daylight-rise 5.4s ease-in-out infinite;
  }

  .motion-paused .masthead .brand .brand-note em {
      animation-play-state: paused;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .masthead .brand > svg {
      animation: small-symbol-sway 6.4s ease-in-out infinite;
  }

  .motion-paused .masthead .brand > svg {
      animation-play-state: paused;
  }
}

.masthead {
  background: #ffa150;
  border: 0;
  padding-block: clamp(.55rem,1.3vh,.95rem);
}

.masthead .brand {
  padding: 0;
  color: #183278;
}

.masthead .brand > svg {
  width: clamp(3rem,4.55vw,4.65rem);
}

.masthead .brand .brand-note {
  color: #233979;
}

.masthead .brand .brand-note em {
  background: #ffda3e;
  color: #193477;
}

.masthead {
  background: var(--opening-orange);
}

.masthead {
  padding-block: clamp(.8rem,2vh,1.2rem);
  border-bottom: 1px solid #a94e23;
  box-shadow: inset 0 -1px #fff1c96b;
}

.masthead .brand .brand-name {
  color: var(--opening-cream);
  --outline-offset: .021em;
  --outline-diagonal: .015em;
  --outline-shadow: .045em .056em #203ca4;
}

.masthead .brand .brand-note {
  gap: .15em .4em;
  margin-top: .48rem;
  color: #951847;
  font: 700 italic clamp(.94rem,1.38vw,1.34rem)/1.24 "Sunny Note Italic",Georgia,serif;
}

.masthead .brand .brand-note em {
  padding: .19em .34em .17em;
  background: #ffdc29;
  color: #20378c;
  box-shadow: 0 0 .65em #ffe54a85;
}

@media (max-width:540px) {
  .masthead .brand .brand-note {
      column-gap: .31em;
  }
}

.masthead .brand .brand-name {
  --outline-ink: #203ca4;
  --outline-negative: calc(-1 * var(--outline-offset));
  --outline-negative-diagonal: calc(-1 * var(--outline-diagonal));
  text-shadow: var(--outline-offset) 0 var(--outline-ink),
    var(--outline-negative) 0 var(--outline-ink),
    0 var(--outline-offset) var(--outline-ink),
    0 var(--outline-negative) var(--outline-ink),
    var(--outline-diagonal) var(--outline-diagonal) var(--outline-ink),
    var(--outline-negative-diagonal) var(--outline-diagonal) var(--outline-ink),
    var(--outline-diagonal) var(--outline-negative-diagonal) var(--outline-ink),
    var(--outline-negative-diagonal) var(--outline-negative-diagonal) var(--outline-ink),
    var(--outline-shadow);
}

.brand-name .opening-letter {
  position: relative;
  width: var(--letter-advance);
}

.brand-name .opening-letter::before {
  content: "​";
}

.brand-name .opening-letter svg {
  position: absolute;
  top: 0;
  left: 0;
  height: .98em;
  width: auto;
  overflow: visible;
  pointer-events: none;
}

.wordmark-shadow {
  fill: var(--outline-ink);
}

.wordmark-outline {
  fill: var(--outline-ink);
  stroke: var(--outline-ink);
  stroke-width: 42;
  stroke-linejoin: round;
}

.wordmark-fill {
  fill: currentColor;
}

.brand-name .opening-letter[data-letter="S"] {
  --letter-advance: 0.622em;
}

.brand-name .opening-letter[data-letter="u"] {
  --letter-advance: 0.586em;
}

.brand-name .opening-letter[data-letter="n"] {
  --letter-advance: 0.594em;
}

.brand-name .opening-letter[data-letter="y"] {
  --letter-advance: 0.572em;
}

.brand-name .opening-letter[data-letter="D"] {
  --letter-advance: 0.661em;
}

.brand-name .opening-letter[data-letter="i"] {
  --letter-advance: 0.225em;
}

.brand-name .opening-letter[data-letter="g"] {
  --letter-advance: 0.557em;
}

.brand-name .opening-letter[data-letter="t"] {
  --letter-advance: 0.346em;
}

.brand-name .opening-letter[data-letter="a"] {
  --letter-advance: 0.532em;
}

.brand-name .opening-letter[data-letter="l"] {
  --letter-advance: 0.223em;
}

/* =========================================================
   06 · Hero, window mark and animated headline
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.86fr);
  align-items: center;
  gap: clamp(1rem,3.8vw,4rem);
  padding: clamp(1.4rem,4vw,4rem);
  background-color: var(--lime);
  background-image: var(--grain);
  background-blend-mode: multiply;
  border: 2px solid var(--ink);
  border-radius: clamp(1.6rem,3.5vw,3.4rem);
  box-shadow: 0 7px 0 var(--ink);
}

h1 {
  font-size: clamp(3.25rem,6.3vw,6.75rem);
  line-height: .91;
  letter-spacing: -.055em;
  color: var(--blue);
}

h1 span {
  display: block;
  color: var(--ink);
  margin-top: .08em;
}

.intro {
  font-size: clamp(1.08rem,1.55vw,1.35rem);
  max-width: 28rem;
  margin: 1.1rem 0 0;
}

@media (max-width:680px) {
  .hero {
      grid-template-columns: 1fr;
  }
}

@media (max-width:380px) {
  h1 {
      font-size: 2.8rem;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0,1.18fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(1rem,4vw,4rem);
  background-color: var(--orange);
  border: 0;
  border-radius: 2.1rem 2.1rem 4.4rem 2.1rem;
  box-shadow: none;
  padding: clamp(1.6rem,4.6vw,4.8rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(3rem,5.8vw,6.35rem);
  line-height: .91;
  letter-spacing: -.035em;
  color: #321d45;
}

h1 span {
  display: block;
  color: #321d45;
}

h1 .headline-brands {
  width: fit-content;
  color: #fff2a9;
  transform: rotate(-4deg);
  margin: .09em 0 .11em;
  text-shadow: .04em .055em #713769;
  letter-spacing: .005em;
}

.intro {
  line-height: 1.43;
  margin-top: 1.35rem;
  max-width: 26rem;
}

@media (max-width:740px) {
  .hero {
      grid-template-columns: 1fr;
      gap: 1.8rem;
  }

  h1 {
      font-size: clamp(3rem,10vw,5.5rem);
  }
}

.hero {
  background-color: var(--sheet);
  color: var(--hero-ink);
  transition: background-color .38s,color .38s;
}

.hero {
  isolation: isolate;
  position: relative;
  grid-template-columns: minmax(9rem,.66fr) minmax(0,1.6fr) minmax(0,1.24fr);
  align-items: center;
  gap: clamp(.6rem,2vw,2rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.8rem,5vh,4rem) clamp(1rem,4vw,4rem) clamp(2rem,6vh,4.5rem);
  min-height: min(660px,67vh);
  background-image: var(--crease),var(--grain);
  background-size: cover,auto;
  background-blend-mode: soft-light,multiply;
}

.hero-copy {
  align-self: center;
}

h1,
h1 span {
  color: var(--hero-ink);
  line-height: .83;
}

h1 {
  font-size: clamp(2.9rem,6.65vw,7.2rem);
  letter-spacing: -.065em;
}

h1 .headline-brands {
  color: var(--accent);
  font-size: 1.32em;
  transform: rotate(-5deg);
  margin: .16em 0 .12em;
  text-shadow: .035em .045em var(--shade);
  letter-spacing: -.065em;
}

h1 .letter {
  display: inline-block;
  color: inherit;
  transition: transform .52s cubic-bezier(.16,.9,.3,1.3);
  transform-origin: 50% 70%;
}

.letter:hover {
  transform: translateY(-.105em) rotate(-8deg) scale(1.08);
}

.letter:has(+.letter:hover),
.letter:hover+.letter {
  transform: translateY(-.045em) rotate(5deg);
}

.intro {
  margin: .95rem 0 0;
  max-width: 23rem;
  font-size: clamp(1rem,1.35vw,1.2rem);
  line-height: 1.4;
}

@media (prefers-reduced-motion:reduce) {
  .letter:hover,
  .letter:has(+.letter:hover),
  .letter:hover+.letter {
      transform: none;
  }
}

@media (max-width:1020px) {
  .hero {
      grid-template-columns: minmax(7.5rem,.53fr) minmax(0,1.45fr) minmax(0,1fr);
  }

  h1 {
      font-size: clamp(2.75rem,6.5vw,6rem);
  }
}

@media (max-width:740px) {
  .hero {
      grid-template-columns: 1fr 1fr;
      min-height: 0;
  }

  .hero-copy {
      grid-column: 1/-1;
  }

  h1 {
      font-size: clamp(3.25rem,10vw,5rem);
  }
}

.hero {
  grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  gap: clamp(1.4rem,4vw,5rem);
  min-height: 0;
  padding: clamp(1.7rem,3.4vw,3.3rem) clamp(1rem,4.8vw,5.4rem) clamp(2.2rem,4.6vw,4.4rem);
  background: var(--sheet);
  background-image: var(--cardboard);
  background-size: cover;
  background-blend-mode: multiply;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--crease);
  background-size: cover;
  opacity: .55;
  pointer-events: none;
}

.hero-copy {
  align-self: center;
}

h1 {
  font-size: clamp(3.05rem,6.4vw,7.3rem);
  letter-spacing: -.035em;
  line-height: .9;
}

h1 span {
  line-height: inherit;
}

h1 .headline-brands {
  font-size: 1.36em;
  letter-spacing: -.025em;
  margin: .11em 0 .15em;
  text-shadow: .03em .045em #5c254c;
}

.intro {
  max-width: 28rem;
  font-size: clamp(1.16rem,1.6vw,1.55rem);
  margin-top: 1.45rem;
}

@media (max-width:740px) {
  .hero {
      grid-template-columns: 1fr;
      gap: 1.65rem;
  }

  h1 {
      font-size: clamp(2.75rem,9.4vw,5rem);
  }
}

h1 .headline-pressed {
  width: fit-content;
  color: var(--pressed);
  letter-spacing: -.022em;
  text-shadow: 0 .016em var(--groove),.01em .027em var(--pressed-edge);
}

h1 .headline-last {
  transform: rotate(1.8deg);
  margin-left: .07em;
}

.intro {
  font-family: Gothic,Arial,sans-serif;
  font-weight: 600;
  max-width: 31rem;
  line-height: 1.35;
}

.intro {
  font-size: clamp(1.27rem,2vw,1.9rem);
  max-width: 28ch;
  letter-spacing: .012em;
  text-wrap: balance;
  text-shadow: 0 1px color-mix(in srgb,var(--pressed-edge),transparent 28%);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  grid-template-rows: 1fr auto;
  gap: clamp(1.4rem,3.5vw,3.75rem) clamp(.6rem,1.7vw,1.8rem);
  min-height: auto;
  padding: clamp(1.9rem,3.7vw,4.6rem) var(--section-gutter) clamp(1.2rem,2.5vw,2.65rem);
  background: var(--sheet);
}

.hero::before,
.hero::after {
  content: none;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero h1 {
  font-size: clamp(2.5rem,5.35vw,6.8rem);
}

.hero h1 span {
  text-shadow: none;
}

.hero .headline-brands {
  font-size: 1.55em;
  transform: rotate(-2deg);
  margin-block: .13em .1em;
}

.intro {
  max-width: 37ch;
  color: var(--hero-ink);
  text-wrap: wrap;
  font: 600 clamp(1.04rem,1.6vw,1.5rem)/1.43 Bricolage,Arial,sans-serif;
}

.hero-mark {
  --mark-ink: var(--blue);
  --mark-sun: var(--sun);
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  min-height: clamp(19rem,40vw,45rem);
  margin-right: calc(-1 * var(--section-gutter));
  overflow: hidden;
  pointer-events: none;
}

:root[data-colour="blue"] .hero-mark {
  --mark-ink: #111773;
}

.hero-mark svg {
  display: block;
  position: absolute;
  inset: 0 auto auto 1%;
  width: min(49vw,60rem);
  transform: rotate(-4deg);
}

@media (max-width:900px) {
  .hero {
      grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
  }

  .hero-mark svg {
      width: 43vw;
  }
}

@media (max-width:640px) {
  .hero {
      grid-template-columns: minmax(0,1fr);
      grid-template-rows: auto auto auto;
  }

  .hero h1 {
      font-size: clamp(2.15rem,9vw,4.8rem);
  }

  .hero-mark {
      grid-column: 1;
      grid-row: 2;
      min-height: 0;
      margin: 0;
      overflow: visible;
  }

  .hero-mark svg {
      position: static;
      width: 70%;
      max-width: 24rem;
      margin: 0 auto;
  }
}

.hero-mark {
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  width: min(100%,53rem);
  min-height: 0;
  margin: 0;
  padding: clamp(.5rem,1vw,1.1rem);
  overflow: visible;
  pointer-events: auto;
}

.hero-mark svg {
  position: static;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
}

@media (max-width:720px) {
  .hero-mark {
      width: min(100%,23rem);
  }
}

@media (prefers-reduced-motion:no-preference) {
  .logo-dot {
      transform-box: fill-box;
      transform-origin: center;
  }

  .logo-dot:nth-of-type(2) {
      --opening-step: 1;
  }

  .logo-dot:nth-of-type(3) {
      --opening-step: 2;
  }

  .hero-mark .logo-dot {
      --opening-pace: 95ms;
      --opening-cycle: 720ms;
      animation: opening-dot-light var(--opening-cycle) linear
        calc(var(--opening-step,0) * var(--opening-pace)) infinite both;
  }

  .hero-mark:hover .logo-dot {
      --opening-pace: 85ms;
      --opening-cycle: 620ms;
  }
}

.hero {
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  grid-template-rows: auto;
  align-items: center;
  padding-block: clamp(1.35rem,3.5vw,3.55rem);
}

.hero-mark {
  justify-self: center;
  width: min(100%,66rem);
  padding: 0;
}

.hero-mark svg {
  transform: rotate(-4deg);
}

@media (max-width:720px) {
  .hero {
      grid-template-columns: minmax(0,1fr);
      grid-template-rows: auto auto;
  }

  .hero-mark {
      width: min(100%,33rem);
  }
}

@media (prefers-reduced-motion:no-preference) {
  .hero-mark svg {
      transition: transform .6s cubic-bezier(.16,1,.3,1);
  }

  .hero-mark:hover svg {
      transform: rotate(-1deg) scale(1.025);
  }

  .motion-paused .logo-dot {
      animation-play-state: paused;
  }
}

.hero {
  --sheet: #fff9f1;
  --hero-ink: #a6104d;
  --hero-edge: #a6104d60;
  --pressed: #a6104d;
  --accent: #aa1450;
  grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  gap: clamp(.9rem,3.6vw,4.2rem);
  padding-block: clamp(1.1rem,2.4vw,2.9rem);
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  padding: 0;
}

.hero-mark {
  grid-column: 1;
  grid-row: 1;
  width: min(100%,60rem);
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(2.15rem,5.48vw,8.1rem);
  line-height: .96;
}

.hero .headline-brands {
  color: #b61955;
  letter-spacing: -.03em;
  text-shadow: .028em .04em #ffad73;
  margin-block: .08em .09em;
}

.hero .headline-brands .letter {
  color: inherit;
  text-shadow: inherit;
}

@media (max-width:720px) {
  .hero {
      grid-template-columns: minmax(0,1fr);
      grid-template-rows: auto auto;
  }

  .hero-copy {
      grid-column: 1;
      grid-row: 1;
  }

  .hero-mark {
      grid-column: 1;
      grid-row: 2;
      width: min(100%,29rem);
  }

  .hero h1 {
      font-size: clamp(2rem,9.65vw,4.6rem);
  }
}

@media (prefers-reduced-motion:no-preference) {
  .hero h1 > span {
      animation: opening-headline-float 6.1s ease-in-out infinite;
  }

  .hero h1 .headline-brands {
      animation-delay: -1.25s;
  }

  .hero h1 .headline-last {
      animation-delay: -2.45s;
  }

  .motion-paused .hero h1 > span {
      animation-play-state: paused;
  }
}

.hero {
  --sheet: #fffdf7;
  --hero-ink: #a21d26;
  --pressed: #a21d26;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  gap: clamp(.85rem,3.8vw,4.5rem);
  padding-inline-start: clamp(.95rem,2.15vw,3rem);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -28% -42% 31%;
  border-radius: 49% 0 0 42% / 60% 0 0 42%;
  background: #f4efe8;
  box-shadow: inset 2px 0 #eb65303a;
  pointer-events: none;
}

.hero-mark {
  justify-self: start;
  width: min(100%,78svh,56rem);
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.15rem,5.7vw,8.25rem);
}

.hero .headline-brands {
  color: #bd222b;
  text-shadow: .028em .04em #ffd443;
}

@media (min-width:1120px) {
  .hero {
      column-gap: clamp(5rem,11vw,12rem);
  }
}

@media (max-width:720px) {
  .hero {
      grid-template-columns: minmax(0,1fr);
  }

  .hero-mark {
      width: min(100%,29rem);
      justify-self: center;
  }

  .hero h1 {
      font-size: clamp(2rem,9.65vw,4.6rem);
  }
}

.hero {
  --sheet: #ffa150;
  --hero-ink: #193478;
  --pressed: #193478;
  display: block;
  min-height: 0;
  padding: clamp(.8rem,2.2vh,1.6rem) var(--section-gutter) clamp(1.2rem,3vh,2.1rem);
}

.hero::before {
  inset: -50% -24% -40% -24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 51% 49%,#ffc26a 0%,transparent 58%);
  box-shadow: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: var(--grain);
  opacity: .32;
}

.hero-copy {
  width: min(100%,74rem);
  margin-inline: auto;
  padding: 0;
  text-align: center;
}

.hero h1 {
  display: grid;
  justify-items: center;
  gap: .045em;
  margin: 0;
  font-size: clamp(2.05rem,min(7.7vw,10.4svh),8.75rem);
  line-height: .91;
}

.hero h1 .headline-pressed {
  display: block;
  margin: 0;
  font-size: .72em;
  line-height: 1;
}

.hero h1 .headline-last {
  margin-top: .11em;
  transform: rotate(1.25deg);
}

.hero h1 .poster-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .14em;
  max-width: 100%;
  margin: 0;
  animation: none;
}

.hero .poster-middle .headline-brands {
  margin: 0 0 .08em;
  padding: 0 .03em;
  color: #fff3c0;
  font-size: 1.32em;
  letter-spacing: -.065em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: .027em .035em #203ca4;
  -webkit-text-stroke: .009em #203ca4;
}

.hero .poster-middle .letter {
  color: inherit;
}

.hero .hero-mark {
  display: block;
  width: 1.62em;
  flex: none;
  margin: 0;
  padding: 0;
}

.hero .hero-mark svg {
  width: 100%;
  transform: rotate(-7deg);
}

.hero .hero-mark:hover svg {
  transform: rotate(-2deg) scale(1.03);
}

.hero .intro {
  margin: .85rem auto 0;
  max-width: none;
  color: #233979;
  font-size: clamp(.87rem,1.15vw,1.1rem);
}

@media (prefers-reduced-motion:no-preference) {
  .hero .poster-middle .headline-brands {
      animation: opening-headline-float 6.1s ease-in-out -1.25s infinite;
  }

  .motion-paused .hero .poster-middle .headline-brands {
      animation-play-state: paused;
  }
}

@media (max-width:540px) {
  .hero h1 {
      font-size: clamp(1.72rem,7.5vw,2.7rem);
  }

  .hero .poster-middle .headline-brands {
      font-size: 1.23em;
  }

  .hero .hero-mark {
      width: 1.5em;
  }
}

.hero {
  --sheet: var(--opening-orange);
  flex: 1 0 auto;
  padding: clamp(1.45rem,3.3vw,3.25rem) clamp(.8rem,3.4vw,4rem) clamp(2.65rem,5vw,5.25rem);
}

.hero::before {
  inset: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 50% 44%,#ffbc65 0%,transparent 58%),
    radial-gradient(ellipse at 1% 78%,#ffbe6e 0%,transparent 28%),
    linear-gradient(108deg,var(--opening-orange) 35%,var(--opening-edge) 100%);
}

.hero-copy {
  width: min(100%,87rem);
}

.hero h1 {
  gap: .14em;
  font-size: clamp(2.05rem,min(8.45vw,12.1svh),10rem);
}

.hero .poster-middle .headline-brands {
  letter-spacing: -.006em;
}

.hero .intro {
  margin: clamp(1.8rem,3.35vw,3.65rem) auto 0;
  max-width: 37em;
  font-size: clamp(1rem,1.5vw,1.44rem);
  line-height: 1.38;
  text-wrap: balance;
}

.hero .sunprint {
  position: absolute;
  top: 50%;
  width: min(20vw,19rem);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  pointer-events: none;
  opacity: .76;
}

.sunprint-left {
  left: -4%;
  background: radial-gradient(circle,#b94825b8 1.15px,transparent 1.6px) 0 0 / 8px 8px;
  mask-image: radial-gradient(ellipse at 28% 55%,#000 18%,transparent 71%);
}

.sunprint-right {
  right: -3%;
  background: repeating-radial-gradient(circle at 100% 44%,transparent 0 15px,#ffdc5bab 16px 18px,transparent 19px 27px);
  mask-image: radial-gradient(ellipse at 80% 52%,#000 12%,transparent 73%);
}

@media (max-width:540px) {
  .hero h1 {
      font-size: clamp(1.68rem,7.5vw,2.7rem);
  }
}

.hero h1 .headline-last {
  font-size: .62em;
}

.hero h1 .headline-concepts {
  display: inline;
  color: #fff3c0;
  text-shadow: .027em .035em #203ca4;
  -webkit-text-stroke: .009em #203ca4;
}

.hero h1 .headline-highlight {
  display: inline;
  color: inherit;
  padding-inline: .08em;
  background: linear-gradient(177deg,transparent 76%,#ffdc29 77% 92%,transparent 93%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero .intro {
  width: fit-content;
  padding: .27em .78em .32em;
  border: 1px solid #23397966;
  border-radius: 1.4em;
  background: #fff0c7;
}

@media (prefers-reduced-motion:no-preference) {
  .hero .hero-mark {
      animation: small-symbol-sway 6.4s ease-in-out -1s infinite;
  }

  .motion-paused .hero .hero-mark {
      animation-play-state: paused;
  }
}

.hero .headline-brands .letter,
.hero h1 .headline-concepts {
  display: inline-block;
  position: relative;
  width: var(--headline-advance);
}

.hero .headline-brands .letter::before {
  content: "​";
}

.hero h1 .headline-concepts {
  height: 0;
  vertical-align: baseline;
}

.hero h1 .headline-vector {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1em;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.hero h1 .headline-concepts .headline-vector {
  top: auto;
  bottom: -.261em;
}

.hero .headline-brands .letter[data-letter="B"] {
  --headline-advance: 0.574em;
}

.hero .headline-brands .letter[data-letter="R"] {
  --headline-advance: 0.574em;
}

.hero .headline-brands .letter[data-letter="A"] {
  --headline-advance: 0.734em;
}

.hero .headline-brands .letter[data-letter="N"] {
  --headline-advance: 0.734em;
}

.hero .headline-brands .letter[data-letter="D"] {
  --headline-advance: 0.694em;
}

.hero h1 .headline-concepts {
  --headline-advance: 4.351em;
}

/* =========================================================
   07 · Collection navigation
   ========================================================= */

.orbit-menu {
  display: grid;
  gap: .38rem;
  width: 100%;
  z-index: 2;
}

.orbit-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .42em;
  min-height: 3.4rem;
  padding: .44em .71em;
  border: 1.5px solid #bf2d32;
  border-radius: 47% 50% 46% 44% / 40% 54% 44% 52%;
  background: var(--orbit-paper);
  box-shadow: .12em .14em #bf2d325b;
  color: #9e2427;
  font: 600 clamp(.89rem,1.54vw,1.62rem)/1.12 "Sunny Poster",Georgia,serif;
  text-align: left;
  cursor: pointer;
}

.orbit-food {
  --orbit-paper: #fffaf1;
}

.orbit-services {
  --orbit-paper: #ffe166;
}

.orbit-studio {
  --orbit-paper: #fffaf1;
}

.orbit-menu a:is(:hover,:focus-visible) {
  background: #fff;
  z-index: 2;
}

.orbit-menu a:focus-visible {
  outline: 2px solid #9e2427;
  outline-offset: 3px;
}

@media (min-width:1120px) {
  .orbit-menu {
      position: absolute;
      inset: 0;
      display: block;
      pointer-events: none;
  }

  .orbit-menu a {
      position: absolute;
      left: var(--orbit-x);
      top: var(--orbit-y);
      translate: 0 -50%;
      rotate: var(--orbit-tilt);
      width: clamp(9rem,14vw,14rem);
      pointer-events: auto;
      text-wrap: balance;
  }

  .orbit-food {
      --orbit-x: 76%;
      --orbit-y: 15%;
      --orbit-tilt: -10deg;
      --orbit-beat: 0s;
  }

  .orbit-services {
      --orbit-x: 90%;
      --orbit-y: 39%;
      --orbit-tilt: 7deg;
      --orbit-beat: -1.2s;
  }

  .orbit-studio {
      --orbit-x: 87%;
      --orbit-y: 67%;
      --orbit-tilt: -5deg;
      --orbit-beat: -2.4s;
  }
}

@media (max-width:1119px) {
  .orbit-menu {
      grid-template-columns: repeat(3,minmax(0,1fr));
      margin-top: .75rem;
  }

  .orbit-menu a {
      padding-inline: .45em;
  }

}

@media (prefers-reduced-motion:no-preference) {
  .orbit-menu a {
      transition: rotate .35s ease,scale .35s cubic-bezier(.16,1,.3,1),background .25s ease;
  }

  .orbit-menu a:is(:hover,:focus-visible) {
      rotate: 0deg;
      scale: 1.08;
  }
}

@media (min-width:1120px) and (prefers-reduced-motion:no-preference) {
  .orbit-menu a {
      animation: orbit-drift 5.1s ease-in-out var(--orbit-beat) infinite;
  }

  .orbit-menu a:is(:hover,:focus-visible),
  .motion-paused .orbit-menu a {
      animation-play-state: paused;
  }
}

.hero .orbit-menu {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  width: auto;
  margin: 1.05rem 0 .25rem;
  pointer-events: auto;
}

.hero .orbit-menu a {
  position: relative;
  inset: auto;
  translate: none;
  width: auto;
  min-height: 2.75rem;
  padding: .45em .85em;
  border: 1.5px solid #2342bb;
  border-radius: .4em .55em .48em .65em;
  color: #193478;
  box-shadow: .11em .13em #2342bb;
  font-size: clamp(.85rem,1.28vw,1.26rem);
}

.hero .orbit-food {
  --orbit-paper: #fff3c0;
  rotate: -4deg;
}

.hero .orbit-services {
  --orbit-paper: #ffdb36;
  rotate: 2deg;
}

.hero .orbit-studio {
  --orbit-paper: #f9f5ed;
  rotate: -2deg;
}

.hero .orbit-menu a:is(:hover,:focus-visible) {
  rotate: 0deg;
  background: #fff6dd;
}

.hero .orbit-menu a:focus-visible {
  outline-color: #193478;
}

@media (max-width:540px) {
  .hero .orbit-menu {
      gap: .56rem;
      margin-top: .85rem;
  }
}

.hero .project-nav {
  display: block;
  margin: clamp(1.35rem,2.5vw,2.35rem) auto 0;
}

.hero .project-nav-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .66rem;
  margin: 0 0 .85rem;
  color: #233979;
  font: 700 .84rem/1.2 SunnyDisplay,Arial,sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.project-nav-title::before,
.project-nav-title::after {
  content: "";
  width: clamp(1.6rem,4vw,4rem);
  border-top: 1px solid #23397976;
}

.hero .orbit-menu {
  gap: clamp(.65rem,1.15vw,1.4rem);
  margin: 0;
}

.hero .orbit-menu a {
  gap: .55em;
  border-radius: .68em .86em .75em .9em;
  color: var(--orbit-ink);
  border-color: var(--orbit-edge);
  box-shadow: .11em .13em var(--orbit-edge);
  background: var(--orbit-paper);
  font: 700 clamp(.9rem,1.52vw,1.45rem)/1.12 SunnyDisplay,Arial,sans-serif;
}

.hero .orbit-menu a:is(:hover,:focus-visible) {
  background: var(--orbit-hover);
}

.hero .orbit-food {
  --orbit-paper: var(--collection-food);
  --orbit-hover: #ffe569;
  --orbit-ink: #662a08;
  --orbit-edge: #ab3a13;
}

.hero .orbit-services {
  --orbit-paper: var(--collection-services);
  --orbit-hover: #ece7ff;
  --orbit-ink: var(--collection-services-ink);
  --orbit-edge: var(--collection-services-edge);
}

.hero .orbit-studio {
  --orbit-paper: #fff1c9;
  --orbit-hover: #fff7df;
  --orbit-ink: #193478;
  --orbit-edge: #203ca4;
}

@media (max-width:540px) {
  .hero .orbit-menu a {
      font-size: .92rem;
  }

  .hero .project-nav-title {
      margin-bottom: .7rem;
  }
}

.hero .orbit-menu a {
  text-decoration: none;
}

/* =========================================================
   08 · Daylight ribbon and pause control
   ========================================================= */

.daylight-ribbon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(6rem,12vw,12rem);
  color: var(--blue);
}

.ribbon-art {
  display: block;
  width: 100%;
  height: 100%;
}

.ribbon-band {
  fill: none;
  stroke: var(--sun);
  stroke-width: clamp(3.15rem,6.8vw,6.8rem);
}

.ribbon-text {
  fill: currentColor;
  font: 800 clamp(1.15rem,3.45vw,3.35rem)/1 SunnyDisplay,Arial,sans-serif;
  letter-spacing: .04em;
}

.ribbon-motion {
  position: absolute;
  right: var(--section-gutter);
  bottom: 2px;
  padding: .3rem .7rem;
  min-height: 2rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--sun-wash);
  color: var(--blue);
  font: 700 .82rem/1 SunnyDisplay,Arial,sans-serif;
  cursor: pointer;
}

.ribbon-motion:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

@media (prefers-reduced-motion:reduce) {
  .ribbon-motion {
      display: none;
  }
}

.daylight-ribbon {
  height: clamp(4.6rem,11.5svh,8rem);
  background: #ffa150;
}

.daylight-ribbon {
  background: var(--opening-orange);
}

.ribbon-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--opening-orange);
}

.ribbon-motion {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 2.75rem;
  margin: .3rem 0 .65rem;
  padding: .45rem .8rem;
  border-color: #253b9e;
  color: #253b9e;
  background: var(--opening-cream);
}

.ribbon-motion::before {
  content: "";
  height: .67rem;
  width: .48rem;
  border-inline: .16rem solid currentColor;
}

.ribbon-motion[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  border: .35rem solid transparent;
  border-left: .56rem solid currentColor;
  border-right: 0;
}

.ribbon-motion:is(:hover,:focus-visible) {
  background: #253b9e;
  color: #fff;
}

@media (prefers-reduced-motion:reduce) {
  .ribbon-controls {
      display: none;
  }
}

.ribbon-motion {
  letter-spacing: .065em;
  box-shadow: 0 .15rem #253b9e;
  transition: translate .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease;
}

.ribbon-motion:is(:hover,:focus-visible) {
  translate: 0 -.15rem;
  box-shadow: 0 .25rem #f8be36;
}

.ribbon-motion:active {
  translate: 0 .12rem;
  box-shadow: none;
}

@media (prefers-reduced-motion:reduce) {
  .ribbon-motion {
      transition: none;
  }

  .ribbon-motion:is(:hover,:focus-visible,:active) {
      translate: none;
  }
}

.ribbon-motion {
  justify-content: center;
  min-height: 2.85rem;
  padding: .44rem .95rem;
  line-height: 1.22;
}

.ribbon-motion {
  font-family: SunnyDisplay,Arial,sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  word-spacing: .12em;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: none;
}

/* =========================================================
   09 · Instagram invitation
   ========================================================= */

.instagram-bar {
  padding: .7rem var(--section-gutter);
  background: #fff1c9;
  color: #193478;
  border-block: 1px solid #19347862;
}

.instagram-bar-inner {
  width: min(100%,76rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

.instagram-profile,
.instagram-jump {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  min-height: 2.75rem;
  font: 700 .98rem/1.2 SunnyDisplay,Arial,sans-serif;
}

.instagram-profile svg {
  width: 1.13rem;
  height: 1.13rem;
  flex: none;
}

.instagram-jump {
  padding: .5rem .85rem;
  border-radius: 999px;
  background: #243fb3;
  color: #fff9eb;
  text-decoration: none;
}

.instagram-jump:is(:hover,:focus-visible) {
  background: #192d8c;
}

.instagram-profile svg {
  width: 1.58rem;
  height: 1.58rem;
}

.instagram-jump {
  gap: .48rem;
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid #253b9e;
  border-radius: 999px;
  background: var(--opening-cream);
  color: #253b9e;
  font: 700 .82rem/1 SunnyDisplay,Arial,sans-serif;
  letter-spacing: .065em;
  box-shadow: 0 .15rem #253b9e;
  transition: translate .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease;
}

.instagram-jump:is(:hover,:focus-visible) {
  translate: 0 -.15rem;
  box-shadow: 0 .25rem #f8be36;
  background: #253b9e;
  color: #fff;
}

.instagram-jump:active {
  translate: 0 .12rem;
  box-shadow: none;
}

@media (prefers-reduced-motion:reduce) {
  .instagram-jump {
      transition: none;
  }

  .instagram-jump:is(:hover,:focus-visible,:active) {
      translate: none;
  }
}

.instagram-jump {
  justify-content: center;
  min-height: 2.85rem;
  padding: .44rem .95rem;
  line-height: 1.22;
}

.instagram-bar {
  padding: clamp(.55rem,1.5vw,1rem) var(--section-gutter);
  border: 0;
  background: var(--opening-orange);
}

.instagram-bar-inner {
  gap: .85rem 1.5rem;
  padding: clamp(.8rem,1.9vw,1.45rem) clamp(1rem,3.3vw,2.85rem);
  border: 1px solid #203ca4;
  border-radius: 2.4rem 4.3rem 2.7rem 3.6rem / 2.7rem 2.2rem 3.4rem 2.2rem;
  background: #fff1c9;
  box-shadow: 0 .17rem #203ca4;
}

.instagram-profile {
  gap: .72rem;
  border-radius: 1.35rem;
  color: #193478;
  text-decoration: none;
}

.instagram-profile svg {
  width: clamp(2.15rem,3.5vw,3rem);
  height: auto;
  rotate: -8deg;
  transition: rotate .25s ease;
}

.instagram-profile-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .42em;
  font: 600 clamp(1.13rem,2.05vw,1.75rem)/1.16 Bricolage,Arial,sans-serif;
}

.instagram-profile-label strong {
  font-weight: 600;
}

.instagram-profile-label em {
  color: #223b98;
  font: 600 .91em/1.2 "Sunny Bookman",Georgia,serif;
}

.instagram-profile:is(:hover,:focus-visible) svg {
  rotate: 0deg;
}

.instagram-profile:is(:hover,:focus-visible) em {
  text-decoration: underline;
  text-underline-offset: .16em;
}

@media (prefers-reduced-motion:reduce) {
  .instagram-profile svg {
      transition: none;
  }
}

@media (max-width:490px) {
  .instagram-bar-inner {
      justify-content: center;
      text-align: center;
  }

  .instagram-profile-label {
      justify-content: center;
  }
}

.instagram-jump {
  font-family: SunnyDisplay,Arial,sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  word-spacing: .12em;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: none;
}

@media (prefers-reduced-motion:no-preference) {
  .instagram-jump [aria-hidden] {
      transition: transform .3s cubic-bezier(.22,.61,.36,1);
  }

  .instagram-jump:is(:hover,:focus-visible) [aria-hidden] {
      transform: translateY(.17em);
  }
}

.instagram-launch-note {
  margin: .1rem 0 0;
  padding-inline-start: calc(clamp(2.15rem,3.5vw,3rem) + .72rem);
  font: 600 clamp(.89rem,1.2vw,1rem)/1.35 Bricolage,Arial,sans-serif;
  color: #193478;
}

@media (max-width:490px) {
  .instagram-launch-note {
      padding-inline-start: 0;
  }
}

/* =========================================================
   10 · Project previews, cards and domain links
   ========================================================= */

.project-previews {
  background: radial-gradient(ellipse at 50% -15%,#ffbd60 0%,transparent 65%),#ff982f;
  color: #193478;
  padding: clamp(2.8rem,6.4vw,6rem) var(--section-gutter) clamp(3.4rem,7vw,6.6rem);
}

.preview-content {
  width: min(100%,76rem);
  margin-inline: auto;
}

.preview-heading {
  margin: 0 0 clamp(2rem,4.5vw,3.75rem);
  text-align: center;
  font: 700 clamp(2.3rem,6.7vw,5.4rem)/.95 SunnyDisplay,Arial,sans-serif;
  letter-spacing: -.038em;
}

.preview-heading span {
  display: inline-block;
  color: #fff4cc;
  transform: rotate(-3deg);
  --outline-offset: .009em;
  --outline-diagonal: .0064em;
  --outline-shadow: .045em .052em #203ca4;
}

.preview-heading span {
  --outline-ink: #203ca4;
  --outline-negative: calc(-1 * var(--outline-offset));
  --outline-negative-diagonal: calc(-1 * var(--outline-diagonal));
  text-shadow: var(--outline-offset) 0 var(--outline-ink),
    var(--outline-negative) 0 var(--outline-ink),
    0 var(--outline-offset) var(--outline-ink),
    0 var(--outline-negative) var(--outline-ink),
    var(--outline-diagonal) var(--outline-diagonal) var(--outline-ink),
    var(--outline-negative-diagonal) var(--outline-diagonal) var(--outline-ink),
    var(--outline-diagonal) var(--outline-negative-diagonal) var(--outline-ink),
    var(--outline-negative-diagonal) var(--outline-negative-diagonal) var(--outline-ink),
    var(--outline-shadow);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1.5rem,3.4vw,3.25rem);
}

@media (max-width:700px) {
  .preview-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:460px) {
  .preview-grid {
      grid-template-columns: minmax(0,1fr);
      width: min(100%,21rem);
      margin-inline: auto;
      gap: 2rem;
  }
}

.preview-heading {
  margin-bottom: clamp(1.4rem,3vw,2.7rem);
}

.preview-category {
  width: fit-content;
  margin: 0 auto clamp(1.65rem,3vw,3rem);
  padding: .36em .85em;
  border: 1px solid #193478;
  border-radius: 999px;
  background: var(--collection-food);
  font: 600 clamp(1.15rem,2vw,1.6rem)/1.12 Bricolage,Arial,sans-serif;
}

.preview-grid {
  width: min(100%,58rem);
  margin-inline: auto;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(2.15rem,7vw,7rem);
}

@media (max-width:540px) {
  .preview-grid {
      grid-template-columns: minmax(0,1fr);
      width: min(100%,23rem);
  }
}

.preview-grid {
  width: min(100%,76rem);
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1.7rem,4.3vw,4.1rem);
}

@media (max-width:840px) {
  .preview-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:540px) {
  .preview-grid {
      grid-template-columns: minmax(0,1fr);
      width: min(100%,24rem);
  }
}

.preview-heading {
  margin-bottom: .75rem;
}

.gallery-intro {
  width: min(100%,46ch);
  margin: 0 auto clamp(1.7rem,3.2vw,3rem);
  font: 600 clamp(1.05rem,1.65vw,1.4rem)/1.42 Bricolage,Arial,sans-serif;
  text-align: center;
  text-wrap: balance;
}

.gallery-intro,
.preview-card p {
  color: #193478;
  text-shadow: .04em .055em #fff1c9a8;
}

.preview-grid {
  position: relative;
  isolation: isolate;
  align-items: start;
  width: min(100%,88rem);
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1.3rem,3.7vw,3.3rem);
  padding: 1.1rem clamp(1.15rem,4vw,3.65rem) clamp(1.95rem,3.5vw,3.2rem);
}

.preview-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: clamp(3.8rem,9vw,8rem) 0 .25rem;
  background: #fff1c9;
  border: 1px solid #203ca4;
  border-radius: 10% 5% 13% 6% / 19% 14% 23% 13%;
  box-shadow: 0 .19rem #203ca4;
  transform: skewY(-1.65deg);
}

.preview-card {
  --print-turn: -2.1deg;
  --print-offset: -.86rem;
  --print-edge: #fff9eb;
  min-width: 0;
}

.preview-card:nth-child(2) {
  --print-turn: 1.65deg;
  --print-offset: .35rem;
  --print-edge: #ffe99a;
}

.preview-card:nth-child(3) {
  --print-turn: -.85deg;
  --print-offset: -.38rem;
  --print-edge: #fff9eb;
}

.preview-photo-slot {
  padding-bottom: 1.05rem;
}

.preview-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid #203ca4;
  border-radius: .9rem;
  background: var(--print-edge);
  box-shadow: .08rem .2rem .4rem #1934782e;
  padding: .52rem;
  rotate: var(--print-turn);
  translate: 0 var(--print-offset);
}

.preview-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: .58rem;
}

.preview-card:first-child .preview-photo img {
  object-position: 49% center;
}

.preview-post-header {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.preview-logo {
  width: 2.25rem;
  height: 2.13rem;
  flex: none;
  object-fit: contain;
}

.preview-post-header h4 {
  margin: 0;
  font: 600 clamp(1.22rem,2.28vw,2rem)/1.1 "Sunny Bookman",Georgia,serif;
  letter-spacing: -.025em;
}

.preview-card .preview-caption {
  margin: .39rem 0 .49rem;
  color: #193478;
  font: 600 clamp(.91rem,1.14vw,1.08rem)/1.35 Bricolage,Arial,sans-serif;
  text-shadow: none;
}

.preview-caption span {
  display: block;
}

.preview-domain-label {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  width: fit-content;
  max-width: 100%;
  color: #193478;
  font: 600 clamp(.92rem,1.1vw,1.04rem)/1.3 Bricolage,Arial,sans-serif;
  text-decoration-thickness: 1px;
  text-underline-offset: .19em;
}

.preview-link-arrow {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.52em;
  height: 1.52em;
  border-radius: 50%;
  color: #193478;
  background: #ffdc52;
  line-height: 1;
  opacity: 0;
}

.preview-link-arrow svg {
  display: block;
  width: 1em;
  height: 1em;
}

.preview-domain-label:is(:hover,:focus-visible) .preview-link-arrow {
  opacity: 1;
}

.preview-domain-label:is(:hover,:focus-visible) {
  text-decoration-thickness: 2px;
}

.preview-domain-label:focus-visible {
  outline: 2px solid #193478;
  outline-offset: .22rem;
}

@media (prefers-reduced-motion:no-preference) {
  .preview-photo,
  .preview-link-arrow {
      transition: translate .36s cubic-bezier(.22,.61,.36,1),box-shadow .36s ease,opacity .23s ease;
  }

  .preview-photo:hover,
  .preview-card:focus-within .preview-photo {
      translate: 0 calc(var(--print-offset) - .38rem);
      box-shadow: .17rem .48rem .7rem #1934783b;
  }

  .preview-domain-label:is(:hover,:focus-visible) .preview-link-arrow {
      translate: .16em -.12em;
  }
}

@media (max-width:840px) {
  .preview-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
      row-gap: 1.65rem;
  }

  .preview-post-header {
      gap: .4rem;
  }
}

@media (540px < width <= 840px) {
  .preview-grid:not(.preview-grid--four) {
      grid-template-columns: repeat(4,minmax(0,1fr));
  }

  .preview-grid:not(.preview-grid--four) > .preview-card {
      grid-column: span 2;
  }

  .preview-grid:not(.preview-grid--four) > .preview-card:nth-child(3):last-child {
      grid-column: 2 / span 2;
  }
}

@media (max-width:540px) {
  .preview-grid {
      width: min(100%,27rem);
      grid-template-columns: minmax(0,1fr);
      gap: 1.65rem;
  }

  .preview-grid::before {
      inset: 3rem 0 0;
      border-radius: 2.8rem 2rem 2.65rem 2rem;
      transform: none;
  }

  .preview-photo-slot {
      padding-bottom: .75rem;
  }

  .preview-logo {
      width: 1.85rem;
      height: 1.85rem;
  }
}

.preview-grid + .preview-grid,
.project-previews section + section {
  margin-top: clamp(2.6rem,5.2vw,4.8rem);
}

.preview-grid--four {
  grid-template-columns: repeat(4,minmax(0,1fr));
  column-gap: clamp(1.1rem,2.8vw,2.5rem);
}

.preview-grid--four .preview-post-header h4 {
  font-size: clamp(1.2rem,1.95vw,1.7rem);
}

.preview-card:nth-child(4) {
  --print-turn: 1.05deg;
  --print-offset: .22rem;
  --print-edge: #ffe99a;
}

.preview-photo--identity img {
  object-fit: contain;
  padding: clamp(.65rem,2.2vw,1.55rem);
  background: #fff9eb;
}

@media (max-width:1080px) {
  .preview-grid--four {
      grid-template-columns: repeat(2,minmax(0,1fr));
      row-gap: 1.65rem;
  }
}

@media (max-width:540px) {
  .preview-grid--four {
      grid-template-columns: minmax(0,1fr);
  }
}

.preview-category {
  display: flex;
  align-items: center;
  gap: .5em;
  max-width: 100%;
  margin-bottom: .7rem;
  scroll-margin-top: 1.5rem;
}

.preview-category-intro {
  width: min(100%, 52ch);
  margin: 0 auto clamp(.8rem, 2vw, 1.65rem);
  color: #193478;
  font: 600 clamp(1rem, 1.5vw, 1.25rem)/1.42 Bricolage, Arial, sans-serif;
  text-align: center;
  text-wrap: balance;
}

.preview-category svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.preview-services .preview-category {
  border-color: var(--collection-services-edge);
  background: var(--collection-services);
  color: var(--collection-services-ink);
}

.preview-services .preview-link-arrow {
  background: var(--services-accent);
}

.preview-services .preview-grid::before {
  background: var(--services-paper);
}

.preview-services .preview-photo--identity img {
  object-position: center;
}

@media (prefers-reduced-motion:no-preference) {
  .preview-heading span {
      animation: opening-headline-float 6.1s ease-in-out -1.25s infinite;
  }

  .gallery-intro {
      animation: opening-note-float 5.4s ease-in-out -2.4s infinite;
  }

  .motion-paused :is(.preview-heading span,.gallery-intro) {
      animation-play-state: paused;
  }
}

.preview-services {
  --services-paper: #ffe8df;
  --services-accent: #ffc8ba;
}

.preview-services .preview-card {
  --services-print: #fff1c9;
  --services-logo-paper: #fff;
}

.preview-services .preview-card:nth-child(2) {
  --services-print: #fff;
  --services-logo-paper: #fff4d8;
}

.preview-services .preview-photo {
  background: var(--services-print);
}

.preview-services .preview-photo--identity img {
  background: var(--services-logo-paper);
}

.preview-services .preview-card[aria-labelledby="preview-onyourtime-name"] {
  --services-print: #deeeeb;
  --services-logo-paper: #effaf7;
}

/* =========================================================
   11 · Behind the posts and project credits
   ========================================================= */

.behind-posts {
  padding: 0 var(--section-gutter) clamp(2.6rem,5vw,4.75rem);
  color: #193478;
}

.behind-content {
  width: min(100%,76rem);
  margin: auto;
  padding: clamp(1.45rem,4.3vw,3.6rem);
  border: 1px solid #203ca4;
  border-radius: 2.4rem 4.3rem 2.7rem 3.6rem / 2.7rem 2.2rem 3.4rem 2.2rem;
  background: #fff1c9;
  box-shadow: 0 .17rem #203ca4;
}

#behind-the-posts-title {
  scroll-margin-top: 1.5rem;
  font: 700 clamp(2rem,4.5vw,3.8rem)/1 SunnyDisplay,Arial,sans-serif;
  letter-spacing: -.035em;
}

.behind-intro {
  margin: .38rem 0 1.45rem;
  font: 600 1.12rem/1.35 Bricolage,Arial,sans-serif;
}

.behind-roles {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem clamp(1.1rem,3.1vw,2.8rem);
  margin: 0;
}

.behind-roles > div {
  padding-top: .6rem;
  border-top: 1px solid #203ca45e;
}

.behind-roles > div:last-child {
  border-color: #e13a86;
}

.behind-roles dt {
  font: 600 clamp(1.05rem,1.65vw,1.4rem)/1.2 "Sunny Bookman",Georgia,serif;
}

.behind-roles dd {
  margin: .38rem 0 0;
  font: 600 1rem/1.4 Bricolage,Arial,sans-serif;
}

.behind-roles a {
  text-decoration-thickness: 1px;
}

.behind-roles a:is(:hover,:focus-visible) {
  text-decoration-thickness: 2px;
}

@media (max-width:650px) {
  .behind-roles {
      grid-template-columns: minmax(0,1fr);
  }
}

#behind-the-posts-title {
  text-shadow: .032em .041em #ffb6d4;
}

.behind-roles > div {
  --role-stripe: #8d60c4;
  padding-top: .67rem;
  border-top: 3px solid var(--role-stripe);
}

.behind-roles > div:nth-child(2) {
  --role-stripe: #0f766e;
}

.behind-roles > div:last-child {
  --role-stripe: #e13a86;
  border-color: var(--role-stripe);
}

.behind-roles dt {
  display: flex;
  align-items: center;
  min-height: 1.63em;
}

.behind-roles dt a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.behind-role-logo {
  width: 1.63em;
  height: 1.63em;
  flex: none;
}

.behind-roles dd span {
  display: block;
}

.behind-roles .behind-role-logo {
  width: 2.08em;
  height: 2.08em;
  padding: .22em;
  object-fit: contain;
  border: 1px solid #203ca466;
  border-radius: .55em;
  background: white;
}

/* =========================================================
   12 · Footer, contact links and verification cards
   ========================================================= */

footer {
  padding-block: 1rem;
  font-size: .9rem;
}

footer {
  padding-inline: clamp(1rem,4vw,4rem);
}

footer {
  background-image: var(--cardboard);
  background-blend-mode: multiply;
  background-size: cover;
}

footer {
  background-color: #e0c8fa;
}

footer {
  background: var(--blue-mist);
  color: var(--blue-ink);
}

.sunny-footer {
  padding: .2rem var(--section-gutter) clamp(1.5rem,4vw,3.5rem);
  color: #193478;
  font: 600 1rem/1.45 Bricolage,Arial,sans-serif;
}

.sunny-footer-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 1rem 1.8rem;
  width: min(100%,76rem);
  margin: auto;
  padding: clamp(1.15rem,2.8vw,2.25rem) clamp(1.1rem,3.8vw,3rem);
  border: 1px solid #203ca4;
  border-radius: 2.2rem 3.5rem 2.5rem 2.8rem / 2rem 2.2rem 2.8rem 2.2rem;
  background: #fff9eb;
  box-shadow: 0 .17rem #203ca4;
}

.sunny-footer p {
  margin: .22rem 0;
}

.sunny-footer .sunny-footer-brand {
  margin: 0 0 .45rem;
  font: 700 1.12rem/1.15 SunnyDisplay,Arial,sans-serif;
}

.sunny-footer-showcase {
  text-wrap: balance;
}

.sunny-footer-links {
  display: flex;
  gap: .8rem 1.1rem;
  flex-wrap: wrap;
}

.sunny-footer-access {
  grid-column: 1/-1;
  padding-top: .75rem;
  border-top: 1px solid #203ca45e;
}

.sunny-footer-access summary {
  width: fit-content;
  font: 700 .97rem/1.3 SunnyDisplay,Arial,sans-serif;
}

.sunny-footer-access[open] summary {
  margin-bottom: .55rem;
}

@media (max-width:960px) {
  .sunny-footer-inner {
      grid-template-columns: minmax(0,1fr);
  }
}

@media (pointer:fine) {
  .sunny-footer :is(a,summary) {
      cursor: var(--hand) 17 3,pointer;
  }
}

.sunny-footer .sunny-footer-brand,
.sunny-footer-link {
  display: inline-flex;
  align-items: center;
  gap: .36em;
}

.sunny-footer .sunny-footer-crafted {
  margin-top: .55rem;
}

.sunny-footer-symbol {
  width: 1.42em;
  height: 1.42em;
  flex: none;
}

.sunny-footer-link {
  color: #193478;
  border-radius: .33em;
  padding: .14em .25em;
  text-decoration-thickness: 1px;
}

.sunny-footer-link:is(:hover,:focus-visible) {
  background: #ffeb9f;
  text-decoration-thickness: 2px;
}

.sunny-footer-link .footer-arrow {
  display: inline-block;
  flex: none;
}

.sunny-footer-link-icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

@media (prefers-reduced-motion:no-preference) {
  .sunny-footer-link,
  .footer-arrow {
      transition: background-color .23s ease,transform .25s ease;
  }

  .sunny-footer-link:is(:hover,:focus-visible) .footer-arrow {
      transform: translate(.12em,-.13em);
  }

  .sunny-footer-link[href="#top"]:is(:hover,:focus-visible) .footer-arrow {
      transform: translateY(-.2em);
  }
}

.sunny-footer-rights {
  grid-column: 1/-1;
  padding-top: .75rem;
  border-top: 1px solid #203ca45e;
  font-size: .92rem;
}

.sunny-footer-checks {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .8rem;
  width: min(100%,50rem);
}

.sunny-footer-check {
  min-width: 0;
  padding: .7rem .85rem;
  border: 1px solid #203ca45e;
  border-radius: .68rem;
}

.sunny-footer-check h2 {
  margin: 0 0 .28rem;
  font: 700 1.03rem/1.2 SunnyDisplay,Arial,sans-serif;
}

.sunny-footer-check .sunny-footer-link {
  padding-inline: 0;
}

.sunny-footer-checks img {
  width: auto;
  height: 1.18rem;
  flex: none;
}

.sunny-footer-check .sunny-check-date {
  margin: .25rem 0 0;
  font-size: .88rem;
}

@media (max-width:620px) {
  .sunny-footer-checks {
      grid-template-columns: minmax(0,1fr);
  }
}

/* =========================================================
   13 · Motion keyframes
   ========================================================= */

@media (prefers-reduced-motion:no-preference) {
  @keyframes opening-dot-light {
      0%,
      12%,
      100% {
        fill: #fff;
        transform: scale(1);
      }

      4%,
      8% {
        fill: var(--sun);
        transform: scale(1.18);
      }
    }
}

@media (prefers-reduced-motion:no-preference) {
  @keyframes opening-word-drift {
      0%,
      100% {
        transform: translateY(0) rotate(0);
      }

      30% {
        transform: translateY(-3.5px) rotate(-1deg);
      }

      70% {
        transform: translateY(1.6px) rotate(.6deg);
      }
    }
}

@media (prefers-reduced-motion:no-preference) {
  @keyframes opening-headline-float {
      0%,
      100% {
        translate: 0 0;
      }

      38% {
        translate: .015em -.063em;
      }

      73% {
        translate: -.01em .02em;
      }
    }

  @keyframes opening-note-float {
      0%,
      100% {
        transform: translateY(0) rotate(0);
      }

      42% {
        transform: translateY(-3px) rotate(-.7deg);
      }

      72% {
        transform: translateY(1px) rotate(.38deg);
      }
    }
}

@media (prefers-reduced-motion:no-preference) {
  @keyframes opening-daylight-rise {
      0%,
      100% {
        transform: rotate(-4deg);
      }

      42% {
        transform: translateY(-.11em) rotate(1deg) scale(1.035);
      }

      72% {
        transform: translateY(.03em) rotate(-4deg);
      }
    }
}

@media (prefers-reduced-motion:no-preference) {
  @keyframes small-symbol-sway {
      0%,
      100% {
        transform: translateY(-1px) rotate(-5deg);
      }

      35% {
        transform: translateY(-4px) rotate(1deg);
      }

      68% {
        transform: translateY(1px) rotate(-8deg);
      }
    }
}

@media (min-width:1120px) and (prefers-reduced-motion:no-preference) {
  @keyframes orbit-drift {
      0%,
      100% {
        transform: translateY(0);
      }

      38% {
        transform: translateY(-5px);
      }

      74% {
        transform: translateY(2px);
      }
    }
}
