:root {
  --ink-950: #142033;
  --ink-900: #1e314a;
  --ink-700: #4f6674;
  --ink-500: #748890;
  --surface: #fffdf8;
  --surface-soft: #f3f6f2;
  --mist: #e7efed;
  --sage: #59777c;
  --sage-deep: #314f56;
  --clay: #ef4d2d;
  --clay-deep: #bf391f;
  --gold: #d7a94e;
  --line: rgba(20, 32, 51, 0.13);
  --shadow: 0 18px 42px rgba(20, 32, 51, 0.1);
  --radius: 8px;
  --max-width: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  color: var(--ink-950);
  background:
    linear-gradient(180deg, #f8faf8 0%, #edf3f0 42%, #fffdf8 100%);
  overflow-x: hidden;
}

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

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

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 34px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px 0 24px;
  padding: 10px 14px;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(20, 32, 51, 0.09);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.07);
}

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

.brand img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(20, 32, 51, 0.1);
}

.brand-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.brand strong {
  display: block;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink-900);
  font-size: 0.9rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: rgba(89, 119, 124, 0.12);
  color: var(--sage-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  padding: 24px 0 22px;
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(89, 119, 124, 0.12);
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 18px 0 0;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 4.9vw, 4.4rem);
}

.hero-text,
.section-heading p,
.service-card p,
.process-grid p,
.contact-panel dd,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form select,
.form-feedback,
.note-card p,
.job-card p,
.hero-visual-copy p,
.insight-band p,
.photo-overlay p,
.gallery-copy p {
  line-height: 1.62;
}

.hero-text {
  max-width: 76ch;
  margin: 18px 0 0;
  font-size: 1.04rem;
  color: rgba(20, 32, 51, 0.82);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  box-shadow: 0 10px 20px rgba(239, 77, 45, 0.18);
}

.button-secondary {
  background: white;
  border: 1px solid rgba(20, 32, 51, 0.14);
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(20, 32, 51, 0.9);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(20, 32, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(49, 79, 86, 0.94), rgba(30, 49, 74, 0.96)),
    var(--sage-deep);
  color: white;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 98px;
  height: 98px;
  border-radius: var(--radius);
  object-fit: cover;
  background: white;
}

.visual-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0;
}

.visual-window span {
  min-height: 78px;
  border: 6px solid rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(20, 32, 51, 0.18);
}

.hero-visual-copy {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-visual-copy span,
.showcase-tag,
.insight-label,
.gallery-kicker,
.card-index {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-visual-copy strong {
  display: block;
  margin-top: 8px;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.hero-visual-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.section,
.insight-band {
  margin-top: 26px;
}

.page-shell main > .section,
.page-shell main > .insight-band,
.page-shell main > .portfolio-themes {
  position: relative;
  padding-top: clamp(26px, 3vw, 42px);
}

.page-shell main > .section::before,
.page-shell main > .insight-band::before,
.page-shell main > .portfolio-themes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0, var(--line) 10%, rgba(239, 77, 45, 0.34) 50%, var(--line) 90%, transparent 100%);
}

.insight-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-band article,
.service-card,
.process-grid article,
.job-card,
.contact-panel,
.contact-form,
.note-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow);
}

.insight-band article {
  padding: 22px 20px;
}

.insight-label {
  color: var(--sage-deep);
}

.insight-band p {
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-heading h2 {
  max-width: 20ch;
  margin-top: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

.section-heading p {
  max-width: 84ch;
  margin: 0;
  color: rgba(20, 32, 51, 0.76);
  font-size: 1.02rem;
}

.card-grid,
.photo-strip,
.gallery-grid,
.process-grid,
.job-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.process-grid article,
.job-card,
.contact-panel,
.contact-form,
.note-card {
  padding: 18px;
}

.service-card {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 245px;
  overflow: hidden;
}

.service-photo {
  position: relative;
  min-height: 160px;
  margin: -18px -18px 16px;
  background:
    linear-gradient(145deg, rgba(20, 32, 51, 0.18), rgba(20, 32, 51, 0.48)),
    #dfe8e6;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-index {
  color: var(--clay);
}

.service-card h3,
.photo-card h3,
.gallery-copy h3,
.process-grid h3,
.job-card h3,
.contact-panel h3,
.note-card h3 {
  margin: 10px 0;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.service-card p,
.gallery-copy p,
.process-grid p,
.job-card p,
.photo-overlay p,
.note-card p {
  margin: 0;
  color: rgba(20, 32, 51, 0.78);
}

.photo-strip {
  grid-template-columns: 1.05fr 0.95fr;
  margin-bottom: 16px;
}

.photo-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  color: white;
  border: 1px solid rgba(20, 32, 51, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-card.has-custom-image,
.gallery-photo.has-custom-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-card::before,
.gallery-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(20, 32, 51, 0.82) 100%);
}

.photo-card::after,
.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.photo-card > *,
.gallery-photo > * {
  position: relative;
}

.photo-overlay {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.photo-overlay p {
  color: rgba(255, 255, 255, 0.84);
}

.photo-collectif-a {
  background:
    linear-gradient(145deg, rgba(49, 79, 86, 0.44), rgba(20, 32, 51, 0.72)),
    repeating-linear-gradient(90deg, #dfe8e6 0 42px, #8aa0a2 42px 52px, #f5f2e8 52px 96px),
    #8aa0a2;
}

.photo-collectif-b {
  background:
    linear-gradient(145deg, rgba(20, 32, 51, 0.34), rgba(20, 32, 51, 0.76)),
    repeating-linear-gradient(135deg, #c9a15b 0 34px, #f0e6d0 34px 68px, #59777c 68px 82px),
    #59777c;
}

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

.gallery-card {
  overflow: hidden;
  min-width: 0;
}

.gallery-photo {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}

.gallery-a {
  background:
    linear-gradient(145deg, rgba(20, 32, 51, 0.18), rgba(20, 32, 51, 0.58)),
    linear-gradient(90deg, #dfe8e6 0 24%, #708b8e 24% 32%, #f8faf8 32% 60%, #d7a94e 60% 66%, #b8c9c7 66% 100%);
}

.gallery-b {
  background:
    linear-gradient(145deg, rgba(20, 32, 51, 0.24), rgba(20, 32, 51, 0.62)),
    linear-gradient(45deg, #59777c, #c9d8d5 42%, #ef4d2d 42% 48%, #f5ead8 48% 100%);
}

.gallery-c {
  background:
    linear-gradient(145deg, rgba(20, 32, 51, 0.18), rgba(20, 32, 51, 0.62)),
    repeating-linear-gradient(0deg, #dce8e5 0 26px, #5f7b80 26px 34px, #f7f0df 34px 58px);
}

.gallery-copy {
  padding: 20px;
}

.gallery-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--sage-deep);
}

.gallery-card-text {
  display: flex;
  align-items: stretch;
  background: var(--sage-deep);
  color: white;
}

.gallery-card-text .gallery-kicker,
.gallery-card-text p {
  color: rgba(255, 255, 255, 0.82);
}

.process-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

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

.job-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.job-card.has-image {
  overflow: hidden;
}

.job-photo {
  aspect-ratio: 16 / 9;
  min-height: 180px;
  margin: -18px -18px 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(38, 61, 73, 0.12), rgba(38, 61, 73, 0.28)),
    rgba(223, 232, 230, 0.9);
}

.job-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.job-card h3,
.job-card p {
  margin: 0;
}

.job-card .button {
  width: fit-content;
  margin-top: 4px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-meta span,
.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(89, 119, 124, 0.12);
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.social-links[hidden] {
  display: none;
}

.footer-social-links {
  justify-content: center;
}

.process-grid article strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--sage-deep), var(--clay));
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.1rem;
}

.note-card {
  border-left: 4px solid var(--clay);
  background: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: 16px;
}

.contact-panel dl {
  margin: 18px 0 0;
}

.contact-panel div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-panel dt {
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.contact-panel dd {
  margin: 0;
  font-size: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.message-field,
.contact-form button,
.form-feedback {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(20, 32, 51, 0.16);
  border-radius: var(--radius);
  background: white;
  color: var(--ink-950);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(239, 77, 45, 0.2);
  border-color: rgba(239, 77, 45, 0.48);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--sage-deep);
}

.footer {
  padding: 28px 0 0;
  text-align: center;
  color: rgba(20, 32, 51, 0.7);
}

.portfolio-hero {
  display: grid;
  gap: 14px;
  padding: 28px 0 18px;
}

.portfolio-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.portfolio-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(20, 32, 51, 0.78);
  font-size: 1.08rem;
  line-height: 1.62;
}

.portfolio-themes {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.portfolio-theme {
  display: grid;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.portfolio-theme-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 18px;
  align-items: end;
}

.portfolio-material,
.portfolio-subtitle {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(89, 119, 124, 0.12);
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-subtitle {
  justify-self: end;
  max-width: 100%;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

.portfolio-theme h2 {
  margin: 12px 0 0;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.08;
}

.portfolio-theme p {
  max-width: 780px;
  margin: 10px 0 0;
  color: rgba(20, 32, 51, 0.76);
  line-height: 1.58;
}

.portfolio-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.portfolio-photo-card,
.empty-portfolio {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.portfolio-photo-card img,
.portfolio-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.portfolio-photo-card img {
  object-fit: cover;
}

.portfolio-photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.portfolio-photo-trigger:focus-visible {
  outline: 4px solid rgba(239, 77, 45, 0.42);
  outline-offset: -4px;
}

.portfolio-photo-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(89, 119, 124, 0.18), rgba(239, 77, 45, 0.08)),
    #edf3f0;
  color: var(--sage-deep);
  font-weight: 800;
}

.portfolio-photo-copy {
  padding: 16px;
}

.portfolio-photo-copy h3 {
  margin: 0;
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.16rem;
  line-height: 1.2;
}

.portfolio-photo-copy p {
  margin: 8px 0 0;
  color: rgba(20, 32, 51, 0.76);
  line-height: 1.5;
}

.empty-portfolio {
  padding: 20px;
  color: rgba(20, 32, 51, 0.74);
  font-weight: 700;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(52px, 8vw) minmax(0, 1fr) minmax(52px, 8vw);
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: rgba(10, 16, 22, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  grid-column: 2;
  display: grid;
  gap: 16px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  background: rgba(255, 255, 255, 0.06);
}

.lightbox-caption {
  display: grid;
  gap: 6px;
  width: min(100%, 920px);
  color: #fffdf8;
  text-align: center;
}

.lightbox-theme {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-caption strong {
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.1;
}

.lightbox-caption p {
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.5;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 253, 248, 0.26);
  background: rgba(255, 253, 248, 0.12);
  color: #fffdf8;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 253, 248, 0.2);
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  width: clamp(44px, 6vw, 68px);
  height: clamp(54px, 8vw, 82px);
  border-radius: 999px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
  justify-self: end;
}

.lightbox-next {
  grid-column: 3;
  justify-self: start;
}

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

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

@media (max-width: 980px) {
  .hero,
  .portfolio-theme-head,
  .contact-layout,
  .insight-band,
  .card-grid,
  .photo-strip,
  .gallery-grid,
  .process-grid,
  .job-grid,
  .portfolio-photo-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .portfolio-hero h1,
  .section-heading h2 {
    max-width: 100%;
  }

  .portfolio-subtitle {
    justify-self: start;
  }

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

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

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .brand {
    align-items: center;
  }

  .brand strong {
    white-space: normal;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a {
    padding: 9px 10px;
  }

  .hero {
    gap: 24px;
    padding-top: 6px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .service-card,
  .contact-panel,
  .contact-form,
  .note-card,
  .process-grid article,
  .insight-band article {
    padding: 20px;
  }

  .service-photo {
    margin: -20px -20px 16px;
  }

  .visual-window {
    gap: 8px;
  }

  .visual-window span {
    min-height: 72px;
    border-width: 4px;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 10px;
    padding: 58px 12px 16px;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    align-self: center;
  }

  .lightbox-figure img {
    max-height: 68vh;
    border-radius: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    height: 48px;
    font-size: 2rem;
    border-radius: 12px;
  }
}

/* Fluid polish pass */
body{
  background: linear-gradient(180deg, #f7f9f7 0%, #edf3f0 48%, #fffdf8 100%);
}

.topbar,
.hero-visual,
.insight-band article,
.service-card,
.process-grid article,
.job-card,
.contact-panel,
.contact-form,
.note-card,
.gallery-card,
.photo-card,
.portfolio-photo-card,
.empty-portfolio{
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.075);
}

.section-heading{
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(18px, 3vw, 36px);
  row-gap: 10px;
}

.section-heading .eyebrow{
  justify-self: start;
  align-self: start;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(89, 119, 124, 0.18);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(231, 239, 237, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 8px 18px rgba(20, 32, 51, 0.045);
}

.section-heading h2,
.section-heading p{
  grid-column: 2;
}

.section-heading p{
  justify-self: start;
}

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

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

.photo-strip{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  padding: 10px 12px;
  min-height: 42px;
}

.contact-form textarea{
  min-height: 104px;
}

.contact-form .button{
  width: auto !important;
  min-width: 180px;
  justify-self: end !important;
}

.social-links a,
.job-meta span{
  min-height: 30px;
  padding: 6px 9px;
}

@media (min-width: 1360px){
  .card-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-copy{
    padding-right: 2vw;
  }
}

@media (max-width: 1100px){
  .hero{
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

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

  .section-heading{
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .section-heading p{
    grid-column: auto;
    justify-self: start;
  }

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

@media (max-width: 760px){
  .page-shell{
    width: min(calc(100% - 16px), var(--max-width));
    padding-bottom: 22px;
  }

  .topbar{
    margin: 8px 0 18px;
    padding: 10px;
    gap: 12px;
  }

  .nav{
    gap: 6px;
  }

  .nav a{
    padding: 7px 9px;
    font-size: .86rem;
  }

  .hero{
    gap: 18px;
    padding: 4px 0 16px;
  }

  .hero h1{
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .hero-text{
    font-size: 1rem;
  }

  .hero-actions{
    flex-direction: row;
    gap: 8px;
  }

  .button{
    width: auto;
    min-height: 40px;
    padding: 0 13px;
    font-size: .92rem;
  }

  .insight-band,
  .card-grid,
  .photo-strip,
  .gallery-grid,
  .process-grid,
  .job-grid,
  .contact-layout,
  .portfolio-photo-grid{
    grid-template-columns: 1fr;
  }

  .section,
  .insight-band{
    margin-top: 22px;
  }

  .page-shell main > .section,
  .page-shell main > .insight-band,
  .page-shell main > .portfolio-themes{
    padding-top: 24px;
  }

  .hero-visual{
    min-height: 300px;
    padding: 16px;
  }

  .visual-window{
    margin: 16px 0;
  }

  .hero-points{
    gap: 8px;
  }

  .contact-form{
    gap: 12px;
  }

  .contact-form .button{
    width: 100% !important;
    min-width: 0;
    justify-self: stretch !important;
  }
}

@media (max-width: 460px){
  .contact-form .button{
    width: 100%;
  }

  .hero-actions .button{
    width: auto !important;
    flex: 1 1 150px;
    min-width: 0;
    padding: 0 10px;
    font-size: .84rem;
    text-align: center;
  }

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

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

/* Soft public vitrine refresh */
:root{
  --ink-950: #1e2c36;
  --ink-900: #2b3e4a;
  --ink-700: #5a6f77;
  --ink-500: #87959a;
  --surface: #fffdf8;
  --surface-soft: #f5f7f3;
  --mist: #e8efeb;
  --sage: #6e8982;
  --sage-deep: #47655f;
  --clay: #c97858;
  --clay-deep: #a45f49;
  --gold: #d8b968;
  --line: rgba(30, 44, 54, 0.12);
  --shadow: 0 16px 34px rgba(30, 44, 54, 0.08);
  --max-width: 1460px;
  --logo-blue: #254d5d;
  --logo-blue-soft: #6ca3a9;
  --logo-red: #ef4f32;
  --logo-red-deep: #bd3e2b;
  --anchor-offset: 92px;
}

html{
  scroll-padding-top: var(--anchor-offset);
}

body{
  background:
    linear-gradient(90deg, rgba(37, 77, 93, 0.09), transparent 28%, rgba(239, 79, 50, 0.055) 74%, transparent),
    linear-gradient(180deg, #fbfcf8 0%, #eef4ef 46%, #fffdf8 100%);
}

.page-shell{
  width: min(calc(100% - 44px), var(--max-width));
}

main{
  position: relative;
  isolation: isolate;
}

.topbar{
  overflow: hidden;
  position: sticky;
  top: 12px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.91);
  border-color: rgba(30, 44, 54, 0.1);
  box-shadow: 0 12px 28px rgba(30, 44, 54, 0.08);
}

.topbar::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--logo-blue), var(--logo-red));
}

.topbar::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-blue), var(--logo-blue-soft), var(--logo-red));
  opacity: 0.42;
}

.brand,
.nav{
  position: relative;
  z-index: 1;
}

.brand img{
  border-color: rgba(37, 77, 93, 0.18);
  box-shadow: 0 8px 18px rgba(30, 44, 54, 0.1), 0 0 0 3px rgba(239, 79, 50, 0.06);
}

.nav{
  align-items: center;
  gap: 6px;
}

.nav a{
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  color: rgba(30, 44, 54, 0.86);
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"]{
  background: rgba(37, 77, 93, 0.1);
  border-color: rgba(37, 77, 93, 0.18);
  color: var(--logo-blue);
  outline: none;
}

.nav a[href="/#contact"],
.nav a[href="#contact"]{
  background: linear-gradient(135deg, var(--logo-blue), #344957);
  color: #fffdf8;
}

.nav a[href="/#contact"]:hover,
.nav a[href="#contact"]:hover,
.nav a[href="/#contact"]:focus-visible,
.nav a[href="#contact"]:focus-visible{
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-red-deep));
  color: #fffdf8;
}

:where(#hero, #services, #showcase, #process, #recrutement, #contact, #portfolio-themes){
  scroll-margin-top: 0;
}

.hero{
  min-height: min(730px, calc(100vh - 116px));
  padding: clamp(30px, 5vw, 72px) 0 clamp(38px, 6vw, 86px);
  border-bottom: 1px solid rgba(30, 44, 54, 0.08);
}

.hero h1{
  max-width: 17ch;
}

.hero-text{
  color: rgba(30, 44, 54, 0.76);
}

.eyebrow{
  background: linear-gradient(90deg, rgba(37, 77, 93, 0.11), rgba(239, 79, 50, 0.07));
  color: var(--logo-blue);
  border: 1px solid rgba(37, 77, 93, 0.13);
}

.button{
  border-radius: var(--radius);
}

.button-primary{
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-red));
  box-shadow: 0 12px 22px rgba(37, 77, 93, 0.16);
}

.button-secondary{
  background: rgba(255, 253, 248, 0.82);
}

.button:disabled{
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.hero-points li::before{
  background: var(--logo-red);
  box-shadow: 0 0 0 4px rgba(239, 79, 50, 0.12);
}

.hero-visual{
  border-color: rgba(30, 44, 54, 0.12);
  background:
    linear-gradient(145deg, rgba(37, 77, 93, 0.94), rgba(43, 62, 74, 0.96) 62%, rgba(189, 62, 43, 0.88)),
    var(--sage-deep);
  box-shadow: 0 20px 52px rgba(30, 44, 54, 0.14);
}

.visual-window span{
  border-color: rgba(255, 253, 248, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.36), rgba(255, 253, 248, 0.08)),
    rgba(255, 253, 248, 0.1);
}

.section,
.insight-band,
.portfolio-themes{
  margin-top: 0;
}

.portfolio-hero,
.portfolio-theme{
  position: relative;
  isolation: isolate;
}

.portfolio-hero{
  padding-block: clamp(38px, 5vw, 68px);
}

.portfolio-theme{
  margin-inline: 0;
  padding-block: clamp(42px, 5.5vw, 74px);
  border-top: 0;
}

.portfolio-hero::after,
.portfolio-theme::after{
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  border-top: 1px solid rgba(30, 44, 54, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(245, 247, 243, 0.9));
}

.portfolio-hero::before,
.portfolio-theme::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0, rgba(37, 77, 93, 0.34) 14%, rgba(108, 163, 169, 0.46) 44%, rgba(239, 79, 50, 0.4) 62%, rgba(37, 77, 93, 0.26) 86%, transparent 100%);
}

.portfolio-theme-head,
.portfolio-photo-grid{
  position: relative;
  z-index: 1;
}

.page-shell main > .section,
.page-shell main > .insight-band,
.page-shell main > .portfolio-themes{
  position: relative;
  padding-block: clamp(42px, 5.5vw, 76px);
}

.page-shell main > .portfolio-themes:has(.portfolio-theme){
  gap: 0;
  padding-block: 0;
}

.page-shell main > .portfolio-themes:has(.portfolio-theme)::before,
.page-shell main > .portfolio-themes:has(.portfolio-theme)::after{
  display: none;
}

.portfolio-themes > .empty-portfolio{
  margin-block: clamp(42px, 5.5vw, 76px);
}

.portfolio-theme-more{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(37, 77, 93, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.9), rgba(108, 163, 169, 0.12), rgba(239, 79, 50, 0.07));
  box-shadow: 0 12px 28px rgba(30, 44, 54, 0.07);
}

.portfolio-theme-more div{
  display: grid;
  gap: 6px;
}

.portfolio-theme-more strong{
  color: var(--ink-900);
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 1.1rem;
}

.portfolio-theme-more p{
  max-width: 680px;
  margin: 0;
  color: rgba(30, 44, 54, 0.7);
}

.portfolio-more-kicker{
  color: var(--logo-red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-back-link,
.theme-detail-meta span,
.theme-detail-meta strong{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 77, 93, 0.13);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--logo-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.portfolio-back-link{
  margin-bottom: 6px;
}

.theme-detail-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.theme-detail-meta strong{
  background: rgba(108, 163, 169, 0.12);
  color: var(--ink-700);
}

.portfolio-detail .empty-portfolio,
.portfolio-photo-grid-detail{
  position: relative;
  z-index: 1;
}

.portfolio-photo-grid-detail{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-shell main > .section::after,
.page-shell main > .insight-band::after,
.page-shell main > .portfolio-themes::after{
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  border-top: 1px solid rgba(30, 44, 54, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
}

#services::after,
#process::after,
#contact::after,
.portfolio-themes::after,
.portfolio-hero::after,
.portfolio-theme::after{
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(245, 247, 243, 0.9));
}

.insight-band::after,
#showcase::after,
#recrutement::after,
.portfolio-theme:nth-child(even)::after{
  background:
    linear-gradient(180deg, rgba(232, 239, 235, 0.4), rgba(255, 253, 248, 0.38));
}

.portfolio-theme:nth-child(3n)::after{
  background:
    linear-gradient(180deg, rgba(37, 77, 93, 0.07), rgba(239, 79, 50, 0.055));
}

.page-shell main > .section::before,
.page-shell main > .insight-band::before,
.page-shell main > .portfolio-themes::before,
.portfolio-hero::before,
.portfolio-theme::before{
  height: 2px;
  background: linear-gradient(90deg, transparent 0, rgba(37, 77, 93, 0.34) 14%, rgba(108, 163, 169, 0.46) 44%, rgba(239, 79, 50, 0.4) 62%, rgba(37, 77, 93, 0.26) 86%, transparent 100%);
}

.section-heading{
  margin-bottom: clamp(22px, 3vw, 32px);
}

.section-heading .eyebrow{
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.9), rgba(108, 163, 169, 0.12), rgba(239, 79, 50, 0.07));
}

.section-heading h2{
  color: var(--ink-900);
}

.card-index,
.gallery-kicker,
.insight-label,
.showcase-tag,
.portfolio-material{
  color: var(--logo-red);
}

.service-card h3,
.process-grid h3,
.job-card h3,
.gallery-copy h3,
.contact-panel h3{
  color: #263d49;
}

.section-heading p{
  color: rgba(30, 44, 54, 0.7);
}

.insight-band article,
.service-card,
.process-grid article,
.job-card,
.contact-panel,
.contact-form,
.note-card,
.gallery-card,
.portfolio-photo-card,
.empty-portfolio{
  background: rgba(255, 253, 248, 0.88);
  border-color: rgba(30, 44, 54, 0.1);
  box-shadow: var(--shadow);
}

.service-card,
.process-grid article,
.job-card,
.gallery-card,
.portfolio-photo-card{
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.process-grid article:hover,
.job-card:hover,
.gallery-card:hover,
.portfolio-photo-card:hover{
  transform: translateY(-3px);
  border-color: rgba(110, 137, 130, 0.22);
  box-shadow: 0 20px 42px rgba(30, 44, 54, 0.1);
}

.photo-card{
  box-shadow: 0 18px 42px rgba(30, 44, 54, 0.13);
}

.photo-card::before,
.gallery-photo::before{
  background: linear-gradient(180deg, rgba(30, 44, 54, 0.08) 10%, rgba(30, 44, 54, 0.78) 100%);
}

.gallery-card-text{
  background: linear-gradient(145deg, var(--logo-blue), var(--ink-900) 62%, var(--logo-red-deep));
}

.process-grid article strong{
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-red));
}

.note-card{
  border-left-color: var(--logo-red);
  background: rgba(255, 253, 248, 0.92);
}

.contact-panel div + div{
  border-top-color: rgba(30, 44, 54, 0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  border-color: rgba(30, 44, 54, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline-color: rgba(110, 137, 130, 0.2);
  border-color: rgba(110, 137, 130, 0.48);
}

.form-feedback{
  font-weight: 700;
}

.form-feedback[data-state="success"]{
  color: var(--logo-blue);
}

.form-feedback[data-state="error"]{
  color: #9a4c3b;
}

.form-feedback[data-state="sending"]{
  color: var(--ink-700);
}

.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal .section-heading,
.reveal .hero-copy,
.reveal .hero-visual,
.insight-band.reveal article,
.reveal .card-grid > *,
.reveal .photo-strip > *,
.reveal .gallery-grid > *,
.reveal .process-grid > *,
.reveal .job-grid > *,
.reveal .contact-layout > *,
.reveal .portfolio-theme,
.reveal .portfolio-photo-card{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible .section-heading,
.reveal.is-visible .hero-copy,
.reveal.is-visible .hero-visual,
.insight-band.reveal.is-visible article,
.reveal.is-visible .card-grid > *,
.reveal.is-visible .photo-strip > *,
.reveal.is-visible .gallery-grid > *,
.reveal.is-visible .process-grid > *,
.reveal.is-visible .job-grid > *,
.reveal.is-visible .contact-layout > *,
.reveal.is-visible .portfolio-theme,
.reveal.is-visible .portfolio-photo-card{
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .hero-visual,
.reveal.is-visible .card-grid > :nth-child(2),
.reveal.is-visible .photo-strip > :nth-child(2),
.reveal.is-visible .gallery-grid > :nth-child(2),
.reveal.is-visible .process-grid > :nth-child(2),
.reveal.is-visible .contact-layout > :nth-child(2){
  transition-delay: 90ms;
}

.reveal.is-visible .card-grid > :nth-child(3),
.reveal.is-visible .gallery-grid > :nth-child(3),
.reveal.is-visible .process-grid > :nth-child(3){
  transition-delay: 160ms;
}

.hero-visual{
  animation: softLift 11s ease-in-out infinite;
}

.visual-window span{
  animation: softPane 7s ease-in-out infinite;
}

.visual-window span:nth-child(2n){
  animation-delay: 800ms;
}

.visual-window span:nth-child(3n){
  animation-delay: 1400ms;
}

@keyframes softLift{
  0%,
  100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-6px);
  }
}

@keyframes softPane{
  0%,
  100%{
    opacity: 0.86;
  }
  50%{
    opacity: 1;
  }
}

@media (max-width: 980px){
  .hero{
    min-height: 0;
    padding-block: 28px 44px;
  }

  .page-shell main > .section,
  .page-shell main > .insight-band,
  .page-shell main > .portfolio-themes{
    padding-block: 36px;
  }
}

@media (max-width: 760px){
  :root{
    --anchor-offset: 24px;
  }

  .page-shell{
    width: min(calc(100% - 18px), var(--max-width));
  }

  .topbar{
    top: 0;
    margin-top: 8px;
  }

  .nav a[href="/#contact"],
  .nav a[href="#contact"]{
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .portfolio-theme-more{
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-theme-more .button{
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after{
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal *{
    opacity: 1 !important;
    transform: none !important;
  }
}
