:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #181b20;
  --color-muted: #66707d;
  --color-line: rgba(24, 27, 32, 0.12);
  --color-accent: #a98142;
  --color-accent-dark: #6f542b;
  --shadow-soft: 0 24px 60px -32px rgba(24, 27, 32, 0.28);
  --radius: 8px;
  --container: min(100% - 2rem, 1400px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(24, 27, 32, 0.25) 0 1px, transparent 1px),
    radial-gradient(circle at 78% 62%, rgba(24, 27, 32, 0.18) 0 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 27, 32, 0.08);
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: baseline;
  gap: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand__main {
  font-size: 1.7rem;
}

.brand__accent {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.nav__links {
  justify-self: center;
  display: grid;
  grid-auto-flow: column;
  gap: clamp(1rem, 3vw, 3.25rem);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__links a {
  position: relative;
  padding-block: 0.6rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--color-accent);
  transition: transform 0.35s var(--ease);
}

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

.nav__actions {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 1rem;
}

.phone {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.phone svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

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

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

.button {
  --mx: 0px;
  --my: 0px;
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  transform: translate(var(--mx), var(--my));
}

.button:active {
  transform: translate(var(--mx), calc(var(--my) + 1px)) scale(0.985);
}

.button--primary {
  background: var(--color-accent);
  color: #fffaf1;
  border-color: var(--color-accent);
  box-shadow: 0 18px 34px -24px rgba(111, 84, 43, 0.7);
}

.button--primary:hover {
  background: var(--color-accent-dark);
}

.button--line,
.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(24, 27, 32, 0.22);
  color: var(--color-text);
}

.button--line:hover,
.button--ghost:hover {
  border-color: var(--color-accent);
}

.hero {
  position: relative;
  min-height: 86vh;
  min-height: 86dvh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

.hero__media {
  position: absolute;
  inset: 72px 0 0 42%;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--color-bg) 0%, rgba(248, 250, 252, 0.92) 12%, rgba(248, 250, 252, 0.24) 44%, rgba(248, 250, 252, 0) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.42fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-content: center;
  padding-block: 8rem 3rem;
}

.hero__content {
  max-width: 760px;
}

.hero h1,
.section-title h2,
.projects__head h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: 4.1rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.section-title p,
.about__content > p,
.contact__copy > p {
  margin: 1.35rem 0 0;
  max-width: 65ch;
  color: var(--color-muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero__actions {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.8rem;
}

.hero__proof {
  align-self: end;
  display: grid;
  gap: 1px;
  background: rgba(24, 27, 32, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero__proof div {
  padding: 1.15rem;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(18px);
}

.hero__proof strong {
  display: block;
  font-size: 3.1rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero__proof span {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.services,
.projects,
.about,
.process,
.contact {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.services__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.service-rail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  align-content: start;
  background: var(--color-line);
}

.service-item {
  min-height: 210px;
  padding: clamp(1.2rem, 2vw, 2rem);
  background: var(--color-bg);
}

.service-item:nth-child(2),
.service-item:nth-child(3) {
  transform: translateY(2.4rem);
}

.service-item span,
.timeline span {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-item h3,
.timeline h3,
.project-tile h3,
.projects__empty h3 {
  margin: 1rem 0 0;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.service-item p,
.timeline p,
.project-tile p,
.projects__empty p {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  line-height: 1.58;
}

.projects {
  background: #eef2f6;
}

.projects__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.filter {
  display: grid;
  grid-auto-flow: column;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid rgba(24, 27, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.filter__button {
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--color-muted);
  padding: 0.72rem 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.filter__button:hover {
  color: var(--color-text);
}

.filter__button:active {
  transform: translateY(1px);
}

.filter__button.is-active {
  background: var(--color-text);
  color: #fffaf1;
}

.projects__empty {
  padding: 2rem;
  border-top: 1px solid rgba(24, 27, 32, 0.16);
}

.project-masonry {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  grid-auto-rows: 245px;
  gap: 0.75rem;
}

.project-tile {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  background: #dbe2ea;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px -42px rgba(24, 27, 32, 0.55);
  isolation: isolate;
}

.project-tile--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.project-tile--tall {
  grid-row: span 2;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.75s var(--ease), filter 0.75s var(--ease);
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 27, 32, 0), rgba(24, 27, 32, 0.78));
}

.project-tile:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.03);
}

.project-tile__body {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fffaf1;
}

.project-tile__body p {
  color: rgba(255, 250, 241, 0.78);
}

.project-tile.is-hidden {
  display: none;
}

.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.about__visual {
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.about__visual img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
}

.about__list {
  display: grid;
  gap: 1px;
  margin: 2rem 0 0;
  background: var(--color-line);
}

.about__list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  background: var(--color-bg);
}

.about__list dt {
  font-weight: 700;
}

.about__list dd {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.process {
  padding-top: 0;
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--color-line);
}

.timeline h3 {
  margin: 0;
}

.timeline p {
  margin: 0;
}

.contact {
  background: var(--color-text);
  color: #fffaf1;
}

.contact__copy p {
  color: rgba(255, 250, 241, 0.68);
}

.contact__details {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  color: rgba(255, 250, 241, 0.86);
}

.contact__details a {
  width: max-content;
  border-bottom: 1px solid rgba(255, 250, 241, 0.32);
}

.lead-form {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.lead-form__fields {
  display: grid;
  gap: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
}

.lead-form label > span {
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf1;
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 250, 241, 0.44);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(169, 129, 66, 0.86);
  background: rgba(255, 255, 255, 0.12);
}

.lead-form small {
  color: rgba(255, 250, 241, 0.55);
  line-height: 1.4;
}

.field-error {
  min-height: 1rem;
  color: #f0a6a6;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-message {
  min-height: 1.3rem;
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  line-height: 1.45;
}

.form-message.is-error {
  color: #f0a6a6;
}

.form-state--loading {
  display: grid;
  gap: 0.8rem;
}

.skeleton {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
}

.skeleton::after {
  content: "";
  display: block;
  height: 100%;
  width: 42%;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shimmer 1.05s var(--ease) infinite;
}

.skeleton--title {
  height: 54px;
}

.skeleton--line {
  height: 18px;
}

.skeleton--line.short {
  width: 72%;
}

.footer {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--color-text);
  color: rgba(255, 250, 241, 0.62);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fffaf1;
}

.footer__credit {
  text-align: right;
}

.footer__credit a {
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 250, 241, 0.32);
}

.footer__links {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  justify-content: center;
}

.text-link,
.service-item a {
  display: inline-block;
  width: max-content;
  margin-top: 1rem;
  color: var(--color-accent-dark);
  font-weight: 700;
  border-bottom: 1px solid rgba(169, 129, 66, 0.36);
}

.section-action {
  display: grid;
  justify-content: end;
  margin-top: 1.25rem;
}

.assortment,
.proof-band,
.materials,
.faq,
.service-detail,
.about-story,
.contact-map {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.assortment__grid,
.proof-band__grid,
.faq__grid,
.about-story__grid,
.contact-map__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1px;
  background: var(--color-line);
}

.spec-card {
  min-height: 300px;
  padding: 1.25rem;
  background: var(--color-surface);
}

.spec-card:first-child {
  grid-row: span 2;
}

.spec-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.spec-card:first-child img {
  height: 430px;
}

.spec-card h3,
.story-columns h3,
.service-detail h2,
.material-copy h2,
.cta-band h2,
.contact-map h2,
.page-hero h1,
.contact--page h1 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.spec-card h3,
.story-columns h3 {
  font-size: 1.35rem;
  margin-top: 0.8rem;
}

.spec-card p,
.story-columns p,
.service-detail p,
.material-copy p,
.cta-band p,
.contact-map p,
.page-hero p {
  margin: 1rem 0 0;
  color: var(--color-muted);
  line-height: 1.62;
}

.proof-band {
  background: var(--color-text);
  color: #fffaf1;
}

.proof-band--light {
  background: #eef2f6;
  color: var(--color-text);
}

.proof-band p {
  color: rgba(255, 250, 241, 0.68);
}

.proof-band--light p {
  color: var(--color-muted);
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.proof-band--light .client-strip {
  background: var(--color-line);
}

.client-strip span {
  min-height: 86px;
  display: grid;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 250, 241, 0.9);
  font-weight: 700;
}

.proof-band--light .client-strip span {
  background: var(--color-bg);
  color: var(--color-text);
}

.materials__grid,
.service-detail__grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.material-photo,
.service-detail__image,
.page-hero img,
.address-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.material-photo img,
.service-detail__image img,
.page-hero img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.material-copy h2 {
  font-size: 3rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.faq-list {
  border-top: 1px solid var(--color-line);
}

.faq-list details {
  border-bottom: 1px solid var(--color-line);
  padding: 1.2rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.15rem;
}

.faq-list details p {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  line-height: 1.62;
}

.page-hero {
  padding-block: clamp(6rem, 11vw, 10rem);
  border-bottom: 1px solid var(--color-line);
}

.page-hero h1,
.contact--page h1 {
  font-size: 4rem;
}

.page-hero img {
  aspect-ratio: 4 / 3;
}

.service-detail--dark {
  background: var(--color-text);
  color: #fffaf1;
}

.service-detail--dark p,
.service-detail--dark .check-list li {
  color: rgba(255, 250, 241, 0.68);
}

.number-label,
.story-columns span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1px;
  background: var(--color-line);
}

.story-columns article {
  min-height: 220px;
  padding: 1.35rem;
  background: var(--color-bg);
}

.story-columns article:first-child {
  grid-row: span 2;
}

.cta-band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: #eef2f6;
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.75fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  font-size: 2.5rem;
}

.projects--page {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.project-masonry--expanded {
  grid-auto-rows: 270px;
}

.contact--page {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
}

.address-panel {
  padding: clamp(1.3rem, 3vw, 2.25rem);
}

.address-panel span {
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.address-panel strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 2.2rem;
  line-height: 1.05;
}

.js .section-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation-delay: calc(var(--index, 0) * 90ms);
}

.js .section-reveal.is-visible {
  animation: reveal 0.8s var(--ease) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(260%);
  }
}

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

  .js .section-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero h1,
  .section-title h2,
  .projects__head h2,
  .about h2,
  .contact h2,
  .page-hero h1,
  .contact--page h1,
  .material-copy h2,
  .service-detail h2,
  .cta-band h2 {
    font-size: 3.45rem;
  }

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

  .nav__actions .phone span {
    display: none;
  }

  .hero__grid,
  .services__grid,
  .process__grid,
  .about__grid,
  .contact__grid,
  .assortment__grid,
  .proof-band__grid,
  .faq__grid,
  .about-story__grid,
  .contact-map__grid,
  .materials__grid,
  .service-detail__grid,
  .page-hero__grid,
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .hero__proof {
    max-width: 620px;
  }

  .hero__media {
    left: 34%;
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav__links,
  .nav__actions {
    position: fixed;
    left: 1rem;
    right: 1rem;
    display: grid;
    grid-auto-flow: row;
    justify-items: start;
    gap: 0;
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav__links {
    top: 82px;
  }

  .nav__actions {
    top: 272px;
  }

  .nav__links.is-open,
  .nav__actions.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__links a,
  .nav__actions a {
    width: 100%;
    padding: 0.9rem;
  }

  .nav__actions .phone span {
    display: inline;
  }

  .hero__media {
    inset: 72px 0 0 0;
    opacity: 0.34;
  }

  .hero__media::before {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.68));
  }

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

  .project-tile--wide,
  .project-tile--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.25rem, 1400px);
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 7rem 2.5rem;
  }

  .hero h1,
  .section-title h2,
  .projects__head h2,
  .about h2,
  .contact h2,
  .page-hero h1,
  .contact--page h1,
  .material-copy h2,
  .service-detail h2,
  .cta-band h2 {
    font-size: 2.75rem;
  }

  .hero__actions,
  .projects__head,
  .footer__grid,
  .section-action {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .service-rail,
  .project-masonry,
  .about__list div,
  .timeline li,
  .spec-grid,
  .client-strip,
  .story-columns,
  .footer__links {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .service-item:nth-child(2),
  .service-item:nth-child(3),
  .spec-card:first-child,
  .story-columns article:first-child {
    transform: none;
    grid-row: span 1;
  }

  .filter {
    overflow-x: auto;
  }

  .project-masonry {
    grid-auto-rows: minmax(280px, auto);
  }

  .project-tile {
    min-height: 320px;
  }

  .spec-card:first-child img,
  .spec-card img,
  .material-photo img,
  .service-detail__image img,
  .page-hero img {
    min-height: 260px;
    height: 260px;
  }

  .footer__credit {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 64px;
  }

  .brand__main {
    font-size: 1rem;
  }

  .brand__accent {
    font-size: 0.86rem;
  }

  .hero h1,
  .section-title h2,
  .projects__head h2,
  .about h2,
  .contact h2,
  .page-hero h1,
  .contact--page h1,
  .material-copy h2,
  .service-detail h2,
  .cta-band h2 {
    font-size: 2.15rem;
  }

  .hero__media {
    inset-top: 64px;
  }

  .hero__proof div {
    padding: 1rem;
  }
}
