:root {
  --ink: #171513;
  --ink-soft: #403a35;
  --paper: #fbfaf7;
  --paper-deep: #efede6;
  --line: rgba(23, 21, 19, 0.14);
  --muted: #746c64;
  --olive: #68735b;
  --clay: #bd7054;
  --blue: #3e6672;
  --gold: #d7ad62;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 21, 19, 0.14);
  --radius: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 21, 19, 0.035) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(215, 173, 98, 0.8);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.88);
  box-shadow: 0 14px 50px rgba(23, 21, 19, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo-frame {
  position: relative;
  display: block;
  overflow: visible;
}

.brand-logo-wordmark {
  width: clamp(230px, calc(18vw + 20px), 258px);
  height: 34px;
}

.brand-logo-monogram {
  display: none;
  width: 40px;
  height: 40px;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -46.6%);
}

.brand-logo-wordmark .brand-logo {
  width: clamp(330px, 30vw, 365px);
}

.brand-logo-monogram .brand-logo {
  width: 72px;
  transform: translate(-50%, -50%);
}

.brand-logo-dark,
.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light {
  opacity: 0;
}

.brand-logo-light,
.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 0.93rem;
}

.site-nav a,
.site-footer a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

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

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

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

.section,
.hero,
.contact-section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(189, 112, 84, 0.22), transparent 36%),
    linear-gradient(315deg, rgba(62, 102, 114, 0.32), transparent 42%),
    #171513;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: 92svh;
  padding-top: calc(var(--header-height) + 44px);
  padding-bottom: clamp(36px, 7vw, 84px);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #f0bd7a;
}

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

h1,
h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.6vw, 6.25rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.4vw, 5.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: 0;
  line-height: 1.12;
}

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

.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.hero-text {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.is-disabled,
.btn.is-disabled:hover {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 16px 42px rgba(215, 173, 98, 0.22);
}

.btn-ghost {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.btn-text {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: clamp(440px, 46vw, 680px);
  perspective: 900px;
}

.browser-frame,
.phone-frame {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform:
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translateZ(0);
  transition: transform 220ms ease;
}

.browser-main {
  top: 4%;
  left: 0;
  width: 84%;
  height: 60%;
  z-index: 1;
  padding: 16px;
}

.browser-secondary {
  left: clamp(18px, 7%, 54px);
  bottom: 5%;
  z-index: 2;
  width: 58%;
  height: 33%;
  padding: 14px;
}

.phone-frame {
  right: 0;
  bottom: 18%;
  z-index: 3;
  width: clamp(104px, 8vw, 116px);
  height: clamp(208px, 16vw, 232px);
  padding: 18px 10px 12px;
  border-radius: 28px;
}

.browser-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-50%);
}

.visual-page {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(100% - 21px);
  min-height: 0;
  padding: clamp(18px, 3vw, 36px);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
}

.visual-page strong {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.6vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.browser-secondary .visual-page {
  padding: clamp(18px, 2vw, 28px);
}

.browser-secondary .visual-page strong {
  max-width: 13ch;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
}

.visual-restaurant {
  background:
    linear-gradient(180deg, transparent 30%, rgba(23, 21, 19, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 19%),
    linear-gradient(135deg, #7b2f22, #262220 58%, #1d3b40);
}

.visual-pro {
  background:
    linear-gradient(180deg, transparent, rgba(23, 21, 19, 0.8)),
    linear-gradient(110deg, #e4d8c7, #6f897a 44%, #263f4a);
}

.visual-mobile {
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    #243437;
}

.visual-mobile span {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.visual-mobile strong {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.visual-mobile small {
  color: rgba(255, 255, 255, 0.68);
}

.mini-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plate-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.plate-row span {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.intro-strip {
  padding: clamp(30px, 5vw, 54px) clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.intro-strip p {
  max-width: 1120px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 3vw, 2.85rem);
  line-height: 1.18;
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(36px, 7vw, 76px);
}

.section-heading p {
  max-width: 720px;
}

.projects-list {
  display: grid;
  gap: clamp(54px, 8vw, 112px);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.project:nth-child(even) .project-media {
  order: 2;
}

.project-media {
  position: relative;
  min-height: clamp(340px, 34vw, 500px);
}

.device-shell {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1E2325;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-desktop {
  top: 0;
  right: clamp(72px, 15%, 118px);
  bottom: auto;
  left: 0;
  aspect-ratio: 16 / 9;
  padding: 14px;
}

.device-mobile {
  right: clamp(6px, 2.4%, 18px);
  bottom: 0;
  z-index: 2;
  width: clamp(124px, 24%, 172px);
  min-width: 116px;
  max-width: 172px;
  aspect-ratio: 9 / 18.5;
  padding: 0;
  border-radius: 24px;
}

.mockup-chrome {
  display: flex;
  gap: 6px;
  height: 18px;
  margin-bottom: 10px;
}

.mockup-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.mockup-screen {
  position: relative;
  display: grid;
  height: calc(100% - 28px);
  place-items: center;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: transparent;
}

.mockup-screen::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mockup-screen img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: top center;
}

.device-desktop .mockup-screen::before {
  display: none;
}

.device-desktop .mockup-screen img {
  object-position: top center;
}

.device-mobile .mockup-screen {
  position: absolute;
  inset: 10px 4px;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 22px;
}

.device-mobile .mockup-screen::before {
  display: none;
}

.device-mobile .mockup-screen img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project:nth-child(3) .device-desktop .mockup-screen img {
  object-fit: cover;
}

.project-copy {
  max-width: 560px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  font-weight: 500;
  line-height: 0.96;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
}

.features li {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.service-lead,
.service-row,
.business-panel,
.about-note,
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 52px rgba(23, 21, 19, 0.06);
}

.service-lead {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: clamp(24px, 4vw, 42px);
}

.service-lead span,
.panel-number {
  display: block;
  margin-bottom: 28px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.82;
}

.service-stack {
  display: grid;
  gap: 14px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
}

.service-row p,
.business-panel p,
.process-step p {
  margin-bottom: 0;
}

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

.business-panel {
  min-height: 350px;
  padding: clamp(24px, 4vw, 44px);
}

.business-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  min-height: 250px;
}

.process-section {
  background: var(--paper-deep);
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1040px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.process-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 64px;
  width: 1px;
  content: "";
  background: var(--line);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  padding: 0 0 clamp(38px, 6vw, 70px);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step span {
  z-index: 1;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
}

.process-step div {
  padding-top: 22px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.about-copy {
  max-width: 850px;
}

.about-note {
  padding: clamp(24px, 4vw, 40px);
}

.about-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-note p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.22;
}

.faq-list {
  max-width: 980px;
  overflow: hidden;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 3vw, 32px);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  text-align: center;
  line-height: 25px;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 760px;
  padding: 0 clamp(18px, 3vw, 32px) 26px;
  margin-bottom: 0;
}

.contact-section {
  padding-block: clamp(78px, 12vw, 150px);
}

.contact-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  max-width: none;
}

.contact-inner p {
  max-width: 650px;
  margin-inline: auto;
  font-size: 1.12rem;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.footer-brand-logo {
  position: relative;
  display: block;
  width: 220px;
  height: 32px;
  overflow: hidden;
}

.footer-brand-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 340px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -46.6%);
}

.site-footer span,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .browser-main .visual-page strong {
    font-size: clamp(1.7rem, 3.3vw, 4.2rem);
  }

  .plate-row {
    margin-top: 18px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 20px;
  }

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

  .browser-main {
    width: 78%;
    height: 58%;
  }

  .browser-secondary {
    left: 4%;
    bottom: 4%;
    width: 54%;
    height: 31%;
  }

  .phone-frame {
    right: 4%;
    bottom: 13%;
    width: clamp(96px, 11vw, 110px);
    height: clamp(190px, 20vw, 208px);
  }

  .browser-main .visual-page {
    padding: clamp(18px, 2.4vw, 24px);
  }

  .browser-main .visual-page strong {
    max-width: 16ch;
    font-size: clamp(1.55rem, 3.1vw, 2.15rem);
  }

  .browser-secondary .visual-page strong {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  }

  .browser-secondary .visual-page {
    padding: 12px;
  }

  .browser-secondary .mini-label {
    margin-bottom: 8px;
    padding: 5px 7px;
    font-size: 0.56rem;
  }

  .plate-row {
    margin-top: 14px;
  }

  .plate-row span {
    width: 42px;
    height: 42px;
  }

  .project,
  .services-layout,
  .about-section {
    grid-template-columns: 1fr;
  }

  .project-media {
    min-height: clamp(500px, 56vw, 620px);
  }

  .project:nth-child(even) .project-media {
    order: 0;
  }

  .service-lead {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  body {
    background-size: 38px 38px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(251, 250, 247, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .site-nav a {
    padding: 15px 12px;
  }

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

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 24px);
    gap: 26px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    margin-top: -14px;
    min-height: 430px;
  }

  .browser-main {
    left: 0;
    width: 78%;
    top: 0;
    height: 58%;
  }

  .browser-secondary {
    left: 3%;
    bottom: 4%;
    width: 56%;
    height: 32%;
  }

  .phone-frame {
    right: 2%;
    bottom: 16%;
    width: clamp(78px, 13vw, 100px);
    height: clamp(160px, 26vw, 188px);
  }

  .browser-main .visual-page {
    padding: 18px;
  }

  .browser-main .visual-page strong {
    max-width: 16ch;
    font-size: clamp(1.3rem, 3.4vw, 1.65rem);
  }

  .browser-secondary .visual-page {
    padding: 12px;
  }

  .browser-secondary .visual-page strong {
    max-width: 14ch;
    font-size: clamp(0.86rem, 1.9vw, 1rem);
  }

  .visual-mobile {
    gap: 7px;
  }

  .visual-mobile span {
    width: 46px;
    height: 46px;
  }

  .visual-mobile strong {
    font-size: 0.92rem;
  }

  .visual-mobile small {
    max-width: 9ch;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .mini-label {
    margin-bottom: 10px;
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .plate-row {
    gap: 8px;
    margin-top: 10px;
  }

  .plate-row span {
    width: 34px;
    height: 34px;
  }

  .project-media {
    min-height: 420px;
  }

  .device-desktop {
    top: 0;
    right: clamp(56px, 16%, 104px);
    bottom: auto;
    left: 0;
  }

  .device-mobile {
    right: 0;
    width: clamp(112px, 27%, 164px);
  }

  .service-row,
  .business-grid,
  .business-wide,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .business-panel {
    min-height: auto;
  }

  .process-timeline::before {
    left: 32px;
  }

  .process-step {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
  }

  .process-step span {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
  }

  .process-step div {
    padding-top: 4px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-logo-wordmark {
    display: none;
  }

  .brand-logo-monogram {
    display: block;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.65rem, 12vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

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

  .browser-main {
    width: 76%;
    height: 58%;
  }

  .browser-secondary {
    left: 0;
    bottom: 3%;
    width: 62%;
    height: 39%;
  }

  .phone-frame {
    right: 0;
    bottom: 14%;
    width: clamp(76px, 20vw, 86px);
    height: clamp(145px, 36vw, 156px);
  }

  .visual-page {
    padding: 18px;
  }

  .browser-main .visual-page {
    padding: 14px;
  }

  .browser-main .visual-page strong {
    font-size: clamp(1.08rem, 4.8vw, 1.3rem);
    max-width: 16ch;
  }

  .browser-secondary .visual-page {
    padding: 10px;
  }

  .browser-secondary .visual-page strong {
    font-size: clamp(0.78rem, 3.5vw, 0.86rem);
    max-width: 15ch;
  }

  .visual-mobile {
    gap: 6px;
    padding: 14px 10px;
  }

  .visual-mobile span {
    width: 32px;
    height: 32px;
  }

  .visual-mobile strong {
    font-size: 0.7rem;
  }

  .visual-mobile small {
    max-width: 8ch;
    font-size: 0.56rem;
  }

  .mini-label {
    margin-bottom: 8px;
    padding: 5px 7px;
    font-size: 0.55rem;
  }

  .plate-row {
    margin-top: 8px;
  }

  .plate-row span {
    width: 24px;
    height: 24px;
  }

  .project-media {
    min-height: 350px;
  }

  .device-mobile {
    min-width: 104px;
    width: 31%;
  }

  .project-copy h3 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
