/* Self-hosted fonts (latin + latin-ext covers Romanian ă â î ș ț) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #111820;
  --ink-2: #19232d;
  --ink-3: #26323d;
  --paper: #f2efe8;
  --paper-2: #e4ded3;
  --white: #ffffff;
  --orange: #f47721;
  --orange-dark: #b34509;
  --orange-soft: #ffad72;
  --steel: #9aa8b4;
  --steel-dark: #5c6975;
  --text: #17212b;
  --muted: #56626d;
  --focus: #b34509;
  --focus-dark: #ff9b55;
  --line: rgba(23, 33, 43, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 34px 90px rgba(10, 17, 24, 0.2);
  --shadow-small: 0 18px 48px rgba(10, 17, 24, 0.12);
  --radius: 22px;
  --radius-small: 12px;
  --ease-out: cubic-bezier(.23,1,.32,1);
  --container: min(1240px, calc(100vw - 48px));
  --header-h: 76px;
}

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

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.gallery-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

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

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

main {
  overflow: clip;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 239, 232, 0.98)),
    var(--paper);
  border-block: 1px solid rgba(17, 24, 32, 0.06);
}

.section-dark {
  --focus: var(--focus-dark);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(154, 168, 180, 0.14), transparent 30%),
    linear-gradient(135deg, var(--ink), #0c1218 72%);
  color: var(--white);
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  line-height: 1.08;
}

p {
  margin-bottom: 0;
}

.section-label,
.form-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin-bottom: 0;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-label::before,
.form-kicker::before {
  width: 28px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--orange);
  content: "";
}

.section-dark .section-label {
  color: var(--orange-soft);
}

.section-heading,
.copy-stack {
  display: grid;
  gap: 22px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-text,
.hero-text,
.copy-stack > p:not(.section-label) {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.section-dark .section-text,
.section-dark p,
.page-hero .hero-text {
  color: #b8c1c9;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--orange-dark);
  font-weight: 800;
}

.text-link::after {
  content: "\2192";
  transition: transform 180ms var(--ease-out);
}

/* ------------------------------------------------------------ header */
.site-header {
  --focus: var(--focus-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 32, 0.96);
  box-shadow: 0 8px 30px rgba(4, 9, 13, 0.16);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.brand span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand strong {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand small {
  overflow: hidden;
  color: #aeb9c3;
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 0.72rem 0.86rem;
  border-radius: 8px;
  color: #d4dbe1;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0.86rem;
  bottom: 0.48rem;
  left: 0.86rem;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease-out);
}

.site-nav a.is-current {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 0.88rem 1.18rem;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(244, 119, 33, 0.24);
  transition: background 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.language-switch a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #b9c3cd;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.language-switch a[aria-current="true"] {
  background: #e8edf1;
  color: var(--ink);
}

.language-switch a:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .language-switch a:not([aria-current="true"]):hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
  }
}

.header-call {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border-radius: 9px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  transition: background 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--white);
  transition: transform 200ms var(--ease-out), opacity 160ms var(--ease-out);
}

/* ------------------------------------------------------------ hero */
.hero {
  --focus: var(--focus-dark);
  padding: 64px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(77, 96, 112, 0.3), transparent 32%),
    linear-gradient(122deg, #101720 0 58%, #18232d 58% 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.06) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 4.4vw, 4.8rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.hero .hero-text {
  max-width: 54ch;
  color: #b8c2ca;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.button::after {
  margin-left: 12px;
  font-size: 1.15em;
  content: "\2192";
}

.button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(244, 119, 33, 0.2);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40%;
  height: 36%;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  content: "";
}

.hero-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px 46px 4px 4px;
  background: var(--ink-3);
  box-shadow: var(--shadow);
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(6, 11, 15, 0.6));
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  right: -26px;
  bottom: 30px;
  z-index: 2;
  width: min(340px, 72%);
  padding: 22px 26px;
  border-left: 4px solid var(--orange);
  background: rgba(17, 24, 32, 0.94);
  color: #c8d0d7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.floating-panel .panel-title {
  margin-bottom: 7px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.floating-panel p:last-child {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------ metrics strip */
.metrics-strip {
  background: var(--orange);
  color: var(--ink);
}

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

.metrics article {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 26px 28px;
  border-left: 1px solid rgba(17, 24, 32, 0.22);
}

.metrics article:first-child {
  padding-left: 0;
  border-left: 0;
}

.metrics strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  line-height: 1.05;
}

.metrics span {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ------------------------------------------------------------ about */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
}

.split-layout .copy-stack {
  position: sticky;
  top: 126px;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 4px 40px 4px 4px;
  background: var(--ink);
  box-shadow: var(--shadow-small);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.principles-card {
  position: relative;
  padding: clamp(32px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px 40px 4px 4px;
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.principles-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 8px;
  background: var(--orange);
  content: "";
}

.principles-card > h3 {
  margin-bottom: 30px;
  font-size: clamp(2.2rem, 3.5vw, 3.3rem);
}

.principles-list {
  display: grid;
  gap: 0;
  counter-reset: principles;
}

.principles-list article {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  counter-increment: principles;
}

.principles-list article::before {
  grid-row: span 2;
  color: var(--orange-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  content: "0" counter(principles);
}

.principles-list strong {
  font-size: 1.05rem;
}

.principles-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ------------------------------------------------------------ services (home) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  --focus: var(--focus-dark);
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 22px;
  overflow: hidden;
  border-radius: 4px 28px 4px 4px;
  background: var(--ink);
  color: var(--white);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.service-card:last-child {
  grid-column: 1 / -1;
}

.service-card img {
  width: 100%;
  aspect-ratio: 300 / 253;
  object-fit: cover;
  border-radius: 2px 18px 2px 2px;
  filter: saturate(0.85) contrast(1.04);
  transition: transform 320ms var(--ease-out), filter 200ms var(--ease-out);
}

.service-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 4px 6px 4px 0;
}

.service-card .service-index,
.detail-card .service-index {
  display: inline-flex;
  color: var(--orange-soft);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.service-card h3 {
  color: var(--white);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.service-card p {
  max-width: 50ch;
  color: #c4ccd3;
  font-size: 0.94rem;
}

.service-card .card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--orange-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-card .card-link::after {
  content: "\2192";
}

/* ------------------------------------------------------------ promise */
.promise-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(48px, 9vw, 140px);
}

.promise-list,
.process-list {
  display: grid;
  margin: 0;
  padding: 0;
}

.promise-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
}

.promise-list strong {
  color: var(--white);
  font-size: 1rem;
}

.promise-list p {
  color: #aeb8c0;
}

/* ------------------------------------------------------------ portfolio */
.portfolio-page-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.portfolio-page-hero .copy-stack {
  max-width: 900px;
}

.portfolio-page-hero h1 {
  max-width: 12ch;
}

.portfolio-intro {
  overflow: hidden;
}

.portfolio-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.portfolio-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-facts article {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.portfolio-facts article:last-child {
  border-right: 0;
}

.portfolio-facts strong {
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.portfolio-facts span {
  max-width: 16ch;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.portfolio-card {
  --focus: var(--focus-dark);
  position: relative;
  display: block;
  min-height: 480px;
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 4px 24px 4px 4px;
  appearance: none;
  background: var(--ink-2);
  color: var(--white);
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.portfolio-card:nth-child(1) {
  min-height: 560px;
  grid-column: span 7;
}

.portfolio-card:nth-child(2) {
  min-height: 560px;
  grid-column: span 5;
}

.portfolio-card::before {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  content: "+";
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.portfolio-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(6, 11, 15, 0.08) 20%, rgba(6, 11, 15, 0.95) 100%);
  transition: background 200ms var(--ease-out);
}

.portfolio-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.03);
  transition: transform 320ms var(--ease-out), filter 200ms var(--ease-out);
}

.portfolio-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 32px;
}

.portfolio-meta > span:first-child {
  margin-bottom: 10px;
  color: var(--orange-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.portfolio-meta strong {
  max-width: 14ch;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.3rem, 3.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.portfolio-meta small {
  max-width: 34ch;
  margin-top: 12px;
  color: #d0d8de;
  font-size: 0.86rem;
  font-weight: 600;
}

.portfolio-meta .collection-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.collection-action b {
  color: var(--orange);
  font-size: 1.05rem;
}

.portfolio-card[href]::before {
  content: "\2197";
  font-size: 1.15rem;
}

/* wide banner card (home) */
.portfolio-card.is-wide {
  min-height: 380px;
  grid-column: 1 / -1;
}

/* compact cards: small stock photos are shown at natural size instead of stretched */
.portfolio-card.is-compact {
  display: grid;
  min-height: 0;
  grid-column: span 8;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 22px;
}

.portfolio-card.is-compact::after {
  display: none;
}

.portfolio-card.is-compact > img {
  position: static;
  z-index: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 253;
  border-radius: 2px 18px 2px 2px;
}

.portfolio-card.is-compact .portfolio-meta {
  position: static;
  height: 100%;
  justify-content: flex-end;
  padding: 4px 56px 4px 0;
}

.portfolio-card.is-compact .portfolio-meta strong {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
}

.portfolio-card.is-tall {
  min-height: 0;
  grid-column: span 4;
  grid-row: span 2;
}

/* ------------------------------------------------------------ gallery */
.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  --focus: var(--focus-dark);
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 3vh 3vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out);
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(97, 115, 130, 0.2), transparent 36%),
    rgba(5, 9, 13, 0.94);
  backdrop-filter: blur(16px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1460px, 94vw);
  height: min(940px, 94vh);
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px 28px 4px 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0c1218;
  background-size: 58px 58px;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.56);
  color: var(--white);
  transform: translateY(16px) scale(0.985);
  transition: transform 220ms var(--ease-out);
}

.gallery-modal.is-open .gallery-dialog {
  transform: translateY(0) scale(1);
}

.gallery-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 24px 14px 30px;
  border-bottom: 1px solid var(--line-light);
}

.gallery-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery-header h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.gallery-close {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.gallery-close span {
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.gallery-close span:last-child {
  transform: rotate(-45deg);
}

.gallery-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 66px;
  align-items: stretch;
  gap: 12px;
  padding: 16px 20px 6px;
}

.gallery-stage .gallery-nav {
  align-self: center;
}

.gallery-figure {
  min-width: 0;
  min-height: 0;
  display: grid;
  margin: 0;
}

.gallery-image-wrap {
  position: relative;
  min-height: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px 20px 3px 3px;
  background: #060a0e;
}

.gallery-image-wrap::after {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  content: "";
  opacity: 0;
}

.gallery-figure.is-switching .gallery-image-wrap::after {
  animation: gallery-spin 700ms linear infinite;
  opacity: 1;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out);
}

/* small source photos stay at (about) their natural size instead of being stretched */
.gallery-image-wrap img.is-small {
  width: auto;
  height: auto;
  max-width: min(100%, 360px);
  max-height: 100%;
}

.gallery-figure.is-switching .gallery-image-wrap img {
  opacity: 0;
  transform: translateX(14px) scale(0.99);
}

.gallery-figure.is-switching.is-moving-back .gallery-image-wrap img {
  transform: translateX(-14px) scale(0.99);
}

.gallery-caption {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 30px 8px;
  color: #d0d8de;
  font-size: 0.86rem;
  font-weight: 600;
}

.gallery-caption strong {
  color: var(--orange-soft);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.gallery-nav {
  width: 54px;
  height: 54px;
  display: grid;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.gallery-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 30px 18px;
  border-top: 1px solid var(--line-light);
  scrollbar-color: var(--orange) transparent;
  scrollbar-width: thin;
}

.gallery-thumbnails button {
  width: 112px;
  height: 70px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px 10px 2px 2px;
  background: var(--ink-2);
  cursor: pointer;
  opacity: 0.55;
  transition: border-color 180ms var(--ease-out), opacity 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.gallery-thumbnails button.is-current {
  border-color: var(--orange);
  opacity: 1;
}

.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal.is-single .gallery-nav,
.gallery-modal.is-single .gallery-thumbnails {
  display: none;
}

.gallery-modal.is-single .gallery-stage {
  grid-template-columns: minmax(0, 1fr);
}

@keyframes gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------ contact */
.contact-section {
  padding-top: 80px;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 58px 58px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}

.contact-panel {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.contact-panel > p:not(.section-label) {
  max-width: 58ch;
  color: var(--muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-cards article {
  display: grid;
  min-height: 132px;
  align-content: start;
  gap: 4px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.contact-cards article > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-cards a {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-cards a[href^="tel:"],
.contact-cards a[href^="mailto:"] {
  color: var(--ink);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 14px;
}

.contact-form {
  --focus: var(--focus-dark);
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: 4px 40px 4px 4px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 119, 33, 0.2), transparent 30%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-form::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 7px;
  background: var(--orange);
  content: "";
}

.contact-form .form-kicker {
  color: var(--orange-soft);
}

.contact-form h3 {
  max-width: 16ch;
  margin-bottom: 4px;
  color: var(--white);
  font-size: clamp(2.3rem, 3.6vw, 3.4rem);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #d5dce2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.contact-form input {
  min-height: 56px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa7b2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form [aria-invalid="true"] {
  border-color: #ff8a75;
  background: rgba(255, 118, 95, 0.1);
}

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

.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-form .button[aria-busy="true"] { cursor: wait; }

.form-verification { width: 100%; min-width: 0; }

.form-verification:empty,
.verification-note:empty,
.verification-retry[hidden] { display: none; }

.verification-note {
  margin: 0;
  color: #b8c2ca;
  font-size: 0.82rem;
  line-height: 1.55;
}

.verification-retry {
  justify-self: start;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.form-consent {
  color: #b8c2ca;
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-consent a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  padding: 12px 14px;
  border-left: 3px solid var(--steel);
  background: rgba(255, 255, 255, 0.06);
  color: #dfe5ea;
  font-size: 0.9rem;
  line-height: 1.5;
  scroll-margin-block: 96px;
}

.form-note:empty {
  display: none;
}

.form-note a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note.is-success {
  border-left-color: #5dd29a;
  background: rgba(93, 210, 154, 0.12);
  color: #b6f0d6;
}

.form-note.is-error {
  border-left-color: #ff765f;
  background: rgba(255, 118, 95, 0.12);
  color: #ffc4b9;
}

.form-noscript {
  padding: 12px 14px;
  border-left: 3px solid #ff765f;
  background: rgba(255, 118, 95, 0.12);
  color: #ffc4b9;
  font-size: 0.9rem;
}

.form-noscript a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ------------------------------------------------------------ footer */
.site-footer {
  --focus: var(--focus-dark);
  position: relative;
  overflow: hidden;
  padding: 64px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b1117;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px 48px;
}

.footer-brand {
  display: grid;
  max-width: 420px;
  gap: 8px;
}

.footer-brand > strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-inner p {
  color: #a5afb8;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0;
  font-style: normal;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  display: flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  color: #d4dbe1;
  font-weight: 700;
}

.footer-contact span {
  color: #a5afb8;
  font-weight: 600;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* ------------------------------------------------------------ inner page hero */
.page-hero {
  --focus: var(--focus-dark);
  min-height: auto;
  padding: 60px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(73, 91, 106, 0.3), transparent 34%),
    linear-gradient(122deg, #101720, #17222c);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.page-hero .section-label {
  color: var(--orange-soft);
}

.page-hero .copy-stack > p.hero-text {
  color: #b8c1c9;
}

.page-hero h1 {
  max-width: 18ch;
  color: var(--white);
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.page-hero-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px 40px 4px 4px;
  box-shadow: var(--shadow);
}

.page-hero-card.is-small {
  width: min(100%, 300px);
  justify-self: center;
}

.page-hero-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(8, 13, 18, 0.26));
  pointer-events: none;
}

.page-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 4px 0 0;
  padding: 0;
  color: #b1bcc5;
  font-size: 0.8rem;
  font-weight: 700;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--orange);
  content: "/";
}

.breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
}

.page-contact-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: clamp(30px, 4vw, 52px);
  border-left: 5px solid var(--orange);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.page-contact-card span {
  color: var(--orange-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-contact-card strong {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  line-height: 1.1;
  text-wrap: balance;
}

.page-contact-card a {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
  color: var(--orange-soft);
  font-size: 1.1rem;
  font-weight: 800;
}

/* ------------------------------------------------------------ services page */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px 28px 4px 4px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(10, 17, 24, 0.07);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.detail-card:last-child {
  grid-column: 1 / -1;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 300 / 253;
  object-fit: cover;
  border-radius: 2px 18px 2px 2px;
  filter: saturate(0.85);
}

.detail-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 4px 6px 4px 0;
}

.detail-card .service-index {
  color: var(--orange-dark);
}

.detail-card p {
  color: var(--muted);
}

.table-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.service-table caption {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.service-table th,
.service-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-table thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-table tbody th {
  color: var(--orange-dark);
}

.service-table tbody tr:last-child th,
.service-table tbody tr:last-child td {
  border-bottom: 0;
}

.process-list {
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 25px 20px 25px 72px;
  border-top: 1px solid var(--line-light);
  color: #c0c8cf;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  content: "0" counter(process);
}

.cta-band {
  --focus: var(--ink);
  padding: 72px 0;
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band .section-label {
  color: #421807;
}

.cta-band .section-label::before {
  background: #421807;
}

.cta-band .button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

/* ------------------------------------------------------------ focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus,
main:focus-visible {
  outline: none;
}

.gallery-thumbnails button:focus-visible {
  outline-offset: 2px;
}

/* ------------------------------------------------------------ hover (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .text-link:hover::after {
    transform: translateX(4px);
  }

  .site-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }

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

  .site-nav .nav-cta:hover,
  .header-call:hover {
    background: #ff8a3a;
    color: var(--ink);
    transform: translateY(-2px);
  }

  .button-primary:hover {
    border-color: #ff8a3a;
    background: #ff8a3a;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(244, 119, 33, 0.28);
  }

  .cta-band .button-primary:hover {
    border-color: var(--ink-3);
    background: var(--ink-3);
  }

  .button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  .service-card:hover,
  .detail-card:hover {
    box-shadow: var(--shadow-small);
    transform: translateY(-4px);
  }

  .service-card:hover img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1.06);
  }

  .portfolio-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
  }

  .portfolio-card:hover::before {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--ink);
    transform: rotate(90deg);
  }

  .portfolio-card:hover::after {
    background: linear-gradient(180deg, rgba(6, 11, 15, 0.4), rgba(6, 11, 15, 0.98));
  }

  .portfolio-card:hover > img {
    transform: scale(1.04);
    filter: saturate(0.7) brightness(0.72) contrast(1.06);
  }

  .portfolio-card.is-compact:hover > img {
    transform: none;
    filter: saturate(1) contrast(1.04);
  }

  .gallery-close:hover,
  .gallery-nav:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--ink);
  }

  .gallery-close:hover {
    transform: rotate(90deg);
  }

  .gallery-stage .gallery-nav:hover {
    transform: scale(1.06);
  }

  .gallery-thumbnails button:hover {
    border-color: var(--orange);
    opacity: 1;
    transform: translateY(-2px);
  }

  .footer-links a:hover,
  .footer-contact a:hover,
  .breadcrumb a:hover {
    color: var(--orange-soft);
  }
}

/* pressed feedback (after hover so it wins) */
.button:active,
.site-nav .nav-cta:active,
.header-call:active,
.portfolio-card:active,
.service-card:active {
  transform: scale(0.97);
}

/* ------------------------------------------------------------ tablet / small laptop */
@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 940px) {
  :root {
    --container: min(100% - 36px, 900px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand { order: 0; }
  .header-call { order: 1; }
  .language-switch { order: 2; }
  .nav-toggle { order: 3; }
  .site-nav { order: 4; }

  .header-call {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 14px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(17, 24, 32, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top;
    visibility: hidden;
    transition: opacity 180ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms var(--ease-out);
  }

  .site-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0.6rem 0.95rem;
  }

  .site-nav .nav-cta {
    display: none;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .promise-grid,
  .contact-grid,
  .table-layout,
  .portfolio-intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

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

  .floating-panel {
    right: 20px;
  }

  .portfolio-intro-grid {
    gap: 48px;
  }

  .split-layout .copy-stack {
    position: static;
  }

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

  .service-card:last-child,
  .detail-card:last-child {
    grid-column: auto;
  }

  .portfolio-card:nth-child(n) {
    min-height: 440px;
    grid-column: 1 / -1;
  }

  .portfolio-card.is-compact:nth-child(n) {
    min-height: 0;
  }

  .portfolio-card.is-tall:nth-child(n) {
    grid-row: auto;
  }

  .contact-grid {
    max-width: 820px;
  }

  .promise-list article {
    grid-template-columns: minmax(150px, 0.5fr) 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 680px);
    --radius: 18px;
    --header-h: 68px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 72px 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand small {
    max-width: 190px;
    font-size: 0.65rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 32px 0 56px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11.4vw, 3.6rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual::before {
    top: -10px;
    right: -7px;
  }

  .hero-frame {
    border-radius: 3px 28px 3px 3px;
  }

  .hero-frame img {
    aspect-ratio: 4 / 3.4;
  }

  .floating-panel {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 18px;
  }

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

  .metrics article,
  .metrics article:first-child {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.22);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .metrics strong {
    font-size: 2rem;
  }

  h2 {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .principles-card,
  .contact-form {
    border-radius: 3px 28px 3px 3px;
  }

  .service-card,
  .detail-card,
  .portfolio-card.is-compact {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .service-card img,
  .detail-card img,
  .portfolio-card.is-compact > img {
    width: min(100%, 300px);
  }

  .service-card > div,
  .detail-card > div {
    padding: 0 4px 6px;
  }

  .portfolio-card:nth-child(n) {
    min-height: 420px;
  }

  .portfolio-card.is-compact:nth-child(n) {
    min-height: 0;
  }

  .portfolio-card.is-compact .portfolio-meta {
    padding: 0 4px 6px;
  }

  .portfolio-meta {
    padding: 26px;
  }

  .portfolio-facts article {
    min-height: 140px;
    padding: 20px 16px;
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-dialog {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .gallery-header {
    min-height: 72px;
    padding: 12px 14px 10px 18px;
  }

  .gallery-header h2 {
    font-size: 1.7rem;
  }

  .gallery-close {
    width: 46px;
    height: 46px;
  }

  .gallery-close span {
    top: 22px;
    left: 13px;
    width: 18px;
  }

  .gallery-stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 10px 4px;
  }

  .gallery-figure {
    grid-column: 1;
  }

  .gallery-image-wrap {
    border-radius: 2px 14px 2px 2px;
  }

  .gallery-stage .gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    background: rgba(12, 18, 24, 0.78);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
  }

  .gallery-prev {
    left: 18px;
  }

  .gallery-next {
    right: 18px;
  }

  .gallery-caption {
    min-height: 60px;
    padding: 10px 16px 6px;
  }

  .gallery-caption span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gallery-thumbnails {
    gap: 7px;
    padding: 10px 14px 14px;
  }

  .gallery-thumbnails button {
    width: 88px;
    height: 58px;
  }

  .promise-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 44px 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 11.4vw, 3.6rem);
  }

  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

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

  /* comparison table becomes stacked cards */
  .table-wrap {
    overflow-x: visible;
  }

  .service-table {
    display: block;
    min-width: 0;
  }

  .service-table caption {
    display: block;
  }

  .service-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .service-table tbody,
  .service-table tr,
  .service-table th,
  .service-table td {
    display: block;
  }

  .service-table tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .service-table tbody tr:last-child {
    border-bottom: 0;
  }

  .service-table th,
  .service-table td {
    padding: 0;
    border-bottom: 0;
  }

  .service-table tbody th {
    margin-bottom: 10px;
    font-size: 1.05rem;
  }

  .service-table td {
    padding-top: 8px;
  }

  .service-table td::before {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    content: attr(data-label);
  }
}

@media (max-width: 760px) and (hover: hover) and (pointer: fine) {
  .gallery-stage .gallery-nav:hover {
    transform: translateY(-50%) scale(1.04);
  }
}

@media (max-width: 460px) {
  :root {
    --container: calc(100% - 22px);
  }

  .brand small {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.6rem, 11.4vw, 3.3rem);
  }

  .principles-list article {
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .portfolio-facts {
    grid-template-columns: 1fr;
  }

  .portfolio-facts article {
    min-height: 0;
    align-items: center;
    flex-direction: row;
    padding: 22px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portfolio-facts article:last-child {
    border-bottom: 0;
  }

  .portfolio-facts strong {
    font-size: 3.4rem;
  }

  .portfolio-facts span {
    text-align: right;
  }

  .portfolio-meta strong {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }

  .gallery-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .gallery-caption strong {
    order: -1;
  }
}

@media (max-width: 360px) {
  .header-call {
    padding: 0 0.85rem;
  }
}

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

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .site-nav .nav-cta:hover,
  .header-call:hover,
  .button-primary:hover,
  .button-secondary:hover,
  .service-card:hover,
  .detail-card:hover,
  .portfolio-card:hover,
  .gallery-thumbnails button:hover {
    transform: none;
  }

  .service-card:hover img,
  .portfolio-card:hover > img,
  .gallery-close:hover,
  .gallery-stage .gallery-nav:hover {
    transform: none;
  }

  .text-link:hover::after {
    transform: none;
  }
}

.section-more {
  margin-top: 28px;
}

@media (min-width: 941px) and (max-width: 1100px) {
  .header-inner { gap: 12px; }
  .brand small { display: none; }
  .site-nav a { padding-inline: 0.7rem; }
}

@media (max-width: 600px) {
  .header-inner { gap: 6px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; flex-basis: 36px; }
  .brand strong { font-size: 1.2rem; }
  .brand small { display: none; }
  .header-call { padding-inline: 0.7rem; }
}

@media (max-width: 360px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .language-switch a { transition: none; }
  .language-switch a:active { transform: none; }
}
