:root {
  --rust: #af4a1c;
  --rust-dark: #8a3812;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --mono: "Cousine", monospace;
  --body: "Bai Jamjuree", sans-serif;
  color-scheme: light;
}
[hidden] {
  display: none !important;
}
.topic-options {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.topic-options legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
}
.topic-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-chip {
  position: relative;
  cursor: pointer;
}
.topic-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.topic-chip span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1.5px solid #bbb;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  background: #fff;
  color: var(--ink);
}
.topic-chip input:checked + span {
  border-color: var(--rust);
  background: var(--rust);
  color: #fff;
}
.topic-chip input:focus-visible + span {
  outline: 3px solid #0a66c2;
  outline-offset: 3px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}
body:has(.mobile-menu[open]) {
  overflow: hidden;
}
a {
  color: var(--rust);
  text-decoration: none;
}
a:hover {
  color: var(--rust-dark);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button,
a,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #0a66c2;
  outline-offset: 5px;
}
img,
video,
iframe {
  max-width: 100%;
}
img {
  display: block;
  height: auto;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--mono);
  font-weight: 400;
  line-height: 1.15;
}
h2 {
  color: var(--rust);
  font-size: clamp(36px, 6vw, 88px);
  letter-spacing: 0.02em;
}
ul {
  margin: 0;
  padding: 0;
}
section {
  scroll-margin-top: 88px;
}
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cdbfb8;
  border-radius: 3px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 12px 20px;
  box-shadow: 0 2px 12px #0003;
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 30px;
  background: var(--rust);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}
.button:hover {
  background: var(--rust-dark);
  color: #fff;
}
.text-link {
  align-self: flex-start;
  border-bottom: 1.5px solid currentColor;
  padding: 6px 0 2px;
  font-weight: 600;
}
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(48px, 6vw, 88px) clamp(16px, 5vw, 72px);
}
.section > h2 {
  text-align: center;
}
.tagline {
  max-width: 1000px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: #e2e2e2e8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--ink);
  font: 13px var(--mono);
}
.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}
.desktop-nav > a:not(.button) {
  padding: 6px 0;
  color: var(--ink);
  font-size: 17px;
  border-bottom: 2px solid transparent;
}
.desktop-nav > a:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.desktop-nav .button {
  padding: 11px 30px;
  min-height: 44px;
  font-size: 17px;
}
.mobile-menu {
  display: none;
}
.mobile-menu > summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
}
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}
.mobile-menu > summary > span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}
.mobile-menu[open] > summary > span:first-child {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu[open] > summary > span:nth-child(2) {
  opacity: 0;
}
.mobile-menu[open] > summary > span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-menu > nav {
  position: fixed;
  inset: 72px 0 0;
  background: #e2e2e2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  height: calc(100dvh - 72px);
  overflow: auto;
}
.mobile-menu nav > a:not(.button) {
  padding: 18px 0;
  border-bottom: 1px solid #cfcfcf;
  color: var(--ink);
  font: 26px var(--mono);
}
.mobile-menu nav .button {
  margin-top: 24px;
}
.hero {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(32px, 6vw, 96px) clamp(16px, 5vw, 72px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.hero-role {
  font: clamp(18px, 2.3vw, 32px) / 1.3 var(--mono);
  color: var(--rust);
  text-wrap: balance;
}
.disciplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 0.8vw, 12px);
  font: clamp(14px, 1.9vw, 27px) / 1.4 var(--mono);
}
.disciplines a {
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1.5px solid transparent;
}
.disciplines a:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.disciplines a + a:before {
  content: "|";
  display: inline-block;
  margin-right: clamp(4px, 0.8vw, 12px);
  color: #aaa;
}
.hero-intro {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  max-width: 620px;
  text-wrap: pretty;
}
.hero-photo-column {
  flex: 1 1 340px;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px) 48px;
  display: flex;
  align-items: flex-start;
}
.portrait {
  position: relative;
  width: 100%;
}
.portrait:before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2.4vw, 32px) clamp(-32px, -2.4vw, -14px)
    clamp(-32px, -2.4vw, -14px) clamp(14px, 2.4vw, 32px);
  background: var(--rust);
  border-radius: 28px;
}
.portrait > img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 30px 60px #00000029;
  filter: saturate(1.05) contrast(1.03);
}
.hero-photo {
  margin-top: clamp(16px, 3vw, 40px);
}
.hero-photo > img {
  aspect-ratio: 4/5;
  object-position: center 15%;
}
.linkedin-badge {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  white-space: nowrap;
  border: 1px solid #ffffffe6;
  border-radius: 999px;
  background: #ffffffe0;
  backdrop-filter: blur(10px);
  color: var(--ink);
  font: clamp(13px, 1vw, 15px) var(--mono);
  box-shadow: 0 8px 24px #00000024;
}
.linkedin-badge span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  font:
    bold 14px Arial,
    sans-serif;
}
.services {
  background: #f7f7f7;
}
.offers {
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer {
  border-radius: 28px;
  overflow: hidden;
}
.offer[open] {
  background: #fff;
  box-shadow: 0 10px 30px #00000014;
}
.offer > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 40px);
  border-radius: 28px;
  background: #6e6e6e;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.offer > summary::-webkit-details-marker {
  display: none;
}
.offer > summary > span:first-child {
  flex: 1;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.offer[open] > summary {
  background: var(--rust);
}
.plus {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  color: #6e6e6e;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
}
.offer[open] .plus {
  color: var(--rust);
  transform: rotate(45deg);
}
.offer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 40px)
    clamp(18px, 2.2vw, 26px);
}
.offer-content > p {
  max-width: 780px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
}
.offer-group h3 {
  margin-bottom: 6px;
  font: 14px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}
.offer-group ul {
  columns: 2 320px;
  column-gap: 56px;
  list-style: none;
}
.offer-group li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  break-inside: avoid;
  font-size: 16px;
  line-height: 1.5;
}
.offer-group li:before {
  content: "✓";
  color: var(--rust);
  font-weight: 600;
}
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.skills > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(44px, 6vw, 110px) clamp(20px, 5vw, 80px);
  color: #fff;
  text-align: center;
}
.software {
  background: var(--rust);
}
.hardware {
  background: #959595;
}
.skills h2 {
  color: #fff;
  font-size: clamp(22px, 2.9vw, 52px);
  letter-spacing: 0;
}
.skills p {
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.65;
  font-weight: 300;
  max-width: 680px;
}
.skills strong {
  font-weight: 600;
}
.portfolio-index {
  padding-top: clamp(48px, 7vw, 110px);
  padding-bottom: clamp(48px, 7vw, 110px);
  gap: clamp(28px, 4vw, 56px);
}
.portfolio-tiles {
  width: 100%;
  max-width: 1760px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 36px);
}
.portfolio-tiles a {
  aspect-ratio: 526/296;
  overflow: hidden;
  background: var(--ink);
}
.portfolio-tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.portfolio-tiles a:hover img {
  transform: scale(1.04);
}
.articles-section,
.podcasts-section {
  background: #f0f0f0;
}
.article-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 12px;
}
.article-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 3px #0000000f;
}
.article-card > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-copy {
  padding: clamp(18px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
}
.article-card h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.25;
  text-wrap: balance;
}
.article-card p {
  font-size: 16px;
  line-height: 1.55;
  color: #444;
  flex: 1;
}
.article-card a {
  margin-top: 10px;
}
.video-gallery {
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.video-track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
}
.video-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-margin-top: 90px;
}
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border: 0;
  overflow: hidden;
}
.local-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.local-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.local-media > video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.local-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.local-play:focus-visible {
  outline-offset: -6px;
}
.media-error {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: #111e;
  color: #fff;
  font-size: 15px;
  text-align: center;
}
.media-error a {
  color: #fff;
  text-decoration: underline;
}
.media-frame > summary {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
  list-style: none;
  background: #111;
  color: #fff;
}
.media-frame > summary::-webkit-details-marker {
  display: none;
}
.media-frame > summary > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fffffff2;
  color: var(--rust);
  box-shadow: 0 4px 14px #0005;
  pointer-events: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.play-icon {
  display: block;
  width: 50%;
  height: 50%;
  fill: currentColor;
}
.local-play:hover .play,
.media-frame > summary:hover .play {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 4px 20px #0007;
}
.provider {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: #111c;
  color: #fff;
  font-size: 13px;
}
.media-frame[open] > summary {
  display: none;
}
.media-consent {
  position: absolute;
  inset: 0 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow: auto;
  padding: clamp(16px, 4vw, 40px);
  background: #f7f7f7;
  color: var(--ink);
  text-align: center;
}
.media-consent > * {
  flex-shrink: 0;
}
.media-consent > :first-child {
  margin-top: auto;
}
.media-consent > :last-child {
  margin-bottom: auto;
}
.media-consent > strong {
  font-family: var(--mono);
  font-size: clamp(17px, 2vw, 24px);
}
.media-consent p {
  max-width: 650px;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.5;
}
.media-consent > a {
  font-size: 14px;
  text-decoration: underline;
}
.media-consent .button {
  font-size: 16px;
  min-height: 44px;
  padding: 10px 24px;
}
.media-frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.media-embed {
  position: absolute;
  inset: 0 0 34px;
  overflow: hidden;
  background: #111;
}
.media-embed > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.media-frame > .media-external-link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  min-height: 34px;
  padding: 6px 10px;
  background: #fff;
  color: var(--rust);
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 16px;
  padding: 18px 3px 6px;
}
.video-caption h3 {
  min-width: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.video-caption > span {
  min-width: 5ch;
  white-space: nowrap;
  text-align: right;
  font: 14px / 1.7 var(--mono);
  color: #777;
}
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1.5px solid var(--rust);
  border-radius: 50%;
  background: #fff;
  color: var(--rust);
  font-size: 18px;
}
.round-button:hover {
  background: var(--rust);
  color: #fff;
}
.video-thumbnails {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 4px 14px;
}
.video-thumbnails > a {
  flex: none;
  width: clamp(150px, 18vw, 200px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.video-thumbnails > a > span:first-child {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  background: #222;
}
.video-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumbnails a:hover > span:first-child,
.video-thumbnails a[aria-current="true"] > span:first-child {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.small-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fffffff2;
  color: var(--rust);
  box-shadow: 0 4px 14px #0005;
  pointer-events: none;
}
.podcast-grid {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: 12px;
}
.podcast-card {
  min-width: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px #0000000f;
  border-radius: 4px;
  overflow: hidden;
}
.podcast-heading {
  padding: 20px 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
}
.podcast-heading .eyebrow {
  color: #777;
  font-size: 12px;
}
.podcast-heading h3 {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.3;
}
.podcast-player {
  margin: 0 24px 16px;
  width: calc(100% - 48px);
  aspect-ratio: 2/1;
  min-height: 210px;
}
.podcast-player > summary > img {
  object-fit: contain;
}
.podcast-player .media-consent {
  gap: 6px;
  padding: 10px 14px;
}
.podcast-player .media-consent > strong {
  font-size: 15px;
}
.podcast-player .media-consent p {
  font-size: 12px;
}
.podcast-player .media-consent > a {
  font-size: 12px;
}
.podcast-player .media-consent .button {
  font-size: 14px;
  min-height: 36px;
  padding: 7px 18px;
}
.podcast-player > iframe {
  height: 100%;
  min-height: 175px;
}
.podcast-link {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding: 12px 24px;
  text-align: right;
  color: var(--ink);
  font-size: 14px;
}
.social-section {
  background: #f4f8fc;
  padding-left: 0;
  padding-right: 0;
}
.social-section > h2,
.social-section > .tagline {
  padding: 0 16px;
}
.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.channel {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1.5px solid var(--rust);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--rust);
}
a.channel:hover {
  background: var(--rust);
  color: #fff;
}
.social-gallery {
  width: 100%;
  position: relative;
  margin-top: 16px;
}
.social-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px clamp(16px, 6vw, 96px) 18px;
  scroll-padding: 0 clamp(16px, 6vw, 96px);
  scroll-behavior: smooth;
}
.social-slide {
  margin: 0;
  flex: none;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-media {
  height: clamp(380px, 52vw, 560px);
  aspect-ratio: 9/16;
  max-width: 82vw;
  background: #000;
  overflow: hidden;
  box-shadow: 0 8px 24px #0000001f;
  position: relative;
}
.social-slide-4 .social-media {
  aspect-ratio: 480/734;
}
.social-media > img,
.social-media > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.social-media > .local-media {
  height: 100%;
  aspect-ratio: auto;
}
.social-slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: min(82vw, 320px);
  font-size: 16px;
  line-height: 1.35;
}
.social-slide figcaption .eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  margin-bottom: 2px;
}
.instagram-player {
  height: 100%;
  aspect-ratio: auto;
  background: #fff;
}
.instagram-player > summary {
  background: #fff;
}
.instagram-player .provider {
  background: none;
  color: var(--rust);
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-family: var(--mono);
}
.instagram-player .media-consent {
  padding: 20px;
}
.instagram-player .media-consent p {
  font-size: 14px;
}
.instagram-player .media-embed {
  background: #fff;
}
.instagram-player .media-embed > iframe {
  /* portfolio.js fits the complete native embed uniformly into this card,
     including Instagram's own header/footer, without growing the gallery. */
  position: absolute;
  width: 360px;
  max-width: none;
  height: 700px;
  transform-origin: top left;
  margin: 0;
}
.centered {
  justify-content: center;
  margin-top: 10px;
}
.about {
  padding-top: clamp(48px, 7vw, 110px);
  padding-bottom: clamp(48px, 7vw, 110px);
}
.about-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 100px);
}
.about-photo {
  flex: 0 1 440px;
  max-width: 480px;
  margin-bottom: 32px;
}
.about-photo > img {
  aspect-ratio: 710/1010;
  object-position: center top;
}
.about-copy {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about h2 {
  font-size: clamp(36px, 5.4vw, 80px);
}
.about-copy > p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  text-wrap: pretty;
}
.about-copy .button {
  align-self: flex-start;
  margin-top: 8px;
  padding: 15px 40px;
}
.contact-section {
  background: var(--rust);
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  gap: clamp(24px, 3vw, 36px);
}
.contact-section > h2 {
  color: #fff;
}
.contact-intro {
  max-width: 900px;
  color: #fff;
  text-align: center;
  font: clamp(15px, 1.5vw, 20px) / 1.5 var(--mono);
  text-wrap: balance;
}
.contact-intro a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.contact-form {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  padding: clamp(22px, 4vw, 48px);
  background: #fff;
  box-shadow: 0 18px 40px #0000002e;
}
.contact-form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #8a8a8a;
  border-radius: 0;
  padding: 10px 4px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--rust);
}
.full-width {
  grid-column: 1/-1;
}
.form-privacy {
  font-size: 13px;
  color: #666;
}
.form-privacy a {
  text-decoration: underline;
}
.form-submit {
  display: flex;
  justify-content: center;
}
.form-submit > .button {
  width: 100%;
  max-width: 480px;
  font-size: 16px;
  padding: 15px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  background: #2b2b2b;
  color: #e8e8e8;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 5vw, 72px) 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.footer-top > p {
  font: clamp(20px, 1.8vw, 26px) var(--mono);
  color: #fff;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.site-footer a {
  color: #e8e8e8;
}
.site-footer a:hover {
  color: #e8936b;
}
.footer-top nav > a {
  font-size: 15px;
}
.footer-top nav > .button {
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  font-weight: 400;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 14px;
  color: #bbb;
}
.footer-contact,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-legal {
  gap: 12px 16px;
}
.to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #666;
  border-radius: 50%;
  font-size: 15px;
}
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 88px;
  min-height: calc(100dvh - 320px);
  overflow-wrap: anywhere;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--rust);
  margin: 28px 0;
}
.legal h2 {
  font-size: 25px;
  margin: 32px 0 12px;
  line-height: 1.35;
}
.legal p {
  margin: 12px 0;
  font-size: 17px;
}
.legal a:not(.button) {
  text-decoration: underline;
}
.status-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.status-page h1 {
  margin-bottom: 0;
}
.status-page p {
  margin: 0;
}
.status-page .button {
  margin-top: 12px;
}
@media (min-width: 1600px) {
  .portfolio-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .hero-photo-column {
    padding-right: 32px;
  }
  .portfolio-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-card:last-child {
    grid-column: 1/-1;
    max-width: 580px;
    justify-self: center;
  }
  .podcast-grid {
    max-width: 1000px;
  }
  .podcast-player {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 899px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .hero-photo-column {
    flex-basis: 100%;
    max-width: 500px;
    padding-left: 24px;
    padding-right: 48px;
    padding-bottom: 32px;
  }
  .hero-photo {
    max-width: 340px;
    margin: 24px auto 0;
  }
  .hero-copy {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: clamp(36px, 8vw, 62px);
  }
  .hero-role {
    font-size: clamp(21px, 4vw, 30px);
  }
  .disciplines {
    font-size: clamp(14px, 3vw, 23px);
  }
  .hero-intro {
    font-size: 18px;
  }
  .hero-photo > img {
    max-height: 480px;
  }
  .about-copy {
    flex-basis: 100%;
  }
  .about-photo {
    max-width: 360px;
  }
  .skills h2 {
    font-size: clamp(24px, 4vw, 36px);
  }
}
@media (max-width: 639px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .article-grid,
  .podcast-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .article-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .article-card h3 {
    font-size: 23px;
  }
  .contact-form {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-copy {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-photo-column {
    max-width: 400px;
  }
  .hero-intro {
    font-size: 17px;
  }
  .hero-role {
    font-size: 21px;
  }
  .disciplines {
    font-size: 15px;
    gap: 5px;
  }
  .disciplines a + a:before {
    margin-right: 5px;
  }
  .portfolio-tiles {
    gap: 12px;
  }
  .offer > summary {
    padding: 16px 20px;
  }
  .plus {
    width: 32px;
    height: 32px;
  }
  .video-track {
    gap: 16px;
  }
  .video-caption h3 {
    font-size: 17px;
  }
  .media-consent {
    gap: 7px;
    padding: 12px;
  }
  .media-consent p {
    font-size: 12px;
    line-height: 1.35;
  }
  .media-consent > strong {
    font-size: 16px;
  }
  .media-consent > a {
    font-size: 12px;
  }
  .media-consent .button {
    min-height: 36px;
    font-size: 14px;
    padding: 8px 16px;
  }
  .podcast-player {
    aspect-ratio: 16/10;
  }
  .podcast-player .media-consent {
    gap: 8px;
    padding: 12px;
  }
  .podcast-player .media-consent p {
    font-size: 13px;
  }
  .about-photo {
    max-width: 300px;
    margin-left: 0;
    margin-right: 24px;
  }
  .about-copy {
    gap: 18px;
  }
  .footer-contact,
  .footer-legal {
    gap: 10px 18px;
  }
  .social-track {
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding: 0 16px;
  }
  .social-media {
    height: 480px;
    max-height: 72dvh;
  }
  .social-slide-4 .social-media {
    max-width: 82vw;
  }
  .social-section .tagline {
    font-size: 17px;
  }
  .social-section {
    padding-left: 0;
    padding-right: 0;
  }
  .legal {
    padding: 32px 20px 56px;
  }
  .legal h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  .video-track,
  .social-track {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
