@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --ink: #181613;
  --muted: #746d64;
  --paper: #f7f3ec;
  --cream: #eee5d8;
  --dark: #201b17;
  --dark-muted: #cfc2b3;
  --gold: #a98250;
  --gold-text: #866335;
  --line: #d8cec0;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

body[data-brand="aurelia"] {
  --paper: #F6F0E6;
  --cream: #E7DCCB;
  --dark: #1E1915;
  --dark-muted: #DCD1C3;
  --ink: #1E1915;
  --gold: #C8A46E;
  --gold-text: #7B5928;
  --muted: #655B4F;
  --line: #D7CAB7;
}

body[data-brand="archivio-oro"] {
  --paper: #F6F0E6;
  --cream: #E7DCCB;
  --dark: #1E1915;
  --dark-muted: #DCD1C3;
  --ink: #1E1915;
  --gold: #C8A46E;
  --gold-text: #7B5928;
  --muted: #655B4F;
  --line: #D7CAB7;
}

body[data-brand="noire"] {
  --paper: #F3F1ED;
  --cream: #E5E2DC;
  --dark: #111010;
  --dark-muted: #D6D3CD;
  --ink: #111010;
  --gold: #9D9991;
  --gold-text: #484745;
  --muted: #575550;
  --line: #CFCCC4;
}

body[data-brand="lumea"] {
  --paper: #FAF4EE;
  --cream: #EFE3D8;
  --dark: #221915;
  --dark-muted: #E3D5CA;
  --ink: #221915;
  --gold: #D29C82;
  --gold-text: #854F37;
  --muted: #63534B;
  --line: #DFD0C4;
}

body[data-brand="atelier-solis"] {
  --paper: #F3ECE2;
  --cream: #E6DCCD;
  --dark: #1D1916;
  --dark-muted: #D8CEC0;
  --ink: #1D1916;
  --gold: #C49A62;
  --gold-text: #7A5829;
  --muted: #5C544B;
  --line: #D4C8B8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: clip;
}

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

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

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 34px;
}

/* Header & Navigation */
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}

.brand {
  font-family: var(--font-serif);
  font-size: 24px;
}

.brand small {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .25em;
  display: block;
  margin-top: -5px;
}

.links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.links a:hover,
.links a.active,
.links a[aria-current="page"] {
  color: var(--gold-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

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

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

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

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 22, 19, 0.42);
  z-index: 30;
}

/* Typography & Buttons */
.kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .23em;
  color: var(--gold-text);
  font-weight: 600;
}

.band .kicker,
.case-hero .kicker {
  color: var(--gold);
}

.serif {
  font-family: var(--font-serif);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.02;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(58px, 9vw, 120px);
  letter-spacing: -.055em;
  margin: 18px 0;
}

.page-title {
  font-size: clamp(44px, 6.5vw, 82px);
}

h2 {
  font-size: clamp(32px, 6vw, 60px);
  letter-spacing: -.035em;
  margin: 12px 0;
}

h3 {
  font-size: 32px;
  margin: 8px 0;
}

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

.btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn.dark:hover {
  background: #332c25;
  border-color: #332c25;
  color: var(--paper);
}

.btn.gold {
  background: #b68e59;
  color: #fff;
  border-color: #b68e59;
}

.band .btn,
.case-hero .btn {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--paper);
}

.band .btn:hover,
.case-hero .btn:hover {
  background: var(--paper);
  color: var(--dark);
  border-color: var(--paper);
}

/* Home Hero & Intro */
.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 65px;
  padding: 70px 0 95px;
}

.hero-copy p {
  max-width: 600px;
  font-size: 17px;
  color: var(--muted);
}

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

.hero-art {
  position: relative;
  padding: 0 18px 18px 0;
}

.hero-art img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-art .hero-art-main {
  height: auto;
  aspect-ratio: 1600 / 1050;
}

.hero-art-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.hero-art-sub img {
  height: auto;
  aspect-ratio: 1600 / 1050;
  object-fit: cover;
}

.hero-art:after {
  content: "";
  position: absolute;
  width: 48%;
  height: 44%;
  right: 0;
  bottom: 0;
  border: 1px solid var(--gold);
  z-index: -1;
}

.intro {
  padding: 105px 0 65px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}

.intro p {
  font-size: 18px;
  max-width: 720px;
  color: var(--muted);
}

/* Portfolio Grid & Filters */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
}

.filter-btn[aria-pressed="true"],
.filter-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px 34px;
}

.card,
.work-card {
  display: block;
}

.work-grid:not(.is-filtered) .card:nth-child(even),
.work-grid:not(.is-filtered) .work-card:nth-child(even) {
  margin-top: 85px;
}

.work-grid.is-filtered .card,
.work-grid.is-filtered .work-card {
  margin-top: 0;
}

.card-img {
  aspect-ratio: 1.5;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s;
}

.card:hover .card-img img,
.work-card:hover .card-img img {
  transform: scale(1.025);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
}

.tag {
  font-size: 10px;
  color: var(--gold-text);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.card-meta p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.num {
  font-size: 12px;
}

/* Shared Sections & Dark Bands */
.section {
  padding: 100px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

.band {
  background: var(--dark);
  color: var(--paper);
  padding: 90px 0;
}

.band .muted,
.band p {
  color: var(--dark-muted);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.feature img {
  width: 100%;
}

/* Case Studies */
.case-hero {
  background: var(--dark);
  color: var(--paper);
  padding: 60px 0 0;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 45px;
  align-items: end;
}

.case-hero h1 {
  font-size: 85px;
}

.case-hero p {
  font-size: 17px;
  color: var(--dark-muted);
  max-width: 570px;
}

.case-hero-meta {
  color: var(--dark-muted);
}

.case-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1050;
}

.detail-art {
  margin-top: 48px;
}

.detail-art img {
  width: 100%;
  max-width: 920px;
  height: auto;
  margin-inline: auto;
}

.facts {
  background: var(--cream);
  padding: 32px 0;
}

.facts-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 20px;
}

.fact {
  padding: 0 25px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}

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

.fact strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 7px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: start;
}

.split img {
  width: 100%;
}

.copy {
  min-width: 0;
}

.copy h2 {
  font-size: clamp(30px, 5vw, 52px);
}

.copy p {
  color: var(--muted);
  font-size: 16px;
}

.list {
  margin-top: 25px;
}

.list div {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 13px;
}

.list b {
  display: inline-block;
  width: 110px;
}

/* Brand System Tabs */
.brand-tabs {
  margin-top: 28px;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}

.tab-btn:hover {
  border-color: var(--ink);
}

.tab-btn[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.tab-panel {
  font-size: 14px;
  color: var(--muted);
}

.tab-panel p {
  margin: 0 0 12px;
  font-size: 14px;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(24, 22, 19, 0.2);
}

/* Gallery & Lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 13px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  position: relative;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.g1 {
  grid-column: span 7;
  height: 430px;
}

.g2 {
  grid-column: span 5;
  height: 430px;
}

.g3,
.g4,
.g5 {
  grid-column: span 4;
  height: 300px;
}

.g6 {
  grid-column: span 8;
  height: 420px;
}

.g7 {
  grid-column: span 4;
  height: 420px;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 22, 19, 0.92);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-dialog {
  position: relative;
  max-width: 1060px;
  width: 100%;
  display: grid;
  gap: 14px;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14110e;
  border: 1px solid rgba(247, 243, 236, 0.14);
  max-height: 75vh;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox-meta {
  display: grid;
  gap: 4px;
}

.lightbox-counter {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.lightbox-caption {
  font-size: 14px;
  color: #e5ddd0;
  margin: 0;
}

.lightbox-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lightbox-prev,
.lightbox-next,
.lightbox-close {
  padding: 10px 16px;
  border: 1px solid rgba(247, 243, 236, 0.42);
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  background: var(--paper);
  color: var(--dark);
  border-color: var(--paper);
}

/* Process & Pagination */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 25px 20px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step span {
  color: var(--gold-text);
  font-size: 11px;
}

.step h3 {
  font-size: 22px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
}

.case-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.case-page-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 0;
  transition: color .2s ease;
}

.case-page-link.prev {
  padding-right: 28px;
}

.case-page-link.next {
  text-align: right;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.case-page-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold-text);
  font-weight: 600;
}

.case-page-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink);
  transition: color .2s ease;
}

.case-page-link:hover .case-page-title {
  color: var(--gold-text);
}

/* About & CV */
.about-hero {
  padding: 75px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 60px;
  align-items: center;
}

.portrait-frame {
  max-width: 320px;
  width: 100%;
  aspect-ratio: 285 / 310;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
}

.about-hero h1 {
  font-size: clamp(46px, 6vw, 75px);
}

.about-lead {
  font-size: 17px;
}

.quote {
  font-family: var(--font-serif);
  font-size: 32px;
  font-style: italic;
  padding: 35px;
  border: 1px solid var(--line);
  background: #eee6da;
}

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

.skill {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.cv-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.cv-meta {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
}

.cv-item h3 {
  font-size: 26px;
  margin: 6px 0 8px;
}

.cv-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.software-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.software-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
  padding-bottom: 8px;
  font-size: 13px;
}

.dots {
  display: inline-flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 236, 0.55);
}

.dot.filled {
  background: var(--gold);
  border-color: var(--gold);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  padding: 35px 25px;
  border-right: 1px solid var(--line);
  min-height: 250px;
}

.service:nth-child(3n) {
  border-right: 0;
}

.service h3 {
  font-size: 28px;
}

.service p {
  color: var(--muted);
  font-size: 13px;
}

.band .services,
.band .service {
  border-color: #574c41;
}

/* Contact */
.contact {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.contact h1 {
  font-size: clamp(50px, 7vw, 88px);
}

.contact-lead {
  max-width: 560px;
  margin: 0 auto 28px;
}

.email {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--ink);
  word-break: break-word;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 22px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.contact-details a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.copy-status {
  display: block;
  min-height: 22px;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold-text);
}

/* Footer */
footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* Responsive Breakpoints */
@media (max-width: 850px) {
  .links {
    gap: 14px;
  }

  .hero,
  .intro,
  .feature,
  .case-hero-grid,
  .split,
  .about-hero,
  .cv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero > *,
  .intro > *,
  .feature > *,
  .case-hero-grid > *,
  .split > *,
  .about-hero > *,
  .cv-grid > *,
  .copy {
    min-width: 0;
  }

  .hero-art img {
    height: 460px;
  }

  .hero-art .hero-art-main,
  .hero-art-sub img {
    height: auto;
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .work-grid:not(.is-filtered) .card:nth-child(even),
  .work-grid:not(.is-filtered) .work-card:nth-child(even) {
    margin-top: 0;
  }

  .section-head {
    display: block;
  }

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

  .fact {
    margin: 4px 0;
    padding: 0 18px;
  }

  .fact:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

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

  .service {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .case-hero h1 {
    font-size: 65px;
  }

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

  .g1,
  .g2,
  .g3,
  .g4,
  .g5,
  .g6,
  .g7 {
    grid-column: span 1;
    height: 260px;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: -34px;
    right: -34px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 34px 24px;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
    z-index: 45;
    box-shadow: 0 14px 30px rgba(24, 22, 19, 0.08);
  }

  .links a {
    padding: 4px 0;
  }

  .nav.is-open .links,
  .links.is-open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .links {
    left: -20px;
    right: -20px;
    padding: 20px 20px 24px;
  }

  .nav {
    height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    padding: 55px 0 70px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .case-hero h1,
  .about-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

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

  .fact {
    border-left: 0;
    padding: 0;
  }

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

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

  .g1,
  .g2,
  .g3,
  .g4,
  .g5,
  .g6,
  .g7 {
    height: 300px;
  }

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

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .case-page-link.next {
    text-align: left;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
}
