:root {
  --ink: #171717;
  --ink-soft: #5a5752;
  --paper: #f6f3ee;
  --white: #ffffff;
  --line: #d9d4cc;
  --orange: #ff6500;
  --orange-dark: #d94f00;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
}

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

.topbar {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: #ff8a3d;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  width: 194px;
  height: 52px;
  overflow: hidden;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 620;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

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

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--orange);
  color: var(--ink);
}

.header-cta:hover,
.button-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 80px;
  left: -140px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 101, 0, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 101, 0, 0.05), 0 0 0 92px rgba(255, 101, 0, 0.035);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: 78px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 24px 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(58px, 7.2vw, 104px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-secondary {
  border: 1px solid var(--ink);
  background: transparent;
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #43a65e;
  box-shadow: 0 0 0 5px rgba(67, 166, 94, 0.12);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 590px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -42px;
  width: calc(100% - 38px);
  height: calc(100% - 36px);
  background: var(--orange);
}

.hero-visual > img {
  position: absolute;
  inset: 0 0 36px 0;
  z-index: 1;
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: 42% center;
  filter: grayscale(1) contrast(1.08);
}

.hero-badge {
  position: absolute;
  right: -24px;
  bottom: 0;
  z-index: 2;
  width: min(270px, 72%);
  padding: 22px 24px;
  background: var(--ink);
  color: var(--white);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  margin-bottom: 5px;
  font-size: 22px;
}

.hero-badge span {
  color: #c9c6c2;
  font-size: 13px;
  line-height: 1.45;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-block: 1px solid var(--line);
}

.proof-strip > div {
  padding: 25px 30px;
}

.proof-strip > div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 124px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 58px;
}

.section-heading h2,
.about-copy h2,
.process-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 710;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.services {
  background: var(--white);
}

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

.service-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 22px;
  padding: 36px 34px 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-card:nth-child(even) {
  padding-left: 34px;
}

.service-number {
  grid-row: 1 / span 2;
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 760;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.urgent-callout {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: end;
  gap: 48px;
  margin-top: 66px;
  padding: 36px 40px;
  background: var(--paper);
  border-left: 5px solid var(--orange);
}

.urgent-callout .eyebrow {
  margin-bottom: 10px;
}

.urgent-callout h3 {
  margin-bottom: 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.urgent-callout > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--orange);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 750;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 100px;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 54%;
  height: 52%;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.image-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  padding: 13px 18px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy .eyebrow,
.contact .eyebrow {
  color: #ff8738;
}

.about-copy h2 {
  max-width: 650px;
  margin-bottom: 36px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 670px;
  color: #c9c6c2;
  font-size: 16px;
  line-height: 1.75;
}

.about-copy .large-copy {
  color: var(--white) !important;
  font-size: 21px !important;
  line-height: 1.55 !important;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid #424242;
}

.about-details span,
.about-details strong {
  display: block;
}

.about-details span {
  margin-bottom: 7px;
  color: #97938e;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-details strong {
  font-size: 18px;
}

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

.projects-heading h2 {
  max-width: 680px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px 24px;
}

.project-card-wide {
  grid-column: 1 / -1;
}

.project-image-wrap {
  overflow: hidden;
  background: #ddd7cf;
}

.project-card-wide .project-image-wrap {
  aspect-ratio: 2.25 / 1;
}

.project-card:not(.project-card-wide) .project-image-wrap {
  aspect-ratio: 4 / 3;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.project-meta {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.project-meta h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.project-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.gallery-intro .eyebrow {
  margin-bottom: 10px;
}

.gallery-intro h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.gallery-intro > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 34px 0 26px;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.gallery-filter span {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.gallery-filter.is-active span {
  color: #ff9a58;
}

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

.gallery-grid[hidden] {
  display: none;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #ddd7cf;
  color: var(--white);
  cursor: zoom-in;
  text-align: left;
}

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

.gallery-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 36% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.gallery-card::after {
  content: "+";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 20px 18px;
}

.gallery-card-copy strong,
.gallery-card-copy small {
  display: block;
}

.gallery-card-copy strong {
  margin-bottom: 5px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.gallery-card-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

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

.gallery-card:hover::after {
  transform: rotate(90deg);
  background: var(--orange);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: rgba(16, 16, 16, 0.96);
  color: var(--white);
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox::backdrop {
  background: rgba(16, 16, 16, 0.96);
}

.lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 22px;
  width: min(1320px, calc(100vw - 56px));
  height: calc(100dvh - 52px);
}

.lightbox-panel figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  margin: 0;
}

.lightbox-panel figure > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox-panel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding-top: 14px;
  color: #d1ceca;
  font-size: 13px;
}

.lightbox-count {
  flex: 0 0 auto;
  color: #9d9994;
  font-family: var(--font-mono);
  font-size: 11px;
}

.lightbox-close,
.lightbox-control {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: var(--orange);
  color: var(--ink);
}

.lightbox-control {
  width: 52px;
  height: 52px;
  font-size: 23px;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.process {
  padding-top: 0;
}

.process .shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  padding-top: 88px;
  border-top: 1px solid var(--line);
}

.process-heading h2 {
  max-width: 460px;
  font-size: clamp(40px, 4.2vw, 60px);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.process-list > li > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 36px;
  height: 36px;
  background: var(--orange);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 760;
}

.process-list h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact {
  background: var(--orange);
  color: var(--ink);
  padding: 104px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: 110px;
}

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

.contact h2 {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(48px, 6vw, 82px);
}

.contact-intro > p:last-child {
  max-width: 520px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.contact-links {
  border-top: 1px solid rgba(23, 23, 23, 0.55);
}

.contact-links > a,
.contact-links > div {
  position: relative;
  display: block;
  padding: 25px 58px 25px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.55);
}

.contact-links > a {
  transition: padding-left 180ms ease, background 180ms ease;
}

.contact-links > a:hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.13);
}

.contact-links span,
.contact-links strong {
  display: block;
}

.contact-links span {
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-links strong {
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.3;
}

.contact-links i {
  position: absolute;
  top: 36px;
  right: 8px;
  font-size: 25px;
  font-style: normal;
}

footer {
  padding: 34px 0;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  display: block;
  width: 150px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 680;
}

.content-shell {
  min-height: 60vh;
  padding: 90px 0 120px;
}

.content-layout {
  max-width: 860px;
}

.content-card {
  padding: clamp(28px, 5vw, 64px);
  background: var(--white);
  border-top: 5px solid var(--orange);
}

.content-card + .content-card {
  margin-top: 28px;
}

.content-card h1 {
  margin-bottom: 30px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.entry-content,
.content-card > p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.entry-content h2,
.entry-content h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
}

.entry-content a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-image {
  margin-bottom: 34px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px 24px 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(23, 23, 23, 0.12);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .brand {
    order: 1;
  }

  .header-cta {
    order: 3;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.86fr;
    gap: 44px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    gap: 56px;
  }

  .urgent-callout {
    grid-template-columns: 1fr 1fr;
  }

  .urgent-callout .text-link {
    justify-self: start;
  }

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

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .topbar-inner {
    min-height: 30px;
    font-size: 10px;
  }

  .topbar-inner span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-inner {
    min-height: 68px;
    gap: 16px;
  }

  .brand {
    width: 145px;
    height: 44px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid,
  .section-heading,
  .about-grid,
  .process .shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-copy {
    padding: 10px 0 34px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 78px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-visual::before {
    right: -15px;
  }

  .hero-badge {
    right: 0;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .proof-strip > div {
    padding: 18px 4px;
  }

  .proof-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    gap: 26px;
    margin-bottom: 40px;
  }

  .section-heading h2,
  .about-copy h2,
  .process-heading h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

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

  .service-card,
  .service-card:nth-child(even) {
    padding: 27px 0;
    border-right: 0;
  }

  .urgent-callout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
    padding: 28px 24px;
  }

  .about-grid {
    gap: 62px;
  }

  .about-image {
    max-width: 560px;
  }

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

  .project-card-wide {
    grid-column: auto;
  }

  .project-card-wide .project-image-wrap,
  .project-card:not(.project-card-wide) .project-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 72px;
  }

  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -15px;
    margin-left: -15px;
    padding: 0 15px 6px;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter {
    flex: 0 0 auto;
  }

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

  .gallery-card-copy {
    padding: 22px 13px 12px;
  }

  .gallery-card-copy strong {
    font-size: 14px;
  }

  .gallery-card-copy small {
    font-size: 10px;
  }

  .gallery-card::after {
    top: 9px;
    right: 9px;
    width: 30px;
    height: 30px;
    font-size: 19px;
  }

  .lightbox-panel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 6px;
    width: calc(100vw - 18px);
    height: calc(100dvh - 30px);
  }

  .lightbox-control {
    width: 42px;
    height: 42px;
  }

  .lightbox-close {
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.55);
  }

  .process {
    padding-top: 0;
  }

  .process .shell {
    gap: 48px;
    padding-top: 70px;
  }

  .contact {
    padding: 82px 0;
  }

  .contact-grid {
    gap: 54px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
