.viotto-history {
  color-scheme: light;
  padding: 40px 24px 48px;
  background: #faf8f3;
  color: #24211c;
}
.viotto-history__inner { display: grid; max-width: 1080px; margin-inline: auto; }
.viotto-history__heading { text-align: center; margin-bottom: 20px; }
.viotto-history__eyebrow { color: #8a672f; font-size: 10px; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; }
.viotto-history__heading h2 { margin: 12px 0 0; font: 400 clamp(44px, 12vw, 64px)/1.05 var(--sans); letter-spacing: -.045em; }
.viotto-history__portrait { position: relative; isolation: isolate; width: min(100%, 320px); margin: 0 auto 26px; }
.viotto-history__portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -10px;
  background-color: #f0eeea;
  background-image: url('assets/images/history/carrara-v1-400.webp');
  background-image: image-set(url('assets/images/history/carrara-v1-400.webp') 1x, url('assets/images/history/carrara-v1-800.webp') 2x);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #c6ad7c;
  box-shadow: 0 8px 24px -16px rgb(60 48 31 / 22%);
}
.viotto-history__portrait img { width: 100%; height: auto; }
.viotto-history__body { width: 100%; max-width: 560px; margin-inline: auto; }
.viotto-history__intro { margin: 0; color: #554e44; font: 400 16px/1.7 var(--sans); }
.viotto-history__lead { display: block; margin-bottom: 14px; color: #30271d; font: 400 clamp(23px, 6vw, 29px)/1.3 var(--sans); letter-spacing: -.025em; }
.viotto-history__details { margin-top: 24px; }
.viotto-history__details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid #ddd1bd; color: #6f5125; font-size: 15px; line-height: 1.4; list-style: none; cursor: pointer; transition: color 220ms ease, border-color 220ms ease; }
.viotto-history__details summary::-webkit-details-marker { display: none; }
.viotto-history__details summary:focus-visible { outline: 2px solid #80612e; outline-offset: 4px; }
.viotto-history__toggle { position: relative; flex: 0 0 24px; height: 24px; }
.viotto-history__toggle::before, .viotto-history__toggle::after { content: ""; position: absolute; top: 11px; left: 4px; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 320ms ease, opacity 320ms ease; }
.viotto-history__toggle::after { transform: rotate(90deg); }
.viotto-history__collapse-label, .viotto-history__details[open]:not([data-expanded="false"]) .viotto-history__expand-label { display: none; }
.viotto-history__details[open]:not([data-expanded="false"]) .viotto-history__collapse-label { display: inline; }
.viotto-history__details[open]:not([data-expanded="false"]) .viotto-history__toggle::after { transform: rotate(0); opacity: 0; }
.viotto-history__details .viotto-history__copy { display: flow-root; }
.viotto-history__details .viotto-history__copy p:first-child { padding-top: 22px; }
.viotto-history__details .viotto-history__copy p:last-child { padding-bottom: 4px; }
@media (hover: hover) {
  .viotto-history__details summary:hover { border-color: #98743b; color: #493316; }
  .viotto-history__details summary:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
}
.viotto-history__copy p { margin: 0; color: #554e44; font: 400 16px/1.7 var(--sans); }
.viotto-history__copy p + p { margin-top: 20px; }
.viotto-history__copy strong { color: #262119; font-weight: 600; }
.viotto-history__copy p:first-child { color: #383127; }
.viotto-history__cta { width: min(100%, 340px); margin-top: 32px; }
.viotto-history a:focus-visible { outline-color: #80612e; }
.viotto-history [data-history-reveal].is-entering { opacity: 0; transform: translateY(18px); }
.viotto-history [data-history-reveal] { transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.75,.2,1); }
@media (max-width: 359px) { .viotto-history { padding-inline: 20px; } }
@media (min-width: 768px) {
  .viotto-history { padding: 80px 40px; }
  .viotto-history__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .viotto-history__heading { grid-column: 2; grid-row: 1; text-align: left; margin-bottom: 30px; }
  .viotto-history__portrait { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 100%; max-width: 440px; margin: 0; }
  .viotto-history__body { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .viotto-history__details summary, .viotto-history__toggle::before, .viotto-history__toggle::after { transition: none; }
  .viotto-history [data-history-reveal] { transition: none; }
  .viotto-history [data-history-reveal].is-entering { opacity: 1; transform: none; }
}
