:root {
  color-scheme: light;
  --background: #cacac8;
  --ink: #191919;
  --muted: #646462;
  --orange: #e74b24;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, video:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
[hidden] { display: none !important; }

.site-header {
  position: fixed;
  z-index: 6000;
  inset: 0 0 auto;
  height: 100px;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.brand { display: block; width: 102px; height: 68px; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.information-links { display: flex; align-items: center; gap: 28px; }
.information-link, .contact-link { border: 0; background: transparent; padding: 8px 0; text-decoration: none; cursor: pointer; }
.information-link:hover, .contact-link:hover { color: var(--orange); }

.gallery-main { position: fixed; inset: 0; overflow: hidden; }
.gallery-stage { position: absolute; inset: 90px 0 86px; overflow: hidden; touch-action: none; }
.gallery-stage:not(.is-grid) { inset: 48px 0 0; }
.gallery-stage.is-grid { overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; scrollbar-width: thin; }
.grid-spacer { position: absolute; top: 0; left: 0; width: 1px; pointer-events: none; }
.gallery-status, .gallery-error {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}
.gallery-error button, .viewer-close {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 7px 0;
  cursor: pointer;
}
.gallery-error button:hover, .viewer-close:hover { color: var(--orange); }

.site-footer {
  position: fixed;
  z-index: 6000;
  inset: auto 0 0;
  min-height: 86px;
  padding: 20px 48px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.site-footer > * { pointer-events: auto; }
.gallery-controls { display: flex; align-items: flex-end; gap: 18px; }
.shape-control { position: relative; }
.shape-toggle {
  min-width: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  padding: 12px 0 0;
  font: 14px Consolas, monospace;
  cursor: pointer;
}
.shape-menu {
  position: absolute;
  inset: auto auto calc(100% + 12px) 0;
  width: 152px;
  padding: 6px;
  background: var(--background);
}
.shape-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  font: 13px Consolas, monospace;
  text-align: left;
  cursor: pointer;
}
.shape-menu button:hover, .shape-menu button:focus-visible { background: #bebebb; }
.shape-menu button[aria-checked="true"] { color: var(--orange); }
.filters { display: flex; align-items: center; gap: 28px; }
.filters button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
}
.information-link, .contact-link, .filters button { font: 14px Consolas, monospace; }
.filters button[aria-pressed="true"] { color: var(--orange); }
.filters button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  height: 1px;
  inset: auto 0 1px;
  background: var(--orange);
}
.filters button:disabled { cursor: wait; opacity: 0.55; }

.tile {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.tile:hover, .tile:focus-within { z-index: 5000 !important; opacity: 1 !important; }
.tile-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #b9b9b6;
  cursor: pointer;
  overflow: hidden;
}
.gallery-stage:not(.is-grid) .tile-media { border: 1px solid rgba(255, 255, 255, 0.48); }
.tile-media img, .tile-media video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tile-media video[hidden] { display: none; }
.tile-media video { position: absolute; inset: 0; }
.tracking-frame {
  --frame-accent: var(--orange);
  --frame-foreground: #191919;
  position: absolute;
  z-index: 5500;
  top: 0;
  left: 0;
  border: 1px solid var(--frame-accent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, width, height;
}
.tracking-label, .tracking-categories, .tracking-view, .tracking-aggregate-row > span {
  color: var(--frame-foreground);
  background: var(--frame-accent);
  font-family: Consolas, monospace;
  white-space: nowrap;
  padding: 3px 6px;
  line-height: 1.2;
}
.tracking-label, .tracking-categories, .tracking-view {
  position: absolute;
  z-index: 2;
  transition: color 140ms ease, opacity 140ms ease;
}
.tracking-label {
  left: 0;
  bottom: calc(100% + 6px);
  max-width: min(360px, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  pointer-events: none;
}
.tracking-categories {
  left: 0;
  top: calc(100% + 6px);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  pointer-events: none;
}
.tracking-view {
  right: 0;
  top: calc(100% + 28px);
  font-size: 11px;
  text-decoration: none;
  pointer-events: auto;
}
.tracking-aggregate-row {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.tracking-aggregate-top { top: 0; transform: translateY(-50%); }
.tracking-aggregate-bottom { bottom: 0; transform: translateY(50%); }
.tracking-aggregate-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}
.tracking-aggregate-row > span:first-child { grid-column: 1; justify-self: start; }
.tracking-aggregate-row > span:nth-child(2) { grid-column: 2; max-width: 100%; }
.tracking-aggregate-row > span:last-child { grid-column: 3; justify-self: end; }
.tracking-aggregate-top > span:nth-child(2) { justify-self: start; }
.tracking-aggregate-bottom > span:nth-child(2) { justify-self: center; }
.tracking-frame.metadata-top .tracking-label { top: 4px; bottom: auto; }
.tracking-frame.metadata-top .tracking-aggregate-top { top: 1px; transform: none; }
.tracking-frame.metadata-bottom .tracking-categories { top: auto; bottom: 26px; }
.tracking-frame.metadata-bottom .tracking-view { top: auto; bottom: 2px; }
.tracking-frame.metadata-bottom .tracking-aggregate-bottom { bottom: 1px; transform: none; }
.tracking-frame.metadata-right .tracking-label { left: auto; right: 0; }
.tracking-frame.metadata-left .tracking-view { left: 0; right: auto; }
.tile-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: var(--muted);
  background: #b9b9b6;
  font: 11px/1.4 Consolas, monospace;
  text-align: center;
  pointer-events: none;
}

.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  overflow: auto;
}
.viewer::backdrop { background: rgba(202, 202, 200, 0.88); }
.viewer-shell {
  width: min(1144px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.viewer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--orange);
  border-bottom: 0;
  background: var(--background);
}
.viewer-kicker { margin: 0 0 8px; color: var(--orange); font: 12px Consolas, monospace; }
.viewer-header h2 { margin: 0; font: 16px/1.35 Consolas, monospace; }
.viewer-close { flex: none; font: 15px Consolas, monospace; }
.viewer-media-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  border-inline: 1px solid var(--orange);
  background: var(--background);
}
.viewer-media {
  min-width: 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}
.viewer-media img, .viewer-media video {
  display: block;
  max-width: 100%;
  max-height: 56vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.viewer-media video { width: 100%; }
.viewer-arrow {
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  font: 44px Arial, sans-serif;
  cursor: pointer;
}
.viewer-arrow:hover { color: var(--orange); }
.viewer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 24px 12px;
  border-top: 1px solid var(--orange);
  border-inline: 1px solid var(--orange);
  background: var(--background);
}
.viewer-description { margin: 0 0 10px; max-width: 760px; font-size: 19px; line-height: 1.4; }
.viewer-description:empty { display: none; }
.viewer-categories { margin: 0; color: var(--muted); font: 11px Consolas, monospace; }
.viewer-position { flex: none; margin: 0; font: 14px Consolas, monospace; }
.viewer-thumbnails {
  display: flex;
  gap: 12px;
  padding: 12px 24px 20px;
  border: 1px solid var(--orange);
  border-top: 0;
  background: var(--background);
  overflow-x: auto;
}
.viewer-thumbnail {
  position: relative;
  flex: 0 0 102px;
  width: 102px;
  height: 68px;
  padding: 0;
  border: 4px solid var(--background);
  outline: 1px solid transparent;
  background: #b9b9b6;
  cursor: pointer;
  overflow: hidden;
}
.viewer-thumbnail[aria-current="true"] { outline-color: var(--orange); }
.viewer-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer-thumbnail span { display: grid; place-items: center; height: 100%; padding: 5px; color: var(--muted); font: 10px Consolas, monospace; }
.media-error { padding: 40px 20px; color: var(--muted); font: 14px Consolas, monospace; }
noscript { position: fixed; inset: 40% 20px auto; text-align: center; }

.contact-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  overflow: auto;
}
.contact-dialog::backdrop { background: rgba(202, 202, 200, 0.88); }
.contact-shell {
  width: min(720px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--orange);
  background: var(--background);
}
.contact-kicker { margin: 0 0 8px; color: var(--orange); font: 12px Consolas, monospace; }
.contact-header h2 { margin: 0; font: 16px/1.35 Consolas, monospace; }
.contact-close { flex: none; font: 15px Consolas, monospace; }
#contact-form {
  position: relative;
  padding: 24px;
  border: 1px solid var(--orange);
  border-top: 0;
  background: var(--background);
}
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.contact-field { display: flex; flex-direction: column; gap: 7px; }
.contact-field-message { grid-column: 1 / -1; }
.contact-field label { color: var(--muted); font: 11px Consolas, monospace; }
.contact-field input, .contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
}
.contact-field textarea { min-height: 120px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { outline: 0; border-bottom-color: var(--orange); }
.contact-response { min-height: 20px; margin: 20px 0 12px; font: 13px/1.5 Consolas, monospace; }
.contact-response[data-state="error"] { color: #9f2f17; }
.contact-response[data-state="success"] { color: #32633c; }
.contact-submit {
  border: 0;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--orange);
  font: 13px Consolas, monospace;
  cursor: pointer;
}
.contact-submit:disabled { cursor: wait; opacity: 0.6; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.reading-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  overflow: auto;
}
.reading-dialog::backdrop { background: rgba(202, 202, 200, 0.88); }
.reading-shell {
  width: min(1060px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reading-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border: 1px solid var(--orange);
  border-bottom: 0;
  background: var(--background);
}
.reading-kicker { margin: 0; color: var(--orange); font: 14px Consolas, monospace; }
.reading-close { flex: none; font: 14px Consolas, monospace; }
.reading-content {
  padding: 34px 46px 38px;
  border-inline: 1px solid var(--orange);
  background: var(--background);
}
.reading-title {
  margin: 0 0 28px;
  font-size: 51px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.8px;
}
.reading-copy { max-width: 900px; margin: 0; font-size: 21px; line-height: 1.48; }
.reading-copy + .reading-copy { margin-top: 18px; }
.beliefs, .capability-groups, .reading-closing {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--orange);
}
.reading-section-title {
  margin: 0 0 24px;
  color: var(--orange);
  font: 13px Consolas, monospace;
}
.reading-section-intro { margin: 0; font-size: 18px; line-height: 1.5; }
.belief-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 28px 0 0;
  padding-left: 24px;
}
.belief-list li::marker { color: var(--orange); font-family: Consolas, monospace; }
.belief-list h4 { margin: 0 0 12px; font-size: 20px; font-weight: 400; line-height: 1.35; }
.belief-list p { margin: 0; font-size: 16px; line-height: 1.5; }
.capability-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 19px;
  line-height: 1.45;
}
.capability-list li + li { margin-top: 12px; }
.reading-closing { max-width: 900px; font-size: 19px; line-height: 1.45; }
.reading-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 32px 20px;
  border: 1px solid var(--orange);
  border-top: 0;
  background: var(--background);
}
.reading-contact {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 7px 0;
  font: 14px Consolas, monospace;
  cursor: pointer;
}
.reading-contact:hover { color: var(--orange); }

.about-content { padding: 44px 46px 48px; }
.about-intro .reading-title {
  max-width: 850px;
  margin-bottom: 32px;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -2.4px;
}
.about-intro .reading-copy { max-width: 780px; font-size: 19px; line-height: 1.6; }
.about-intro .about-lead { max-width: 850px; font-size: 24px; line-height: 1.45; }
.about-intro .reading-copy + .reading-copy { margin-top: 20px; }
.about-content .beliefs { margin-top: 48px; padding-top: 40px; }
.about-content .reading-section-title {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.8px;
}
.about-content .reading-section-intro { max-width: 700px; font-size: 19px; }
.about-content .belief-list { gap: 40px; margin-top: 36px; padding-left: 26px; }
.about-content .belief-list li { padding-left: 6px; }
.about-content .belief-list li::marker { font-size: 16px; }
.about-content .belief-list h4 { margin-bottom: 14px; font-size: 21px; line-height: 1.35; }
.about-content .belief-list p { line-height: 1.6; }

@media (max-width: 640px) {
  .contact-shell { width: calc(100% - 20px); padding: 10px 0; justify-content: flex-start; }
  .contact-header { padding: 14px; gap: 12px; }
  .contact-header h2 { font-size: 13px; }
  .contact-kicker { font-size: 10px; }
  .contact-close { font-size: 13px; }
  #contact-form { padding: 18px 14px; }
  .contact-fields { grid-template-columns: 1fr; gap: 16px; }
  .contact-field-message { grid-column: auto; }
  .contact-field textarea { min-height: 100px; }
  .site-header { height: 78px; padding: 14px 20px; gap: 12px; }
  .brand { width: 78px; height: 52px; flex: none; }
  .information-links { flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 10px; }
  .information-links .contact-link { grid-column: 1 / -1; justify-self: end; }
  .gallery-stage, .gallery-stage:not(.is-grid) { inset: 72px 0 122px; }
  .site-footer { min-height: 118px; padding: 12px 20px 16px; display: block; }
  .gallery-controls { justify-content: space-between; gap: 8px; margin-bottom: 12px; }
  .shape-toggle { min-width: 126px; padding-top: 8px; font-size: 12px; }
  .shape-menu { width: 142px; }
  .filters { justify-content: space-between; gap: 8px; }
  .information-link, .contact-link, .filters button { font-size: 12px; }
  .reading-shell { width: calc(100% - 20px); padding: 10px 0; justify-content: flex-start; }
  .reading-header { padding: 14px; gap: 12px; }
  .reading-kicker { font-size: 10px; }
  .reading-close { font-size: 13px; }
  .reading-content { padding: 24px 18px 28px; }
  .reading-title { margin-bottom: 22px; font-size: clamp(30px, 8vw, 42px); letter-spacing: -0.8px; }
  .reading-copy { font-size: 18px; }
  .about-content { padding: 30px 20px 36px; }
  .about-intro .reading-title { margin-bottom: 26px; font-size: clamp(36px, 10vw, 48px); letter-spacing: -1.2px; }
  .about-intro .reading-copy { font-size: 17px; line-height: 1.55; }
  .about-intro .about-lead { font-size: 20px; line-height: 1.45; }
  .about-content .beliefs { margin-top: 36px; padding-top: 30px; }
  .about-content .reading-section-title { margin-bottom: 18px; font-size: clamp(34px, 9vw, 44px); letter-spacing: -1.1px; }
  .about-content .reading-section-intro { font-size: 17px; }
  .about-content .belief-list { gap: 28px; margin-top: 28px; padding-left: 24px; }
  .about-content .belief-list h4 { font-size: 20px; }
  .beliefs, .capability-groups, .reading-closing { margin-top: 26px; padding-top: 20px; }
  .reading-section-title { margin-bottom: 18px; font-size: 11px; }
  .reading-section-intro { font-size: 16px; }
  .belief-list, .capability-groups { grid-template-columns: 1fr; }
  .belief-list { gap: 24px; }
  .capability-groups { gap: 28px; }
  .capability-list { font-size: 18px; }
  .reading-closing { font-size: 18px; }
  .reading-footer { padding: 0 14px 14px; }
  .tracking-label { max-width: 62vw; font-size: 11px; }
  .tracking-categories { font-size: 9px; }
  .tracking-view { font-size: 10px; }
  .tracking-aggregate-row { gap: 3px; }
  .tracking-aggregate-row > span { padding: 2px 4px; font-size: 9px; }
  .viewer-shell { width: calc(100% - 20px); padding: 10px 0; justify-content: flex-start; }
  .viewer-header { padding: 14px; gap: 12px; }
  .viewer-header h2 { font-size: 13px; }
  .viewer-kicker { font-size: 10px; }
  .viewer-close { font-size: 13px; }
  .viewer-media-row { grid-template-columns: 42px minmax(0, 1fr) 42px; }
  .viewer-media { min-height: 210px; }
  .viewer-media img, .viewer-media video { max-height: 48vh; }
  .viewer-arrow { font-size: 36px; padding: 0; }
  .viewer-info { padding: 14px; }
  .viewer-description { font-size: 16px; }
  .viewer-thumbnails { padding: 10px 14px 16px; }
  .viewer-thumbnail { flex-basis: 88px; width: 88px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
