:root {
  color-scheme: dark;
  --ink: #080807;
  --ink-soft: #11110f;
  --paper: #f1ede3;
  --paper-muted: #b8b3aa;
  --line: rgba(241, 237, 227, 0.17);
  --line-strong: rgba(241, 237, 227, 0.32);
  --accent: #e35d43;
  --accent-soft: #f0b3a6;
  --max-width: 1360px;
  --gutter: clamp(22px, 4.6vw, 68px);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 0%, rgba(227, 93, 67, 0.11), transparent 24rem),
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

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

.site-header,
.hero,
.privacy-note,
.company,
.page-actions,
.projects,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: clamp(150px, 14vw, 206px);
  opacity: 0.96;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.72;
}

.brand img {
  width: 100%;
  height: auto;
}

.private-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(227, 93, 67, 0.45);
  border-radius: 6px;
  background: rgba(227, 93, 67, 0.1);
  color: var(--accent-soft);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.private-label svg,
.privacy-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.6fr);
  column-gap: clamp(46px, 7vw, 108px);
  row-gap: clamp(24px, 2.4vw, 34px);
  align-items: center;
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6.5vw, 88px);
}

.hero-kicker {
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 0;
  padding-left: 54px;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 5.55vw, 5.9rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero h1 em {
  color: var(--accent);
  font-weight: 400;
}

.hero-copy {
  max-width: 420px;
  margin: 0 0 0.4rem;
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.5;
}

.privacy-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper-muted);
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-note p {
  margin: 0;
}

.privacy-note strong {
  color: var(--paper);
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-soft);
}

.projects {
  padding-top: clamp(30px, 3.2vw, 44px);
  padding-bottom: clamp(76px, 9vw, 124px);
}

.section-heading {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.section-heading p {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.35vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: stretch;
  padding-block: clamp(36px, 4.2vw, 58px);
  border-top: 1px solid var(--line);
}

.project-card:last-child {
  border-bottom: 1px solid var(--line);
}

.project-visual {
  position: relative;
  margin: 0;
  align-self: start;
  overflow: hidden;
  min-height: 330px;
  aspect-ratio: 16 / 9;
  color: var(--paper);
  background: #121210;
  text-decoration: none;
  isolation: isolate;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 350ms ease;
}

.visual-number,
.visual-arrow {
  position: absolute;
  z-index: 2;
  top: 18px;
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 6, 5, 0.55);
  backdrop-filter: blur(10px);
}

.visual-number {
  left: 18px;
  width: 52px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.visual-arrow {
  right: 18px;
  width: 42px;
  border-radius: 50%;
  font-size: 1.05rem;
}

.project-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(18px, 2vw, 28px);
  color: var(--paper-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(227, 93, 67, 0.1);
}

.project-content h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 3.8vw, 4.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.project-byline {
  margin: 9px 0 clamp(22px, 2.6vw, 34px);
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-style: italic;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-meta div {
  min-width: 0;
}

.project-meta dt {
  margin-bottom: 8px;
  color: #858179;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  color: var(--paper);
  font-size: 0.8rem;
  line-height: 1.4;
}

.project-summary {
  max-width: 670px;
  margin: 0 0 28px;
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.52;
}

.language-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: auto;
}

.language-label {
  color: #858179;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.language-link:hover,
.language-link:focus-visible {
  color: var(--paper);
  border-color: var(--accent);
  background: var(--accent);
}

.language-link:focus-visible,
.project-visual:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-footer {
  padding-top: clamp(58px, 7vw, 94px);
  padding-bottom: max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}

.footer-lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(46px, 6vw, 76px);
}

.footer-lead p {
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.85vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.footer-lead > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 220px;
  padding: 17px 0;
  border-bottom: 1px solid var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-lead > a:hover {
  color: var(--accent-soft);
  border-color: var(--accent);
}

.footer-details {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.7fr;
  gap: 48px;
  padding-block: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-details a {
  text-decoration-color: rgba(241, 237, 227, 0.32);
  text-underline-offset: 4px;
}

.footer-details a:hover {
  color: var(--paper);
}

.footer-label {
  margin: 0 0 15px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: #9a958c;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .section-heading {
    gap: 12px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 0;
  }

  .project-content {
    padding-inline: 2px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    min-height: 80px;
  }

  .brand {
    width: 154px;
  }

  .private-label {
    padding: 8px 10px;
    font-size: 0.59rem;
    letter-spacing: 0.11em;
  }

  .private-label svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .hero-kicker {
    padding-left: 46px;
  }

  .hero-kicker::before {
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .privacy-note {
    align-items: start;
    font-size: 0.8rem;
  }

  .privacy-icon {
    width: 34px;
    height: 34px;
  }

  .projects {
    padding-top: 48px;
    padding-bottom: 82px;
  }

  .project-card {
    gap: 26px;
    padding-block: 38px;
  }

  .project-card:first-of-type {
    padding-top: 0;
    border-top: 0;
  }

  .visual-number,
  .visual-arrow {
    top: 12px;
    height: 36px;
  }

  .visual-number {
    left: 12px;
    width: 45px;
  }

  .visual-arrow {
    right: 12px;
    width: 36px;
  }

  .project-status {
    margin-bottom: 22px;
  }

  .project-content h3 {
    font-size: clamp(2.8rem, 13.5vw, 4.25rem);
  }

  .project-byline {
    margin-bottom: 30px;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-meta div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
  }

  .project-meta dt {
    margin: 0;
  }

  .language-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

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

  .language-link {
    width: 100%;
  }

  .footer-lead {
    display: grid;
    gap: 34px;
  }

  .footer-lead > a {
    min-width: 0;
    width: 100%;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-switch .lang-current {
  color: var(--paper);
}

.lang-switch a {
  color: var(--paper-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--paper);
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.company h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.company-copy {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  margin: 0;
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.62;
}

.company-copy p {
  margin: 0;
}

.company-copy em {
  color: var(--paper);
}

@media (max-width: 980px) {
  .company {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


.hero-side {
  display: grid;
  gap: 13px;
  align-content: center;
}

.hero-note {
  max-width: 420px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.hero-note a {
  color: var(--paper);
  text-decoration-color: rgba(241, 237, 227, 0.32);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.hero-note a:hover,
.hero-note a:focus-visible {
  color: var(--accent-soft);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(60px, 7vw, 96px);
}


.section-heading h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(1.95rem, 2.9vw, 2.9rem);
}

.section-kicker {
  color: var(--accent-soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-sep {
  color: var(--line-strong);
  font-family: var(--sans);
  font-size: 0.9rem;
}


@media (max-width: 680px) {
  .brand {
    width: 118px;
  }

  .header-tools {
    gap: 9px;
  }

  .lang-switch {
    gap: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .private-label {
    padding: 7px 9px;
    font-size: 0.55rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .section-sep {
    display: none;
  }

  .section-heading h2 {
    gap: 8px;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.project-content h3.sr-only + .project-byline {
  margin-top: 0;
}


@media (max-width: 680px) {
  .visual-number {
    top: auto;
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 32px;
    font-size: 0.58rem;
  }
}


.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 22px;
  color: var(--paper-muted);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-row a {
  color: var(--paper-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  color: var(--paper);
}
