:root {
  --black: #030303;
  --panel: #080808;
  --white: #f4f4f2;
  --muted: #a4a4a4;
  --line: #282828;
  --red: #cf001e;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

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

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

button {
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

.site-header {
  align-items: center;
  background: rgba(1, 1, 1, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  height: 88px;
  left: 0;
  padding: 0 clamp(28px, 4vw, 66px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    height 180ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(1, 1, 1, 0.84);
  height: 74px;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 58px;
  overflow: hidden;
  width: 142px;
}

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

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(24px, 3.6vw, 58px);
  justify-content: center;
}

.main-nav a {
  color: #d5d5d5;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.035em;
  padding: 34px 0 31px;
  position: relative;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-header.is-scrolled .main-nav a {
  padding-bottom: 25px;
  padding-top: 25px;
}

.main-nav a::after {
  background: var(--red);
  bottom: 21px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

.site-header.is-scrolled .main-nav a::after {
  bottom: 15px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

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

.outline-button {
  align-items: center;
  border: 1px solid var(--red);
  display: inline-flex;
  font-size: 11px;
  font-weight: 550;
  gap: 26px;
  justify-content: space-between;
  letter-spacing: 0.015em;
  padding: 16px 19px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.outline-button span {
  color: var(--red);
  font-size: 18px;
  line-height: 0.7;
}

.outline-button:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.outline-button:hover span {
  color: #fff;
}

.header-cta {
  justify-self: end;
  min-width: 142px;
}

.menu-toggle {
  background: none;
  border: 0;
  display: none;
}

.hero {
  border-bottom: 1px solid var(--line);
  height: min(840px, 100svh);
  min-height: 680px;
  overflow: hidden;
  padding-top: 88px;
  position: relative;
}

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

.hero-image {
  background-position: center 48%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.012);
  animation: heroReveal 600ms ease both;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      #020202 0%,
      rgba(2, 2, 2, 0.94) 25%,
      rgba(2, 2, 2, 0.5) 46%,
      rgba(2, 2, 2, 0.08) 75%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 42%);
  z-index: 1;
}

.hero-content {
  left: clamp(38px, 6vw, 92px);
  position: absolute;
  top: 51%;
  transform: translateY(-47%);
  z-index: 4;
}

.eyebrow {
  align-items: center;
  color: #bcbcbc;
  display: flex;
  font-size: 11px;
  font-weight: 450;
  gap: 8px;
  letter-spacing: 0.035em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.eyebrow > span {
  background: var(--red);
  height: 2px;
  margin-right: 13px;
  width: 28px;
}

.eyebrow b {
  color: var(--red);
}

.hero h1 {
  font-size: clamp(47px, 5.25vw, 78px);
  font-weight: 720;
  letter-spacing: -0.042em;
  line-height: 0.99;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 strong {
  color: #f1132c;
  font-weight: inherit;
}

.hero-copy {
  color: #b2b2b2;
  font-size: 15px;
  line-height: 1.55;
  margin: 28px 0 30px;
  max-width: 400px;
}

.hero-cta {
  min-width: 276px;
}

.hero-pagination {
  bottom: 42px;
  display: flex;
  gap: 20px;
  left: clamp(38px, 6vw, 92px);
  position: absolute;
  z-index: 4;
}

.hero-pagination button {
  background: transparent;
  border: 0;
  color: #6e6e6e;
  cursor: pointer;
  font-size: 12px;
  padding: 0 0 12px;
  position: relative;
  text-align: left;
  width: 45px;
}

.hero-pagination button::after {
  background: #262626;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.hero-pagination button.selected {
  color: #fff;
}

.hero-pagination button.selected::after {
  background: var(--red);
  height: 2px;
}

.scroll-cue {
  align-items: center;
  bottom: 38px;
  color: #b2b2b2;
  display: flex;
  font-size: 9px;
  gap: 12px;
  letter-spacing: 0.14em;
  position: absolute;
  right: clamp(38px, 5vw, 76px);
  text-transform: uppercase;
  z-index: 4;
}

.scroll-cue i {
  color: var(--red);
  font-size: 17px;
  font-style: normal;
}

.section-shell {
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1600px;
  padding-left: clamp(38px, 4vw, 64px);
  padding-right: clamp(38px, 4vw, 64px);
}

.services {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) 3fr;
  min-height: 245px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.micro-title {
  align-items: center;
  color: #8e8e8e;
  display: flex;
  font-size: 9px;
  font-weight: 500;
  gap: 14px;
  letter-spacing: 0.03em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.micro-title > span {
  background: var(--red);
  display: block;
  height: 2px;
  width: 27px;
}

.section-intro h2 {
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 420;
  letter-spacing: -0.02em;
  line-height: 1.32;
  margin: 0;
  text-transform: uppercase;
}

.short-line {
  background: #bcbcbc;
  height: 1px;
  margin-top: 28px;
  width: 43px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 16px;
  text-align: center;
}

.line-icon {
  color: #bdbdbd;
  height: 52px;
  width: 52px;
}

.service-card:first-child .line-icon,
.stat-card .line-icon {
  color: var(--red);
}

.service-card h3 {
  font-size: 11px;
  font-weight: 480;
  letter-spacing: 0.015em;
  margin: 18px 0 11px;
  text-transform: uppercase;
}

.service-card p {
  color: #8c8c8c;
  font-size: 10px;
  line-height: 1.55;
  margin: 0;
  max-width: 150px;
}

.process {
  padding-bottom: clamp(72px, 7vw, 108px);
  padding-top: clamp(72px, 7vw, 108px);
}

.process-header {
  align-items: flex-end;
  display: flex;
  gap: 60px;
  justify-content: space-between;
  margin-bottom: 44px;
}

.process-header h2 {
  font-size: clamp(34px, 4vw, 61px);
  font-weight: 650;
  letter-spacing: -0.047em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}

.process-header > p {
  color: #929292;
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 4px;
  max-width: 460px;
}

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

.process-card {
  border: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    transform 220ms ease;
}

.process-card:hover {
  border-color: #5c5c5c;
  transform: translateY(-5px);
}

.process-image {
  aspect-ratio: 0.8;
  background: #101010;
  overflow: hidden;
  position: relative;
}

.process-image::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.process-image img {
  height: 100%;
  object-fit: cover;
  transition:
    filter 400ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
  width: 100%;
}

.process-card:hover .process-image img {
  filter: contrast(1.04);
  transform: scale(1.035);
}

.process-image > span {
  align-items: center;
  background: rgba(3, 3, 3, 0.82);
  border: 1px solid var(--red);
  bottom: 16px;
  color: #fff;
  display: flex;
  font-size: 11px;
  height: 38px;
  justify-content: center;
  left: 16px;
  letter-spacing: 0.08em;
  position: absolute;
  width: 38px;
  z-index: 2;
}

.process-copy {
  min-height: 145px;
  padding: 21px 20px 24px;
}

.process-copy h3 {
  font-size: 13px;
  font-weight: 520;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.process-copy p {
  color: #858585;
  font-size: 10px;
  line-height: 1.65;
  margin: 0;
}

.process-feature {
  align-items: stretch;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
  margin-top: 16px;
  min-height: 420px;
  overflow: hidden;
}

.process-feature > img {
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 56%;
  width: 100%;
}

.process-feature > div {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(207, 0, 30, 0.055), transparent 44%),
    #070707;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 90px);
  position: relative;
}

.process-feature > div::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  pointer-events: none;
  position: absolute;
}

.process-feature > div > p {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.09em;
  margin: 0 0 18px;
  position: relative;
  text-transform: uppercase;
}

.process-feature h3 {
  font-size: clamp(31px, 3.5vw, 52px);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 0 0 34px;
  position: relative;
  text-transform: uppercase;
}

.process-feature .outline-button {
  position: relative;
}

.presentation-button {
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.projects {
  display: grid;
  gap: 36px;
  grid-template-columns: 250px 1fr;
  padding-bottom: 52px;
  padding-top: 52px;
}

.project-intro {
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 9px;
  padding-top: 9px;
}

.project-intro .micro-title {
  margin-bottom: 20px;
}

.projects-link {
  font-size: 9px;
  gap: 16px;
  padding: 13px 15px;
}

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

.project-card {
  aspect-ratio: 1.14;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.project-card img,
.project-gradient {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.project-card img {
  object-fit: cover;
  transition:
    filter 420ms ease,
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-gradient {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 54%);
}

.project-card:hover img {
  filter: contrast(1.06);
  transform: scale(1.045);
}

.project-info {
  bottom: 18px;
  left: 20px;
  position: absolute;
  right: 54px;
  z-index: 2;
}

.project-info h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.project-info p {
  color: #b7b7b7;
  font-size: 10px;
  margin: 0;
}

.project-info b {
  color: var(--red);
  margin: 0 4px;
}

.project-plus {
  align-items: center;
  background: rgba(3, 3, 3, 0.72);
  border: 1px solid var(--red);
  bottom: 14px;
  color: var(--red);
  cursor: pointer;
  display: flex;
  font-size: 23px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
  width: 34px;
  z-index: 3;
}

.project-plus:hover {
  background: var(--red);
  color: #fff;
}

.about {
  border-bottom: 1px solid var(--line);
  min-height: 365px;
  overflow: hidden;
  padding: 54px clamp(38px, 4vw, 64px) 48px;
  position: relative;
}

.about-background,
.about-overlay {
  inset: 0;
  position: absolute;
}

.about-background {
  background-image: url("../images/interior-apartment.webp");
  background-position: center 53%;
  background-size: cover;
  filter: grayscale(1);
  opacity: 0.26;
  transform: scale(1.03);
}

.about-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93), rgba(5, 5, 5, 0.56)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
}

.about-heading,
.stats-grid {
  margin: 0 auto;
  max-width: 1472px;
  position: relative;
  z-index: 2;
}

.about-heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.about-heading .micro-title {
  margin-bottom: 0;
}

.about-heading h2 {
  color: #949494;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 230px;
  padding: 12px clamp(20px, 3vw, 55px);
  text-align: center;
}

.stat-card:first-child {
  border-left: 0;
}

.stat-card .line-icon {
  height: 42px;
  margin-bottom: 9px;
  width: 42px;
}

.stat-card strong {
  display: block;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 680;
  letter-spacing: -0.045em;
}

.stat-card h3 {
  font-size: 11px;
  font-weight: 450;
  line-height: 1.45;
  margin: 6px auto 12px;
  max-width: 128px;
  text-transform: uppercase;
}

.stat-card p {
  color: #8e8e8e;
  font-size: 9px;
  line-height: 1.55;
  margin: 0;
}

.contact {
  display: grid;
  gap: clamp(48px, 8vw, 130px);
  grid-template-columns: minmax(280px, 0.82fr) 1.25fr;
  padding-bottom: clamp(74px, 8vw, 118px);
  padding-top: clamp(74px, 8vw, 118px);
}

.contact-copy h2 {
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 680;
  letter-spacing: -0.047em;
  line-height: 1.02;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.contact-copy > p:not(.micro-title) {
  color: #9c9c9c;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  max-width: 440px;
}

.contact-details {
  border-left: 1px solid var(--red);
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding-left: 17px;
}

.contact-details a {
  color: #d0d0d0;
  font-size: 12px;
  letter-spacing: 0.015em;
  transition: color 160ms ease;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-details span {
  color: #6f6f6f;
  display: inline-block;
  font-size: 9px;
  margin-right: 8px;
  text-transform: uppercase;
  width: 22px;
}

.social-large {
  display: flex;
  gap: 13px;
  margin-top: 36px;
}

.social-large a {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  font-size: 10px;
  gap: 10px;
  padding: 13px 15px;
  text-transform: uppercase;
  transition:
    border 180ms ease,
    color 180ms ease;
}

.social-large a:hover {
  border-color: var(--red);
  color: var(--red);
}

.social-large svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.45;
  width: 17px;
}

.social-large a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.social-large a > span {
  color: var(--red);
  font-size: 15px;
}

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

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label:not(.consent):not(.honeypot) {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: #a6a6a6;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #353535;
  border-radius: 0;
  color: #f4f4f2;
  font-size: 13px;
  outline: none;
  padding: 11px 0 14px;
  transition: border-color 180ms ease;
  width: 100%;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #aaa 50%),
    linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position:
    calc(100% - 12px) calc(50% - 1px),
    calc(100% - 7px) calc(50% - 1px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.contact-form option {
  background: #111;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5f5f5f;
}

.honeypot {
  height: 0;
  left: -9999px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 0;
}

.consent {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 11px;
}

.consent input {
  accent-color: var(--red);
  flex: 0 0 auto;
  height: 15px;
  margin: 0;
  width: 15px;
}

.consent span {
  line-height: 1.5;
  text-transform: none !important;
}

.consent a {
  color: #d6d6d6;
  text-decoration: underline;
  text-decoration-color: #5a5a5a;
  text-underline-offset: 3px;
}

.consent a:hover {
  color: var(--red);
}

.form-action {
  align-items: center;
  display: flex;
  gap: 24px;
}

.solid-button {
  align-items: center;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  gap: 32px;
  justify-content: space-between;
  min-width: 208px;
  padding: 16px 18px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.solid-button:hover:not(:disabled) {
  background: transparent;
}

.solid-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.solid-button span {
  font-size: 17px;
}

.form-status {
  color: #969696;
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
  max-width: 310px;
}

.form-status.success {
  color: #c9c9c9;
}

.form-status.error {
  color: #ff5c6e;
}

.form-note {
  color: #6f6f6f;
  font-size: 9px;
  margin: -12px 0 0;
}

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

.footer-main {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.45fr 0.7fr 0.95fr 1.05fr 0.9fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 56px clamp(38px, 4vw, 64px) 48px;
}

.footer-brand > img {
  height: auto;
  margin-bottom: 22px;
  width: 148px;
}

.footer-brand > p,
.footer-contact p {
  color: #949494;
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
  max-width: 260px;
}

.social-icons {
  display: flex;
  gap: 11px;
  margin-top: 21px;
}

.social-icons a {
  align-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  height: 32px;
  justify-content: center;
  transition:
    border 180ms ease,
    color 180ms ease;
  width: 32px;
}

.social-icons a:hover {
  border-color: var(--red);
  color: var(--red);
}

.social-icons svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  width: 15px;
}

.social-icons a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.social-dot {
  fill: currentColor;
  stroke: none;
}

.footer-column {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-column h3 {
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: #8e8e8e;
  font-size: 10px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: var(--red);
}

.footer-contact {
  gap: 13px;
}

.footer-mark {
  border-left: 1px solid var(--line);
  min-height: 166px;
  overflow: hidden;
  padding-left: 30px;
}

.footer-mark img {
  filter: grayscale(1);
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: #6f6f6f;
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1600px;
  padding: 23px clamp(38px, 4vw, 64px);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  align-items: center;
  display: flex;
  gap: 20px;
}

.footer-legal a,
.footer-legal button {
  background: none;
  border: 0;
  color: #777;
  cursor: pointer;
  font-size: 9px;
  padding: 0;
  transition: color 160ms ease;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--red);
}

.project-modal {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.84);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 80;
}

.presentation-modal,
.cookie-settings-modal {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 95;
}

.presentation-card {
  background: #070707;
  border: 1px solid #343434;
  height: min(820px, calc(100svh - 56px));
  max-width: 1320px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.presentation-card iframe {
  background: #111;
  border: 0;
  height: calc(100% - 78px);
  width: 100%;
}

.presentation-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 78px;
  justify-content: space-between;
  padding: 0 76px 0 24px;
}

.presentation-heading p {
  color: var(--red);
  font-size: 8px;
  letter-spacing: 0.09em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.presentation-heading h2 {
  font-size: 18px;
  font-weight: 560;
  margin: 0;
  text-transform: uppercase;
}

.presentation-heading > a {
  color: #9a9a9a;
  font-size: 9px;
  text-transform: uppercase;
}

.presentation-heading > a:hover {
  color: var(--red);
}

.external-consent {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: calc(100% - 78px);
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.external-consent > span {
  align-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  display: flex;
  font-size: 25px;
  height: 58px;
  justify-content: center;
  margin-bottom: 24px;
  width: 58px;
}

.external-consent h3 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 620;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.external-consent p {
  color: #8e8e8e;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 560px;
}

.external-consent > div {
  align-items: center;
  display: flex;
  gap: 20px;
}

.external-consent > div > a {
  color: #a4a4a4;
  font-size: 9px;
  text-transform: uppercase;
}

.cookie-settings-card {
  background: #080808;
  border: 1px solid #343434;
  max-width: 620px;
  padding: clamp(32px, 5vw, 58px);
  position: relative;
  width: 100%;
}

.cookie-settings-card > h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.cookie-option {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 0;
}

.cookie-option strong {
  font-size: 11px;
  font-weight: 520;
  text-transform: uppercase;
}

.cookie-option p {
  color: #858585;
  font-size: 10px;
  line-height: 1.55;
  margin: 7px 0 0;
}

.cookie-option > span {
  border: 1px solid #3b3b3b;
  color: #adadad;
  flex: 0 0 auto;
  font-size: 8px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.cookie-settings-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cookie-settings-actions > button:not(.solid-button),
.cookie-banner-actions > button:not(.solid-button) {
  background: transparent;
  border: 1px solid #414141;
  color: #c7c7c7;
  cursor: pointer;
  font-size: 9px;
  padding: 13px 15px;
  text-transform: uppercase;
}

.cookie-policy-link {
  color: #8b8b8b;
  display: inline-block;
  font-size: 9px;
  margin-top: 21px;
  text-transform: uppercase;
}

.cookie-banner {
  align-items: center;
  background: rgba(9, 9, 9, 0.98);
  border: 1px solid #3a3a3a;
  bottom: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 50%;
  max-width: 1120px;
  padding: 20px 22px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 110;
}

.cookie-banner strong {
  display: block;
  font-size: 11px;
  font-weight: 560;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.cookie-banner p {
  color: #929292;
  font-size: 10px;
  line-height: 1.55;
  margin: 0;
  max-width: 610px;
}

.cookie-banner p a {
  color: #d0d0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.cookie-banner-actions .solid-button,
.cookie-settings-actions .solid-button,
.external-consent .solid-button {
  gap: 0;
  min-width: 0;
  padding: 13px 15px;
}

.legal-page {
  min-height: 100svh;
}

.legal-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 88px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 74px);
}

.legal-brand {
  display: block;
  width: 144px;
}

.legal-brand img {
  display: block;
  height: auto;
  width: 100%;
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(207, 0, 30, 0.07), transparent 40%),
    #050505;
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 10vw, 150px) clamp(24px, 8vw, 128px);
  position: relative;
}

.legal-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  pointer-events: none;
  position: absolute;
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  font-size: clamp(48px, 7.6vw, 116px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.93;
  margin: 0 0 28px;
  max-width: 1050px;
  text-transform: uppercase;
}

.legal-hero > p:not(.micro-title) {
  color: #a1a1a1;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 650px;
}

.legal-hero time {
  color: #666;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-content {
  margin: 0 auto;
  max-width: 940px;
  padding: clamp(64px, 9vw, 130px) 24px;
}

.legal-content section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(190px, 0.42fr) 1fr;
  padding: 34px 0;
}

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

.legal-content h2 {
  font-size: 13px;
  font-weight: 540;
  line-height: 1.45;
  margin: 0;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.85;
}

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

.legal-content ul {
  padding-left: 18px;
}

.legal-content a:not(.outline-button) {
  color: #d1d1d1;
  text-decoration: underline;
  text-decoration-color: #555;
  text-underline-offset: 3px;
}

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

.legal-table-wrap {
  grid-column: 2;
  overflow-x: auto;
}

.legal-content table {
  border-collapse: collapse;
  min-width: 650px;
  width: 100%;
}

.legal-content th,
.legal-content td {
  border: 1px solid #292929;
  color: #969696;
  font-size: 10px;
  line-height: 1.55;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  color: #d0d0d0;
  font-size: 9px;
  font-weight: 520;
  text-transform: uppercase;
}

.legal-cookie-button {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

.legal-footer {
  border-top: 1px solid var(--line);
  color: #777;
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  padding: 25px clamp(24px, 5vw, 74px);
}

.legal-footer p {
  margin: 0;
}

.legal-footer div {
  display: flex;
  gap: 22px;
}

.legal-footer a:hover {
  color: var(--red);
}

.modal-card {
  background: #080808;
  border: 1px solid #343434;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  max-height: 780px;
  max-width: 1080px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.modal-card > img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.modal-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 74px);
}

.modal-copy > p {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.08em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.modal-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 27px;
  text-transform: uppercase;
}

.modal-copy > span {
  color: #979797;
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 34px;
}

.modal-copy .outline-button b {
  color: var(--red);
  font-size: 17px;
  font-weight: 400;
}

.modal-close {
  align-items: center;
  background: #040404;
  border: 1px solid var(--red);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 25px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1.012);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    cursor: pointer;
    display: grid;
    gap: 7px;
    height: 44px;
    padding: 12px 2px 12px 14px;
    width: 46px;
    z-index: 55;
  }

  .menu-toggle span {
    background: #fff;
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 29px;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    align-items: flex-start;
    background: rgba(2, 2, 2, 0.98);
    flex-direction: column;
    gap: 0;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 90px 34px;
    pointer-events: none;
    position: fixed;
    transform: translateY(-14px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .main-nav a,
  .site-header.is-scrolled .main-nav a {
    font-size: 30px;
    padding: 13px 0;
  }

  .main-nav a::after,
  .site-header.is-scrolled .main-nav a::after {
    bottom: 7px;
  }

  .hero {
    height: 820px;
  }

  .hero-image {
    background-position: 61% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 2, 2, 0.94) 0%, rgba(2, 2, 2, 0.25) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 55%);
  }

  .scroll-cue {
    display: none;
  }

  .services {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .service-intro {
    margin-bottom: 34px;
  }

  .service-grid {
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    border-bottom: 1px solid var(--line);
    min-height: 190px;
  }

  .process-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

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

  .process-feature {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .project-intro {
    gap: 30px;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
    max-height: 480px;
  }

  .about-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .stat-card:nth-child(3) {
    border-left: 0;
  }

  .stat-card {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 28px;
  }

  .contact {
    gap: 54px;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-mark {
    display: none;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 56px);
    overflow-y: auto;
  }

  .modal-card > img {
    height: 330px;
    min-height: 0;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .cookie-banner-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .legal-header {
    height: 72px;
  }

  .legal-header .outline-button {
    font-size: 8px;
    gap: 10px;
    padding: 11px 12px;
  }

  .legal-brand {
    width: 122px;
  }

  .legal-hero {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .legal-content section {
    gap: 15px;
    grid-template-columns: 1fr;
    padding: 29px 0;
  }

  .legal-table-wrap,
  .legal-cookie-button {
    grid-column: 1;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .legal-footer div {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 70px;
  }

  .brand {
    width: 124px;
  }

  .hero {
    height: 800px;
    min-height: 720px;
    padding-top: 70px;
  }

  .hero-content {
    left: 24px;
    right: 24px;
    top: 46%;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.4;
  }

  .eyebrow > span {
    margin-right: 6px;
    margin-top: 6px;
    width: 20px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 57px);
  }

  .hero-copy {
    font-size: 13px;
    max-width: 310px;
  }

  .hero-cta {
    font-size: 9px;
    min-width: 250px;
    padding: 14px 16px;
  }

  .hero-pagination {
    bottom: 29px;
    gap: 9px;
    left: 24px;
  }

  .section-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services {
    padding-bottom: 24px;
    padding-top: 48px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 174px;
  }

  .service-card:nth-child(odd) {
    border-left: 0;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .process {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
  }

  .process-image {
    aspect-ratio: 0.82;
  }

  .process-copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 24px 21px;
  }

  .process-feature {
    grid-template-columns: 1fr;
  }

  .process-feature > img {
    max-height: 420px;
  }

  .process-feature > div {
    min-height: 340px;
    padding: 44px 24px;
  }

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

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

  .project-card:last-child {
    grid-column: auto;
  }

  .project-card {
    aspect-ratio: 1.05;
  }

  .about {
    padding: 48px 24px 35px;
  }

  .about-heading h2 {
    line-height: 1.5;
  }

  .stat-card {
    min-height: 205px;
    padding: 25px 13px 20px;
  }

  .stat-card strong {
    font-size: 38px;
  }

  .stat-card p {
    display: none;
  }

  .contact {
    padding-bottom: 68px;
    padding-top: 68px;
  }

  .contact-copy h2 {
    font-size: 39px;
  }

  .social-large {
    flex-direction: column;
    max-width: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .solid-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 48px 24px 34px;
  }

  .footer-column:last-of-type {
    grid-column: 1 / -1;
    margin-top: 14px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 21px 24px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .project-modal {
    padding: 14px;
  }

  .modal-card > img {
    height: 260px;
  }

  .modal-copy {
    padding: 30px 24px 34px;
  }

  .modal-close {
    right: 10px;
    top: 10px;
  }

  .presentation-modal,
  .cookie-settings-modal {
    padding: 12px;
  }

  .presentation-card {
    height: calc(100svh - 24px);
  }

  .presentation-heading {
    height: 76px;
    padding: 0 54px 0 18px;
  }

  .presentation-heading > a {
    display: none;
  }

  .presentation-card iframe,
  .external-consent {
    height: calc(100% - 76px);
  }

  .external-consent {
    padding: 28px 20px;
  }

  .external-consent > div,
  .cookie-settings-actions,
  .cookie-banner-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .external-consent > div > a {
    padding: 8px;
    text-align: center;
  }

  .cookie-settings-card {
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    padding: 36px 22px 28px;
  }

  .cookie-option {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-banner {
    bottom: 9px;
    padding: 18px;
    width: calc(100% - 18px);
  }

  .cookie-banner-actions > button {
    justify-content: center;
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
