.reference-wired {
  --page-gutter: clamp(20px, 5.7vw, 82px);
  --brochure-tint: #f4f3ef;
  --brochure-heading: clamp(1.875rem, 3vw, 2.75rem);
}
.reference-wired .frame {
  width: min(1276px, calc(100% - 2 * var(--page-gutter)));
  padding-inline: 0;
}
.reference-wired .wired-article { max-width: 1050px; }
.reference-wired .site-header nav { gap: clamp(12px, 2.15vw, 31px); }
.brochure-section { margin-block: clamp(48px, 6vw, 85px); scroll-margin-top: 20px; }
.brand-landing #works { scroll-margin-top: 20px; }
.brochure-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0 22px;
  border-top: 2px solid var(--ink);
}
#mission > .brochure-head, #works > .brochure-head { border-top: 0; }
.brochure-head h2, .company-plate h2, .contact-name h2 {
  font-size: var(--brochure-heading);
  font-weight: 730;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.mission-statement {
  display: grid;
  justify-items: center;
  padding: clamp(15px, 2.5vw, 37px) 8px clamp(27px, 4.7vw, 63px);
  text-align: center;
}
.mission-statement img {
  width: clamp(111px, 11.2vw, 160px);
  height: auto;
  margin-bottom: clamp(28px, 3.6vw, 51px);
  filter: brightness(0);
}
.mission-statement p { display: grid; gap: 8px; }
.mission-statement p + p { margin-top: clamp(20px, 2.8vw, 39px); }
.mission-statement span { color: var(--muted); font-size: clamp(.875rem, 1.25vw, 1.125rem); }
.mission-statement strong {
  font-size: clamp(1.375rem, 2.65vw, 2.375rem);
  font-weight: 690;
  line-height: 1.22;
  letter-spacing: -.024em;
}
.mission-statement p:last-child strong { font-size: clamp(1.8125rem, 3.6vw, 3.25rem); font-weight: 760; }

.company-plate {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  background: #17251c;
  color: #fff;
}
.company-photo, .company-plate::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.company-photo { z-index: -2; object-fit: cover; object-position: center 49%; }
.company-plate::after {
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, #0b140fb3, #0b140f05 31%, #0b140f12 42%, #080d09de 91%),
    linear-gradient(90deg, #080f0ba1, #080f0b16 71%, transparent);
}
.company-overlay {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: clamp(72px, 13vw, 180px);
  padding-block: clamp(28px, 6.3vh, 66px);
}
.company-text { width: min(100%, 35.5rem); }
.company-text h3 {
  font-size: clamp(1.625rem, 3vw, 2.625rem);
  font-weight: 740;
  line-height: 1.24;
  letter-spacing: -.025em;
  white-space: pre-line;
}
.company-text > p { margin-top: 13px; font-size: 1rem; line-height: 1.72; white-space: pre-line; }
.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: clamp(19px, 2.2vw, 32px);
  border-top: 1px solid #fff7;
  padding-top: 12px;
}
.company-facts > div { display: flex; flex-direction: column-reverse; justify-content: end; }
.company-facts dt { color: #f1f1ec; font-size: .8125rem; }
.company-facts dd {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 690;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.work-filters { margin-block: clamp(14px, 1.9vw, 24px) clamp(12px, 1.4vw, 18px); }
.reference-wired .work-filters button { border-color: var(--line); }
.reference-wired .work-filters button[aria-pressed="true"] { border-color: var(--ink); }
.works-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4.4vw, 68px);
  overflow-wrap: anywhere;
}
.showcase-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--ink);
}
.showcase-poster img { object-fit: cover; }
.showcase-copy { max-width: 31rem; }
.showcase-copy h3 {
  font-size: clamp(1.625rem, 3.3vw, 3.125rem);
  font-weight: 730;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.showcase-type { margin-top: 9px; color: var(--muted); font-size: .875rem; }
.showcase-intro { margin-top: clamp(10px, 1.7vw, 24px); font-size: 1rem; line-height: 1.72; white-space: pre-line; }
.showcase-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height);
  margin-top: clamp(9px, 1.3vw, 19px);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.showcase-link:hover { text-decoration-thickness: 2px; }
.showcase-poster .showcase-link::after { position: absolute; inset: 0; content: ""; }
.works-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.15vw, 30px); align-items: start; }
.brochure-work { position: relative; overflow-wrap: anywhere; }
.brochure-work .still { aspect-ratio: 16 / 9; }
.brochure-work > div { padding-top: 10px; }
.brochure-work .work-kind, .brochure-work h3 + p { color: var(--muted); font-size: .875rem; }
.brochure-work h3 { margin-top: 2px; font-size: clamp(1.125rem, 1.6vw, 1.4375rem); font-weight: 710; line-height: 1.3; }
.brochure-work h3 + p { margin-top: 6px; }
.work-link::after { position: absolute; inset: 0; content: ""; }
.work-link:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible::after { outline: 2px solid var(--focus-ring); outline-offset: 4px; }

.moments-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.moment {
  display: grid;
  grid-template-columns: clamp(170px, 22vw, 277px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.85vw, 41px);
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.moment img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.moment-copy { overflow-wrap: anywhere; }
.moment-copy h3 { font-size: clamp(1.0625rem, 2.05vw, 1.8125rem); font-weight: 720; line-height: 1.26; }
.moment-copy p { margin-top: 8px; font-size: .9375rem; }
.moment-context { display: block; margin-top: 9px; color: var(--muted); font-size: .8125rem; }
.moment-read { font-size: .875rem; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }
.moment:hover .moment-read { text-decoration-thickness: 2px; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li {
  display: grid;
  grid-template-columns: 45px minmax(112px, 1.03fr) 3.4fr;
  align-items: baseline;
  gap: 19px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.step-no { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.process-list strong { font-size: 1.125rem; font-weight: 680; }
.process-list p { color: var(--muted); font-size: .9375rem; white-space: pre-line; }
.cooperation-photo { width: 100%; margin-top: 25px; aspect-ratio: 595 / 218; object-fit: cover; }

.brochure-footer { background: var(--brochure-tint); }
.brochure-contact { scroll-margin-top: 20px; }
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px 53px;
  padding-block: clamp(30px, 4vw, 56px);
}
.contact-name p { margin-top: 12px; font-size: 1.0625rem; font-weight: 640; }
.contact-layout address { font-style: normal; overflow-wrap: anywhere; }
.contact-layout dl { display: grid; gap: 9px; }
.contact-layout dl > div {
  display: grid;
  grid-template-columns: 4.35rem minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}
.contact-layout dt { color: var(--muted); font-size: .875rem; }
.contact-layout dd { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .9375rem; }
.contact-layout dd a { font-weight: 680; text-decoration: underline; text-underline-offset: 4px; font-variant-numeric: tabular-nums; }
.contact-layout address > p { margin-top: 9px; }
.brochure-footer-links {
  display: grid;
  justify-items: center;
  gap: clamp(15px, 2vw, 26px);
  padding-block: clamp(32px, 4.6vw, 62px) 14px;
  border-top: 1px solid var(--line);
}
.footer-brand { max-width: 100%; }
.footer-brand img { filter: brightness(0); }
.footer-utilities { display: grid; justify-items: center; text-align: center; }
.footer-utilities a { display: inline-flex; align-items: center; min-height: var(--control-height); color: var(--muted); font-size: var(--text-caption); }
.brochure-footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-studio { white-space: nowrap; }

.moment-article { padding-block: clamp(27px, 4vw, 55px) clamp(47px, 6vw, 82px); }
.moment-header { margin-block: 13px 23px; }
.moment-header h1 { font-size: clamp(2rem, 4.25vw, 3.75rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.moment-header p { max-width: 44rem; margin-top: 13px; color: var(--muted); font-size: clamp(.9375rem, 1.4vw, 1.1875rem); white-space: pre-line; }
.moment-facts { display: flex; flex-wrap: wrap; gap: 12px 44px; margin-top: 18px; padding: 9px 0; border-block: 1px solid var(--line); }
.moment-facts > div { display: flex; align-items: baseline; gap: 8px; font-size: .875rem; }
.moment-facts dt { color: var(--muted); }
.moment-facts dd { font-weight: 660; }
.moment-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.moment-section { margin-top: clamp(31px, 4.5vw, 63px); padding-top: 12px; border-top: 1px solid var(--ink); }
.moment-section h2 { margin-bottom: 16px; font-size: clamp(1.45rem, 2.65vw, 2.125rem); font-weight: 720; line-height: 1.24; }
.moment-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: start; }
.moment-gallery img { width: 100%; height: clamp(153px, 20vw, 255px); object-fit: contain; background: var(--brochure-tint); }
.moment-gallery[data-layout="single"] { grid-template-columns: 1fr; }
.moment-gallery[data-layout="single"] figure { background: var(--brochure-tint); }
.moment-gallery[data-layout="single"] img { width: min(100%, 690px); height: auto; margin-inline: auto; }
.moment-gallery[data-layout="captions"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 27px); }
.moment-gallery[data-layout="captions"] img { height: clamp(180px, 23vw, 292px); }
.moment-gallery figcaption { display: grid; gap: 3px; margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.moment-gallery figcaption strong { color: var(--ink); font-size: .9375rem; line-height: 1.4; }

@media (max-width: 900px) {
  .reference-wired .site-header nav { gap: 12px; }
  .reference-wired .site-header nav a { font-size: .8125rem; }
}

@media (max-width: 720px) {
  .works-showcase { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (max-width: 650px) {
  .reference-wired { --page-gutter: clamp(16px, 4.5vw, 23px); }
  .brochure-section { margin-block: 42px; }
  .brochure-head { align-items: start; flex-direction: column; gap: 10px; padding: 11px 0 15px; }
  .mission-statement { padding-bottom: 24px; }
  .company-overlay { gap: 75px; padding-block: 28px 34px; }
  .company-photo { object-position: 46% 50%; }
  .company-plate::after { background: linear-gradient(180deg, #0b140fbf, #0b140f16 32%, #080d09bd 56%, #080d09f0); }
  .company-text > p { font-size: .9375rem; }
  .company-facts { gap: 7px; padding-top: 10px; }
  .works-cards { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .work-filters button { padding-inline: 10px; }
  .brochure-work > div { padding-top: 7px; }
  .moment { grid-template-columns: minmax(80px, 110px) minmax(0, 1fr); gap: 7px 13px; padding: 13px 0; align-items: start; }
  .moment img, .moment .public-empty-image { grid-row: 1 / span 2; }
  .moment-copy p { margin-top: 5px; font-size: .8125rem; }
  .moment-context { margin-top: 4px; font-size: .75rem; }
  .moment-read { grid-column: 2; font-size: .8125rem; }
  .process-list li { grid-template-columns: 24px minmax(72px, auto) 1fr; gap: 7px; padding-block: 10px; }
  .process-list strong, .process-list p { font-size: .875rem; }
  .cooperation-photo { margin-top: 14px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
  .contact-name p { margin-top: 8px; font-size: 1rem; }
  .contact-layout dl > div { grid-template-columns: 4.2rem minmax(0, 1fr); gap: 5px; }
  .contact-layout dd { font-size: .875rem; }
  .moment-header { margin-block: 7px 16px; }
  .moment-facts { gap: 4px 17px; }
  .moment-gallery { gap: 8px; }
  .moment-gallery img { height: clamp(112px, 34vw, 172px); }
  .moment-gallery[data-layout="captions"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 9px; }
  .moment-gallery[data-layout="captions"] img { height: clamp(136px, 41vw, 205px); }
  .moment-gallery figcaption strong { font-size: .875rem; }
}
