/* ==========================================================================
   16-case-extras.css | PAGE STYLES: indonesian-restaurant-website.html, bakery-website.html
   Loads after 05-case-study.css. Colour themes + FAQ list + numbered goal cards.
   ========================================================================== */
.theme-satay { --sea: #f0b64a; --sea-soft: rgba(240,182,74,.14); --deep-1: #0d1a10; --deep-2: #1d4a2a; --deep-3: #c9892b; }
:root[data-theme="light"] .theme-satay { --sea: #9a5f0a; --sea-soft: rgba(154,95,10,.10); }
.theme-satay .hero-bg img { opacity: .55; mix-blend-mode: normal; }
.theme-satay .hero-tint { background: linear-gradient(180deg, rgba(8,20,11,.74) 0%, rgba(18,52,30,.5) 45%, rgba(8,20,11,.92) 100%); }
.theme-satay .band-shade { background: linear-gradient(90deg, rgba(8,20,11,.86) 0%, rgba(8,20,11,.52) 55%, rgba(8,20,11,.2) 100%); }
.theme-bakery { --sea: #f08a7a; --sea-soft: rgba(240,138,122,.14); --deep-1: #1a0e0b; --deep-2: #4a2619; --deep-3: #c4574a; }
:root[data-theme="light"] .theme-bakery { --sea: #b3382a; --sea-soft: rgba(179,56,42,.10); }
.theme-bakery .hero-bg img { opacity: .5; mix-blend-mode: normal; }
.theme-bakery .hero-tint { background: linear-gradient(180deg, rgba(24,12,9,.74) 0%, rgba(74,38,25,.5) 45%, rgba(24,12,9,.92) 100%); }
.theme-bakery .band-shade { background: linear-gradient(90deg, rgba(24,12,9,.86) 0%, rgba(24,12,9,.52) 55%, rgba(24,12,9,.2) 100%); }
.theme-satay .gallery, .theme-bakery .gallery { grid-auto-rows: clamp(140px, 15vw, 230px); }
.theme-satay .shot img, .theme-bakery .shot img { object-fit: cover; }
.goal-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sea-soft); color: var(--sea); font: var(--fw-strong) 16px/1 var(--font-body); margin-bottom: 16px; }
.goal-t { margin: 0; font: var(--fw-heading) clamp(17px, 1.4vw, 20px)/1.4 var(--font-head); color: var(--text); }
.faqs { display: grid; gap: 16px; margin-top: 24px; }
.faq { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: var(--fw-heading) clamp(17px, 1.4vw, 20px)/1.35 var(--font-head); color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: var(--fw-strong) 20px/1 var(--font-body); transition: transform 250ms ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.faq p { margin: 0; padding: 0 0 24px; color: var(--text-soft); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.theme-escape { --sea: #5cb946; --sea-soft: rgba(92,185,70,.15); --deep-1: #050806; --deep-2: #14381a; --deep-3: #3f8f33; }
:root[data-theme="light"] .theme-escape { --sea: #2f7a24; --sea-soft: rgba(47,122,36,.10); }
.theme-escape .hero-bg img { opacity: .5; mix-blend-mode: normal; }
.theme-escape .hero-tint { background: linear-gradient(180deg, rgba(3,8,5,.78) 0%, rgba(10,50,24,.5) 45%, rgba(3,8,5,.93) 100%); }
.theme-escape .band-shade { background: linear-gradient(90deg, rgba(3,8,5,.88) 0%, rgba(3,8,5,.55) 55%, rgba(3,8,5,.2) 100%); }
.theme-escape .gallery { grid-auto-rows: clamp(140px, 15vw, 230px); }
.theme-escape .shot img { object-fit: cover; }
.live-link { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-strong); color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.theme-barbersite { --sea: #d2a679; --sea-soft: rgba(210,166,121,.14); --deep-1: #1a120c; --deep-2: #4a3322; --deep-3: #a77a4f; }
:root[data-theme="light"] .theme-barbersite { --sea: #8a5a2b; --sea-soft: rgba(138,90,43,.10); }
.theme-barbersite .hero-bg img { opacity: .5; mix-blend-mode: normal; }
.theme-barbersite .hero-tint { background: linear-gradient(180deg, rgba(22,15,10,.76) 0%, rgba(74,51,34,.5) 45%, rgba(22,15,10,.92) 100%); }
.theme-barbersite .band-shade { background: linear-gradient(90deg, rgba(22,15,10,.86) 0%, rgba(22,15,10,.52) 55%, rgba(22,15,10,.2) 100%); }
.theme-barbersite .gallery { grid-auto-rows: clamp(140px, 15vw, 230px); }
.theme-barbersite .shot img { object-fit: cover; }

/* comparison table (Then and now) */
.cmp-wrap { overflow-x: auto; padding: 8px 24px; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--surface-border); color: var(--text-soft); }
.cmp thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); }
.cmp tbody th { width: 17%; color: var(--text); font-weight: var(--fw-label); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

/* paragraph spacing in the summary column */
.ds-sec .two > div > p + p { margin-top: 16px; }

/* ===== Annual report: page-by-page book viewer (annual-report-design.html) ===== */
.ar-intro { max-width: 62ch; margin: 0 0 22px; color: var(--text-soft); }
.ar-book { --ar-h: clamp(260px, 52vw, 640px); }
.ar-stage { position: relative; border-radius: calc(var(--radius) + 6px); padding: clamp(18px, 3.2vw, 44px) 0 clamp(10px, 2vw, 22px); overflow: hidden;
  background: radial-gradient(70% 90% at 50% 40%, rgba(53,201,220,.16), transparent 70%), radial-gradient(60% 70% at 50% 110%, rgba(57,181,74,.14), transparent 70%), linear-gradient(160deg, var(--deep-1), #061b2a 60%, var(--deep-1));
  border: 1px solid var(--surface-border); }
:root[data-theme="light"] .ar-stage { background: radial-gradient(70% 90% at 50% 40%, rgba(10,127,146,.12), transparent 70%), radial-gradient(60% 70% at 50% 110%, rgba(57,181,74,.12), transparent 70%), linear-gradient(160deg, #e9eef1, #dfe7ec); }
.ar-track { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.ar-track::-webkit-scrollbar { display: none; }
.ar-track:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); border-radius: var(--radius); }
.ar-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 clamp(52px, 7vw, 96px); }
.ar-sheet.shot-btn { position: relative; width: auto; height: auto; max-width: 100%; border: 0; border-radius: 4px; background: #fff; overflow: visible;
  box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 24px 60px -12px rgba(0,0,0,.65); transform: perspective(1800px) rotateX(3deg) scale(.94); opacity: .55;
  transition: transform 700ms cubic-bezier(.22,1,.36,1), opacity 500ms ease, box-shadow 500ms ease; }
.ar-sheet.shot-btn img { height: var(--ar-h); width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; transform: none !important; }
.ar-slide.is-on .ar-sheet { transform: perspective(1800px) rotateX(0) scale(1); opacity: 1; }
.ar-slide.is-on .ar-sheet:hover { transform: perspective(1800px) rotateX(0) scale(1.012); box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 34px 80px -14px rgba(0,0,0,.7); }
/* centre fold shading on two-page spreads */
.ar-slide:not(.ar-single) .ar-sheet::after { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none;
  background: linear-gradient(90deg, transparent 44%, rgba(0,0,0,.10) 48.6%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.08) 51.6%, rgba(255,255,255,.10) 53%, transparent 58%); }
.ar-single .ar-sheet::after { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 6%); }
.ar-cap { margin: 0; font-weight: var(--fw-label); color: #fff; letter-spacing: .02em; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity 500ms ease 150ms, transform 500ms ease 150ms; }
:root[data-theme="light"] .ar-cap { color: #102a3a; }
.ar-cap span { color: var(--sea); font-weight: var(--fw-strong); }
.ar-slide.is-on .ar-cap { opacity: 1; transform: none; }
.ar-nav { position: absolute; top: calc(50% - 26px); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 2;
  background: var(--glass-bg); border: 1px solid var(--glass-border); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--glass-shadow); transition: transform 200ms ease, background 200ms ease, opacity 200ms ease; }
:root[data-theme="light"] .ar-nav { color: #102a3a; }
.ar-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ar-nav:hover { transform: scale(1.08); background: var(--accent); border-color: var(--accent); color: #fff; }
.ar-nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ar-nav[disabled] { opacity: .3; pointer-events: none; }
.ar-prev { left: clamp(8px, 1.6vw, 22px); } .ar-next { right: clamp(8px, 1.6vw, 22px); }
.ar-bar { display: flex; align-items: center; gap: 16px; margin: 18px 2px 14px; }
.ar-count { font-weight: var(--fw-label); color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ar-count b { color: var(--text); font-size: 1.15em; }
.ar-progress { flex: 1; height: 4px; border-radius: 99px; background: var(--chip-border); overflow: hidden; }
.ar-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sea), #39b54a); transition: width 500ms cubic-bezier(.22,1,.36,1); }
.ar-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.ar-thumb { flex: 0 0 auto; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; opacity: .55; transition: opacity 200ms ease, border-color 200ms ease, transform 200ms ease; }
.ar-thumb img { height: 100%; width: auto; display: block; }
.ar-thumb:hover { opacity: .9; transform: translateY(-2px); }
.ar-thumb.is-on { opacity: 1; border-color: var(--accent); }
.ar-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .ar-slide { padding: 0 14px; }
  .ar-nav { top: auto; bottom: -6px; width: 40px; height: 40px; }
  .ar-stage { padding-bottom: 54px; }
  .ar-book { --ar-h: auto; }
  .ar-sheet.shot-btn img { height: auto; width: 100%; max-height: 62vh; }
  .ar-single .ar-sheet.shot-btn img { width: auto; max-width: 70vw; }
}
@media (min-width: 2560px) { .ar-book { --ar-h: clamp(640px, 36vw, 1100px); } .ar-thumb { height: 110px; } }
@media (prefers-reduced-motion: reduce) {
  .ar-track { scroll-behavior: auto; }
  .ar-sheet.shot-btn, .ar-cap, .ar-progress i { transition: none; }
}

/* ---------- Contained shots: wireframes, logos and flat artwork shown whole ---------- */
.shot.fit .shot-btn { background: #fff; }
.shot.fit .shot-btn img { object-fit: contain; padding: 4%; }
.shot.fit .shot-btn:hover img { transform: scale(1.03); }
.subhead + .lead { margin: 0 0 8px; max-width: 62ch; }
