/* Sourdough Bakehouse — dark artisan storefront (display + request a quote).
   Palette sampled from the client's product label: label black + vivid orange, warm white type. */
:root {
  --page: #131112;        /* label black */
  --band: #1A1819;        /* raised black */
  --card: #201D1E;        /* dark surface */
  --card-2: #272324;
  --media: #F7F1E8;       /* light tile behind product photos */
  --line: #3A3335;        /* border */
  --line-soft: #2B2627;
  --ink: #EFE7DF;         /* body text */
  --muted: #B5A79D;       /* secondary text */
  --head: #FBF6F1;        /* headings */
  --espresso: #2A2526;
  --crust: #D57434;
  --caramel: #EC7A26;     /* label orange — accent / CTA */
  --caramel-deep: #C9601A;
  --caramel-soft: #F7A768;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--page); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--head); }
h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--caramel); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 19px; line-height: 1.3; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; }
.lede { font-size: 17px; color: var(--muted); max-width: 58ch; }
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--band { background: var(--band); }
.section-head { max-width: 680px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head .lede { margin-top: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .ticker__track, .hero__loaf { transition: none !important; animation: none !important; opacity: 1; transform: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--caramel), var(--caramel-deep)); color: #1B1005; font-family: var(--sans); font-weight: 700; font-size: 15.5px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 30px -14px rgba(236, 122, 38, 0.55); }
.btn--ghost { background: transparent; color: var(--head); border-color: rgba(247, 167, 104, 0.5); }
.btn--ghost:hover { background: rgba(247, 167, 104, 0.12); box-shadow: none; filter: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }

/* announce + nav */
.announce { background: #141212; color: var(--caramel-soft); text-align: center; font-size: 13px; padding: 8px 14px; letter-spacing: 0.02em; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; }
.nav { position: sticky; top: 0; z-index: 60; background: rgba(19, 17, 18, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(15, 14, 15, 0.95); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.nav__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--head); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--caramel); }
.cartbtn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--caramel-soft); cursor: pointer; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.cartbtn:hover { background: var(--card-2); border-color: var(--caramel-deep); }
.cartbtn svg { width: 21px; height: 21px; }
.cartbtn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--caramel); color: #1B1005; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }

/* hero */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(30px, 4vw, 56px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy .lede { margin-top: 18px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__ticks { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.hero__ticks li { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.hero__ticks li::before { content: "✓"; color: var(--caramel); margin-right: 7px; font-weight: 700; }
.hero__stage { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero__disc { position: absolute; width: min(92%, 470px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #322B2C, #201D1E 62%, #171516); border: 1px solid #3F3739; box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 30px 60px -30px rgba(0,0,0,0.8); }
.hero__loaf { position: relative; width: min(88%, 460px); height: auto; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(0.5deg); } }
.hero__chip { position: absolute; bottom: 8%; right: 4%; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7); transition: transform 0.2s, border-color 0.2s; }
.hero__chip:hover { transform: translateY(-2px); border-color: var(--caramel-deep); }
.hero__chip b { color: var(--caramel); margin-left: 6px; }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; align-items: center; gap: 26px; padding: 12px 0; animation: tick 26s linear infinite; }
.ticker__track span { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--crust); }
.ticker__track i { color: var(--caramel); font-style: normal; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* filters */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; position: sticky; top: 74px; z-index: 40; background: var(--page); padding: 10px 0; }
.pill { border: 1px solid var(--line); background: var(--card); color: var(--ink); font-family: var(--sans); font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pill:hover { background: var(--card-2); border-color: var(--caramel-deep); }
.pill.is-on { background: var(--caramel); border-color: var(--caramel); color: #1B1005; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(0, 0, 0, 0.8); border-color: var(--caramel-deep); }
.card__media { position: relative; aspect-ratio: 1; background: var(--media); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s; }
.card:hover .card__media img { transform: scale(1.05) rotate(-1deg); }
.card__mono { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 34% 26%, #FAF4EC, #EFE0D2); }
.card__mono b { font-family: var(--serif); font-style: italic; font-size: 64px; font-weight: 500; color: #D1834A; }
.card__tag { position: absolute; top: 10px; left: 10px; background: rgba(20,18,19,0.86); color: var(--caramel-soft); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.card__body h3 { font-size: 17px; }
.card__desc { font-size: 13px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 12px; }
.card__add { width: 100%; border: 1px solid var(--caramel-deep); background: transparent; color: var(--caramel-soft); font-size: 14px; font-weight: 700; font-family: var(--sans); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.card__add:hover { background: var(--caramel); color: #1B1005; border-color: var(--caramel); }

/* story */
.story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.story__media { position: relative; }
.story__media > img:first-child { border-radius: 26px; border: 1px solid var(--line); background: var(--media); width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: contain; padding: 6%; }
.story__inset { position: absolute; right: -6%; bottom: -10%; width: 40%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 5%; border-radius: 18px; border: 5px solid var(--band); background: var(--media); box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.7); }
.story__body .lede { margin-top: 14px; }
.story__stats { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.story__stats b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--caramel); }
.story__stats span { font-size: 13px; font-weight: 600; color: var(--muted); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stepc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.stepc__n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--caramel); }
.stepc h3 { margin: 8px 0 8px; }
.stepc p { font-size: 14px; color: var(--muted); }

/* quote block */
.whole { background: linear-gradient(150deg, #211E1F, #151314); border: 1px solid var(--line); border-radius: 28px; padding: clamp(30px, 4.5vw, 54px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); }
.whole .kicker { color: var(--caramel); }
.whole h2 { color: var(--head); }
.whole .lede { color: var(--muted); margin-top: 12px; }
.whole__contact { margin-top: 18px; font-size: 15px; color: var(--ink); }
.whole__contact a { color: var(--caramel-soft); font-weight: 600; text-decoration: none; }
.form { display: flex; flex-direction: column; gap: 11px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.form input, .form textarea { font-family: var(--sans); font-size: 15px; color: var(--ink); background: #1A1718; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none; }
.form input::placeholder, .form textarea::placeholder { color: #8C817A; }
.form input:focus, .form textarea:focus { border-color: var(--caramel); }
.form textarea { min-height: 110px; resize: vertical; }
.form__math { display: flex; align-items: center; gap: 12px; background: var(--band); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 15px; }
.form__math label { font-size: 13.5px; font-weight: 600; color: var(--ink); flex: 1; }
.form__math b { color: var(--caramel-soft); }
.form__math input { width: 70px; text-align: center; padding: 9px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-msg.err { color: #E8886F; }
.form-msg.ok { color: #8FD08A; }

/* footer */
.footer { background: #141212; color: var(--muted); padding: 46px 0 90px; text-align: center; font-size: 14px; border-top: 1px solid var(--line); }
.footer .brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel); margin: 4px 0 14px; }
.footer a { color: var(--caramel-soft); text-decoration: none; font-weight: 600; }
.footer .fine { margin-top: 16px; font-size: 12.5px; opacity: 0.8; }
.footer__addr { font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.footer__areas { max-width: 640px; margin: 14px auto 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* sticky mobile bar */
.abar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.abar .book, .abar .call { flex: 1; text-align: center; padding: 15px 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; font-family: var(--sans); cursor: pointer; }
.abar .book { background: var(--caramel); color: #1B1005; }
.abar .call { background: var(--card); color: var(--caramel-soft); }

/* enquiry drawer */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--band); z-index: 90; display: flex; flex-direction: column; box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.8); transform: translateX(105%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 22px; }
.drawer__x { border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; padding: 2px 8px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.drawer__empty { color: var(--muted); font-size: 14.5px; padding: 20px 0; line-height: 1.6; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.ci__img { width: 64px; height: 64px; border-radius: 12px; background: var(--media); display: grid; place-items: center; overflow: hidden; }
.ci__img img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.ci__img b { font-family: var(--serif); font-style: italic; font-size: 26px; color: #D1834A; }
.ci__name { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--head); }
.ci__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #1A1718; }
.qty button { border: 0; background: none; width: 26px; height: 26px; font-size: 15px; font-weight: 700; color: var(--caramel-soft); cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.ci__rm { border: 0; background: none; color: #C98A7A; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.drawer__note { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.drawer__checkout { width: 100%; }

/* toast */
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); background: #242021; color: var(--head); border: 1px solid var(--line); font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 999px; z-index: 95; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.7); }

/* responsive */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__grid, .story, .whole { grid-template-columns: 1fr; }
  .hero__stage { min-height: 300px; order: -1; }
  .story__inset { right: 2%; }
  .nav__links a:not(.btn) { display: none; }
  .filters { top: 64px; }
}
@media (max-width: 680px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__body h3 { font-size: 14.5px; }
  .card__desc { display: none; }
  .card__add { padding: 9px 12px; font-size: 13px; }
  .abar { display: flex; }
  .footer { padding-bottom: 110px; }
  .hero__ctas .btn { width: 100%; }
  .story__stats { gap: 22px; }
  .steps { grid-template-columns: 1fr; }
}

/* brand logo sizing */
.nav__logo img { height: 44px; width: auto; display: block; }
.footer__logo { height: 56px; width: auto; margin: 0 auto 6px; }
@media (max-width: 680px) {
  .nav__logo img { height: 36px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }
  .hero__stage { min-height: 250px; }
  .hero__disc { width: min(78%, 300px); }
  .hero__loaf { width: min(70%, 290px); }
  .footer__logo { height: 44px; }
}


/* ─────────────────────────── 2026 awards ─────────────────────────── */
.aw-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-bottom: 22px; }
.aw-feature__media { background: var(--media); height: 100%; }
.aw-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-feature__body { padding: 30px 32px 32px; }
.aw-feature__body h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.05rem); color: var(--head); margin: 12px 0 6px; line-height: 1.15; }

.aw-medal { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; color: #1B1005; }
.aw-medal--gold { background: linear-gradient(135deg, #F0C564, #D79A2B); }
.aw-medal--silver { background: linear-gradient(135deg, #DCE0E6, #AEB4BD); }
.aw-medal--bronze { background: linear-gradient(135deg, #DE9A5E, #B3702F); }

.aw-class { color: var(--caramel-soft); font-size: 13.5px; font-weight: 700; margin: 0 0 8px; }
.aw-comp { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.aw-comp span { opacity: 0.72; font-size: 12.5px; }

.aw-cert { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 16px 8px 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  color: var(--caramel-soft); font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  transition: border-color 0.2s, color 0.2s; }
.aw-cert:hover { border-color: var(--caramel); color: var(--caramel); }
.aw-cert img { width: 30px; height: 40px; object-fit: cover; border-radius: 5px; }
.aw-cert--block { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: var(--media); }
.aw-cert--block img { width: 100%; height: auto; aspect-ratio: 42 / 59; object-fit: cover; object-position: top center; border-radius: 0; transition: transform 0.4s; }
.aw-cert--block:hover img { transform: scale(1.04); }

.aw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aw-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.25s, border-color 0.25s; }
.aw-card:hover { transform: translateY(-4px); border-color: var(--caramel-deep); }
.aw-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.aw-card__body h3 { font-size: 17px; color: var(--head); margin: 6px 0 0; }
.aw-card__shot { background: var(--media); }
.aw-card__shot img { width: 100%; height: auto; aspect-ratio: 42 / 59; object-fit: cover; display: block; }
.aw-link { color: var(--caramel); font-weight: 700; font-size: 13.5px; text-decoration: none; margin-top: 6px; }
.aw-link:hover { text-decoration: underline; }

/* certificate lightbox */
.aw-lb { position: fixed; inset: 0; z-index: 120; background: rgba(8, 7, 7, 0.93);
  display: grid; place-items: center; padding: 28px; backdrop-filter: blur(3px); }
.aw-lb[hidden] { display: none; }
.aw-lb__fig { margin: 0; max-width: min(92vw, 640px); text-align: center; }
.aw-lb__fig img { max-width: 100%; max-height: 78vh; border-radius: 10px; display: block; margin: 0 auto;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.9); }
.aw-lb__fig figcaption { color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.aw-lb__close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(32, 29, 30, 0.9); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; }
.aw-lb__close:hover { border-color: var(--caramel); color: var(--caramel); }

@media (max-width: 1000px) {
  .aw-grid { grid-template-columns: repeat(2, 1fr); }
  .aw-feature { grid-template-columns: 1fr; }
  .aw-feature__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
  .aw-grid { grid-template-columns: 1fr; }
  .aw-feature__body { padding: 22px 20px 26px; }
}

/* ── product photo viewer (v11) ─────────────────────────────────────── */
.card__zoom { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; margin: 0; border: 0;
  background: none; cursor: zoom-in; }
.card__zoom:focus-visible { outline: 3px solid var(--caramel); outline-offset: -3px; }
.pv { position: fixed; inset: 0; z-index: 130; background: rgba(8, 7, 7, 0.92); display: grid; place-items: center;
  padding: 24px; overscroll-behavior: contain; animation: pvIn .2s ease-out; }
.pv[hidden] { display: none; }
@keyframes pvIn { from { opacity: 0; } to { opacity: 1; } }
.pv__box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); display: grid;
  grid-template-columns: 1.25fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pv__media { position: relative; background: var(--media); display: grid; place-items: center; min-height: 0; aspect-ratio: 1; }
.pv__media img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.pv__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(27, 25, 26, 0.82); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.pv__arrow:hover { background: var(--caramel); color: #1B191A; }
.pv__arrow[hidden] { display: none; }
.pv__arrow--prev { left: 12px; } .pv__arrow--next { right: 12px; }
.pv__body { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.pv__body h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0; color: var(--head); }
.pv__tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--caramel); color: #1B191A; }
.pv__tag[hidden] { display: none; }
.pv__desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.pv__desc:empty { display: none; }
.pv__add { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--caramel); color: #1B191A; font: inherit; font-weight: 700; cursor: pointer; }
.pv__add:hover { background: var(--caramel-deep); color: #fff; }
.pv__count { color: var(--muted); font-size: 12.5px; margin: 0; opacity: .8; }
.pv__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(27, 25, 26, 0.85); color: var(--head); font-size: 24px; line-height: 1; cursor: pointer; }
.pv__x:hover { border-color: var(--caramel); color: var(--caramel); }
@media (max-width: 760px) {
  .pv { padding: 0; place-items: end center; }
  .pv__box { grid-template-columns: 1fr; max-height: 100dvh; height: auto; border-radius: 20px 20px 0 0; overflow-y: auto; }
  .pv__media { aspect-ratio: auto; height: min(56vh, 100vw); }
  .pv__body { padding: 20px 18px 26px; overflow: visible; }
  .pv__add { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .pv { animation: none; } }

/* ── awards carousel (v11): certificates only, centre one in focus ─────
   Scroll-snap track centres each certificate; JS marks the centred one
   .is-on (full size + colour), neighbours shrink and go grey. */
.awc { padding: clamp(44px, 5vw, 70px) 0 clamp(36px, 4vw, 54px); border-top: 1px solid var(--line); overflow: hidden; }
.awc__head { text-align: center; max-width: 640px; margin: 0 auto 10px; }
.awc__head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 8px 0 6px; }
.awc__sub { color: var(--muted); font-size: 14px; margin: 0; }
.awc__stage { position: relative; }
.awc__track { list-style: none; margin: 0; padding: 26px calc(50% - 130px) 22px; display: flex; gap: 18px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.awc__track::-webkit-scrollbar { display: none; }
.awc__slide { flex: 0 0 260px; scroll-snap-align: center; }
.awc__cert { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--media); border-radius: 10px;
  overflow: hidden; cursor: pointer; transform: scale(.84); filter: grayscale(1) brightness(.62);
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s, box-shadow .45s; }
.awc__cert img { display: block; width: 100%; height: auto; aspect-ratio: 42 / 59; object-fit: cover; object-position: top; }
.awc__slide.is-on .awc__cert { transform: scale(1); filter: none; cursor: zoom-in;
  box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 2px var(--caramel); }
.awc__cert:hover { filter: grayscale(.4) brightness(.85); }
.awc__slide.is-on .awc__cert:hover { filter: none; }
.awc__cert:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; }
.awc__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(32, 29, 30, .9); color: var(--head); font-size: 30px; line-height: 1; cursor: pointer;
  transition: border-color .2s, color .2s; }
.awc__btn:hover { border-color: var(--caramel); color: var(--caramel); }
.awc__btn--prev { left: 0; } .awc__btn--next { right: 0; }
.awc__cap { text-align: center; margin: 4px auto 14px; min-height: 2.9em; color: var(--muted); font-size: 14px; line-height: 1.45; }
.awc__cap b { display: block; color: var(--head); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.awc__cap .aw-medal { font-size: 10.5px; padding: 3px 9px; margin-right: 8px; vertical-align: 2px; }
.awc__dots { display: flex; justify-content: center; gap: 8px; }
.awc__dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.awc__dot[aria-selected="true"] { background: var(--caramel); transform: scale(1.25); }
@media (max-width: 600px) {
  .awc__track { padding: 18px calc(50% - 31vw) 16px; gap: 10px; }
  .awc__slide { flex-basis: 62vw; }
  .awc__btn { width: 40px; height: 40px; font-size: 26px; }
  .awc__btn--prev { left: 4px; } .awc__btn--next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .awc__track { scroll-behavior: auto; } .awc__cert { transition: none; } }
