@charset "UTF-8";

/* Alex Foto Di — Web design + fotografia per aziende */
:root {
  --ink: #11130f;
  --ink-2: #1c1f19;
  --paper: #f3f1e9;
  --paper-2: #e8e5da;
  --white: #fffefa;
  --muted: #5c5f56;
  --line: rgba(17, 19, 15, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #ff5c35;
  --accent-dark: #d93f1c;
  --signal: #d8ff4f;
  --success: #247a48;
  --error: #b42318;
  --font: "Manrope", Arial, sans-serif;
  --container: min(1320px, calc(100% - 36px));
  --header-height: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body::after {
  position: fixed;
  z-index: 2000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.9'/%3E%3C/svg%3E");
}

::selection {
  color: var(--ink);
  background: var(--signal);
}

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

img {
  width: 100%;
}

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

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 560;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.68);
}

.display-title,
.section-title,
.page-title {
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.display-title {
  max-width: 800px;
  font-size: clamp(3.25rem, 13vw, 7.8rem);
}

.section-title {
  max-width: 980px;
  font-size: clamp(2.65rem, 8.5vw, 6.6rem);
}

.page-title {
  font-size: clamp(3.2rem, 10vw, 7.8rem);
}

.display-title em,
.section-title em,
.page-title em {
  color: var(--accent-dark);
  font-style: normal;
}

.services-section .section-title em,
.standards-section .section-title em {
  color: var(--accent);
}

.lead {
  max-width: 720px;
  color: var(--ink-2);
  font-size: clamp(1.12rem, 3vw, 1.42rem);
  line-height: 1.55;
}

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

.section-heading {
  display: grid;
  margin-bottom: 52px;
  gap: 24px;
}

.section-heading__top {
  max-width: 660px;
}

.section-heading h2 {
  margin-top: 22px;
}

.section-heading__aside {
  max-width: 460px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 250ms var(--ease);
}

.button::after {
  content: "↗";
  font-size: 1.05rem;
  font-weight: 500;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.button--accent {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.button--accent:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button--light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button--light:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
}

.button--ghost:hover {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: gap 260ms var(--ease), color 200ms ease;
}

.text-link::after {
  content: "↗";
  font-size: 1rem;
}

.text-link:hover {
  gap: 22px;
  color: var(--accent);
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--ink);
  background: rgba(243, 241, 233, 0.92);
  border-bottom: 1px solid transparent;
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body[data-header="overlay"] .site-header:not(.is-scrolled) {
  color: var(--white);
  background: rgba(17, 19, 15, 0.12);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(243, 241, 233, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 35px rgba(17, 19, 15, 0.06);
}

.header-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-dot {
  color: var(--accent);
}

.desktop-nav,
.header-action {
  display: none;
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: inherit;
  background: transparent;
  place-items: center;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 26px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 280ms var(--ease), opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: grid;
  padding: calc(var(--header-height) + 26px) 18px 28px;
  color: var(--white);
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 280ms ease, transform 360ms var(--ease), visibility 0s 360ms;
}

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu nav a {
  display: flex;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
  justify-content: space-between;
  font-size: clamp(2.5rem, 13vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.mobile-menu nav a span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.mobile-menu-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.menu-open .site-header {
  color: var(--white);
  background: transparent;
  border-bottom-color: var(--line-dark);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Business hero */
.hero--business {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}

.hero--business::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 12, 9, 0.18), rgba(10, 12, 9, 0.55));
}

.hero--business .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: 28px;
  gap: 34px;
  grid-template-rows: 1fr auto;
}

.hero-copy {
  align-self: end;
  padding-bottom: 24px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2.6vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 10px;
}

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  animation: hero-in 1.2s var(--ease) both;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 12, 9, 0.16), rgba(10, 12, 9, 0.76) 82%);
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}

.hero-proof {
  display: grid;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  color: var(--white);
  font-size: 0.72rem;
}

/* Positioning */
.positioning {
  background: var(--paper);
}

.positioning-grid {
  display: grid;
  gap: 44px;
}

.positioning-copy {
  display: grid;
  gap: 26px;
}

.positioning-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.proof-item {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 54px 1fr;
  gap: 12px;
}

.proof-item strong {
  font-size: 1.8rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Services */
.services-section {
  color: var(--white);
  background: var(--ink);
}

.services-section .section-heading__aside,
.services-section .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
}

.service-card--premium {
  color: var(--white);
  background: #20231d;
}

.service-card--base {
  color: var(--ink);
  background: var(--white);
}

.service-card__content {
  display: flex;
  padding: 30px 24px 34px;
  flex-direction: column;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-card__number {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.service-card--base .service-card__number {
  color: var(--muted);
}

.service-card h3 {
  max-width: 580px;
  margin-top: 54px;
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.service-card__description {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
}

.service-card--base .service-card__description {
  color: var(--muted);
}

.service-list {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--line-dark);
}

.service-card--base .service-list {
  border-top-color: var(--line);
}

.service-list li {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.service-card--base .service-list li {
  border-bottom-color: var(--line);
  color: var(--ink-2);
}

.service-list li::before {
  content: "✓";
  color: var(--signal);
  font-weight: 800;
}

.service-card .button {
  margin-top: 32px;
  align-self: flex-start;
}

.service-card--premium .button {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.service-card--premium .button:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.service-card--base .button {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.service-card__image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

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

.service-card__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(10, 12, 9, 0.32));
}

/* Process */
.process-section {
  background: var(--paper);
}

.process-list {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 46px 1fr;
  gap: 18px;
}

.process-item__number {
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-item h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.process-item p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.93rem;
}

.process-section--compact {
  padding-bottom: 72px;
}

.process-section--compact .section-heading {
  margin-bottom: 36px;
}

.process-section--compact .section-title {
  max-width: 720px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.process-section--compact .process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.process-section--compact .process-item {
  display: block;
  min-height: 150px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.process-section--compact .process-item:last-child {
  border-right: 0;
}

.process-section--compact .process-item h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

.process-section--compact .process-item p {
  max-width: 300px;
  margin-top: 16px;
}

/* Portfolio tabs */
.portfolio-section {
  background: var(--paper-2);
}

.portfolio-tabs {
  display: flex;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.portfolio-tabs::-webkit-scrollbar {
  display: none;
}

.portfolio-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 17px 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 260ms var(--ease);
}

.portfolio-tab[aria-selected="true"] {
  color: var(--ink);
}

.portfolio-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.portfolio-panel[hidden] {
  display: none;
}

.project-grid,
.project-teaser-grid {
  display: grid;
  gap: 18px;
}

.project-card,
.project-teaser {
  background: var(--white);
  border: 1px solid var(--line);
}

.project-card__body,
.project-teaser__body {
  padding: 24px;
}

.project-card__meta,
.project-teaser__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3,
.project-teaser h3 {
  margin-top: 22px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.project-card p,
.project-teaser p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-tags {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shot {
  position: relative;
  min-height: 360px;
  padding: 10px;
  background: #dadbd4;
  overflow: hidden;
}

.site-shot__browser {
  position: relative;
  z-index: 2;
  display: flex;
  height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.62);
  background: #181a16;
}

.site-shot__browser i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.site-shot__browser span {
  margin-left: auto;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.site-shot__page {
  position: relative;
  min-height: 320px;
  background: var(--ink);
  overflow: hidden;
}

.site-shot__page img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-shot__page::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 12, 9, 0.82), rgba(10, 12, 9, 0.08));
}

.site-shot__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 8%;
  max-width: 62%;
  color: var(--white);
  transform: translateY(-50%);
}

.site-shot__content small {
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-shot__content strong {
  display: block;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 540;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.site-shot__content p {
  max-width: 280px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
}

.site-shot--light .site-shot__browser {
  color: var(--muted);
  background: var(--white);
}

.site-shot--light .site-shot__page {
  background: var(--paper);
}

.site-shot--light .site-shot__page::after {
  background: linear-gradient(90deg, rgba(243, 241, 233, 0.94), rgba(243, 241, 233, 0.05));
}

.site-shot--light .site-shot__content {
  color: var(--ink);
}

.site-shot--light .site-shot__content small {
  color: var(--accent-dark);
}

.site-shot--light .site-shot__content p {
  color: var(--muted);
}

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

.photo-item {
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.photo-item[hidden] {
  display: none;
}

.photo-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: #d9d7cf;
  overflow: hidden;
}

.photo-button img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.photo-button:hover img {
  filter: brightness(0.82);
  transform: scale(1.025);
}

.photo-button::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  content: "+";
  color: var(--ink);
  background: var(--white);
  place-items: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 200ms ease, transform 260ms var(--ease);
}

.photo-button:hover::after,
.photo-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.photo-item:nth-child(3n + 1) .photo-button {
  aspect-ratio: 0.82;
}

.photo-item:nth-child(3n + 2) .photo-button {
  aspect-ratio: 1.2;
}

.photo-item:nth-child(3n) .photo-button {
  aspect-ratio: 0.95;
}

.photo-caption {
  display: flex;
  padding-top: 10px;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-caption strong {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
}

.photo-filters {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.filter-button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.filter-button[aria-pressed="true"],
.filter-button:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.portfolio-link {
  display: flex;
  margin-top: 34px;
  justify-content: flex-end;
}

.showcase-values {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.showcase-value {
  padding: 20px 24px 0 0;
  border-right: 1px solid var(--line);
}

.showcase-value:last-child {
  padding-right: 0;
  border-right: 0;
}

.showcase-value span {
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.showcase-value strong {
  display: block;
  margin-top: 28px;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.showcase-value p {
  max-width: 220px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Why / dual profile */
.dual-section {
  background: var(--white);
}

.dual-grid {
  display: grid;
  gap: 0;
}

.dual-image {
  position: relative;
  min-height: 60svh;
  overflow: hidden;
}

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

.dual-image__label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  padding: 15px 17px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: rgba(17, 19, 15, 0.82);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dual-copy {
  padding: 72px 0;
}

.dual-copy h2 {
  margin-top: 22px;
}

.dual-copy > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
}

.benefit-list {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.benefit-item {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.benefit-item span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
}

.benefit-item h3 {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.benefit-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.number-band {
  color: var(--ink);
  background: var(--accent);
}

.number-grid {
  display: grid;
}

.number-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(17, 19, 15, 0.24);
}

.number-item:last-child {
  border-bottom: 0;
}

.number-item strong {
  display: block;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.number-item span {
  display: block;
  margin-top: 13px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: clamp(1rem, 2.5vw, 1.28rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  padding: 0 40px 24px 0;
  color: var(--muted);
}

/* CTA */
.image-cta {
  position: relative;
  min-height: 74svh;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}

.image-cta > img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 12, 9, 0.8), rgba(10, 12, 9, 0.18) 75%), linear-gradient(0deg, rgba(10, 12, 9, 0.38), transparent 60%);
}

.image-cta__inner {
  display: flex;
  min-height: 74svh;
  padding-block: 70px 34px;
  flex-direction: column;
  justify-content: space-between;
}

.image-cta h2 {
  max-width: 980px;
  margin-top: auto;
  font-size: clamp(3.2rem, 10.5vw, 9rem);
  font-weight: 540;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.image-cta h2 em {
  color: var(--signal);
  font-style: normal;
}

.image-cta__bottom {
  display: grid;
  margin-top: 48px;
  align-items: end;
  gap: 26px;
}

.image-cta__bottom p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-height) + 68px) 0 76px;
  background: var(--paper);
  overflow: hidden;
}

.page-hero--overlay {
  position: relative;
  min-height: 76svh;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.page-hero--overlay > img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--overlay::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 12, 9, 0.84), rgba(10, 12, 9, 0.2) 75%), linear-gradient(0deg, rgba(10, 12, 9, 0.4), transparent 55%);
}

.page-hero__grid {
  display: grid;
  gap: 42px;
}

.page-hero__copy {
  align-self: end;
}

.page-hero__copy p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 2.7vw, 1.25rem);
}

.page-hero--overlay .page-title em {
  color: var(--accent);
}

.page-hero--overlay .page-hero__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.page-hero__meta {
  display: grid;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero--overlay .page-hero__meta {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.65);
}

.page-hero__image {
  min-height: 54svh;
  overflow: hidden;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__image--portrait img {
  object-position: 50% 35%;
}

/* About */
.identity-section {
  background: var(--white);
}

.identity-grid {
  display: grid;
  gap: 52px;
}

.identity-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
}

.legal-copy h3 {
  margin-top: 42px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-copy h3:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin-top: 12px;
  color: var(--muted);
}

.legal-copy .text-link {
  margin-top: 38px;
}

.identity-columns {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.identity-column {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.identity-column span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.identity-column h3 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.identity-column p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.standards-section .section-heading__aside,
.standards-section .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.standards-grid {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid var(--line-dark);
}

.standard-item {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 42px 1fr;
  gap: 18px;
}

.standard-item > span {
  color: var(--signal);
  font-size: 0.65rem;
  font-weight: 800;
}

.standard-item h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.standard-item p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Contact */
.contact-main {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 48px;
}

.contact-intro h2 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.contact-intro h2 em {
  color: var(--accent-dark);
  font-style: normal;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
}

.contact-form {
  padding: 26px 20px;
  color: var(--white);
  background: var(--ink);
}

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

.form-heading {
  display: flex;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.form-heading span {
  color: var(--signal);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

.form-field label,
.form-field legend {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 1rem;
  transition: border-color 180ms ease;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--signal);
}

.form-field select {
  color-scheme: dark;
}

.form-field select option {
  color: var(--ink);
  background: var(--white);
}

.form-consent {
  display: grid;
  margin-top: 24px;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  line-height: 1.5;
}

.form-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--signal);
}

.form-consent a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  margin-top: 26px;
}

.form-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  text-align: center;
}

.contact-aside {
  display: none;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.contact-aside-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.contact-aside-card span {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-aside-card h3 {
  margin-top: 30px;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-aside-card p {
  max-width: 640px;
  margin-top: 14px;
  color: var(--muted);
}

.contact-aside-card .text-link {
  margin-top: 22px;
}

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(10, 12, 9, 0.98);
}

.lightbox::backdrop {
  background: rgba(10, 12, 9, 0.92);
}

.lightbox__inner {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 70px 16px 22px;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.lightbox__image-wrap {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
}

.lightbox__image-wrap img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.lightbox__button {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  place-items: center;
  font-size: 1.1rem;
  transition: color 180ms ease, background 180ms ease;
}

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

.lightbox__button--close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
}

.lightbox__button--prev {
  grid-column: 1;
  grid-row: 1;
}

.lightbox__button--next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox__caption {
  grid-column: 2;
  grid-row: 2;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding: 68px 0 24px;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: grid;
  padding-bottom: 58px;
  gap: 48px;
}

.footer-title {
  max-width: 760px;
  font-size: clamp(2.7rem, 8vw, 6.2rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.footer-title em {
  color: var(--signal);
  font-style: normal;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: end;
  gap: 0 22px;
}

.footer-links a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  gap: 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

/* Motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
  }

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

  .proof-grid,
  .number-grid,
  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item {
    grid-template-columns: 62px 1fr;
  }

  .project-teaser-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-teaser:first-child,
  .project-card:first-child {
    grid-column: 1 / -1;
  }

  .site-shot,
  .project-card:first-child .site-shot {
    min-height: 480px;
  }

  .project-card:first-child .site-shot__page {
    min-height: 440px;
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .contact-form {
    padding: 36px;
  }

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

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

@media (min-width: 800px) {
  :root {
    --container: min(1320px, calc(100% - 64px));
  }

  .section {
    padding: 120px 0;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    align-items: end;
  }

  .section-heading__top {
    max-width: 900px;
  }

  .section-heading__aside {
    justify-self: end;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .desktop-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
  }

  .desktop-nav a {
    position: relative;
    padding: 8px 0;
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--ease);
  }

  .desktop-nav a:hover::after,
  .desktop-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-action {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .header-action::after {
    content: "↗";
    font-size: 1rem;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

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

  .hero-grid {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 36px;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
    grid-template-rows: 1fr auto;
    gap: 24px;
  }

  .hero--business::after {
    background: linear-gradient(90deg, rgba(10, 12, 9, 0.95) 0%, rgba(10, 12, 9, 0.78) 45%, rgba(10, 12, 9, 0.12) 72%);
  }

  .hero-visual {
    left: 43%;
  }

  .hero-visual::after {
    background: linear-gradient(90deg, rgba(10, 12, 9, 0.4), transparent 48%);
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 40px 0 0;
  }

  .hero-proof {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .positioning-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(60px, 9vw, 140px);
  }

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

  .service-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .service-card--premium {
    grid-template-rows: auto 460px;
  }

  .service-card--base {
    grid-template-rows: auto 340px;
  }

  .service-card__content {
    padding: 40px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item:nth-child(odd) {
    padding-right: 34px;
    border-right: 1px solid var(--line);
  }

  .process-item:nth-child(even) {
    padding-left: 34px;
  }

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

  .dual-grid {
    min-height: 820px;
    grid-template-columns: 0.88fr 1.12fr;
  }

  .dual-copy {
    display: flex;
    padding: clamp(70px, 8vw, 120px);
    flex-direction: column;
    justify-content: center;
  }

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

  .number-item {
    padding: 40px 30px;
    border-right: 1px solid rgba(17, 19, 15, 0.24);
    border-bottom: 0;
  }

  .number-item:first-child {
    padding-left: 0;
  }

  .number-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
  }

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

  .page-hero__grid {
    min-height: 650px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .page-hero__copy {
    grid-column: 1 / span 7;
  }

  .page-hero__image {
    grid-column: 8 / -1;
  }

  .page-hero--overlay .page-hero__grid {
    min-height: calc(76svh - var(--header-height) - 68px);
  }

  .identity-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(70px, 10vw, 150px);
  }

  .identity-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity-column {
    padding: 32px;
    border-right: 1px solid var(--line);
  }

  .identity-column:first-child {
    padding-left: 0;
  }

  .identity-column:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 54px;
  }

  .contact-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(60px, 9vw, 130px);
    align-items: start;
  }

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

  .contact-aside-card {
    padding: 30px;
    border-right: 1px solid var(--line);
  }

  .contact-aside-card:first-child {
    padding-left: 0;
  }

  .contact-aside-card:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .footer-top {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
  }

  .footer-bottom {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .footer-bottom a {
    justify-self: end;
  }

  .lightbox__inner {
    padding: 24px 28px;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
  }

  .lightbox__button {
    width: 50px;
    height: 50px;
  }

  .lightbox__button--close {
    top: 24px;
    right: 24px;
  }
}

@media (min-width: 800px) and (max-width: 1049px) {
  .desktop-nav,
  .header-action {
    display: none;
  }

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

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    display: grid;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .display-title {
    font-size: clamp(3.5rem, 9.2vw, 6.2rem);
  }

  .hero-visual {
    left: 0;
  }

  .hero--business::after {
    background: linear-gradient(90deg, rgba(10, 12, 9, 0.94), rgba(10, 12, 9, 0.66) 58%, rgba(10, 12, 9, 0.12));
  }
}

@media (min-width: 1100px) {
  .service-card--premium {
    grid-template-rows: auto 600px;
  }

  .service-card--base {
    grid-template-rows: auto 440px;
  }

  .project-teaser-grid,
  .project-grid {
    gap: 24px;
  }

  .project-teaser--featured .site-shot__content strong,
  .project-card:first-child .site-shot__content strong {
    font-size: 5.6rem;
  }
}

#portfolio .project-teaser:first-child {
  grid-column: auto;
}

#portfolio .site-shot {
  min-height: 360px;
}

#portfolio .project-teaser:first-child .site-shot__page {
  min-height: 320px;
}

#portfolio .project-teaser:first-child .site-shot__content strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

#portfolio .project-teaser__body {
  padding: 20px;
}

#portfolio .project-teaser__body h3 {
  font-size: 1.9rem;
}

@media (max-width: 760px) {
  .process-section--compact .process-list {
    grid-template-columns: 1fr;
  }

  .process-section--compact .process-item,
  .process-section--compact .process-item:last-child {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-section--compact .process-item:last-child {
    border-bottom: 0;
  }

  .process-section--compact .process-item p {
    max-width: 520px;
  }

  .showcase-values {
    grid-template-columns: 1fr;
  }

  .showcase-value,
  .showcase-value:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .showcase-value:last-child {
    border-bottom: 0;
  }

  .showcase-value strong {
    margin-top: 12px;
  }

  #portfolio .project-teaser:first-child {
    grid-column: auto;
  }

  #portfolio .site-shot {
    min-height: 320px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
