/* C&C Bakes Shed / Coffee & Crumb
   Palette sampled from the two logos. Type: Marcellus SC (the logo's capitals),
   Pinyon Script (its calligraphy, used sparingly), EB Garamond (reading). */

@font-face { font-family: "Marcellus SC"; src: url(/assets/fonts/marcellus-sc.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url(/assets/fonts/pinyon-script.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/eb-garamond.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/eb-garamond-italic.woff2) format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }

:root {
  --flour: #FBF1E4;
  --flour-2: #F3E1CB;
  --walnut: #733B14;
  --ink: #4A2913;
  --toffee: #B26F3B;
  --espresso: #2A1A10;
  --espresso-2: #3A2518;
  --crema: #E9C9A0;
  --milk: #F4E6D4;
  --field: #FFFAF3;

  --display: "Marcellus SC", "Trajan Pro", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sec-pad: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--flour); color: var(--ink);
  font: 400 1.1875rem/1.62 var(--serif);
  font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 3px; }
.theme-trailer :focus-visible, .footer :focus-visible { outline-color: var(--crema); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--walnut); margin: 0; line-height: 1.12; letter-spacing: .04em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.32rem; letter-spacing: .06em; }
p { margin: 0 0 1em; }
abbr[title] { text-decoration: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--walnut); color: var(--flour); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.anchor-top { position: absolute; top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.measure { max-width: 34em; }
.centre-block { margin-left: auto; margin-right: auto; text-align: center; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose blockquote { margin: 1.2em 0; padding-left: 1em; border-left: 2px solid var(--toffee); font-style: italic; }
.empty { font-style: italic; opacity: .85; }

.script { font-family: var(--script); font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1; color: var(--toffee); margin: 0 0 .35em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.5em;
  border-radius: 999px; border: 1px solid var(--walnut); background: transparent; color: var(--walnut);
  font: 400 1rem/1 var(--display); letter-spacing: .08em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--flour-2); }
.btn-primary { background: var(--walnut); color: var(--flour); }
.btn-primary:hover { background: var(--ink); }
.btn-small { min-height: 42px; padding: .55em 1.2em; font-size: .92rem; }
.theme-trailer .btn { border-color: var(--crema); color: var(--crema); }
.theme-trailer .btn:hover { background: var(--espresso-2); }
.theme-trailer .btn-primary { background: var(--crema); color: var(--espresso); }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(115, 59, 20, .08); }
.icon { flex: none; vertical-align: -.18em; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 241, 228, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, color .3s;
}
.topbar.scrolled { border-bottom-color: rgba(178, 111, 59, .35); }
.topbar.on-dark { background: rgba(42, 26, 16, .94); border-bottom-color: rgba(233, 201, 160, .2); }
.topbar-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--walnut); font: 400 1.15rem/1 var(--display); letter-spacing: .06em; margin-right: auto; }
.brand img { border-radius: 50%; }
.on-dark .brand, .on-dark .nav a, .on-dark .nav-toggle { color: var(--crema); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.nav a { white-space: nowrap; display: block; padding: .55rem .7rem; color: var(--walnut); text-decoration: none; font: 400 .95rem/1 var(--display); letter-spacing: .05em; border-radius: 999px; }
.nav a:hover { background: rgba(178, 111, 59, .12); }
.nav .nav-trailer:first-of-type, .nav li:not(.nav-trailer) + .nav-trailer { margin-left: .6rem; padding-left: .8rem; border-left: 1px solid rgba(178, 111, 59, .4); }
.nav-toggle { display: none; color: var(--walnut); }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--flour); border-bottom: 1px solid rgba(178, 111, 59, .35); display: none; }
  .on-dark .nav { background: var(--espresso); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1rem; }
  .nav a { padding: .85rem .4rem; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid rgba(178, 111, 59, .18); }
  .nav li:not(.nav-trailer) + .nav-trailer { margin: .6rem 0 0; padding: 0; border-left: 0; }
  .nav .nav-trailer a { color: var(--toffee); }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec-head { margin-bottom: 1.6rem; }
.sec-head.centre { text-align: center; }
.theme-trailer { background: var(--espresso); color: var(--milk); }
.theme-trailer h2, .theme-trailer h3 { color: var(--crema); }
.theme-trailer a { color: var(--crema); }
.theme-trailer .script { color: var(--crema); opacity: .9; }
.theme-shed + .theme-shed, .theme-trailer + .theme-trailer { padding-top: calc(var(--sec-pad) * .6); }
.theme-shed + .theme-shed::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(240px, 40%); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--toffee), transparent); opacity: .55;
}

/* The page's change of hands: a scalloped awning edge, like the trailer's canopy. */
.brand-turn { height: 16px; background-repeat: repeat-x; background-size: 32px 16px; }
.turn-to-trailer { background-color: var(--flour); background-image: radial-gradient(circle at 50% 100%, var(--espresso) 15px, transparent 15.6px); }
.turn-to-shed { background-color: var(--espresso); background-image: radial-gradient(circle at 50% 100%, var(--flour) 15px, transparent 15.6px); }

/* Heart rule: the logo's own divider */
.heart-rule { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--toffee); }
.heart-rule span { height: 1px; width: min(160px, 28vw); background: currentColor; opacity: .7; }
.theme-trailer .heart-rule { color: var(--crema); }

/* ---------- Hero ---------- */
.sec-hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-script { font-size: clamp(2.1rem, 4.6vw, 3rem); }
.sec-hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.4rem); letter-spacing: .05em; line-height: 1.02; margin-bottom: .45em; }
.lead { font-size: clamp(1.2rem, 2vw, 1.38rem); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.status {
  display: inline-flex; align-items: center; gap: .55em; margin: 1.4rem 0 0; padding: .45em 1em .45em .8em;
  border-radius: 999px; background: var(--flour-2); font-size: 1.02rem;
}
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #9b8a78; }
.status.is-open::before { background: #4f7a3a; box-shadow: 0 0 0 4px rgba(79, 122, 58, .18); }
.hero-art { position: relative; justify-self: center; width: min(460px, 82vw); }
.hero-disc { width: 100%; border-radius: 50%; filter: drop-shadow(0 26px 34px rgba(115, 59, 20, .28)) drop-shadow(0 4px 6px rgba(115, 59, 20, .18)); }
.hero-art.has-photo { width: min(480px, 88vw); }
.hero-photo { border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 50px -20px rgba(74, 41, 19, .45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.has-photo .hero-disc { position: absolute; width: 42%; left: -12%; bottom: -8%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-disc { animation: board-in 1.1s cubic-bezier(.2, .7, .2, 1) both .1s; }
  @keyframes board-in { from { opacity: 0; transform: rotate(-14deg) scale(.94); } to { opacity: 1; transform: none; } }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(300px, 74vw); }
  .hero-art.has-photo { width: min(380px, 80vw); margin-bottom: 2.2rem; }
  .has-photo .hero-disc { width: 36%; left: -6%; bottom: -10%; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
}

/* ---------- Text sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.flip .split-photo { order: -1; }
.split-copy .prose { max-width: 32em; }
.split-photo, .wide-photo, .chapter-photo { margin: 0; }
.split-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 50px -24px rgba(74, 41, 19, .5); }
.wide-photo { margin-top: 2.4rem; }
.wide-photo img { border-radius: var(--radius); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip .split-photo { order: 0; } }

.chapter { padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.chapter-inner { text-align: center; }
.chapter-rule { margin-bottom: 2.4rem; }
.chapter-disc { width: min(280px, 66vw); margin: 0 auto 1.6rem; border-radius: 50%; box-shadow: 0 0 0 10px rgba(233, 201, 160, .06), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.chapter .sec-head h2 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.chapter .prose { font-size: 1.25rem; }
.chapter-photo { margin-top: 3rem; }
.chapter-photo img { border-radius: var(--radius); width: 100%; max-height: 560px; object-fit: cover; }

/* ---------- Opening times: hanging sign ---------- */
.hours-grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hours-copy .prose { max-width: 30em; }
.special { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(178, 111, 59, .35); }
.special h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.special ul { list-style: none; margin: 0; padding: 0; }
.special li { display: flex; gap: 1rem; padding: .25rem 0; }
.special time { font-weight: 600; min-width: 6.5em; }
.find-us { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.8rem; }
.find-us a { margin-left: .3rem; }

.sign-wrap { position: relative; padding-top: 54px; justify-self: center; width: 100%; max-width: 420px; }
.sign-wrap::before, .sign-wrap::after {
  content: ""; position: absolute; top: 0; width: 2px; height: 132px; background: #8a6a4a;
  transform-origin: top center;
}
.sign-wrap::before { left: 50%; transform: rotate(65deg); margin-left: -1px; }
.sign-wrap::after { left: 50%; transform: rotate(-65deg); margin-left: -1px; }
.sign {
  position: relative; transform: rotate(-1.2deg);
  padding: 18px; border-radius: 16px;
  background:
    repeating-linear-gradient(176deg, rgba(60, 28, 8, .0) 0 7px, rgba(60, 28, 8, .09) 7px 8px, rgba(255, 230, 200, .05) 8px 13px),
    linear-gradient(160deg, #a8683a, #8b4f25 55%, #a0612f);
  box-shadow: 0 34px 50px -24px rgba(58, 30, 10, .65), inset 0 1px 0 rgba(255, 220, 180, .35), inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.sign::before { /* the nail */
  content: ""; position: absolute; left: 50%; top: -60px; z-index: 2; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d7c2a8, #6f5a46);
}
.sign > * { position: relative; }
.sign::after { /* the cream face, like the centre of the logo */
  content: ""; position: absolute; inset: 18px; border-radius: 8px; background: var(--flour);
  box-shadow: inset 0 0 0 1px rgba(178, 111, 59, .55), inset 0 0 0 5px var(--flour), inset 0 0 0 6px rgba(178, 111, 59, .35), inset 0 2px 8px rgba(80, 40, 10, .18);
}
.sign > * { z-index: 1; }
.sign-title { text-align: center; font: 400 1.35rem/1.2 var(--display); letter-spacing: .1em; color: var(--walnut); margin: 0; padding: 1.5rem 1rem .4rem; }
.sign table { width: calc(100% - 3rem); margin: .4rem 1.5rem 0; border-collapse: collapse; }
.sign th, .sign td { padding: .52rem 0; border-bottom: 1px dotted rgba(178, 111, 59, .55); font-size: 1.08rem; }
.sign tr:last-child th, .sign tr:last-child td { border-bottom: 0; }
.sign th { text-align: left; font: 400 1.02rem/1.3 var(--display); letter-spacing: .06em; color: var(--walnut); }
.sign td { text-align: right; font-variant-numeric: lining-nums; }
.sign .closed { font-style: italic; opacity: .7; }
.sign tr.is-today th, .sign tr.is-today td { font-weight: 700; color: var(--walnut); }
.sign tr.is-today th::before { content: "♥"; color: var(--toffee); margin-right: .4em; font-family: var(--serif); }
.sign-status { text-align: center; margin: 0; padding: .9rem 1rem 1.4rem; font-style: italic; }
.sign-status.is-open { color: #3f6a2c; }
@media (max-width: 860px) { .hours-grid { grid-template-columns: 1fr; } .sign { transform: none; } }

/* ---------- Menus / price lists ---------- */
.menu-head { max-width: 40em; margin-bottom: 2.6rem; }
.menu-cols { columns: 2 380px; column-gap: clamp(2.5rem, 6vw, 5rem); }
.menu-cat { break-inside: avoid; margin-bottom: 2.6rem; }
.menu-cat h3 { padding-bottom: .55rem; margin-bottom: .2rem; border-bottom: 1px solid var(--toffee); }
.menu-note { font-style: italic; font-size: 1.02rem; opacity: .85; margin: .4rem 0 0; }
.menu-list { list-style: none; margin: .6rem 0 0; padding: 0; }
.menu-list li { padding: .5rem 0; }
.menu-line { display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.menu-name { font-weight: 600; }
.menu-dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(178, 111, 59, .55); transform: translateY(-.28em); }
.menu-price { font-variant-numeric: lining-nums tabular-nums; font-weight: 600; white-space: nowrap; }
.menu-desc { margin: .1rem 0 0; font-size: 1.02rem; font-style: italic; opacity: .85; max-width: 26em; }
.diet { display: inline-block; font: 600 .66rem/1 var(--serif); letter-spacing: .04em; padding: .28em .4em .22em; border: 1px solid currentColor; border-radius: 4px; vertical-align: .2em; opacity: .75; }
.diet-key { font-size: .98rem; font-style: italic; max-width: 46em; margin-top: .5rem; opacity: .9; }
.theme-trailer .menu-dots { border-bottom-color: rgba(233, 201, 160, .35); }
.theme-trailer .menu-cat h3 { border-bottom-color: rgba(233, 201, 160, .5); }

/* ---------- Gallery ---------- */
.gallery { list-style: none; margin: 2rem 0 0; padding: 0; columns: 3 260px; column-gap: 1rem; }
.gallery li { break-inside: avoid; margin-bottom: 1rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius); }
.gallery figcaption { font-size: .98rem; font-style: italic; padding: .45rem .2rem 0; }

/* ---------- Trailer calendar ---------- */
.cal-head { max-width: 40em; margin-bottom: 2.6rem; }
.cal-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cal-layout:not(:has(.cal-month:not([hidden]))) { grid-template-columns: 1fr; }
.cal-month { position: sticky; top: 96px; padding: 1.2rem; border: 1px solid rgba(233, 201, 160, .22); border-radius: 14px; background: var(--espresso-2); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-title { font-size: 1.2rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow { font: 400 .78rem/1 var(--display); letter-spacing: .08em; opacity: .7; padding: .5rem 0; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1rem; font-variant-numeric: lining-nums; border-radius: 50%; }
.cal-day.is-past { opacity: .35; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--crema); }
.cal-day.has-ev { cursor: pointer; background: rgba(233, 201, 160, .14); color: var(--crema); font-weight: 700; }
.cal-day.has-ev::after { content: "♥"; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); font-size: .55rem; line-height: 1; color: var(--crema); }
.cal-day.has-ev.is-private::after { content: "•"; }
.cal-day.has-ev:hover { background: rgba(233, 201, 160, .28); }
.cal-hint { font-size: .9rem; font-style: italic; opacity: .75; margin: .8rem 0 0; }

.dates { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.date-row { display: grid; grid-template-columns: 92px 1fr; gap: 1.4rem; padding: 1.4rem 0; border-top: 1px solid rgba(233, 201, 160, .2); scroll-margin-top: 100px; transition: background-color .6s; }
.date-row:last-child { border-bottom: 1px solid rgba(233, 201, 160, .2); }
.date-row.flash { background: rgba(233, 201, 160, .1); }
.date-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .7rem .4rem; border: 1px solid rgba(233, 201, 160, .45); border-radius: 12px; text-align: center; font-family: var(--display); color: var(--crema); align-self: start; }
.dc-day, .dc-mon { font-size: .85rem; letter-spacing: .1em; }
.dc-num { font-size: 2.3rem; line-height: 1.05; font-variant-numeric: lining-nums; }
.is-today .date-chip { background: var(--crema); color: var(--espresso); border-color: var(--crema); }
.today-flag { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--crema); margin: 0 0 .2rem; }
.date-body h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.date-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 .4rem; opacity: .92; }
.date-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.date-note { margin: 0 0 .5rem; font-style: italic; }
.date-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; font-size: 1.02rem; }
.more-wrap { margin: 1.6rem 0 0; }
.subscribe { display: flex; align-items: center; gap: .5rem; margin: 2rem 0 0; font-size: 1.02rem; opacity: .9; }
@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-month { position: static; max-width: 420px; }
}
@media (max-width: 480px) { .date-row { grid-template-columns: 74px 1fr; gap: 1rem; } .dc-num { font-size: 1.9rem; } }

/* ---------- Social ---------- */
.social-head { max-width: 40em; margin-bottom: 2.4rem; }
.follow { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.follow-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font: 400 .98rem/1 var(--display); letter-spacing: .06em; }
.follow-btn:hover { background: rgba(233, 201, 160, .1); }
.feed-title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: 1rem; }
.feed-ig { margin-bottom: 3rem; }
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.ig-grid a { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-play { position: absolute; top: .5rem; right: .5rem; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; align-items: start; }
.embed-slot { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem; padding: 2rem 1.4rem; border: 1px dashed rgba(233, 201, 160, .4); border-radius: 14px; }
.theme-shed .embed-slot { border-color: rgba(178, 111, 59, .5); }
.embed-note { font-size: .88rem; font-style: italic; opacity: .7; margin: .6rem 0 0; }
.embed-slot.loaded { display: block; min-height: 0; padding: 0; border: 0; }
.embed-slot iframe { width: 100%; max-width: 500px; border: 0; border-radius: 12px; background: #fff; }
.embed-slot blockquote { margin: 0 auto !important; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; color: var(--walnut); }
.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--flour-2); border-radius: 16px; }
.contact-form label { display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; font: 400 .95rem/1.2 var(--display); letter-spacing: .06em; color: var(--walnut); }
.contact-form .opt { font: italic 400 .92rem/1 var(--serif); letter-spacing: 0; opacity: .75; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; font: 400 1.08rem/1.4 var(--serif); color: var(--ink);
  background: var(--field); border: 1px solid #D5B794; border-radius: 8px; appearance: none; -webkit-appearance: none;
}
.contact-form select { background-image: linear-gradient(45deg, transparent 50%, var(--walnut) 50%), linear-gradient(135deg, var(--walnut) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--walnut); outline-offset: 0; border-color: var(--walnut); }
.contact-form [aria-invalid="true"] { border-color: #a3321c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .95rem; font-style: italic; margin: 0; opacity: .85; }
.contact-form .btn { justify-self: start; }
.form-msg { padding: .9rem 1.1rem; border-radius: 10px; background: #e7efd9; color: #2f4f1f; }
.form-msg.is-error { background: #f7dfd6; color: #7a2512; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 3rem; border-top: 1px solid rgba(233, 201, 160, .14); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.footer-brands { display: flex; gap: 1rem; }
.footer-brands img { border-radius: 50%; }
.footer-col p { margin: 0 0 .3rem; }
.footer-name { font: 400 1.25rem/1.2 var(--display); letter-spacing: .06em; color: var(--crema); }
.footer-social { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: .4rem; justify-content: flex-end; }
.footer-social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(233, 201, 160, .35); }
.footer-social a:hover { background: var(--espresso-2); }
.legal { font-size: .92rem; opacity: .75; text-align: right; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-social { justify-content: center; }
  .legal { text-align: center; }
}

/* 404 */
.notfound main { text-align: center; padding: 6rem var(--gutter); }
.notfound img { margin: 0 auto 2rem; border-radius: 50%; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .6rem; }

@media print {
  .topbar, .feeds, .contact-form, .brand-turn, .cal-month { display: none !important; }
  .theme-trailer, .footer { background: #fff; color: #000; }
}
