/* Pear Media: components. Every page is built from these; page files only add layout specifics. */

/* Buttons and links */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; color: var(--text);
  font-family: var(--sans); font-size: .93rem; font-weight: 600; letter-spacing: .01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--pear-deep); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--paper); border-color: var(--pear-deep); }
.tone-ink .btn--solid { background: var(--pear); border-color: var(--pear); color: var(--ink); }
.tone-ink .btn--solid::before { background: var(--paper); }
.tone-ink .btn--solid:hover, .tone-ink .btn--solid:focus-visible { color: var(--ink); border-color: var(--paper); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { position: relative; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link-arrow::after { content: ""; position: absolute; inset: -10px -4px; }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .5s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }
.link-arrow--in:hover .icon { transform: translateX(3px); }

/* Media frames */
.media { position: relative; overflow: hidden; background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--wide { aspect-ratio: 21 / 9; }
.media--zoom img { transition: transform 1.4s var(--ease); }
a:hover .media--zoom img, .media--zoom:hover img { transform: scale(1.035); }
.media__cap { position: absolute; left: 18px; bottom: 16px; right: 18px; color: var(--paper); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Home hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; padding-top: var(--head-h); overflow: hidden; }
.hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 96px); padding-block: clamp(40px, 6vw, 88px); }
.hero__title { margin: 22px 0 0; }
.hero__lede { margin: clamp(22px, 2.6vw, 34px) 0 0; max-width: 34ch; color: var(--text-2); font-size: var(--step-1); line-height: 1.55; }
.hero__actions { margin-top: clamp(28px, 3.4vw, 44px); }
.hero__visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta .icon { width: 1em; height: 1em; }

/* Arched window: a slow crossfade of the places where people are (home hero) */
.arch-window { position: relative; width: 100%; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 3px 3px; overflow: hidden; background: var(--ink-3); isolation: isolate; }
.arch-window::after { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(243, 240, 231, .38); border-radius: 999px 999px 2px 2px; pointer-events: none; }
.arch-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 7s linear; }
.arch-window img.is-on { opacity: 1; transform: scale(1); }
.arch-caption { margin-top: 22px; min-height: 1.6em; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--step-1); color: var(--text); }
.arch-caption span { display: inline-block; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.arch-caption span.is-out { opacity: 0; transform: translateY(6px); }
.reel-toggle { position: absolute; right: 26px; bottom: 26px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 240, 231, .5); background: rgba(19,21,15,.45); color: var(--paper); backdrop-filter: blur(6px); }
.reel-toggle .icon { width: 16px; height: 16px; }
.reel-toggle [data-when="paused"] { display: none; }
.reel-toggle[aria-pressed="true"] [data-when="playing"] { display: none; }
.reel-toggle[aria-pressed="true"] [data-when="paused"] { display: block; }

/* Inner page hero */
.page-hero { padding-top: calc(var(--head-h) + clamp(56px, 9vw, 140px)); padding-bottom: clamp(56px, 7vw, 110px); }
.page-hero__title { margin-top: 22px; max-width: 16ch; }
.page-hero__lede { margin-top: clamp(22px, 2.6vw, 36px); max-width: 44ch; }
.page-hero__meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: .9rem; color: var(--text-2); }
.page-band { position: relative; }
.page-band .media { aspect-ratio: auto; width: 100%; height: clamp(320px, 42vw, 640px); }

/* Statement */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; }
.statement__label { grid-column: 1 / span 3; padding-top: .9em; align-self: start; }
.statement__body { grid-column: 4 / span 9; }
.statement__body .t-2 + p, .statement__body .t-1 + p { margin-top: clamp(24px, 3vw, 40px); }
.statement__cols { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); color: var(--text-2); }

/* Split */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; row-gap: 40px; }
.split__media { grid-column: 1 / span 6; }
.split__copy { grid-column: 8 / span 5; }
.split--flip .split__media { grid-column: 7 / span 6; order: 2; }
.split--flip .split__copy { grid-column: 1 / span 5; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head__title { grid-column: 1 / span 8; margin-top: 18px; }
.sec-head__aside { grid-column: 9 / span 4; color: var(--text-2); }

/* Family: company cards */
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.company-card { position: relative; display: flex; flex-direction: column; }
.company-card__media { position: relative; }
.company-card__num { position: absolute; top: 14px; left: 16px; z-index: 2; color: var(--paper); font-size: .74rem; font-weight: 600; letter-spacing: .2em; }
.company-card__logo { position: absolute; right: 14px; bottom: 14px; z-index: 3; --size: 88px; }
.company-card__body { padding-top: 22px; display: flex; flex-direction: column; flex: 1; }
.company-card__kind { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.company-card__name { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.1; letter-spacing: -.015em; }
.company-card__name a { text-decoration: none; }
.company-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.company-card__line { margin-top: 12px; color: var(--text-2); max-width: 36ch; }
.company-card__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.company-card__sign { font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.company-card__visit { position: relative; z-index: 2; font-size: .86rem; }

/* More from the family */
.brand-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.brand-item { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.brand-item:nth-child(3n+2), .brand-item:nth-child(3n+3) { padding-left: 18px; border-left: 1px solid var(--line); }
.brand-item__logo { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand-item__logo img { max-width: 38px; max-height: 30px; width: auto; height: auto; }
.brand-item__logo span { font-family: var(--serif); font-size: 1.1rem; }
.brand-item__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.brand-item__name a { text-decoration: none; }
.brand-item__name a::after { content: ""; position: absolute; inset: 0; }
.brand-item__what { display: block; margin-top: 3px; font-size: .88rem; color: var(--text-2); line-height: 1.45; }
.brand-item__go { color: var(--text-2); transition: transform .5s var(--ease), color .3s; }
.brand-item:hover .brand-item__go { color: var(--text); transform: translate(2px, -2px); }
.brand-item__note { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
/* A brand with two destinations (Enterprise: the magazine and the experience) sits above the card's stretched link */
.brand-item__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 4px; }
.brand-item__links a { display: inline-block; padding: 6px 0 3px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.brand-item__links a:hover { color: var(--text); background-size: 0 1px; background-position: 100% 100%; }

/* Family tree */
.tree { position: relative; }
.tree svg { width: 100%; height: auto; overflow: visible; }
.tree .tree__path { fill: none; stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.tree .tree__path--live { stroke: var(--pear); stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.4s var(--ease); transition-delay: var(--d, 0s); }
.tree.is-in .tree__path--live { stroke-dashoffset: 0; }
.tree__labels { position: absolute; inset: 0; }
.tree__node { position: absolute; transform: translate(-50%, 0); text-align: center; width: 15%; }
.tree__node strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(.95rem, 1.35vw, 1.3rem); line-height: 1.15; }
.tree__node span { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: clamp(.8rem, 1vw, .98rem); color: var(--text-2); }
.tree__root { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; }

/* Moments list */
.moments { list-style: none; border-top: 1px solid var(--line); }
.moments__item { position: relative; display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: baseline; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); }
.moments__n { font-size: .78rem; font-weight: 600; letter-spacing: .18em; color: var(--text-2); }
.moments__line { font-family: var(--serif); font-weight: 300; font-size: var(--step-3); line-height: 1.05; letter-spacing: -.02em; transition: transform .6s var(--ease), color .4s; }
.moments__who { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-align: right; }
.moments__item:hover .moments__line { transform: translateX(14px); }
.moments__preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.9); transition: opacity .35s var(--ease), transform .5s var(--ease); overflow: hidden; border-radius: 2px; }
.moments__preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.moments__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.moments__preview img.is-on { opacity: 1; }
@media (hover: none), (max-width: 900px) { .moments__preview { display: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 28px) 8px 0; }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 1.5rem + 2.5vw, 4.1rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; white-space: nowrap; }
.stat__label { display: block; margin-top: 14px; font-size: .98rem; line-height: 1.45; }
.stat__source { display: block; margin-top: 6px; font-size: .84rem; letter-spacing: .02em; color: var(--text-2); font-weight: 600; }

/* Anthem */
.anthem { font-family: var(--serif); font-weight: 300; font-size: var(--step-2); line-height: 1.35; letter-spacing: -.01em; }
.anthem p { margin: 0 0 1.1em; }
.anthem__sign { font-style: italic; color: var(--accent); }

/* Facts list */
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); padding-top: .25em; }
.facts dd { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: end; }
.cta-band__title { grid-column: 1 / span 8; }
.cta-band__side { grid-column: 9 / span 4; display: grid; gap: 22px; }
.cta-band__side a.plain { text-decoration: none; font-family: var(--serif); font-size: var(--step-1); }
.cta-band__mark { position: absolute; right: -4vw; top: -6vw; width: 30vw; max-width: 460px; color: rgba(243,240,231,.04); transform: rotate(180deg); pointer-events: none; }

/* Icon feature list */
.features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 36px) clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.feature .icon { width: 34px; height: 34px; color: var(--accent); }
.feature h3 { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: var(--step-1); line-height: 1.2; }
.feature p { margin-top: 10px; color: var(--text-2); font-size: .98rem; }
.feature .feature__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; color: var(--text); }
.feature .link-arrow .icon { width: 1em; height: 1em; color: currentColor; }

/* Prose for policy pages */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 28px); font-size: .9rem; }
.toc ol { list-style: none; display: grid; gap: 8px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--text); text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.2; margin: 2.4em 0 .7em; scroll-margin-top: calc(var(--head-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; display: grid; gap: .45em; }
.prose a { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.updated { font-size: .85rem; color: var(--text-2); }

/* Forms */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(74, 90, 28, .18); }
.field__hint { font-size: .86rem; color: var(--text-2); }
.field__error { font-size: .86rem; color: #8E2A1C; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #8E2A1C; }
.field.has-error .field__error, .check.has-error .field__error { display: block; }
.check.has-error input { outline: 2px solid #8E2A1C; outline-offset: 2px; }
.check input { width: 24px; height: 24px; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form__status { font-size: .95rem; min-height: 1.5em; }

/* Responsive */
@media (max-width: 1100px) {
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-item:nth-child(3n+2), .brand-item:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .brand-item:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 96px; }
  .hero__visual { width: min(74vw, 360px); order: -1; margin-top: 12px; }
  .statement__label, .statement__body, .sec-head__title, .sec-head__aside, .cta-band__title, .cta-band__side { grid-column: 1 / -1; }
  .statement__cols { grid-template-columns: 1fr; }
  .split__media, .split__copy, .split--flip .split__media, .split--flip .split__copy { grid-column: 1 / -1; order: 0; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .moments__item { grid-template-columns: 1fr; gap: 6px; }
  .moments__who { text-align: left; }
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feature p { max-width: 60ch; }
}
@media (max-width: 640px) {
  .family-grid, .brand-list { grid-template-columns: 1fr; }
  .brand-item:nth-child(2n) { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Flip tiles: a logo that turns over to reveal a link to the company's own website */
.flip { position: relative; display: block; flex: none; width: var(--size, 84px); height: var(--size, 84px); border-radius: 50%; perspective: 800px; text-decoration: none; color: inherit; }
.flip__inner { position: absolute; inset: 0; border-radius: inherit; transform-style: preserve-3d; transition: transform .75s var(--ease); }
.flip:hover .flip__inner, .flip:focus-visible .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__front { background: var(--paper); box-shadow: 0 6px 22px rgba(0, 0, 0, .16); }
.flip__front img { max-width: 72%; max-height: 54%; width: auto; height: auto; object-fit: contain; }
.flip__back { transform: rotateY(180deg); gap: 3px; padding: 8px; background: var(--brand, var(--ink)); color: var(--brand-ink, var(--paper)); font-size: .62rem; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-align: center; text-transform: uppercase; }
.flip__back .icon { width: 18px; height: 18px; }
.flip__back small { font-size: .58rem; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .92; }
.flip--square { border-radius: 2px; }
.flip--square .flip__front { box-shadow: none; }
.flip:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .flip:hover .flip__inner, .flip:focus-visible .flip__inner { transform: none; }
  .flip__back { transform: none; opacity: 0; }
  .flip:hover .flip__back, .flip:focus-visible .flip__back { opacity: 1; }
}

/* Video inside cards, bands and the arched window */
.arch-window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.company-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.company-card.is-playing .company-card__media video { opacity: 1; }
.media video.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Work: films and pictures of the family's work */
.work-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 52px) clamp(16px, 2vw, 28px); }
.work-tile { position: relative; }
.work-tile__btn { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.work-tile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--ink-2); }
.work-tile__media img, .work-tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s var(--ease); }
.work-tile__media video { opacity: 0; }
.work-tile.is-previewing .work-tile__media video { opacity: 1; }
.work-tile__btn:hover .work-tile__media img { transform: scale(1.04); }
.work-tile__play { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(19, 21, 15, .74); color: var(--paper); font-size: .76rem; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(6px); }
.work-tile__play-dot { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pear); color: var(--ink); }
.work-tile__play-dot .icon { width: 13px; height: 13px; }
.work-tile__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; padding-top: 16px; }
.work-tile__n { font-size: .74rem; font-weight: 600; letter-spacing: .18em; color: var(--text-2); }
.work-tile__line { font-family: var(--serif); font-weight: 300; font-size: var(--step-2); line-height: 1.12; letter-spacing: -.015em; }
.work-tile__who { grid-column: 2; font-size: .84rem; color: var(--text-2); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }

/* Film lightbox */
.lightbox { width: min(92vw, 1180px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.lightbox::backdrop { background: rgba(10, 11, 8, .9); backdrop-filter: blur(4px); }
.lightbox__frame { aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame video { width: 100%; height: 100%; background: #000; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.lightbox__title { font-family: var(--serif); font-weight: 300; font-size: var(--step-1); }
.lightbox__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(243, 240, 231, .5); border-radius: 999px; background: transparent; color: var(--paper); font-weight: 600; }
.lightbox__close .icon { width: 16px; height: 16px; }

/* Flip tile placement and text fixes */
.company-card__media .company-card__logo { position: absolute; right: 14px; bottom: 14px; z-index: 3; }
.flip:not(.flip--square) .flip__back small { display: none; }
.flip:not(.flip--square) .flip__back { font-size: .66rem; }
.flip__type { font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; color: var(--ink); text-align: center; }
.flip--square .flip__type { font-size: clamp(1.1rem, 1.6vw, 1.45rem); }
