:root {
  color-scheme: light;
  --ink: #10202b;
  --ink-soft: #41515d;
  --paper: #f8faf9;
  --panel: #ffffff;
  --line: #d9e1e3;
  --gold: #f2b632;
  --gold-dark: #9a6515;
  --teal: #137f7a;
  --blue: #2b6f9f;
  --shadow: 0 20px 60px rgba(16, 32, 43, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 182, 50, .16), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 58%, #eef4f2 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

nav a,
footer a {
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--teal);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: .18rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .72);
}

.language-option {
  min-width: 2.15rem;
  min-height: 2rem;
  padding: .35rem .45rem;
  border: 0;
  border-radius: .36rem;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 760;
}

.language-option:hover {
  color: var(--ink);
}

.language-option[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  min-height: auto;
  padding: 2.5rem 0 4rem;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.65rem, 16vw, 4.8rem);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 9vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

h4 {
  margin: 2rem 0 .75rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text,
.section > p,
.project-card p,
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  padding: .8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover {
  background: #21323d;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
}

.button.secondary:hover {
  border-color: #b8c7ca;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(217, 225, 227, .86);
  border-radius: .5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 250, 249, .9)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(19, 127, 122, .06) 42px 43px);
  box-shadow: 0 18px 50px rgba(16, 32, 43, .1);
}

.visual-card img {
  display: block;
  width: 7rem;
  height: 7rem;
  margin: .25rem auto 1rem;
  border-radius: 1rem;
}

.studio-status {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  text-align: center;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.metric-row strong {
  color: var(--ink);
  font-size: 1.02rem;
  text-align: right;
}

.section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.intro > p {
  margin: 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 16.5rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(16, 32, 43, .045);
}

.project-card.featured {
  border-color: rgba(19, 127, 122, .45);
  background: linear-gradient(180deg, #ffffff 0%, #f2faf8 100%);
}

.project-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 .9rem;
  padding: .28rem .5rem;
  border: 1px solid rgba(43, 111, 159, .2);
  border-radius: .35rem;
  color: var(--blue);
  background: rgba(43, 111, 159, .06);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-link,
.muted-link {
  margin-top: 1.5rem;
  font-weight: 760;
}

.project-link {
  color: var(--teal);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

.muted-link {
  color: #73818a;
}

.contact-band {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.error-page h1 {
  max-width: 11ch;
}

footer {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.legal-hero {
  padding: 3rem 0 2rem;
}

.legal-hero h1 {
  max-width: 12ch;
}

.legal-layout {
  display: block;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--line);
}

.legal-content {
  max-width: 52rem;
}

.legal-content section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:first-child {
  padding-top: 0;
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-content h3 {
  margin: 2.2rem 0 .75rem;
}

.legal-content p,
.legal-content ul {
  margin: .75rem 0;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--teal);
}

.address {
  color: var(--ink);
  font-style: normal;
  line-height: 1.65;
}

@media (min-width: 560px) {
  .button {
    width: auto;
  }

  .visual-card {
    width: min(100%, 24rem);
    padding: 1.5rem;
  }

  .visual-card img {
    width: 8.4rem;
    height: 8.4rem;
  }
}

@media (min-width: 821px) {
  .site-header,
  footer {
    align-items: center;
    flex-direction: row;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header-actions {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }

  main {
    padding: 0 1.5rem 3rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr);
    gap: 3.5rem;
    min-height: min(720px, calc(100vh - 5rem));
    padding: 4.5rem 0 5.5rem;
  }

  h1 {
    max-width: 12.5ch;
    font-size: clamp(3rem, 7.4vw, 5.45rem);
    line-height: .96;
  }

  h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .intro {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
  }

  .project-grid {
    grid-template-columns: minmax(0, 26rem);
  }

  .project-card {
    min-height: 19rem;
    padding: 1.4rem;
  }

  .contact-band {
    align-items: center;
    flex-direction: row;
  }

  .legal-hero {
    padding: 4rem 0 2rem;
  }

  .legal-layout {
    padding: 2rem 0 5rem;
  }
}

@media (max-width: 360px) {
  nav {
    gap: .75rem;
    font-size: .9rem;
  }
}
