:root {
  --accent: #f95c19;
  --accent-dark: #d9480f;
  --black: #111111;
  --ink: #1a1a1a;
  --muted: #7a7a7a;
  --line: #e6e6e6;
  --paper: #f6f4f1;
  --white: #ffffff;
  --footer: #0c0c0c;
  --max: 1180px;
  --header: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--black);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo img {
  width: 28px;
  height: 28px;
}

.logo b {
  font-weight: 800;
}

.logo span {
  font-weight: 300;
}

.header-cta {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-cta:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #444;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--black);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
}

/* Page hero */
.page-hero {
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 800;
  color: #d8d8d8;
}

.page-hero .outline {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 4.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #cfcfcf;
  transform: translateY(-8px);
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  background: var(--black);
  color: #fff;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn:hover {
  background: #000;
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--accent-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* Home hero */
.hero {
  padding: 48px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 90px 1fr 140px;
  gap: 28px;
  align-items: start;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.hero h1 .thin {
  font-weight: 300;
  color: #9a9a9a;
}

.hero h1 .mid {
  color: #6b6b6b;
  font-weight: 500;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  object-fit: cover;
}

.hero-side {
  width: 100%;
  object-fit: cover;
  max-height: 220px;
}

.hero-copy {
  margin-top: 28px;
  max-width: 520px;
  color: var(--muted);
}

.scroll-hint {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  align-self: end;
  margin-bottom: 40px;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.block-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.muted {
  color: var(--muted);
}

.band {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Cards / grids */
.cards-3,
.cards-4 {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.service,
.stat,
.legal-card {
  background: var(--white);
}

.service {
  padding: 28px 24px;
  border: 1px solid var(--line);
}

.service h3,
.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.service p,
.card p {
  margin: 0;
  color: var(--muted);
}

.stat {
  text-align: left;
}

.stat b {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.work-card img,
.blog-card img,
.team-card img,
.show-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.work-card h3,
.blog-card h3,
.team-card h3,
.show-card h3 {
  margin: 14px 0 4px;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.filter.is-active,
.filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(4) {
  grid-column: span 2;
}

.gallery-grid a:nth-child(3) img,
.gallery-grid a:nth-child(4) img {
  height: 320px;
}

/* Team */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.socials a,
.footer-socials a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.socials a:hover,
.footer-socials a:hover {
  color: var(--accent);
}

/* Blog article */
.article {
  padding-top: 8px;
}

.article img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 16px 0 20px;
}

.prose p,
.prose li {
  color: #444;
}

.prose h2,
.prose h3 {
  letter-spacing: -0.03em;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
  background: transparent;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  display: none;
  margin-top: 16px;
  color: #1b7a3a;
  font-weight: 600;
}

.form-note.is-visible {
  display: block;
}

.contact-panel {
  background: var(--paper);
  padding: 28px;
}

.contact-panel a {
  color: var(--ink);
}

.contact-panel a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #cfcfcf;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 18px;
}

.footer-line {
  margin: 0 0 10px;
  color: #a3a3a3;
}

.footer-line a:hover {
  color: #fff;
}

.footer-form {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #333;
  margin: 12px 0 22px;
}

.footer-form input {
  border: 0;
  color: #fff;
}

.footer-form button {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid #222;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8d8d8d;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-nav a:hover {
  color: #fff;
}

/* Legal pages */
.legal {
  padding: 24px 0 80px;
  max-width: 800px;
}

.legal h2 {
  margin-top: 32px;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--black);
  color: #fff;
  padding: 18px 20px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.cookie-bar.is-open {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
  color: #ddd;
}

.cookie-bar a {
  color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions button {
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 700;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-decline {
  background: #fff;
  color: #111;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* CTA band */
.cta {
  background: var(--black);
  color: #fff;
  padding: 72px 0;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta p {
  color: #c2c2c2;
  max-width: 560px;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps article {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.steps span {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cards-3,
  .cards-4,
  .footer-grid,
  .form-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .scroll-hint,
  .hero-side {
    display: none;
  }

  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(4) {
    grid-column: auto;
  }

  .gallery-grid a:nth-child(3) img,
  .gallery-grid a:nth-child(4) img,
  .gallery-grid img {
    height: 220px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a.is-active::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .cards-3,
  .cards-4,
  .split,
  .footer-grid,
  .form-grid,
  .steps,
  .gallery-grid,
  .cookie-bar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .split img,
  .work-card img,
  .blog-card img,
  .team-card img,
  .show-card img {
    height: 240px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
