:root {
  --black: #141414;
  --ink: #202020;
  --steel: #6f7173;
  --line: #dedede;
  --paper: #f4f2ef;
  --white: #ffffff;
  --orange: #f47c13;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.rail {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  left: 0;
  padding: 26px 22px;
  position: fixed;
  top: 0;
  width: 244px;
  z-index: 10;
}

.brand {
  background: var(--white);
  border-radius: 4px;
  display: block;
  padding: 12px;
}

.brand img {
  height: 52px;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.rail nav {
  align-self: center;
  display: grid;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail nav a {
  color: rgba(255, 255, 255, 0.7);
}

.rail nav a:hover {
  color: var(--white);
}

.rail-info {
  display: grid;
  gap: 18px;
}

.rail-info span {
  color: var(--orange);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.rail-info p,
.rail-info a {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin: 0;
}

.rail-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.shell {
  margin-left: 244px;
  min-height: 100vh;
}

.lead-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 100vh;
}

.lead-media {
  background: var(--black);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.lead-media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.lead-media span {
  background: var(--orange);
  bottom: 28px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  left: 28px;
  letter-spacing: 0.08em;
  padding: 9px 12px;
  position: absolute;
  text-transform: uppercase;
}

.lead-copy {
  align-self: end;
  padding: clamp(32px, 6vw, 76px);
}

.kicker,
.status,
.statement p {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.15rem, 4.6vw, 4.15rem);
  line-height: 1;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.75rem);
  line-height: 1.06;
  margin-bottom: 14px;
}

.lead-copy > p:not(.kicker),
.project-text > p:last-child,
.contact-panel p {
  color: #5c5c5c;
  font-size: 1.02rem;
  max-width: 620px;
}

.meta-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  padding-top: 18px;
}

.meta-row span {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.statement {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 72px clamp(24px, 6vw, 90px);
}

.statement h2 {
  max-width: 860px;
}

.statement-link {
  border-bottom: 2px solid var(--orange);
  color: var(--ink);
  display: inline-block;
  font-weight: 900;
  margin-top: 14px;
  max-width: 760px;
}

.project-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 62vh;
}

.strip-item {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-height: 420px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.strip-item img {
  filter: saturate(0.85);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 240ms ease;
  width: 100%;
}

.strip-item::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.strip-item:hover img {
  transform: scale(1.04);
}

.strip-item span,
.strip-item small {
  position: relative;
  z-index: 1;
}

.strip-item span {
  align-self: end;
  font-size: 1.45rem;
  font-weight: 900;
}

.strip-item small {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-intro {
  padding: 76px clamp(24px, 6vw, 90px) 38px;
}

.page-intro h1 {
  max-width: 860px;
}

.page-intro h3{
  color: #6f7173;
}

.project-list {
  display: grid;
}

.project-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 74px minmax(260px, 0.62fr) minmax(0, 1fr);
  padding: 42px clamp(24px, 6vw, 90px);
}

.project-number {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 900;
}

.status {
  margin-bottom: 10px;
}

.status.done {
  color: #2f7c52;
}

.availability {
  background: rgba(244, 124, 19, 0.12);
  border: 1px solid rgba(244, 124, 19, 0.28);
  border-radius: 4px;
  color: var(--orange);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding: 7px 9px;
  text-transform: uppercase;
}

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

.project-gallery.two {
  grid-template-columns: 1.2fr 0.8fr;
}

.project-gallery img {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contact-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 6vw, 90px);
}

.contact-panel {
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.7fr);
  width: 100%;
}

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

.privacy-check input {
  margin-top: 3px;
}

.privacy-check a {
  color: var(--orange);
  text-decoration: underline;
}

.privacy-check input[type="checkbox"] {
  padding: 0;
}

button {
  background: var(--orange);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .rail {
    height: auto;
    position: sticky;
    width: auto;
  }

  .rail,
  .rail nav {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
  }

  .rail-info {
    display: none;
  }

  .brand {
    max-width: 180px;
  }

  .shell {
    margin-left: 0;
  }

  .lead-screen,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .lead-media {
    min-height: 62vh;
  }

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

@media (max-width: 760px) {
  .rail,
  .rail nav {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 2.18rem;
  }

  .meta-row,
  .project-strip,
  .project-gallery,
  .project-gallery.two {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    aspect-ratio: 4 / 3;
  }
}

/* =========================
   PRIVACY PAGE
========================= */

.privacy-shell {
    padding: 60px clamp(24px, 6vw, 90px);
    max-width: 1100px;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.privacy-shell h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 36px;
    line-height: 1.1;
}

.privacy-shell h3 {
    color: var(--orange);
    font-size: 1.15rem;
    margin-top: 42px;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.privacy-shell p {
    color: #5c5c5c;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 850px;
    margin-bottom: 18px;
}

.privacy-shell ul {
    max-width: 850px;
    margin: 12px 0 24px;
    padding-left: 22px;
}

.privacy-shell li {
    color: #5c5c5c;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-shell a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: underline;
}

.privacy-shell a:hover {
    color: var(--ink);
}

.privacy-shell h3:first-of-type {
    margin-top: 24px;
}


/* =========================
   PRIVACY PAGE - MOBILE
========================= */

@media (max-width: 760px) {

    .privacy-shell {
        padding: 36px 22px;
    }

    .privacy-shell h2 {
        font-size: 2rem;
        margin-bottom: 28px;
    }

    .privacy-shell h3 {
        font-size: 1.05rem;
        margin-top: 34px;
    }

    .privacy-shell p,
    .privacy-shell li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .privacy-shell ul {
        padding-left: 20px;
    }
}

/* LEGAL LINKS */

.legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.65;
  padding: 18px 0;

  margin-top: auto;
}

.legal-links a {
  color: var(--ink);
  font-weight: normal;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--orange);
  opacity: 1;
}

.thank-you-shell {
    min-height: 100vh;
    display: flex;
    place-items: center;
    padding: 40px;
    text-align: center;
}

.thank-you-panel {
    max-width: 900px;
}

.thank-you-panel p {
    color: #5c5c5c;
    font-size: 1rem;
    line-height: 1.7;
}

.thank-you-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 20px;
    background: var(--orange);
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 5px;
}