/* Iggy's Bread, Bronte. Concept.
   Their sky blue, their hand-painted logo, their own typefaces
   (Amatica SC and a plain geometric sans, with a handwritten note here and there).
   Plain layout. The bread and the photos do the talking. */

/* All three faces are self-hosted, latin subset only (OFL 1.1, licences in fonts/): Jost and
   Shadows Into Light from the fontsource packages, Amatica SC from the latin files Google Fonts
   serves for it (amaticasc v16, 400 and 700). No font request leaves the site. */
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/jost-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/jost-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Shadows Into Light"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/shadows-into-light-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amatica SC"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/amatica-sc-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amatica SC"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/amatica-sc-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sky: #52a0c0;
  --sky-deep: #3d87a6;
  --sky-pale: #e6f2f7;
  --paper: #fbf7ee;
  --wheat: #f6e8c9;
  --white: #ffffff;
  --crust: #c8730e;
  --ink: #25353c;
  --mute: #66757c;
  --line: rgba(37, 53, 60, 0.14);
  --pad: clamp(1.15rem, 4vw, 3.5rem);
  --wrap: 78rem;
  --display: "Amatica SC", "League Gothic", "Arial Narrow", sans-serif;
  --sans: "Jost", "Abel", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Shadows Into Light", "Bradley Hand", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22320%22 height=%22320%22 viewBox=%220 0 320 320%22%3E%3Cg fill=%22none%22 stroke=%22%2352a0c0%22 stroke-opacity=%22.17%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath transform=%22translate(48 54) rotate(-12)%22 d=%22M0 10C-12 1-11-11-4-11c3 0 4 2 4 5 0-3 1-5 4-5 7 0 8 12-4 21z%22/%3E%3Cg transform=%22translate(212 62) rotate(8)%22%3E%3Ccircle r=%2213%22/%3E%3Cpath d=%22M0-13V13M0 0L-9 9M0 0L9 9%22/%3E%3C/g%3E%3Cg transform=%22translate(122 152) rotate(18)%22%3E%3Cpath d=%22M0 28V-18%22/%3E%3Cpath d=%22M0-18c-5-6-5-10 0-15 5 5 5 9 0 15zM0-6c-8-2-11-7-9-13 6 1 10 6 9 13zM0-6c8-2 11-7 9-13-6 1-10 6-9 13zM0 7c-8-2-11-7-9-13 6 1 10 6 9 13zM0 7c8-2 11-7 9-13-6 1-10 6-9 13z%22/%3E%3C/g%3E%3Cg transform=%22translate(262 196) rotate(-8)%22%3E%3Cpath d=%22M-23 10c-3-21 8-25 23-25s26 4 23 25z%22/%3E%3Cpath d=%22M-9-6l-4 10M2-8l-4 12M12-6l-4 10%22/%3E%3C/g%3E%3Cpath transform=%22translate(62 252) rotate(14) scale(.62)%22 d=%22M0 10C-12 1-11-11-4-11c3 0 4 2 4 5 0-3 1-5 4-5 7 0 8 12-4 21z%22/%3E%3Cpath d=%22M294 26h12M300 20v12M90 200h10M95 195v10%22/%3E%3Cg transform=%22translate(196 286) rotate(-20) scale(.7)%22%3E%3Cpath d=%22M0 28V-18%22/%3E%3Cpath d=%22M0-18c-5-6-5-10 0-15 5 5 5 9 0 15zM0-6c-8-2-11-7-9-13 6 1 10 6 9 13zM0-6c8-2 11-7 9-13-6 1-10 6-9 13z%22/%3E%3C/g%3E%3C/g%3E%3Cg fill=%22%2352a0c0%22 fill-opacity=%22.17%22%3E%3Ccircle cx=%22150%22 cy=%2240%22 r=%221.8%22/%3E%3Ccircle cx=%22290%22 cy=%22112%22 r=%221.8%22/%3E%3Ccircle cx=%2228%22 cy=%22150%22 r=%221.8%22/%3E%3Ccircle cx=%22188%22 cy=%22232%22 r=%221.8%22/%3E%3Ccircle cx=%22112%22 cy=%22296%22 r=%221.8%22/%3E%3Ccircle cx=%22252%22 cy=%22288%22 r=%221.8%22/%3E%3Ccircle cx=%22172%22 cy=%22118%22 r=%221.8%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%221.8%22/%3E%3C/g%3E%3C/svg%3E") 0 0 / 21rem fixed; color: var(--ink); font: 400 1.06rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; }
h1, h2, h3, p, ul, figure, blockquote, address { margin: 0; padding: 0; font: inherit; }
ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--sky); color: #fff; }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }

.hand { font-family: var(--hand); }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 5; pointer-events: none; display: block; }

/* ---------- buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; height: 3rem; padding: 0 1.5rem; border-radius: 999px; font: 500 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.btn:active { transform: scale(0.97); }
.btn--white { background: #fff; color: var(--sky-deep); }
.btn--line { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn--sky { background: var(--sky); color: #fff; }
.btn--plain { border-color: var(--line); }
.btn--ink { background: var(--ink); color: #fff; }
@media (hover: hover) {
  .btn--white:hover { background: var(--paper); transform: translateY(-2px); }
  .btn--line:hover { background: #fff; color: var(--sky-deep); border-color: #fff; }
  .btn--sky:hover { background: var(--sky-deep); transform: translateY(-2px); }
  .btn--plain:hover { border-color: var(--ink); }
  .btn--ink:hover { background: #000; }
}
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- top ---------- */


.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; height: 4.4rem; padding: 0 var(--pad); background: var(--sky); color: #fff; transition: box-shadow 0.3s; }
.top.is-stuck { box-shadow: 0 6px 24px rgba(37, 53, 60, 0.14); }
.logo { display: block; width: 6.2rem; aspect-ratio: 1430 / 753; background: currentColor; -webkit-mask: url(../assets/brand/iggys-logo.webp) center / contain no-repeat; mask: url(../assets/brand/iggys-logo.webp) center / contain no-repeat; transition: transform 0.4s var(--ease); }
a.logo:hover { transform: rotate(-3deg) scale(1.04); }
.top__nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); justify-self: center; }
.top__nav a { text-decoration: none; font-weight: 400; padding: 0.4rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease); }
.top__nav a:hover { background-size: 100% 1.5px; }
.top__right { display: flex; align-items: center; gap: 1rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.status i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.status[data-open="true"] i { background: #b9f08a; box-shadow: 0 0 0 4px rgba(185, 240, 138, 0.25); }
.bagbtn { display: inline-flex; align-items: center; gap: 0.55rem; height: 2.5rem; padding: 0 0.5rem 0 1.05rem; border-radius: 999px; background: #fff; color: var(--sky-deep); font-weight: 500; }
.bagbtn b { display: grid; place-items: center; min-width: 1.55rem; height: 1.55rem; padding: 0 0.3rem; border-radius: 999px; background: var(--sky); color: #fff; font-weight: 500; font-size: 0.85rem; }
.bagbtn.has b { background: var(--crust); }
.burger { display: none; width: 2.5rem; height: 2.5rem; position: relative; }
.burger span { position: absolute; left: 0.55rem; right: 0.55rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.burger span:nth-child(1) { top: 1rem; }
.burger span:nth-child(2) { top: 1.45rem; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.225rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-0.225rem) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { position: relative; background: linear-gradient(#4795b8 0%, #56a2c2 54%, #74b5cf 78%, #bcdbe3 92%, #f0dfc2 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2rem; min-height: min(46rem, calc(100svh - 6.6rem)); padding: clamp(2rem, 6vh, 4rem) var(--pad) clamp(5rem, 12vh, 8rem); overflow: hidden; }
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sun { position: absolute; right: 4%; top: 2%; width: min(48vw, 42rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 247, 224, 0.78) 0%, rgba(255, 240, 205, 0.34) 32%, rgba(255, 240, 205, 0) 68%); translate: 0 calc(var(--sy, 0) * 0.16px); }
.sky__far, .sky__near, .sky__rest { position: absolute; inset: 0; }
.sky__far { translate: calc(var(--mx, 0) * -6px) calc(var(--sy, 0) * 0.10px); }
.sky__rest { translate: calc(var(--mx, 0) * -11px) calc(var(--sy, 0) * 0.18px); }
.sky__near { translate: calc(var(--mx, 0) * -18px) calc(var(--sy, 0) * 0.28px); }
.cloud { position: absolute; left: -20rem; display: block; width: 15rem; height: 4.6rem; border-radius: 999px; background: #fff; animation: drift 110s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 46%; height: 150%; left: 14%; top: -72%; }
.cloud::after { width: 36%; height: 120%; right: 16%; top: -46%; }
/* high, small and slow: above the headline */
.sky__far .cloud { opacity: 0.72; }
.c1 { top: 5%; scale: 0.55; animation-duration: 150s; animation-delay: -40s; }
.c2 { top: 12%; scale: 0.4; animation-duration: 190s; animation-delay: -125s; }
/* low and close: along the horizon, below the buttons */
.sky__near .cloud { opacity: 0.94; }
.c3 { top: 91%; scale: 1.15; animation-duration: 120s; animation-delay: -22s; }
.c4 { top: 95%; scale: 0.8; animation-duration: 96s; animation-delay: -70s; }
.c5 { top: 87%; scale: 0.6; animation-duration: 140s; animation-delay: -104s; opacity: 0.8; }
/* resting behind the loaf */
.sky__rest .cloud { left: auto; opacity: 0.5; animation: bobble 11s ease-in-out infinite alternate; }
.r1 { right: -3%; top: 27%; scale: 1.5; }
.r2 { right: 33%; top: 60%; scale: 0.8; opacity: 0.4; animation-delay: -5s; }
@keyframes drift { to { translate: calc(100vw + 40rem) 0; } }
@keyframes bobble { to { translate: 1.2rem -0.6rem; } }

.bird { position: absolute; left: -4rem; width: 2.3rem; height: 0.92rem; overflow: visible; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; animation: fly 50s linear infinite; }
.bird path { transform-box: fill-box; transform-origin: 50% 90%; animation: flap 0.9s ease-in-out infinite; }
.b1 { top: 9%; animation-delay: -8s; }
.b2 { top: 12%; width: 1.6rem; height: 0.64rem; animation-duration: 58s; animation-delay: -10.5s; }
.b3 { top: 4%; width: 1.3rem; height: 0.52rem; animation-duration: 74s; animation-delay: -44s; opacity: 0.7; }
@keyframes fly { to { translate: calc(100vw + 8rem) -4vh; } }
@keyframes flap { 50% { transform: scaleY(0.3); } }

/* a quieter sky for the blue blocks further down */
.sky--soft .cloud { opacity: 0.14; }
.s1 { top: 14%; scale: 1.2; animation-duration: 160s; animation-delay: -30s; }
.s2 { top: 62%; scale: 0.8; animation-duration: 130s; animation-delay: -90s; }
.s3 { top: 38%; scale: 0.55; animation-duration: 200s; animation-delay: -150s; }

/* flour, when a loaf lands */
.puff { position: absolute; left: 50%; top: 82%; width: 0.9rem; height: 0.9rem; margin: -0.45rem; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none; }

.hero__copy { position: relative; display: grid; gap: clamp(1.2rem, 3vh, 2rem); justify-items: start; max-width: 46rem; }
h1 { font: 700 clamp(3.4rem, 7.1vw, 6.9rem)/0.86 var(--display); letter-spacing: 0.01em; text-wrap: balance; -webkit-text-stroke: 0.035em currentColor; }
h1 span { font-weight: 400; }
.hero__where { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; }
.hero__bread { position: relative; justify-self: center; width: min(100%, 32rem); aspect-ratio: 1; }
.slot { display: block; width: 100%; height: 100%; }
.slot--hero { cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.hero__note { position: absolute; left: -4%; bottom: 6%; font-size: 1.5rem; line-height: 1; rotate: -6deg; display: flex; align-items: flex-end; gap: 0.3rem; }
.hero__note svg { width: 3.4rem; height: 2.3rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; translate: 0 -0.9rem; }
.scallop { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(1.6rem, 3.2vw, 2.8rem); fill: var(--paper); display: block; }

/* ---------- section basics ---------- */

.head { display: grid; gap: 0.5rem; justify-items: start; }
h2 { position: relative; display: inline-block; font: 700 clamp(2.9rem, 6vw, 5rem)/0.9 var(--display); letter-spacing: 0.01em; color: var(--sky-deep); -webkit-text-stroke: 0.03em currentColor; }
.scribble { position: absolute; left: -2%; right: -2%; bottom: -0.18em; width: 104%; height: 0.24em; overflow: visible; }
.scribble path { fill: none; stroke: var(--crust); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s var(--ease) 0.25s; }
.is-in .scribble path, .no-js .scribble path { stroke-dashoffset: 0; }
.head p { color: var(--mute); margin-top: 0.6rem; }
.link { color: var(--sky-deep); text-underline-offset: 3px; }

.js [data-in] { opacity: 0; translate: 0 1.4rem; transition: opacity 0.8s var(--ease), translate 0.9s var(--ease); }
.js [data-in].is-in { opacity: 1; translate: 0 0; }

/* ---------- order ---------- */

.order { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); display: grid; gap: clamp(2rem, 5vh, 3.2rem); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.5rem); }
.card { background: #fff; border-radius: 1.4rem; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(37, 53, 60, 0.05); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(37, 53, 60, 0.1); } }
.card__media { position: relative; aspect-ratio: 1; background: var(--sky-pale); }
.card__media .slot { position: absolute; inset: 6% 6% 10%; width: auto; height: auto; }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease); z-index: 6; }
.card.is-photo .card__photo, .card.no-model .card__photo { opacity: 1; }
.card__flip { position: absolute; right: 0.7rem; bottom: 0.7rem; z-index: 7; height: 2rem; padding: 0 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.82rem; font-weight: 500; box-shadow: 0 2px 10px rgba(37, 53, 60, 0.12); }
.card.no-model .card__flip { display: none; }
.card__tag { position: absolute; left: 0.7rem; top: 0.7rem; z-index: 7; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--crust); color: #fff; font-size: 0.78rem; font-weight: 500; }
.card__body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card h3 { font: 700 clamp(1.8rem, 2.4vw, 2.25rem)/0.95 var(--display); letter-spacing: 0.015em; -webkit-text-stroke: 0.035em currentColor; }
.card__desc { color: var(--mute); font-size: 0.96rem; line-height: 1.4; }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.7rem; }
.price { font: 500 1.35rem/1 var(--sans); color: var(--ink); }
.add { height: 2.7rem; padding: 0 1.2rem; border-radius: 999px; background: var(--sky); color: #fff; font-weight: 500; transition: background 0.25s, transform 0.25s var(--ease); min-width: 7.2rem; }
.add:active { transform: scale(0.96); }
.add.is-done { background: var(--crust); }
.add[disabled] { background: var(--line); color: var(--mute); cursor: default; }
@media (hover: hover) { .add:not([disabled]):not(.is-done):hover { background: var(--sky-deep); } }
.order__help { color: var(--mute); font-size: 0.96rem; }
.order__help a { color: var(--sky-deep); }
.skeleton { background: #fff; border-radius: 1.4rem; aspect-ratio: 3 / 4.4; opacity: 0.6; animation: pulse 1.4s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.3; } }

/* ---------- values ---------- */

.values { background: var(--wheat) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22320%22 height=%22320%22 viewBox=%220 0 320 320%22%3E%3Cg fill=%22none%22 stroke=%22%23c8730e%22 stroke-opacity=%22.14%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath transform=%22translate(48 54) rotate(-12)%22 d=%22M0 10C-12 1-11-11-4-11c3 0 4 2 4 5 0-3 1-5 4-5 7 0 8 12-4 21z%22/%3E%3Cg transform=%22translate(212 62) rotate(8)%22%3E%3Ccircle r=%2213%22/%3E%3Cpath d=%22M0-13V13M0 0L-9 9M0 0L9 9%22/%3E%3C/g%3E%3Cg transform=%22translate(122 152) rotate(18)%22%3E%3Cpath d=%22M0 28V-18%22/%3E%3Cpath d=%22M0-18c-5-6-5-10 0-15 5 5 5 9 0 15zM0-6c-8-2-11-7-9-13 6 1 10 6 9 13zM0-6c8-2 11-7 9-13-6 1-10 6-9 13zM0 7c-8-2-11-7-9-13 6 1 10 6 9 13zM0 7c8-2 11-7 9-13-6 1-10 6-9 13z%22/%3E%3C/g%3E%3Cg transform=%22translate(262 196) rotate(-8)%22%3E%3Cpath d=%22M-23 10c-3-21 8-25 23-25s26 4 23 25z%22/%3E%3Cpath d=%22M-9-6l-4 10M2-8l-4 12M12-6l-4 10%22/%3E%3C/g%3E%3Cpath transform=%22translate(62 252) rotate(14) scale(.62)%22 d=%22M0 10C-12 1-11-11-4-11c3 0 4 2 4 5 0-3 1-5 4-5 7 0 8 12-4 21z%22/%3E%3Cpath d=%22M294 26h12M300 20v12M90 200h10M95 195v10%22/%3E%3Cg transform=%22translate(196 286) rotate(-20) scale(.7)%22%3E%3Cpath d=%22M0 28V-18%22/%3E%3Cpath d=%22M0-18c-5-6-5-10 0-15 5 5 5 9 0 15zM0-6c-8-2-11-7-9-13 6 1 10 6 9 13zM0-6c8-2 11-7 9-13-6 1-10 6-9 13z%22/%3E%3C/g%3E%3C/g%3E%3Cg fill=%22%23c8730e%22 fill-opacity=%22.14%22%3E%3Ccircle cx=%22150%22 cy=%2240%22 r=%221.8%22/%3E%3Ccircle cx=%22290%22 cy=%22112%22 r=%221.8%22/%3E%3Ccircle cx=%2228%22 cy=%22150%22 r=%221.8%22/%3E%3Ccircle cx=%22188%22 cy=%22232%22 r=%221.8%22/%3E%3Ccircle cx=%22112%22 cy=%22296%22 r=%221.8%22/%3E%3Ccircle cx=%22252%22 cy=%22288%22 r=%221.8%22/%3E%3Ccircle cx=%22172%22 cy=%22118%22 r=%221.8%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%221.8%22/%3E%3C/g%3E%3C/svg%3E") 2rem 1rem / 21rem; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); display: grid; gap: clamp(2rem, 5vh, 3.4rem); justify-items: center; text-align: center; }
.values .head { justify-items: center; }
.values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); width: 100%; max-width: 36rem; }
.values__list li { display: grid; gap: 0.5rem; justify-items: center; align-content: start; }
.values__list svg { width: 5.4rem; height: 5.4rem; fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.4rem; }
.values__list li:nth-child(even) svg { stroke: var(--crust); }
.values__list svg * { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.values__list li.is-in svg *, .no-js .values__list svg * { stroke-dashoffset: 0; }
.values__list h3 { font: 700 clamp(1.9rem, 2.8vw, 2.5rem)/0.95 var(--display); -webkit-text-stroke: 0.03em currentColor; }
.values__list p { color: #6b5d45; font-size: 1rem; max-width: 15rem; line-height: 1.4; }
.values__line { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--crust); rotate: -1.5deg; max-width: 34rem; }
.values__line span { white-space: nowrap; }

/* ---------- photos ---------- */

.photos { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); display: grid; gap: clamp(1.6rem, 4vh, 2.6rem); }
.photos .head { grid-template-columns: 1fr auto; align-items: end; width: 100%; }
.photos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 17vw, 15rem); gap: clamp(0.5rem, 1vw, 0.9rem); }
.photos__grid a { display: block; overflow: hidden; border-radius: 1rem; background: var(--sky-pale); }
.photos__grid a:nth-child(1) { grid-row: span 2; }
.photos__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .photos__grid a:hover img { transform: scale(1.05); } }

/* ---------- mission ---------- */

.mission { background: linear-gradient(#4f9dbd, #5aa6c5); color: #fff; padding: clamp(4rem, 11vh, 7.5rem) var(--pad); display: grid; gap: clamp(1.6rem, 4vh, 2.6rem); justify-items: center; text-align: center; }
.peace { display: block; width: clamp(8rem, 14vw, 11rem); aspect-ratio: 442 / 317; background: #fff; -webkit-mask: url(../assets/brand/peace-love.webp) center / contain no-repeat; mask: url(../assets/brand/peace-love.webp) center / contain no-repeat; }
.mission blockquote { display: grid; gap: 1.1rem; max-width: 52rem; }
.mission p { font: 700 clamp(1.9rem, 3.4vw, 2.9rem)/1.06 var(--display); letter-spacing: 0.015em; text-wrap: balance; }

/* ---------- visit ---------- */

.visit { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.visit__photo { border-radius: 1.4rem; overflow: hidden; aspect-ratio: 4 / 3.4; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__info { display: grid; gap: 1.2rem; justify-items: start; }
address { font-style: normal; font-size: 1.2rem; line-height: 1.45; }
.visit__now { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--sky-pale); color: var(--sky-deep); font-weight: 500; }
.visit__now::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--mute); }
.visit__now[data-open="true"]::before { background: #58b03c; }
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; }
.hours td { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--mute); }
.hours tr.is-today td { color: var(--sky-deep); font-weight: 500; }
.holiday { width: 100%; max-width: 26rem; }
.holiday summary { cursor: pointer; color: var(--crust); font-weight: 500; padding: 0.3rem 0; }
.holiday ul { margin-top: 0.5rem; }
.holiday li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 0.96rem; }
.holiday b { font-weight: 400; color: var(--mute); white-space: nowrap; }

/* ---------- wholesale and jobs ---------- */

.work { background: #fff; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); justify-content: center; }
.work__col { max-width: 32rem; display: grid; gap: 1.1rem; align-content: start; justify-items: start; justify-self: center; width: 100%; }
.work h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); }
.work p { color: var(--mute); }
.form { display: grid; gap: 0.85rem; width: 100%; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form label { display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--mute); }
.form input, .form textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 0.8rem; background: var(--paper); color: var(--ink); font-size: 1rem; outline: 0; transition: border-color 0.2s, background 0.2s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--sky); background: #fff; }
.form .is-bad { border-color: #c2452d; }
.form__msg { min-height: 1.3rem; font-size: 0.92rem; color: var(--crust) !important; }
.roles { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.roles li { padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--sky-pale); color: var(--sky-deep); font-size: 0.95rem; }

/* ---------- footer ---------- */

.foot { position: relative; overflow: hidden; background: linear-gradient(#58a4c3, #4795b8); color: #fff; padding: clamp(5rem, 13vh, 8rem) var(--pad) 2rem; display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.scallop--top { top: -1px; bottom: auto; fill: #fff; }
.logo--big { width: clamp(11rem, 26vw, 20rem); }
.foot__line { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1 var(--display); letter-spacing: 0.02em; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; margin-top: 0.8rem; }
.foot__links a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot__small { font-size: 0.85rem; opacity: 0.85; }
.foot__credit { opacity: 0.7; }

/* ---------- bag ---------- */

.scrim { position: fixed; inset: 0; z-index: 39; background: rgba(37, 53, 60, 0.4); opacity: 0; transition: opacity 0.35s; }
.scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(27rem, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(104%); transition: transform 0.5s var(--ease); box-shadow: -20px 0 50px rgba(37, 53, 60, 0.16); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; background: var(--sky); color: #fff; }
.drawer__head h2 { color: #fff; font-size: 2.6rem; }
.drawer__close { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.4rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.empty { margin: auto; text-align: center; display: grid; gap: 1rem; justify-items: center; padding: 2rem 0; }
.empty p:first-child { font-family: var(--hand); font-size: 1.8rem; color: var(--crust); rotate: -2deg; }
.line { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 4.2rem; height: 4.2rem; border-radius: 0.8rem; object-fit: cover; background: var(--sky-pale); }
.line__name { font: 700 1.6rem/1 var(--display); -webkit-text-stroke: 0.03em currentColor; }
.line__each { color: var(--mute); font-size: 0.86rem; margin-top: 0.2rem; }
.line__end { display: grid; gap: 0.45rem; justify-items: end; }
.line__sum { font-weight: 500; }
.qty { display: inline-flex; align-items: center; height: 2.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 2rem; height: 100%; font-size: 1.1rem; color: var(--mute); }
.qty button:hover { color: var(--ink); }
.qty output { min-width: 1.3rem; text-align: center; font-size: 0.95rem; }
.total { margin-top: auto; padding-top: 1.4rem; display: grid; gap: 0.9rem; }
.total__row { display: flex; justify-content: space-between; align-items: baseline; }
.total__row b { font: 500 1.7rem/1 var(--sans); color: var(--ink); }
.total .btn { width: 100%; height: 3.3rem; font-size: 1.05rem; }
.total small { color: var(--mute); text-align: center; font-size: 0.86rem; line-height: 1.4; }

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .top { grid-template-columns: auto 1fr; height: 4rem; }
  .top__right { justify-self: end; }
  .status { display: none; }
  .burger { display: block; }
  .top__nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--sky); padding: 0.4rem var(--pad) 1.2rem; clip-path: inset(0 0 100% 0); transition: clip-path 0.4s var(--ease); justify-self: stretch; }
  .top__nav.is-open { clip-path: inset(0 0 -2rem 0); box-shadow: 0 20px 30px rgba(37, 53, 60, 0.16); }
  .top__nav a { font: 700 2.4rem/1.25 var(--display); background: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding: 0.35rem 0; }
  .top .logo { width: 5.4rem; }

  .hero { grid-template-columns: 1fr; gap: 0.5rem; padding-top: 2rem; min-height: 0; text-align: left; }
  .hero__bread { width: min(84vw, 23rem); order: 2; }
  .hero__note { font-size: 1.25rem; left: -2%; }
  h1 { font-size: clamp(3.4rem, 15.5vw, 5.2rem); }

  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .photos .head { grid-template-columns: 1fr; }
  .photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .photos__grid a:nth-child(1) { grid-row: span 1; }
  .photos__grid a:nth-child(7) { grid-column: span 2; }
  .visit { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 11.5rem; }
  .card__body { padding: 0.9rem 0.95rem; }
  .card__buy { flex-wrap: wrap; }
  .add { flex: 1; }
  .card__flip { right: 0.45rem; bottom: 0.45rem; height: 1.8rem; padding: 0 0.65rem; font-size: 0.76rem; }
  .form__two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud, .bird, .bird path { animation: none; }
  .sky__far .cloud, .sky__near .cloud, .sky--soft .cloud { left: 12%; }
  .c2, .c4, .s2 { left: 58% !important; } .c5, .s3 { left: 34% !important; }
  .bird { left: 22%; } .b2 { left: 26%; } .b3 { left: 70%; }
  .js [data-in] { opacity: 1; translate: 0 0; transition: none; }
  .scribble path, .values__list svg * { stroke-dashoffset: 0; transition: none; }
}

/* no WebGL: the real photograph takes the loaf's place */
.no-gl .slot--hero { background: url(../assets/products/big-round-white-sourdough.webp) center / cover; border: 6px solid #fff; }
.no-gl .hero__note { display: none; }


/* ---------- texture and edges ---------- */

/* a little paper grain over everything, under the bread */
body::after { content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0.075; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* soft scalloped edges where a coloured block meets the paper */
.values, .mission { position: relative; overflow: hidden; --edge: var(--paper); }
.values > *, .mission > :not(.sky), .foot > :not(.sky):not(.scallop) { position: relative; z-index: 1; }
.values::before, .values::after, .mission::before, .mission::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(1rem, 2.3vw, 1.9rem); background-size: clamp(4rem, 8.34vw, 7.5rem) 100%; background-repeat: repeat-x; background-position: 50% 0; pointer-events: none; z-index: 1; }
.values::before, .mission::before { top: -1px; background-image: radial-gradient(ellipse 50% 100% at 50% 0, var(--edge) 98%, transparent 100%); }
.values::after, .mission::after { bottom: -1px; background-image: radial-gradient(ellipse 50% 100% at 50% 100%, var(--edge) 98%, transparent 100%); }
.values { padding-top: clamp(4.5rem, 11vh, 7.5rem); padding-bottom: clamp(4.5rem, 11vh, 7.5rem); }
.scallop--top { z-index: 1; }

@media (max-width: 860px) {
  .sun { right: -30%; top: 34%; width: 110vw; }
  .sky__far .cloud { opacity: 0.4; }
  .c1 { top: 2%; } .c2 { top: 7%; }
  .c3 { top: 93%; } .c4 { top: 96%; } .c5 { top: 90%; }
  .r1 { top: 50%; right: -16%; scale: 1.2; } .r2 { display: none; }
  .b1 { top: 3%; } .b2 { top: 5%; } .b3 { top: 1.5%; }
  body { background-size: 17rem; }
}


/* ---------- portfolio copy (benjaminprice.co, 19 Nov 2026) ---------- */

/* "Email us" is a button here: this copy never opens mail to the bakery */
.linkbtn { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.order__help .linkbtn { color: var(--sky-deep); text-underline-offset: 3px; }

/* the concept note: what Checkout, the wholesale form and "Email us" show instead */
.concept { display: grid; gap: 0.4rem; justify-items: start; width: 100%; max-width: 30rem; padding: 1rem 1.15rem 1.1rem; border-radius: 1.1rem; background: #fff; border: 1.5px dashed rgba(200, 115, 14, 0.5); color: var(--ink); text-align: left; }
.concept:focus { outline: none; }
.concept .concept__title { font: 400 1.5rem/1 var(--hand); color: var(--crust); rotate: -1.5deg; margin-bottom: 0.15rem; }
.concept .concept__text { font-size: 0.95rem; line-height: 1.45; color: var(--mute); }
.concept .concept__link { color: var(--sky-deep); font-weight: 500; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.concept .concept__link::after { content: " \2197"; font-size: 0.85em; }
.work .concept { background: var(--paper); }
.order__help + .concept { margin-top: -0.6rem; }
.foot__links + .concept { margin-top: 0.4rem; }
.total .concept { max-width: none; }

/* the bag is a dialog: the b/p chip steps out of its way while it is open */
.is-locked .bp-chip { opacity: 0; pointer-events: none; }

/* end card, per the b/p sample convention (section 4), in the bakery's own paper and button */
.bp-end { background: var(--paper); padding: 1.7rem var(--pad) 5rem; }
.bp-end__in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.1rem 2rem; }
.bp-end__note { display: flex; align-items: center; gap: 0.85rem; font-size: 1rem; color: var(--ink); }
.bp-end__mark { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 2rem; line-height: 1; color: var(--ink); text-decoration: none; }
.bp-end__mark i { opacity: 0.55; }
.bp-end__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.6rem; }
.bp-end__link { color: var(--sky-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 640px) {
  .bp-end__in { flex-direction: column; align-items: flex-start; }
}

/* the ABN keeps to one line on the narrowest phones */
.foot__small span { white-space: nowrap; }
