:root {
  --ink: #111111;
  --ink-soft: #1f1f1f;
  --muted: #5d6166;
  --surface: #ffffff;
  --surface-soft: #f4f1ea;
  --surface-dark: #141414;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.28);
  --line-light: rgba(255, 255, 255, 0.18);
  --brand: #f4c430;
  --brand-dark: #d8aa12;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--brand);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 850;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: background 180ms ease, padding 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid var(--line-light);
  padding: 12px 0;
  backdrop-filter: blur(16px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffffff;
}

.site-nav a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #111111;
  padding: 150px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.82) 100%), url("../images/hero-project.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0), var(--ink));
}

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.about-copy .eyebrow::after,
.service-intro .eyebrow::after,
.contact-copy .eyebrow::after {
  display: none;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-text {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary,
.button-form {
  background: var(--brand);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-form:hover,
.button-form:focus-visible {
  background: #ffd84e;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: clamp(82px, 11vw, 140px) 0;
}

.about-section {
  background: var(--ink);
  color: #ffffff;
  padding-top: clamp(70px, 9vw, 110px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-image {
  position: relative;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(244, 196, 48, 0.42);
}

.about-image img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.about-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.about-note {
  display: grid;
  gap: 5px;
  margin-top: 32px;
  padding: 24px;
  border-left: 6px solid var(--brand);
  background: rgba(255, 255, 255, 0.08);
}

.about-note strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.about-note span {
  color: rgba(255, 255, 255, 0.72);
}

.services-section {
  background: var(--surface-soft);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.service-intro {
  position: sticky;
  top: 110px;
}

.service-intro p {
  max-width: 420px;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.service-board {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line-strong);
}

.service-row-feature {
  grid-template-columns: 96px 1fr;
  padding-top: 0;
}

.service-number {
  color: var(--brand-dark);
  font-size: clamp(1.55rem, 3.5vw, 2.7rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-row h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.service-row p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.work-section {
  background: var(--surface-dark);
  color: #ffffff;
}

.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 46px;
}

.work-heading p:not(.eyebrow) {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 176px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  grid-column: span 2;
  padding: 0;
  border: 1px solid var(--line-light);
  background: #1f1f1f;
  cursor: pointer;
}

.gallery-feature {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 3;
}

.gallery-tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-item span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(17, 17, 17, 0.84);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.contact-section {
  background: var(--brand);
}

.contact-section .eyebrow {
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(17, 17, 17, 0.74);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid rgba(17, 17, 17, 0.22);
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
}

.contact-row:hover,
.contact-row:focus-visible {
  color: #000000;
  outline: none;
}

.contact-row span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  word-break: break-word;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(17, 17, 17, 0.32);
  color: rgba(17, 17, 17, 0.84);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(17, 17, 17, 0.08);
  outline: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(17, 17, 17, 0.22);
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

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

label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 14px;
  outline: none;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%), linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

option {
  color: var(--ink);
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.22);
}

::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.button-form {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer img {
  max-width: 210px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(100%, 1180px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.form-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--ink);
  color: #ffffff;
}

.form-result-card {
  width: min(100%, 720px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
}

.form-result-card img {
  width: 230px;
  margin-bottom: 36px;
}

.form-result-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
}

.form-result-card p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .about-layout,
  .service-layout,
  .work-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-intro {
    position: static;
  }

  .service-intro p,
  .contact-copy p {
    max-width: 720px;
  }

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

  .gallery-feature,
  .gallery-wide {
    grid-column: span 2;
  }
}

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

  .brand {
    width: 205px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line-light);
    background: rgba(17, 17, 17, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 680px;
    padding-top: 124px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 360px);
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 74px 0;
  }

  .about-image::before {
    inset: 12px -12px -12px 12px;
  }

  .about-image img {
    min-height: 300px;
  }

  .service-row,
  .service-row-feature {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-editorial {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-feature,
  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
    height: 310px;
  }

  .gallery-tall {
    height: 430px;
  }

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

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 22px;
  }
}

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

.form-status {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  padding: 14px 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.form-status-success {
  border-color: rgba(43, 122, 65, 0.4);
  background: #f0f8f2;
  color: #225f35;
}

.form-status-error {
  border-color: rgba(171, 46, 46, 0.4);
  background: #fff2f2;
  color: #8f2424;
}
