:root {
  --ink: #111212;
  --paper: #eeeae1;
  --paper-deep: #ded8ca;
  --snow: #f8f7f3;
  --accent: #d6f34b;
  --muted: #77776f;
  --line: rgba(17, 18, 18, 0.18);
  --dark-line: rgba(248, 247, 243, 0.2);
  --frame: min(1240px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--ink);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.frame {
  width: var(--frame);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--snow);
  background: rgba(17, 18, 18, 0.1);
  border-bottom: 1px solid rgba(248, 247, 243, 0.22);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(116px, 10vw, 142px);
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 35px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-contact {
  padding: 11px 15px;
  color: var(--ink);
  background: var(--accent);
  opacity: 1;
}

.site-nav .nav-contact::after {
  display: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(248, 247, 243, 0.5);
  border-radius: 999px;
}

.language-button {
  min-width: 28px;
  padding: 5px 6px;
  color: rgba(248, 247, 243, 0.72);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: var(--ink);
  background: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: max(680px, 100svh);
  overflow: hidden;
  color: var(--snow);
  background: var(--ink);
}

.hero-photo,
.hero-shade,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.88) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 13, 14, 0.88) 0%, rgba(10, 13, 14, 0.48) 34%, rgba(10, 13, 14, 0.04) 78%),
    linear-gradient(0deg, rgba(10, 13, 14, 0.62) 0%, rgba(10, 13, 14, 0) 42%);
}

.hero-grain {
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: max(680px, 100svh);
  padding-top: 176px;
  padding-bottom: 30px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(248, 247, 243, 0.7);
}

.eyebrow.dark {
  color: rgba(17, 18, 18, 0.58);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 700px;
  margin-bottom: 25px;
  font-size: clamp(64px, 10.8vw, 154px);
  line-height: 0.87;
}

h1 em,
h2 em {
  font-style: italic;
}

.hero-lede {
  max-width: 330px;
  margin-bottom: 30px;
  color: rgba(248, 247, 243, 0.86);
  font-size: 17px;
  line-height: 1.4;
}

.line-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.line-link:hover,
.line-link:focus-visible {
  gap: 22px;
}

.line-link.light {
  color: var(--snow);
}

.line-link.dark {
  color: var(--ink);
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  color: rgba(248, 247, 243, 0.68);
  border-top: 1px solid rgba(248, 247, 243, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-light,
.section-dark,
.section-accent {
  padding: clamp(90px, 13vw, 180px) 0;
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.section-dark {
  color: var(--snow);
  background: var(--ink);
}

.section-accent {
  color: var(--ink);
  background: var(--accent);
}

.manifesto-grid,
.object-grid,
.experience-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(35px, 9vw, 170px);
}

.manifesto-copy {
  max-width: 720px;
}

h2 {
  max-width: 900px;
  margin-bottom: 32px;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.95;
}

.manifesto-copy .lead,
.object-copy p,
.experience-copy p,
.contact-copy p {
  max-width: 660px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

.manifesto-copy > p:not(.lead),
.object-copy > p:not(.eyebrow),
.experience-copy > p:not(.eyebrow) {
  max-width: 530px;
  color: rgba(17, 18, 18, 0.7);
  font-size: 16px;
}

.manifesto-copy .line-link,
.object-copy .line-link,
.experience-copy .line-link {
  margin-top: 25px;
}

.boards {
  padding-bottom: clamp(100px, 15vw, 210px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 62px;
}

.boards h2 {
  margin-bottom: 0;
  color: var(--snow);
}

.section-intro {
  max-width: 310px;
  margin-bottom: 8px;
  color: rgba(248, 247, 243, 0.64);
  font-size: 15px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 20px;
}

.board-card {
  display: block;
}

.board-card figure {
  position: relative;
  aspect-ratio: 1.38 / 1;
  margin: 0 0 15px;
  overflow: hidden;
  background: #e4e1d8;
}

.board-card figure::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(248, 247, 243, 0.15);
  pointer-events: none;
}

.board-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 300ms ease;
}

.board-card:hover img,
.board-card:focus-visible img {
  filter: saturate(1.12);
}

.board-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(248, 247, 243, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-card h3 {
  margin-bottom: 5px;
  color: var(--snow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.board-card p {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.object-grid {
  align-items: center;
}

.object-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--paper-deep);
}

.object-photo::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(248, 247, 243, 0.54);
  pointer-events: none;
}

.object-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.83);
}

.object-copy h2 {
  margin-bottom: 32px;
}

.object-copy p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.45;
}

.experience-grid {
  align-items: start;
}

.status-pill {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid rgba(17, 18, 18, 0.45);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-copy h2 {
  max-width: 760px;
  margin-bottom: 25px;
}

.experience-copy p {
  max-width: 510px;
  font-size: 20px;
}

.contact {
  padding-bottom: 120px;
}

.contact h2 {
  margin-bottom: 0;
}

.contact-copy {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact-copy p {
  color: rgba(248, 247, 243, 0.72);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.contact-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(248, 247, 243, 0.4);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.site-footer {
  color: rgba(248, 247, 243, 0.62);
  background: var(--ink);
  border-top: 1px solid var(--dark-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner p:nth-child(2) {
  text-align: center;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--snow);
}

@media (max-width: 900px) {
  :root {
    --frame: min(100% - 42px, 680px);
  }

  .site-header {
    background: rgba(17, 18, 18, 0.42);
  }

  .header-inner {
    min-height: 66px;
  }

  .header-controls {
    gap: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 21px;
    left: 21px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--snow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .language-switcher {
    margin-right: 2px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-contact {
    margin-top: 10px;
    text-align: center;
    border: 0;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(2.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  h1 {
    font-size: clamp(62px, 15vw, 110px);
  }

  h2 {
    font-size: clamp(48px, 11vw, 84px);
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .object-photo,
  .object-photo img {
    min-height: 480px;
  }
}

@media (max-width: 620px) {
  :root {
    --frame: calc(100% - 36px);
  }

  .hero-inner {
    min-height: 100svh;
    padding-top: 140px;
  }

  .brand-logo {
    width: 32px;
  }

  .brand-logo img {
    max-height: 32px;
  }

  .hero-photo img {
    object-position: 55% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 14, 0.84) 0%, rgba(10, 13, 14, 0.36) 100%),
      linear-gradient(0deg, rgba(10, 13, 14, 0.72) 0%, rgba(10, 13, 14, 0.05) 58%);
  }

  .hero-lede {
    max-width: 260px;
    font-size: 15px;
  }

  .hero-foot {
    gap: 20px;
    font-size: 8px;
  }

  .manifesto-grid,
  .object-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-head {
    display: block;
    margin-bottom: 42px;
  }

  .section-intro {
    max-width: 390px;
    margin-top: 24px;
  }

  .board-grid {
    gap: 38px 10px;
  }

  .board-card figure {
    margin-bottom: 11px;
  }

  .board-meta {
    display: block;
    line-height: 1.6;
  }

  .board-meta span:last-child {
    display: block;
  }

  .board-card h3 {
    font-size: 22px;
  }

  .board-card p {
    font-size: 9px;
  }

  .object-photo,
  .object-photo img {
    min-height: 420px;
  }

  .contact-copy {
    display: block;
  }

  .contact-links {
    margin-top: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .footer-inner p:nth-child(2),
  .footer-inner p:last-child {
    text-align: left;
  }
}

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