/* One presentation language for expertise, products and the homepage. */
.presentation {
  --presentation-ink: #263f33;
  --presentation-paper: #fffcf5;
  margin: 64px auto;
  width: min(1280px, calc(100% - 64px));
  color: var(--presentation-ink);
  scroll-margin-top: 115px;
}
.presentation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px;
  background: #e6eadf;
  border-radius: 16px;
}
.presentation [hidden] { display: none !important; }
.presentation-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 20px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #49614f;
  text-align: left;
  font: 600 13px/1.4 'Open Sans', sans-serif;
  cursor: pointer;
}
.presentation-tabs button > span:last-child { margin-left: auto; font-size: 18px; }
.presentation-step { font-size: 10px; font-weight: 400; opacity: .65; }
.presentation-tabs button[aria-selected="true"] {
  background: #263f33;
  color: #fff9e9;
  box-shadow: 0 4px 10px #263f3320;
}
.presentation-tabs button[aria-selected="true"] .presentation-step { color: #f2dc78; opacity: 1; }
.presentation :is(button, a, section):focus-visible { outline: 3px solid #a47a21; outline-offset: 4px; }
.presentation .presentation-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: 560px;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid #e1e4d8;
  border-radius: 28px;
  background: var(--presentation-paper);
  color: var(--presentation-ink);
  isolation: auto;
}
.presentation .presentation-copy { max-width: 560px; }
.presentation .presentation-panel:not(:has(.presentation-visual)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 440px;
}
.presentation .presentation-panel:not(:has(.presentation-visual)) .presentation-copy {
  width: min(100%, 700px);
  max-width: none;
  margin-inline: auto;
}
.presentation .presentation-copy h2 {
  margin: 0 0 24px;
  font: 600 clamp(30px, 3.4vw, 48px)/1.12 'Open Sans', sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.presentation .presentation-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; margin-bottom: 24px; }
.presentation .eyebrow { color: #536747; font-size: 10px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; margin: 0 0 20px; }
.presentation-visual {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 410px;
  padding: 24px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 15% 100%, #f2dc7890, transparent 65%), #dce5d5;
}
.presentation-panel:nth-of-type(2) .presentation-visual { background: radial-gradient(ellipse at 100% 0%, #ccd7e7, transparent 80%), #d5e5df; }
.presentation-panel:nth-of-type(3) .presentation-visual { background: radial-gradient(ellipse at 0% 100%, #d4d9bc, transparent 70%), #f1e2bd; }
.presentation-photo { margin: 0; min-width: 0; }
.presentation-photo img { display: block; width: 100%; max-height: 390px; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 35px #203b2d26; }
.presentation-photo figcaption { margin-top: 14px; color: #4d6054; font-size: 10px; line-height: 1.5; }
.presentation .mag-photo img { height: 340px; border-radius: 12px; }
.presentation .mag-photo figcaption,
.presentation .mag-product-visual .product-proof figcaption { color: #4d6054; }
.presentation .mag-product-visual .office-scene { height: 340px; min-height: 340px; }
.presentation .presentation-next {
  padding: 40px 30px;
  border: 1px solid #e5e7dc;
  border-radius: 16px;
  background: #fffcf5;
  box-shadow: 0 16px 36px #574b2420;
}
.presentation-next > img { width: 34px; height: 46px; margin-bottom: 40px; }
.presentation-next > span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.presentation-next > strong { display: block; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.04em; font-weight: 600; margin-bottom: 25px; }
.presentation-next a { font-size: 12px; text-underline-offset: 5px; }
.presentation-worksheet { padding: 32px; border-radius: 16px; background: #fffcf5; box-shadow: 0 18px 35px #203b2d26; }
.presentation-worksheet h3 { font-size: 27px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; margin: 18px 0 28px; }
.presentation-worksheet dl { margin: 0; }
.presentation-worksheet dl > div { padding: 18px 0; border-top: 1px solid #d9dfd2; }
.presentation-worksheet dt { font-size: 14px; font-weight: 700; }
.presentation-worksheet dd { font-size: 12px; line-height: 1.6; margin: 6px 0 0; color: #536747; }
.presentation-worksheet-note { display: block; margin-top: 24px; font-size: 10px; color: #536747; }

/* Bright openings put the subject and its visual side by side. */
.magazine-page { background: #f5f3eb; }
.magazine-page .mag-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 5vw;
  min-height: 660px;
  padding: 160px 6vw 64px;
  background: #f5f3eb;
  color: #263f33;
}
.magazine-page .mag-hero::after { display: none; }
.magazine-page .mag-hero:not(:has(.mag-cover)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 460px;
}
.magazine-page .mag-hero:not(:has(.mag-cover)) .mag-hero-content {
  width: min(100%, 850px);
  margin-inline: auto;
}
.magazine-page .mag-cover {
  position: static;
  grid-column: 2;
  grid-row: 1;
  z-index: auto;
  aspect-ratio: 6 / 5;
  height: auto;
  max-height: 480px;
  border-radius: 28px 28px 72px 28px;
  box-shadow: 14px 14px 0 #dee5d4;
}
.magazine-page .mag-cover[src$="/refinel-bridge.jpg"] { object-position: center 22%; }
.magazine-page .mag-hero-content { grid-column: 1; grid-row: 1; }
.magazine-page .mag-hero h1 { font-size: clamp(36px, 4vw, 62px); font-weight: 600; }
.magazine-page .mag-hero .eyebrow { color: #617341; margin-bottom: 18px; }
.magazine-page .mag-breadcrumb { margin-bottom: 28px; }
.magazine-page .mag-lead { font-size: 16px; line-height: 1.8; }
.magazine-page .mag-image-credit { color: #53604d; bottom: 24px; right: 6vw; }
.magazine-page .mag-invitation { margin: 60px 32px 24px; border-radius: 28px; background: #e5ebdc; }
.magazine-page .mag-related { background: transparent; }

/* The existing live demonstrations share the same stage and reading rhythm. */
.decision-story { background: #f5f3eb; }
.decision-story .about--landscape { width: calc(100% - 64px); margin: 48px 32px; border-radius: 28px; overflow: hidden; }
.decision-story .products { background: #f5f3eb; padding: 90px max(32px, 6vw); }
.decision-story .product-showcase .product {
  border: 1px solid #e1e4d8;
  border-radius: 28px;
  padding: 32px;
  background: #fffcf5;
  overflow: hidden;
}
.decision-story .product-showcase .product-copy { padding: 28px 8px 8px; }
.decision-story .product-showcase .stage { border-radius: 18px; }
.decision-story .showcase-tabs { border-radius: 16px; background: #e6eadf; padding: 6px; gap: 6px; }
.decision-story .showcase-tab { border: 0; border-radius: 11px; padding: 16px; }
.decision-story .showcase-tab[aria-selected="true"] { background: #263f33; color: #fff9e9; }
.decision-story .showcase-tab[aria-selected="true"] small { color: #e0e8d8; }
.decision-story .story-process { width: calc(100% - 64px); margin: 48px 32px; border-radius: 28px; }
.decision-story .meeting-section { margin: 24px 32px; width: calc(100% - 64px); border-radius: 28px; background: #e5ebdc; border-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .presentation-panel:not([hidden]) .presentation-visual { animation: presentation-arrive .4s ease both; }
  @keyframes presentation-arrive { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 760px) {
  .presentation { width: calc(100% - 28px); margin: 32px auto; scroll-margin-top: 90px; }
  .presentation-tabs { gap: 3px; padding: 4px; border-radius: 12px; }
  .presentation-tabs button { padding: 10px 8px; gap: 5px; font-size: 11px; min-height: 58px; }
  .presentation-tabs button > span { display: none; }
  .presentation .presentation-panel { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 20px; border-radius: 20px; min-height: 0; }
  .presentation .presentation-panel:not(:has(.presentation-visual)) { min-height: 0; }
  .presentation .presentation-copy h2 { font-size: 31px; }
  .presentation .presentation-copy > p:not(.eyebrow) { font-size: 14px; }
  .presentation-visual { min-height: 260px; padding: 16px; border-radius: 16px; }
  .presentation-photo img { max-height: 300px; }
  .presentation-next { padding: 25px; }
  .presentation-next > img { margin-bottom: 24px; }
  .magazine-page .mag-hero { grid-template-columns: 1fr; min-height: 0; padding: 120px 24px 60px; gap: 24px; }
  .magazine-page .mag-hero:not(:has(.mag-cover)) { min-height: 0; }
  .magazine-page .mag-hero-content { grid-column: 1; grid-row: 1; }
  .magazine-page .mag-cover { grid-column: 1; grid-row: 2; max-height: 320px; }
  .magazine-page .mag-hero h1 { font-size: 38px; }
  .magazine-page .mag-image-credit { right: 24px; bottom: 16px; }
  .magazine-page .mag-invitation { margin: 24px 14px; border-radius: 20px; }
  .decision-story .products { padding: 50px 14px; }
  .decision-story .product-showcase .product { padding: 16px; border-radius: 20px; }
  .decision-story .story-process, .decision-story .meeting-section, .decision-story .about--landscape { width: calc(100% - 28px); margin: 24px 14px; border-radius: 20px; }
}
