:root {
  --ink: #111512;
  --paper: #f4f5f1;
  --white: #ffffff;
  --mist: #dfe4de;
  --line: rgba(17, 21, 18, 0.17);
  --green: #164b3d;
  --green-bright: #65c99d;
  --coral: #d46450;
  --blue: #203a55;
  --page-scroll: 0;
}

* {
  box-sizing: border-box;
}

.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;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: var(--paper);
}

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

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

body.menu-open {
  overscroll-behavior: none;
  touch-action: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.section-shell {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  color: var(--white);
  background: var(--ink);
  transition: visibility 0s 0.75s, opacity 0.75s cubic-bezier(.7, 0, .2, 1);
}

.loader img {
  width: 260px;
}

.loader > span {
  width: 260px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.loader > span i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green-bright);
  transform-origin: left;
  animation: load-line 1.15s cubic-bezier(.7, 0, .2, 1) both;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes load-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 82px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  padding: 0 40px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: height 0.35s ease, color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 68px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(244, 245, 241, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  width: 214px;
  height: 54px;
  display: flex;
  align-items: center;
}

.brand-logo {
  position: absolute;
  width: 214px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.25s ease;
}

.brand-logo-dark,
.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 680px;
  height: 88svh;
  max-height: 980px;
  overflow: hidden;
  color: var(--white);
  background: #29352f;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.045) translateY(calc(var(--page-scroll) * 0.045px));
  will-change: transform;
}

.hero-shade {
  background: rgba(6, 10, 8, 0.33);
  box-shadow: inset 54vw 0 180px rgba(4, 8, 6, 0.5), inset 0 -160px 120px rgba(4, 8, 6, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 64px;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.8rem;
  font-weight: 400;
  line-height: 0.94;
}

.hero h1.hero-logo-heading {
  width: min(600px, 48vw);
  max-width: 600px;
  line-height: 1;
}

.hero-logo-heading img {
  width: 100%;
  height: auto;
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.14rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--green);
}

.text-link,
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.79rem;
  font-weight: 800;
}

.hero-index {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-index span + span::before {
  content: "/";
  margin-right: 24px;
  color: var(--green-bright);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  width: 24px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: var(--white);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(18px); opacity: 1; }
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5d675f;
}

.section-label span {
  color: var(--coral);
}

.section-label::after {
  content: "";
  width: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.intro {
  padding-top: 128px;
  padding-bottom: 132px;
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.72fr);
  gap: 10vw;
  margin-top: 62px;
}

.display-copy {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.65rem;
  line-height: 1.08;
}

.display-copy em,
.contact h2 em {
  color: var(--green);
  font-weight: 400;
}

.intro-aside {
  align-self: end;
  padding-bottom: 8px;
}

.intro-aside p {
  margin: 0 0 30px;
  color: #475049;
  line-height: 1.75;
}

.projects-section {
  padding: 112px 0 124px;
  color: var(--white);
  background: var(--ink);
}

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

.projects-section .section-label {
  color: #aab4ad;
}

.projects-head h2,
.services h2,
.process h2,
.contact h2 {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.25rem;
  font-weight: 400;
  line-height: 1.02;
}

.project-filters {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 8px;
}

.project-filters button {
  position: relative;
  border: 0;
  padding: 4px 0 9px;
  color: #8e9992;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-filters button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green-bright);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.project-filters button.is-active {
  color: var(--white);
}

.project-filters button.is-active::after {
  transform: scaleX(1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px 24px;
}

.project-card {
  grid-column: span 5;
}

.project-card-featured {
  grid-column: span 7;
}

.project-card:nth-child(3) {
  grid-column: 3 / span 8;
}

.project-card[hidden] {
  display: none;
}

.project-card button {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #202621;
}

.project-card:nth-child(2) .project-image {
  aspect-ratio: 4 / 4.6;
}

.project-image::after {
  content: "Zobacz projekt";
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(.2, .75, .25, 1);
}

.project-card button:hover img {
  transform: scale(1.035);
}

.project-card button:hover .project-image::after {
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 18px;
  align-items: center;
  padding-top: 18px;
}

.project-meta > span {
  grid-column: 1;
  color: #8f9a93;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-meta strong {
  grid-column: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.concept-note {
  margin-top: 68px;
  color: #838e87;
  font-size: 0.72rem;
}

.services {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.25fr);
  gap: 9vw;
  padding-top: 130px;
  padding-bottom: 140px;
}

.services-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}

.services h2,
.process h2 {
  font-size: 3.8rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 50px minmax(190px, 0.85fr) minmax(260px, 1.15fr);
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.service-row > span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
}

.service-row h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.service-row p {
  margin: 0;
  color: #59635b;
  line-height: 1.7;
}

.manifesto {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #26332e;
}

.manifesto-media,
.manifesto-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.manifesto-media img {
  object-fit: cover;
  object-position: center;
}

.manifesto-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 10, 0.44);
  box-shadow: inset 0 -320px 180px rgba(5, 9, 7, 0.48);
}

.manifesto-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 76px;
}

.manifesto blockquote {
  max-width: 1040px;
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1.04;
}

.process {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.25fr);
  gap: 9vw;
  padding-top: 136px;
  padding-bottom: 148px;
}

.process-head {
  align-self: start;
  position: sticky;
  top: 120px;
}

.process-track {
  position: relative;
  padding-left: 42px;
}

.process-track::before,
.process-progress {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 7px;
  width: 1px;
}

.process-track::before {
  background: var(--line);
}

.process-progress {
  background: var(--coral);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}

.process-step {
  position: relative;
  min-height: 176px;
  display: grid;
  grid-template-columns: 68px minmax(180px, 0.75fr) minmax(230px, 1fr);
  gap: 22px;
  align-items: start;
  padding: 2px 0 42px;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -42px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.process-step strong {
  color: var(--coral);
  font-size: 0.72rem;
}

.process-step h3 {
  margin: -5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.process-step p {
  margin: -4px 0 0;
  color: #5c665e;
}

.materials {
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.ticker {
  width: 100%;
  overflow: hidden;
  padding: 26px 0;
}

.ticker > div {
  width: max-content;
  display: flex;
  align-items: center;
  animation: ticker 24s linear infinite;
}

.ticker span {
  padding: 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.ticker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.contact-backdrop {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.025), 0 0 0 180px rgba(255, 255, 255, 0.025);
}

.contact-inner {
  position: relative;
  z-index: 2;
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.8fr);
  gap: 7vw;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  max-width: 820px;
  font-size: 4.65rem;
}

.contact h2 em {
  color: var(--green-bright);
}

.contact-action p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 4px;
}

.contact-field > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-field > span small {
  color: rgba(255, 255, 255, 0.48);
  font-size: inherit;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  transition: border-color 0.2s ease;
}

.contact-field textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--green-bright);
}

.contact-form-tools {
  display: grid;
  gap: 14px;
  padding-top: 3px;
}

.contact-files {
  width: fit-content;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 12px;
  align-items: center;
  cursor: pointer;
}

.contact-files input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-files > span {
  grid-row: 1 / span 2;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-files > span:hover { border-color: rgba(255, 255, 255, 0.78); }

.contact-files small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
  line-height: 1.45;
}

.contact-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--green-bright);
}

.contact-submit-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 3px;
}

.contact-status {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.72rem;
  line-height: 1.4 !important;
}

.contact-status.is-error { color: #ffd0c8 !important; }

.contact-submit {
  min-width: 210px;
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0 18px;
  border: 0;
  border-radius: 2px;
  color: var(--green);
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.contact-submit:disabled { cursor: wait; opacity: 0.62; }

.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-direct {
  display: grid;
  gap: 3px;
  margin: 24px 0 30px;
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.contact-direct > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-phone {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration-color: rgba(255, 255, 255, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-phone:hover { text-decoration-color: #fff; }

.contact-location {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  background: var(--paper);
}

.footer-inner {
  min-height: 122px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-inner img {
  width: 215px;
}

.footer-copy {
  display: grid;
  gap: 7px;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: #667069;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-inner .footer-owner {
  color: #7a827d;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
}

.footer-phone {
  margin-left: 5px;
  white-space: nowrap;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #d4d9d5;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--green);
  border-color: #8e9992;
}

.project-dialog {
  width: min(1180px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.65fr);
  border: 0;
  border-radius: 4px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.project-dialog[open] {
  display: grid;
  animation: dialog-in 0.38s ease both;
}

.project-dialog::backdrop {
  background: rgba(5, 8, 6, 0.78);
  backdrop-filter: blur(8px);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.dialog-close span {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.dialog-media {
  min-height: 620px;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  align-self: center;
  padding: 60px 42px;
}

.dialog-copy > p:first-child {
  margin: 0;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 14px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.05;
}

.dialog-copy > p:not(:first-child) {
  color: #566158;
  line-height: 1.7;
}

.dialog-copy dl {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.dialog-copy dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.dialog-copy dt {
  color: #778078;
  font-size: 0.7rem;
  font-weight: 700;
}

.dialog-copy dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 220px 1fr 210px;
    padding-inline: 28px;
  }

  .main-nav { gap: 22px; }
  .section-shell,
  .hero-content { width: min(100% - 56px, 1440px); }
  .hero h1 { font-size: 4.85rem; }
  .display-copy { font-size: 3rem; }
  .projects-head h2,
  .contact h2 { font-size: 3.75rem; }
  .services h2,
  .process h2 { font-size: 3.15rem; }
  .service-row { grid-template-columns: 40px minmax(160px, 0.8fr) minmax(220px, 1fr); gap: 20px; }
  .manifesto blockquote { font-size: 3.5rem; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 64px; }
  .section-shell,
  .hero-content { width: min(100% - 32px, 1440px); }
  .site-header,
  .site-header.is-scrolled {
    height: 66px;
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }
  .brand,
  .brand-logo { width: 166px; height: 48px; }
  .header-cta { display: none; }
  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease, top 0.25s ease;
  }
  .menu-toggle span:first-child { top: 19px; }
  .menu-toggle span:last-child { top: 28px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100vw;
    height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 104px 24px 32px;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0s 0.3s, transform 0.3s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .main-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 400;
  }
  .site-header:has(.main-nav.is-open) {
    color: var(--white);
    background: var(--ink);
    backdrop-filter: none;
  }
  .site-header:has(.main-nav.is-open) .brand-logo-light { opacity: 1; }
  .site-header:has(.main-nav.is-open) .brand-logo-dark { opacity: 0; }
  .hero {
    min-height: 660px;
    height: 82svh;
  }
  .hero-media img { object-position: 60% center; }
  .hero-shade {
    background: rgba(6, 10, 8, 0.44);
    box-shadow: inset 65vw 0 100px rgba(4, 8, 6, 0.38), inset 0 -140px 100px rgba(4, 8, 6, 0.28);
  }
  .hero-content { padding-top: 38px; }
  .hero h1 { max-width: 560px; font-size: 4.25rem; }
  .hero h1.hero-logo-heading { width: min(430px, 82vw); }
  .hero-lead { max-width: 470px; font-size: 1rem; }
  .hero-index { display: none; }
  .scroll-cue { left: auto; right: 18px; transform: none; }
  .intro { padding-top: 92px; padding-bottom: 98px; }
  .intro-copy { grid-template-columns: 1fr; gap: 44px; margin-top: 42px; }
  .display-copy { font-size: 2.65rem; }
  .intro-aside { max-width: 520px; }
  .projects-section { padding-top: 90px; padding-bottom: 96px; }
  .projects-head { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .projects-head h2,
  .contact h2 { font-size: 3.25rem; }
  .project-grid { gap: 40px 16px; }
  .project-card,
  .project-card-featured,
  .project-card:nth-child(3) { grid-column: span 6; }
  .project-card:nth-child(3) { grid-column: 2 / span 10; }
  .project-card:nth-child(2) .project-image { aspect-ratio: 4 / 3; }
  .services,
  .process {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 96px;
    padding-bottom: 104px;
  }
  .services-heading,
  .process-head { position: static; }
  .services h2,
  .process h2 { font-size: 3rem; }
  .manifesto { min-height: 680px; }
  .manifesto blockquote { font-size: 3rem; }
  .process-step { grid-template-columns: 54px minmax(150px, 0.7fr) 1fr; }
  .contact-inner { grid-template-columns: 1fr; min-height: 820px; gap: 54px; }
  .contact-action { max-width: 620px; }
  .footer-inner {
    min-height: 176px;
    grid-template-columns: 190px 1fr;
    padding-block: 22px;
  }
  .footer-inner img { width: 180px; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
  .project-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-media { min-height: 420px; }
}

@media (max-width: 560px) {
  .hero {
    min-height: 620px;
    height: 78svh;
  }
  .hero-media img { object-position: 66% center; }
  .hero-shade {
    background: rgba(5, 9, 7, 0.52);
    box-shadow: inset 75vw 0 80px rgba(4, 8, 6, 0.3), inset 0 -130px 100px rgba(4, 8, 6, 0.3);
  }
  .hero h1 { margin-top: 14px; font-size: 3.35rem; }
  .hero h1.hero-logo-heading { width: min(340px, 86vw); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 28px; }
  .button { min-height: 54px; }
  .scroll-cue { display: none; }
  .display-copy { font-size: 2.25rem; }
  .projects-head h2,
  .contact h2 { font-size: 2.75rem; }
  .project-filters { width: 100%; gap: 20px; overflow-x: auto; }
  .project-grid { display: block; }
  .project-card { margin-bottom: 42px; }
  .project-image,
  .project-card:nth-child(2) .project-image { aspect-ratio: 4 / 3; }
  .project-meta strong { font-size: 1.3rem; }
  .concept-note { margin-top: 20px; }
  .services h2,
  .process h2 { font-size: 2.55rem; }
  .service-row {
    grid-template-columns: 34px 1fr;
    gap: 8px 14px;
    padding: 26px 0;
  }
  .service-row p { grid-column: 2; }
  .manifesto { min-height: 610px; }
  .manifesto-media img { object-position: 55% center; }
  .manifesto blockquote { font-size: 2.45rem; }
  .process-track { padding-left: 36px; }
  .process-track::before,
  .process-progress { left: 6px; }
  .process-step {
    min-height: 148px;
    grid-template-columns: 44px 1fr;
    gap: 5px 10px;
    padding-bottom: 32px;
  }
  .process-step::before { left: -36px; }
  .process-step p { grid-column: 2; margin-top: 4px; }
  .contact-inner { min-height: 920px; }
  .contact-fields-row { grid-template-columns: 1fr; gap: 15px; }
  .contact-submit-row { grid-template-columns: 1fr; }
  .contact-submit { width: 100%; min-height: 54px; }
  .footer-inner {
    min-height: 220px;
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: center;
  }
  .footer-inner p { grid-column: 1; grid-row: auto; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .dialog-media { min-height: 290px; }
  .dialog-copy { padding: 38px 22px; }
  .dialog-copy h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img { transform: none; }
}
