/* Light biography page. Header, portrait column, and dark footer follow the reference layout. */

:root {
  --ink: #3a3a3a;
  --body: #737373;
  --nav: #5a7c9b;
  --nav-hover: #2f4d68;
  --line: #e6e6e6;
  --footer: #2a2a2a;
  --footer-text: #c6c6c6;
  --legal: #141414;
  --legal-text: #b0b0b0;
  --shell: 980px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:active,
a:active {
  transform: translateY(1px);
}

:focus-visible {
  outline: 2px solid var(--nav);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 3;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  width: 118px;
  height: 70px;
  overflow: hidden;
  flex: none;
}

/* .brand img {
  width: 220px;
  max-width: none;
  height: 147px;
  object-fit: cover;
  object-position: center 40%;
  margin: -34px 0 0 -51px;
} */

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--nav);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 9px;
  color: var(--nav);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--nav-hover);
}

.profile {
  padding: 58px 0 64px;
}

.profile h1 {
  margin: 0 0 26px;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.profile-layout {
  display: flow-root;
}

.portrait {
  float: left;
  width: 210px;
  height: auto;
  display: block;
  margin: 4px 32px 12px 0;
}

.profile-copy p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.7;
}

.profile-copy h2 {
  clear: both;
  margin: 22px 0 14px;
  padding-top: 6px;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.photo-feed {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.photo-feed h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}

.photo-card {
  margin: 0 0 40px;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-card h2,
.photo-card p {
  margin: 14px 0 0;
  color: #2c2c2c;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.photo-card p {
  margin-top: 10px;
  color: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.touch {
  width: min(560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 24px;
  text-align: center;
}

.touch h1 {
  margin: 0 0 28px;
  color: #4d84b5;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.touch-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  color: #3a3a3a;
  font-size: 16px;
}

.touch-mail:hover,
.touch-mail:focus-visible {
  color: #2f4d68;
}

.touch-form {
  text-align: left;
}

.touch-form input,
.touch-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 12px;
  border: 1px solid #c5c5c5;
  background: #fff;
  color: #2c2c2c;
  font: 15px/1.4 "Segoe UI", Arial, Helvetica, sans-serif;
}

.touch-form textarea {
  min-height: 110px;
  resize: vertical;
}

.touch-form input::placeholder,
.touch-form textarea::placeholder {
  color: #5c5c5c;
}

.touch-form button {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 16px 12px;
  border: 1px solid #4a4a4a;
  background: #fff;
  color: #3a3a3a;
  font: 600 13px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.touch-form button:hover,
.touch-form button:focus-visible {
  background: #f3f3f3;
}

.touch-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  margin: 14px 0 0;
  color: #2f4d68;
  font-size: 14px;
  text-align: center;
}

.form-status.is-error {
  color: #8a2b2b;
}

body.mask-open {
  overflow: hidden;
}

.submit-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.48);
}

.submit-mask[hidden] {
  display: none !important;
}

.submit-dialog {
  width: min(360px, 100%);
  margin: 0;
  padding: 40px 28px 32px;
  border: 1px solid #e6e6e6;
  background: #fff;
  text-align: center;
}

.submit-dialog p {
  margin: 0 0 24px;
  color: #24384d;
  font: 28px/1.3 Georgia, "Times New Roman", serif;
}

.submit-dialog button {
  min-width: 120px;
  padding: 12px 24px;
  border: 1px solid #2a2a2a;
  background: #2a2a2a;
  color: #fff;
  font: 15px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.submit-dialog button:hover,
.submit-dialog button:focus-visible {
  background: #3d3d3d;
}

.touch-banner {
  display: block;
  width: min(980px, calc(100% - 48px));
  height: auto;
  margin: 48px auto 72px;
}

.closing {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 32px;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  padding: 52px 0 46px;
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0;
}

.site-footer a {
  display: inline-block;
  padding: 4px 0;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

.site-footer p {
  margin: 0;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.85;
}

.contact-page {
  padding: 58px 0 96px;
}

.contact-page h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.contact-page p,
.markets-page li {
  margin: 0 0 16px;
  max-width: 62ch;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.markets-page h2 {
  margin: 32px 0 12px;
  max-width: 62ch;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.markets-page ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  max-width: 62ch;
}

.markets-page li {
  margin: 0 0 6px;
}

.markets-close {
  color: var(--ink);
}

.contact-mail {
  margin: 28px 0 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #f7f8f9;
}

.contact-mail span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-mail a {
  color: #2f4d68;
  font-size: 20px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-mail a:hover,
.contact-mail a:focus-visible {
  color: #1d3348;
}

.interview-lead {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.interview-player {
  position: relative;
  margin: 0 0 32px;
}

.interview-video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #1a1a1a;
  object-fit: contain;
}

.sound-on {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 0;
  background: #2f4d68;
  color: #fff;
  font: 600 16px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  padding: 14px 22px;
  cursor: pointer;
}

.sound-on:hover,
.sound-on:focus-visible {
  background: #1d3348;
}

.sound-on:active {
  transform: translate(-50%, calc(-50% + 1px));
}

.legal {
  background: var(--legal);
  text-align: center;
  padding: 14px 16px 16px;
}

.legal p {
  margin: 0;
  color: var(--legal-text);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex: 1 0 100%;
    border-top: 1px solid var(--line);
    padding: 8px 0 12px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
  }

  .site-nav a {
    padding: 12px 4px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .profile {
    padding: 36px 0 48px;
  }

  .profile h1,
  .contact-page h1,
  .photo-feed h1,
  .touch h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .photo-feed {
    width: min(720px, calc(100% - 32px));
    padding-top: 32px;
  }

  .contact-page {
    padding: 36px 0 64px;
  }

  .contact-mail a {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .portrait {
    float: none;
    width: min(210px, 70vw);
    margin: 0 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0 36px;
    gap: 32px 16px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  button:active,
  a:active {
    transform: none;
  }
}
