/* BonyanStack / Direction 02. All palettes live here. */
:root {
  --paper: #f4f1ea;
  --ink: #242925;
  --accent: #a64b32;
  --accent-hover: #843a26;
  --muted: #62665e;
  --line: #d4d2c7;
  --surface: #e9e6dc;
  --work: #e7e9df;
  --dark: #242925;
  --on-dark: #f4f1ea;
  --on-dark-muted: #c2c7ba;
  --scene-accent: 166, 75, 50;
  --scene-stone: 188, 184, 165;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  --latin: "IBM Plex Sans", sans-serif;
}
:root[data-theme="petrol"] {
  --paper: #f2f3ef;
  --ink: #202e30;
  --accent: #20585c;
  --accent-hover: #163f42;
  --muted: #5c6867;
  --line: #ccd3ce;
  --surface: #e2e7e1;
  --work: #e4eae5;
  --dark: #202e30;
  --on-dark: #f2f3ef;
  --on-dark-muted: #c0ceca;
  --scene-accent: 32, 88, 92;
  --scene-stone: 174, 191, 184;
}
:root[data-theme="olive"] {
  --paper: #f3f1e8;
  --ink: #292c24;
  --accent: #466043;
  --accent-hover: #31452f;
  --muted: #63685b;
  --line: #d2d4c4;
  --surface: #e6e6d9;
  --work: #e3e7d8;
  --dark: #292c24;
  --on-dark: #f3f1e8;
  --on-dark-muted: #c9ccbd;
  --scene-accent: 70, 96, 67;
  --scene-stone: 184, 188, 163;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
html[lang="en"] {
  --font: "IBM Plex Sans", sans-serif;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  line-height: 1.35;
  letter-spacing: -0.035em;
}
html[lang="ar"] h1,
html[lang="ar"] h2 {
  letter-spacing: -0.025em;
}
h1 em,
h2 em {
  font-weight: inherit;
  font-style: normal;
  color: var(--accent);
}
p {
  color: var(--muted);
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
canvas:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: white;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.section-space {
  padding-block: 105px;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  z-index: 1000;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 12px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(1380px, calc(100% - 96px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
  direction: ltr;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  direction: ltr;
  white-space: nowrap;
}
.wordmark > span > span {
  font-weight: 400;
}
.wordmark img {
  width: 23px;
  height: 35px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 16px;
  font-weight: 500;
  direction: rtl;
}
html[lang="en"] .desktop-nav {
  direction: ltr;
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--accent);
  color: white;
  padding: 16px 24px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}
.button span:last-child:not(:first-child) {
  font-size: 22px;
  line-height: 1;
}
.button-small {
  padding: 12px 18px;
  font-size: 15px;
  gap: 23px;
  direction: rtl;
}
html[lang="en"] .button-small {
  direction: ltr;
}
.lang-switch {
  font: 500 14px var(--latin);
  min-width: 44px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.text-link {
  padding: 9px 0;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
}
.mobile-nav {
  padding: 12px 24px 24px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding-block: 48px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.tiny-square {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 500;
  line-height: 1.42;
}
.hero-description {
  font-size: 19px;
  line-height: 1.95;
  margin-top: 22px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 48px;
  font-size: 13px;
  color: var(--muted);
}
.note-rule {
  width: 26px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}
.hero-visual {
  height: 530px;
  background: var(--surface);
  position: relative;
  overflow: clip;
  border-radius: 2px;
  direction: ltr;
  isolation: isolate;
}
.scene-topline {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--muted);
}
.scene-topline > span:first-child {
  font-family: var(--latin);
}
.scene-orbit {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  top: 12%;
  left: 12.5%;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.scene-orbit:before,
.scene-orbit:after {
  content: "";
  position: absolute;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.scene-orbit:before {
  width: 1px;
  top: -30%;
  bottom: -30%;
  left: 50%;
}
.scene-orbit:after {
  height: 1px;
  left: -30%;
  right: -30%;
  top: 50%;
}
.scene-shadow {
  position: absolute;
  width: 48%;
  height: 12px;
  left: 26%;
  bottom: 100px;
  background: color-mix(in srgb, var(--ink) 21%, transparent);
  border-radius: 50%;
  filter: blur(13px);
  transform: rotate(-9deg);
}
#brand-scene {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: pan-y;
}
#brand-scene:active {
  cursor: grabbing;
}
.scene-fallback {
  position: absolute;
  width: 140px;
  left: calc(50% - 70px);
  top: 24%;
  opacity: 0.25;
}
.scene-ready .scene-fallback {
  display: none;
}
.scene-controls {
  position: absolute;
  z-index: 3;
  bottom: 42px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.scene-controls button {
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  background: var(--surface);
  font-size: 13px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.scene-controls button:hover {
  background: var(--paper);
}
.scene-controls button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
#motion-button {
  min-width: 44px;
  justify-content: center;
  padding: 9px;
}
.scene-hint {
  position: absolute;
  bottom: 11px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.capability-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  font-size: 15px;
}
.capability-strip > span {
  font-family: var(--latin);
  font-size: 12px;
  color: var(--muted);
}
.capability-strip i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  flex-shrink: 0;
}
.capability-strip .strip-arrow {
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.section-label {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.section-label > span:first-child {
  font-family: var(--latin);
}
.section-heading h2 {
  font-size: clamp(32px, 3.5vw, 49px);
  font-weight: 500;
}
.section-subtitle {
  font-size: 17px;
  margin-top: 16px;
  max-width: 650px;
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 50px;
}
.services-layout aside {
  padding-inline-end: 50px;
}
.aside-mark {
  color: var(--accent);
  font-size: 65px;
  line-height: 1;
  display: block;
  margin-bottom: 38px;
  font-family: var(--latin);
}
.services-layout aside h3 {
  font-size: 23px;
  line-height: 1.65;
  font-weight: 500;
}
.services-layout aside p {
  font-size: 16px;
  line-height: 1.9;
  margin-top: 18px;
}
.service-row {
  border-top: 1px solid var(--line);
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.service-row summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  padding: 24px 0;
  min-height: 90px;
}
.service-row summary::-webkit-details-marker {
  display: none;
}
.row-number {
  font: 400 12px var(--latin);
  color: var(--muted);
}
.service-row h3 {
  flex: 1;
  font-size: 25px;
}
.service-plus {
  font-family: var(--latin);
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s;
}
.service-row[open] .service-plus {
  transform: rotate(45deg);
  color: var(--accent);
}
.service-row[open] h3 {
  color: var(--accent);
}
.service-body {
  padding: 0 39px 32px 0;
}
.service-body p {
  font-size: 17px;
  line-height: 1.95;
  max-width: 640px;
}
.service-meta {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
}
.service-meta span[dir] {
  font-family: var(--latin);
  text-align: start;
}
.work-section {
  background: var(--work);
}
.portfolio-empty {
  border-block: 1px solid color-mix(in srgb, var(--ink) 23%, transparent);
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 42px 0;
}
.portfolio-empty h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.portfolio-empty p {
  font-size: 16px;
  max-width: 570px;
}
.archive-mark {
  position: relative;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}
.archive-mark span {
  position: absolute;
  inset: 12px 7px;
  border: 1px solid var(--accent);
  background: var(--work);
  transform: rotate(-13deg);
}
.archive-mark span:nth-child(2) {
  transform: rotate(0deg);
}
.archive-mark span:nth-child(3) {
  transform: rotate(13deg);
}
.archive-label {
  margin-inline-start: auto;
  text-align: end;
  font: 400 10px/1.8 var(--latin);
  color: var(--muted);
  letter-spacing: 0.08em;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}
.project-grid:empty {
  display: none;
}
.project-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  background: var(--surface);
}
.project-card h3 {
  margin-top: 20px;
  font-size: 28px;
}
.project-category {
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
}
.project-card p {
  font-size: 16px;
  margin-top: 12px;
}
.project-card .text-link {
  margin-top: 20px;
}
.approach {
  background: var(--dark);
  color: var(--on-dark);
}
.approach .section-label,
.approach p {
  color: var(--on-dark-muted);
}
.approach h2 em {
  color: var(--on-dark-muted);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 70px;
}
.process-grid article {
  border-top: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.process-number {
  font: 400 13px var(--latin);
  color: var(--on-dark-muted);
  margin-bottom: 32px;
}
.process-grid h3 {
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.process-grid p {
  font-size: 16px;
  line-height: 1.95;
  flex: 1;
}
.process-output {
  border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
  padding-top: 15px;
  margin-top: 32px;
  font-size: 12px;
  display: flex;
  gap: 10px;
  color: var(--on-dark-muted);
}
.contact .section-label {
  margin-bottom: 38px;
}
.contact-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}
.contact h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.45;
}
.contact-main p {
  margin-top: 24px;
  font-size: 18px;
  max-width: 620px;
}
.contact-circle {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font: 400 65px var(--latin);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.contact-circle:hover {
  background: var(--accent);
  color: white;
  transform: rotate(12deg);
}
.contact-bottom {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.contact-bottom p {
  font-size: 13px;
}
.footer {
  padding-block: 35px 22px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.footer-top p {
  font-size: 14px;
}
.footer-top .text-link {
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  padding-top: 35px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  direction: ltr;
}
.footer-bottom > span:nth-child(2) {
  letter-spacing: 0.1em;
  font-family: var(--latin);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 35px;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #171b18b8;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.tiny-label {
  font: 500 10px var(--latin);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.dialog-close {
  font-size: 30px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
}
dialog h2 {
  font-size: 34px;
}
dialog p {
  font-size: 15px;
  line-height: 1.9;
  margin-block: 14px 23px;
}
dialog label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}
dialog label > span {
  display: block;
  margin-bottom: 7px;
}
dialog input,
dialog select,
dialog textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 2px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 16px;
}
dialog textarea {
  resize: vertical;
}
dialog .button {
  width: 100%;
  font-size: 16px;
}
#brief-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--surface);
  padding: 20px;
  font: 400 15px/1.9 var(--font);
}
.result-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
#edit-brief {
  margin-top: 18px;
}
.brand-intro {
  max-width: 970px;
  padding-bottom: 65px;
}
.brand-intro .section-label {
  font-family: var(--latin);
  letter-spacing: 0.08em;
}
.brand-intro h1 {
  font-size: clamp(37px, 5vw, 66px);
  margin-top: 24px;
}
.brand-intro p {
  font-size: 18px;
  max-width: 800px;
  margin-top: 28px;
}
.brand-intro .text-link {
  margin-top: 25px;
}
.palette-section {
  border-top: 1px solid var(--line);
  padding-top: 55px;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.palette-card {
  text-align: start;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
}
.palette-card:hover,
.palette-card[aria-pressed="true"] {
  border-color: var(--accent);
}
.palette-card[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.palette-preview {
  padding: 22px;
  height: 240px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  direction: ltr;
  border-bottom: 1px solid #b9bcaf;
  font: 500 16px var(--latin);
}
.palette-b {
  font: 500 95px/1 var(--latin);
  letter-spacing: -7px;
  margin-top: 22px;
}
.palette-samples {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: flex;
}
.palette-samples i {
  width: 28px;
  height: 28px;
  border: 1px solid #999;
  border-radius: 50%;
  margin-left: -6px;
}
.palette-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 20px 12px;
  font-size: 18px;
  font-weight: 500;
}
.chosen-mark {
  visibility: hidden;
}
.palette-card[aria-pressed="true"] .chosen-mark {
  visibility: visible;
  color: var(--accent);
}
.palette-description {
  display: block;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  padding: 0 20px;
  flex: 1;
}
.palette-hex {
  display: block;
  padding: 18px 20px;
  font: 400 10px var(--latin);
  color: var(--muted);
  text-align: start;
  white-space: nowrap;
}
.palette-action {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  width: 100%;
  color: var(--accent);
}
.theme-status {
  font-size: 14px;
  margin-top: 25px;
  min-height: 28px;
}
.palette-tools {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
}
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}
.type-grid article {
  padding: 40px 30px;
}
.type-grid article:first-child {
  border-inline-end: 1px solid var(--line);
}
.type-grid article[lang="en"] {
  font-family: var(--latin);
}
.type-grid article > span {
  font: 400 11px var(--latin);
  color: var(--muted);
}
.type-grid h3 {
  font-size: 44px;
  line-height: 1.5;
  margin: 25px 0;
  font-weight: 500;
}
.type-grid p {
  font-size: 17px;
  max-width: 440px;
}
.type-grid small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.identity-download {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 100px;
  align-items: center;
}
.identity-symbol {
  background: var(--surface);
  padding: 75px;
  display: grid;
  place-items: center;
  min-height: 340px;
}
.identity-symbol img {
  width: 130px;
}
.identity-download h2 {
  font-size: 35px;
  margin-top: 20px;
}
.identity-download p {
  margin: 22px 0 30px;
  font-size: 17px;
  max-width: 630px;
}
html[dir="ltr"] .service-body {
  padding: 0 0 32px 39px;
}
html[dir="ltr"] .hero h1 {
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.16;
}
html[dir="ltr"] .hero-description {
  line-height: 1.75;
}
@media (min-width: 1500px) {
  .hero {
    gap: 70px;
    min-height: 680px;
  }
  .hero-visual {
    height: 560px;
  }
  .hero h1 {
    font-size: 65px;
  }
}
@media (max-width: 1100px) {
  .shell,
  .nav-shell {
    width: calc(100% - 64px);
  }
  .nav-shell {
    gap: 20px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .wordmark {
    font-size: 22px;
  }
  .nav-actions {
    gap: 10px;
  }
  .hero {
    gap: 30px;
    min-height: 580px;
  }
  .hero-visual {
    height: 480px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-note {
    margin-top: 30px;
    font-size: 12px;
  }
  .hero-actions .button {
    font-size: 15px;
    gap: 23px;
  }
  .hero-actions .text-link {
    font-size: 15px;
  }
  .section-heading,
  .services-layout {
    gap: 35px;
    grid-template-columns: 1fr 2fr;
  }
  .services-layout aside {
    padding-inline-end: 10px;
  }
  .process-grid {
    gap: 20px;
  }
  .process-grid h3 {
    font-size: 20px;
  }
  .process-grid p {
    font-size: 15px;
  }
  .palette-grid {
    gap: 18px;
  }
  .palette-title {
    font-size: 16px;
  }
  .palette-hex {
    font-size: 9px;
  }
  .type-grid h3 {
    font-size: 38px;
  }
  .capability-strip {
    gap: 16px;
    font-size: 13px;
  }
}
@media (max-width: 800px) {
  .shell,
  .nav-shell {
    width: calc(100% - 40px);
  }
  .nav-shell {
    min-height: 76px;
    gap: 10px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-actions .button {
    padding: 10px 12px;
    gap: 15px;
    font-size: 13px;
  }
  .wordmark {
    font-size: 21px;
    gap: 7px;
  }
  .wordmark img {
    width: 21px;
    height: 32px;
  }
  .hero {
    gap: 30px;
    grid-template-columns: 1fr;
    padding-block: 48px 30px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero h1 {
    font-size: clamp(38px, 6.8vw, 57px);
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-visual {
    height: 470px;
    max-width: 620px;
    width: 100%;
    margin: auto;
  }
  .hero-note {
    margin-top: 32px;
  }
  .capability-strip {
    flex-wrap: wrap;
    gap: 13px 18px;
    justify-content: center;
    padding-block: 20px;
  }
  .capability-strip > span {
    display: none;
  }
  .section-space {
    padding-block: 72px;
  }
  .section-heading {
    display: block;
    margin-bottom: 36px;
  }
  .section-heading .section-label {
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .services-layout aside {
    display: none;
  }
  .service-body {
    padding-inline-start: 37px;
    padding-inline-end: 0;
  }
  .service-row h3 {
    font-size: 24px;
  }
  .service-meta {
    font-size: 11px;
  }
  .portfolio-empty {
    gap: 25px;
    align-items: flex-start;
  }
  .archive-label {
    display: none;
  }
  .portfolio-empty h3 {
    font-size: 24px;
  }
  .portfolio-empty p {
    font-size: 15px;
  }
  .archive-mark {
    width: 70px;
    height: 70px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    margin-top: 40px;
  }
  .process-number {
    margin-bottom: 25px;
  }
  .process-grid h3 {
    font-size: 23px;
  }
  .process-grid p {
    font-size: 16px;
  }
  .contact-main {
    gap: 30px;
  }
  .contact h2 {
    font-size: 45px;
  }
  .contact-main p {
    font-size: 16px;
  }
  .contact-circle {
    width: 90px;
    height: 90px;
    font-size: 45px;
  }
  .contact-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-top p {
    display: none;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 15px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .palette-grid {
    grid-template-columns: 1fr;
  }
  .palette-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 1fr auto auto;
    column-gap: 0;
  }
  .palette-preview {
    grid-row: 1/5;
    height: 100%;
    min-height: 240px;
    border-bottom: 0;
    border-inline-end: 1px solid #b9bcaf;
  }
  .palette-title {
    margin: 20px 20px 10px;
  }
  .palette-hex {
    font-size: 10px;
  }
  .palette-tools {
    gap: 25px;
  }
  .type-grid {
    grid-template-columns: 1fr;
  }
  .type-grid article:first-child {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .type-grid article {
    padding: 35px 0;
  }
  .identity-download {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 70px;
  }
  .identity-symbol {
    min-height: 280px;
    padding: 45px;
  }
  .identity-symbol img {
    width: 115px;
  }
  .brand-intro {
    padding-bottom: 45px;
  }
  .brand-intro p {
    font-size: 17px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  html[dir="ltr"] .hero h1 {
    font-size: clamp(42px, 7.5vw, 64px);
  }
}
@media (max-width: 480px) {
  .nav-actions .button {
    display: none;
  }
  .wordmark {
    font-size: 21px;
  }
  .hero {
    padding-top: 38px;
    gap: 30px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.55;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 18px;
  }
  .hero-description br {
    display: none;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 26px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 13px 17px;
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 14px;
    gap: 12px;
  }
  .hero-note {
    font-size: 11px;
    gap: 10px;
  }
  .hero-visual {
    height: 395px;
  }
  .scene-topline {
    left: 18px;
    right: 18px;
    font-size: 10px;
  }
  .scene-controls {
    left: 18px;
    right: 18px;
  }
  .scene-controls button {
    font-size: 12px;
  }
  .capability-strip {
    font-size: 11px;
    gap: 12px;
  }
  .capability-strip i:last-of-type {
    display: none;
  }
  .capability-strip a:last-of-type {
    display: none;
  }
  .section-space {
    padding-block: 60px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-subtitle {
    font-size: 16px;
  }
  .section-label {
    font-size: 12px;
  }
  .service-row summary {
    gap: 18px;
    padding-block: 20px;
    min-height: 85px;
  }
  .service-row h3 {
    font-size: 22px;
  }
  .service-body {
    padding-inline-start: 30px;
    padding-bottom: 25px;
  }
  .service-body p {
    font-size: 16px;
  }
  .service-meta {
    font-size: 10px;
  }
  .portfolio-empty {
    gap: 20px;
    padding-block: 28px;
  }
  .archive-mark {
    width: 48px;
    height: 62px;
  }
  .portfolio-empty h3 {
    font-size: 22px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .process-number {
    margin-bottom: 18px;
  }
  .process-grid h3 {
    font-size: 25px;
  }
  .process-output {
    margin-top: 22px;
  }
  .contact-main {
    align-items: flex-start;
    gap: 20px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .contact-circle {
    width: 58px;
    height: 58px;
    font-size: 30px;
    margin-top: 10px;
  }
  .contact-main p {
    font-size: 16px;
    max-width: 260px;
  }
  .contact-bottom p {
    font-size: 12px;
  }
  .footer-top .text-link {
    font-size: 12px;
    gap: 12px;
  }
  .footer .wordmark {
    font-size: 20px;
  }
  .footer-top {
    gap: 16px;
  }
  .footer-bottom {
    margin-top: 28px;
    padding-top: 25px;
    font-size: 10px;
  }
  dialog {
    padding: 23px;
  }
  dialog h2 {
    font-size: 29px;
  }
  .palette-card {
    display: flex;
  }
  .palette-preview {
    height: 210px;
    min-height: 210px;
    border-bottom: 1px solid #b9bcaf;
    border-inline-end: 0;
  }
  .palette-b {
    font-size: 85px;
  }
  .palette-hex {
    font-size: 11px;
  }
  .palette-title {
    font-size: 19px;
  }
  .palette-description {
    font-size: 15px;
  }
  .type-grid h3 {
    font-size: 37px;
  }
  .identity-download h2 {
    font-size: 30px;
  }
  html[dir="ltr"] .hero h1 {
    font-size: 42px;
    line-height: 1.12;
  }
  html[dir="ltr"] .contact h2 {
    font-size: 34px;
  }
  html[dir="ltr"] .service-body {
    padding-left: 30px;
  }
  .service-meta span[dir] {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
