/* Patty Paulus · direction F, "Seen and Unseen"
   The ground is tinted by the painting's color group (see site.js families). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--deep);
  color: var(--light);
  --rule: color-mix(in srgb, var(--light) 25%, transparent);
  --tint: color-mix(in srgb, var(--light) 6%, transparent);
  --scrim: color-mix(in srgb, var(--deep) 65%, transparent);
  transition: background-color .7s ease, color .7s ease;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
p a, .prose a, .visit-line a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
em { font-style: italic; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--light); color: var(--deep); padding: 8px 14px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.label { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; font-weight: 500; text-transform: uppercase; }

/* Header: signature on a solid bar */
.bar {
  background: var(--bar);
  padding: 20px 48px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  border-bottom: 1px solid var(--rule);
  transition: background-color .7s ease;
}
.logo { display: block; }
.logo:hover { opacity: .85; }
.signature {
  display: block; height: 104px; aspect-ratio: 519 / 307;
  background: var(--light);
  -webkit-mask: url(/signature.png) no-repeat center / contain;
          mask: url(/signature.png) no-repeat center / contain;
  transition: background-color .7s ease;
}
.bar nav { display: flex; gap: 32px; flex-wrap: wrap; font-size: 16px; font-weight: 500; letter-spacing: .02em; }
.bar nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.bar nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu-btn { display: none; align-items: center; margin-left: auto; font: 500 15px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--light); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 11px 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn .menu-close-label, .menu-open .menu-btn .menu-open-label { display: none; }
.menu-open .menu-btn .menu-close-label { display: inline; }
.nav-tag { display: none; margin: auto 0 0; padding-top: 32px; font: 400 24px/1.2 "DM Serif Display", Georgia, serif; opacity: .9; }
.nav-tag em { color: var(--accent); }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Home hero */
.hero { position: relative; height: min(600px, 72vh); min-height: 360px; overflow: hidden; }
.hero-link { position: absolute; inset: 0; display: block; }
.hero-link:hover { opacity: 1; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim { position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to top, var(--scrim), transparent); }
.hero-cap { position: absolute; right: 48px; bottom: 32px; left: 48px; text-align: right; color: #fff; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hero-cap em { font-family: "DM Serif Display", Georgia, serif; font-size: 20px; }

/* Intro */
.intro { padding-top: 80px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
h1, h2, .fam-name, .work-cap em, .panel-title em { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.intro h1 { margin: 0; font-size: clamp(56px, 8vw, 112px); line-height: .98; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--accent); }
.intro-side { max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.intro p { margin: 0; font-size: 19px; line-height: 1.6; }
.intro .tagline { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }
.tagline em, .visit-line em, .prose h2 em, .foot-tag em { color: var(--accent); }
.credit { font-family: "DM Sans", system-ui, sans-serif; font-style: normal; font-size: 13px; opacity: .85; }
.contact-pic figcaption { font-size: 13px; }

/* Next exhibition band */
.show { padding-bottom: 64px; }
.show-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 0; margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.show-name { display: flex; flex-direction: column; gap: 6px; }
.show-name .label { margin: 0; }
.show-name h2 { margin: 0; font-size: 40px; line-height: 1.1; }
.show-when { display: flex; flex-direction: column; gap: 4px; font-size: 17px; text-align: right; }
.show .grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.show-note { margin: 14px 0 0; font-size: 15px; }

/* Color families */
.families { padding-bottom: 40px; }
.fam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.fam { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-height: 44px; border-radius: 2px; outline: 1px solid var(--rule); transition: transform .25s ease, background-color .3s ease; }
.fam:hover { transform: translateY(-3px); opacity: 1; }
.fam[aria-pressed="true"] { background: var(--tint); outline: 1px solid var(--light); }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 56px; }
.fam-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fam-name { font-size: 30px; font-style: italic; }
.fam-count { font-size: 13px; }

/* Grids of paintings */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 40px 28px; }
.work { display: flex; flex-direction: column; gap: 10px; cursor: zoom-in; }
.work:hover { opacity: 1; }
.work-frame { display: block; overflow: hidden; background: var(--tint); }
.work-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.work:hover .work-frame img { transform: scale(1.02); }
.work-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; align-items: baseline; }
.work-cap em { font-size: 19px; line-height: 1.25; }

/* Section heads on inner pages */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(48px, 6.5vw, 88px); line-height: 1; letter-spacing: -.01em; }
.page-head p { margin: 0 0 12px; max-width: 640px; font-size: 19px; }
.panels { padding-bottom: 96px; }
.panel { padding-top: 32px; scroll-margin-top: 24px; }
.panel + .panel { margin-top: 48px; }
.panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.panel-title em { font-size: 36px; color: var(--light); }
.panel-title span { font-family: "DM Sans", system-ui, sans-serif; font-size: 14px; }
.js .panels [data-panel][hidden] { display: none; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: 15px; }
.jump a { border-bottom: 1px solid var(--rule); }

/* Home: visit band */
.visit { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 40px; padding-bottom: 96px; }
.visit .label { margin-bottom: 8px; }
.visit-line { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: 28px; line-height: 1.3; max-width: 760px; }

.button { display: inline-block; padding: 14px 24px; background: var(--accent); color: var(--deep); font: 500 16px/1 "DM Sans", system-ui, sans-serif; border: 0; border-radius: 2px; cursor: pointer; text-decoration: none !important; }
.button:hover { opacity: .85; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding-bottom: 96px; }
.about-pics { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 24px; align-self: start; }
.about-pics img { width: 100%; height: auto; display: block; }
.about-pics figure { margin: 0; }
.about-pics figure img { width: 100%; height: auto; display: block; }
figcaption { font-size: 14px; margin-top: 8px; }
.prose { max-width: 680px; }
.prose p { margin: 0 0 18px; }
.prose .lede { font-family: "DM Serif Display", Georgia, serif; font-size: 28px; line-height: 1.3; }
.prose h2 { font-size: 30px; margin: 48px 0 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 10px; }
.exh { list-style: none; padding: 0; margin: 0; }
.exh li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.5; }
.exh .yr { font-weight: 500; color: var(--accent); }

/* Dow Art Gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-bottom: 96px; align-items: start; }
.gallery-pic .work-frame img { height: auto; }
.addr { font-style: normal; margin: 28px 0 8px; padding: 20px 24px; background: var(--tint); border-left: 2px solid var(--accent); line-height: 1.7; }

/* About hero (studio photo) */
.about-hero { height: min(560px, 62vh); }
.about-hero img { object-position: 30% 8%; }
.about-hero .hero-cap { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 20px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.contact-wrap .contact { order: 1; }
.contact-pic { order: 2; margin: 0; }
.contact-pic img { width: 100%; height: auto; display: block; }
.contact { max-width: 640px; display: flex; flex-direction: column; gap: 22px; padding-bottom: 96px; }
.contact label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.contact input, .contact select, .contact textarea {
  font: 400 18px/1.5 "DM Sans", system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  color: var(--light); background: var(--tint); border: 0; border-bottom: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px;
}
.contact select option { color: #111; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-bottom-color: var(--accent); background: color-mix(in srgb, var(--light) 10%, transparent); }
.contact .button { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { padding-top: 28px; padding-bottom: 52px; background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - 2 * var(--pad, 48px)) 1px no-repeat; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--deep) 96%, black); color: var(--light); }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lb-inner { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); padding: 56px 72px 24px; gap: 18px; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.lb-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.lb-cap em { font-family: "DM Serif Display", Georgia, serif; font-size: 26px; margin-right: 12px; }
.lb-ask { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.lightbox:focus { outline: none; }
.lb-btn { position: absolute; background: color-mix(in srgb, var(--deep) 55%, transparent); border: 0; color: var(--light); cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: var(--tint); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { font-size: 13px; letter-spacing: .1em; }

/* Small screens */
@media (max-width: 900px) {
  .about, .gallery { grid-template-columns: 1fr; gap: 40px; }
  .about-pics { flex-direction: row; align-items: flex-start; position: static; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-pic { order: 0; max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 22px; padding-right: 22px; --pad: 22px; }
  .bar { padding: 12px 22px; gap: 10px; flex-wrap: nowrap; }
  .signature { height: 56px; }
  .bar nav { gap: 6px 20px; font-size: 15px; }
  /* Phones: signature + Menu button; the menu opens full screen */
  .js .menu-btn { display: inline-flex; }
  .js .bar nav { display: none; }
  .js.menu-open .bar nav {
    display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px;
    position: fixed; inset: 81px 0 0 0; z-index: 30; padding: 28px 22px 40px;
    background: var(--bar); overflow-y: auto; animation: navIn .25s ease;
  }
  .js.menu-open .bar nav a { font: 400 40px/1.2 "DM Serif Display", Georgia, serif; letter-spacing: 0; padding: 6px 0; border: 0; }
  .js.menu-open .bar nav a[aria-current="page"] { color: var(--accent); font-style: italic; }
  .js.menu-open .nav-tag { display: block; }
  .js.menu-open, .js.menu-open body { overflow: hidden; }
  .hero-cap { right: 22px; left: 22px; bottom: 20px; }
  .intro { padding-top: 48px; padding-bottom: 40px; gap: 20px; }
  .page-head { padding-top: 44px; }
  .show-when { text-align: left; }
  .show-name h2 { font-size: 32px; }
  .visit-line, .prose .lede { font-size: 23px; }
  .lb-inner { padding: 60px 12px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-cap { padding: 0 8px 56px; }
}
@media (max-width: 720px) {
  .cap-medium { display: none; }
  .about-pics { display: none; }
  .about { gap: 0; }
}
@media (max-width: 560px) {
  /* two columns of paintings on phones; tap one to see it large */
  .panels .grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .panels .work-cap { flex-direction: column; gap: 0; font-size: 12px; }
  .panels .work-cap em { font-size: 16px; }
  /* color picker as a compact 2x2 */
  .fam-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fam { padding: 10px; gap: 8px; }
  .swatches { height: 30px; }
  .fam-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .fam-name { font-size: 24px; }
  .fam-count { font-size: 12px; }
  .panel-title em { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- /for-don/ ---------- */
.don-hero { padding-top: 72px; padding-bottom: 48px; }
.don-hero h1 { margin: 0 0 18px; font-size: clamp(56px, 9vw, 120px); line-height: .98; letter-spacing: -.01em; }
.don-lede { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; max-width: 760px; margin: 0 0 28px; }
.don-section { padding-top: 40px; padding-bottom: 40px; }
.don-section > h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 0 0 16px; padding-top: 28px; border-top: 1px solid var(--rule); }
.don-section > p { max-width: 680px; font-size: 18px; }

.demo { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.demo-phone { border: 1px solid var(--rule); border-radius: 28px; overflow: hidden; background: var(--deep); box-shadow: 0 20px 50px rgba(0,0,0,.35); transition: background-color .7s ease; }
.demo-bar { background: var(--bar); padding: 14px 18px; border-bottom: 1px solid var(--rule); transition: background-color .7s ease; }
.demo-sig { display: block; height: 40px; aspect-ratio: 519 / 307; background: var(--light);
  -webkit-mask: url(/signature.png) no-repeat left center / contain; mask: url(/signature.png) no-repeat left center / contain; }
.demo-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .25s ease; }
.demo.swap .demo-img { opacity: 0; }
.demo-text { padding: 16px 18px 22px; }
.demo-h { margin: 0 0 6px; font-family: "DM Serif Display", Georgia, serif; font-size: 34px; line-height: 1.05; }
.demo-h em, .demo-cap em { color: var(--accent); }
.demo-cap { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: 16px; }
.demo-chat { display: flex; flex-direction: column; gap: 18px; }
.demo-log { display: flex; flex-direction: column; gap: 10px; min-height: 200px; justify-content: flex-end; }
.msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.msg .who { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.msg-me { align-self: flex-end; background: var(--accent); color: var(--deep); border-bottom-right-radius: 6px; }
.msg-claude { align-self: flex-start; background: var(--tint); border: 1px solid var(--rule); border-bottom-left-radius: 6px; }
.msg-claude em { color: var(--accent); }
.dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--light); opacity: .4; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-chips button { font: 500 15px/1.2 "DM Sans", system-ui, sans-serif; color: var(--light); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 11px 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.demo-chips button:hover, .demo-chips button:focus-visible { border-color: var(--accent); color: var(--accent); }

.steps { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 44px 64px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 400 20px/1 "DM Serif Display", Georgia, serif; }
.steps > li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 8px; width: 1px; background: var(--rule); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 0 0 8px; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; }
.steps p { margin: 0 0 14px; max-width: 640px; }
.dirs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dir { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 2px; font-size: 14px; opacity: .7; }
.dir b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 18px; }
.dir-pick { opacity: 1; border-color: var(--accent); background: var(--tint); }
.dir-pick i { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; margin: 10px 0 18px; max-width: 760px; }
.ba figure { margin: 0; }
.ba img { width: 100%; height: auto; display: block; }
.ba figcaption { font-size: 13px; margin-top: 6px; }
.ba-arrow { font-size: 28px; color: var(--accent); }
.ba-note { font-size: 15px; }
.five { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.five img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.five img:first-child { grid-column: 1 / -1; }
.five figcaption { grid-column: 1 / -1; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.stats span { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--tint); border: 1px solid var(--rule); font-size: 14px; line-height: 1.35; }
.stats b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1; color: var(--accent); }
.notes { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.don-close { padding-top: 32px; padding-bottom: 96px; text-align: left; }
.don-close .don-lede { border-top: 1px solid var(--rule); padding-top: 36px; }
.don-sig { display: block; height: 90px; aspect-ratio: 519 / 307; background: var(--accent); margin: 0 0 28px;
  -webkit-mask: url(/signature.png) no-repeat left center / contain; mask: url(/signature.png) no-repeat left center / contain; }
.don-credit { font-size: 14px; opacity: .8; margin-top: 28px; }
@media (max-width: 720px) {
  .don-hero { padding-top: 44px; }
  .demo { grid-template-columns: 1fr; gap: 24px; }
  .demo-phone { max-width: 320px; }
  .demo-log { min-height: 0; }
  .steps > li { padding-left: 52px; }
  .ba { grid-template-columns: 1fr; gap: 8px; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .demo-phone { max-width: 250px; }
  .demo-h { font-size: 28px; }
  .demo-chips { order: -1; }
}

/* Contact: email buttons */
.mail-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.mail-btn { display: inline-block; padding: 14px 20px; border: 1px solid var(--rule); border-radius: 2px; font-size: 17px; background: var(--tint); }
.mail-btn:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }
.mail-btn:first-child { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.mail-btn:first-child:hover { color: var(--deep); opacity: .85; }
.mail-direct { padding-top: 24px; border-top: 1px solid var(--rule); }
.mail-direct .label { margin-bottom: 8px; }
.mail-addr { margin: 0 0 6px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(22px, 2.6vw, 30px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; word-break: break-all; }
.copy { font: 500 14px/1 "DM Sans", system-ui, sans-serif; color: var(--light); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.mail-alt { margin: 0; font-size: 15px; }
.mail-alt a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }

/* Videos */
.videos { display: grid; gap: 64px; padding-bottom: 96px; }
.video { max-width: 960px; }
.video h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 18px 0 6px; font-size: 34px; }
.video h2 em { color: var(--light); }
.video h2 span { font: 400 15px "DM Sans", system-ui, sans-serif; }
.video p { margin: 0; max-width: 680px; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt-link, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt-link:hover { opacity: 1; }
.yt-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.yt-link:hover img { transform: scale(1.02); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: color-mix(in srgb, var(--deep) 70%, transparent); border: 1px solid color-mix(in srgb, var(--light) 50%, transparent); display: grid; place-items: center; transition: transform .2s ease; }
.yt-play svg { width: 34px; height: 34px; fill: var(--light); margin-left: 4px; }
.yt-link:hover .yt-play { transform: scale(1.06); }
@media (max-width: 720px) { .yt-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video h2 { font-size: 26px; } }
