:root {
  --bg: #0b0b0b;
  --bg-deep: #0b0b0b;
  --bg-logo: #0b0b0b;
  --surface: #11100f;
  --surface-soft: rgba(20, 18, 17, 0.82);
  --surface-strong: rgba(14, 13, 12, 0.96);
  --line: rgba(196, 183, 160, 0.16);
  --line-strong: rgba(228, 216, 194, 0.32);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f1ec;
  --muted: #aea396;
  --muted-strong: #ddd5ca;
  --accent: #c5b7a0;
  --accent-strong: #e4d8c2;
  --accent-deep: #9a8c78;
  --shadow: 0 32px 72px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
  --max-width: 1140px;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(196, 183, 160, 0.08), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.03), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0.12) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 160px
    );
  mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
  opacity: 0.4;
}

body::after {
  background:
    radial-gradient(circle at 24% 72%, rgba(196, 183, 160, 0.07), transparent 24%),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.025), transparent 22%);
  filter: blur(36px);
  z-index: -3;
}

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

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

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

.shell {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.service-card__index,
.process-step__index,
.hero__note-label,
.contact-row span,
.brand-stage__item dt {
  font-family: "Cascadia Code", "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
}

.site-header {
  position: static;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.94), rgba(11, 11, 11, 0.72));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.35rem;
  min-height: 4.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  width: clamp(146px, 15vw, 188px);
  height: auto;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.button,
.service-card,
.principle,
.contact-row a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a:hover,
.contact-row a:hover {
  color: var(--text);
}

.site-header__cta {
  min-height: 3rem;
  padding-inline: 1.05rem;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.88rem 1.26rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.button--primary {
  background: linear-gradient(135deg, #a49682 0%, #c5b7a0 56%, #e3d7c3 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #171410;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.button--primary:hover {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
}

.button--secondary,
.button--ghost {
  border-color: rgba(196, 183, 160, 0.2);
  background: rgba(17, 16, 15, 0.7);
  color: var(--muted-strong);
}

.button--secondary:hover,
.button--ghost:hover {
  border-color: var(--line-strong);
  background: rgba(21, 20, 18, 0.94);
  color: var(--text);
}

.hero {
  position: relative;
  width: 100%;
  padding: clamp(4.35rem, 7vw, 6.7rem) 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(196, 183, 160, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, rgba(11, 11, 11, 0.22) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2.8rem, 4vw, 4.15rem);
  align-items: center;
}

.hero__copy {
  max-width: 33rem;
}

.hero h1 {
  margin: 1rem 0 0;
  max-width: 8.65ch;
  font-family: "Bahnschrift SemiBold", "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero__lede {
  margin: 1.15rem 0 0;
  max-width: 26rem;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.6;
}

.hero__actions,
.inquiry-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions {
  margin-top: 1.8rem;
}

.hero__note {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.65rem;
  max-width: 25rem;
  padding-left: 1.05rem;
  border-left: 1px solid rgba(228, 216, 194, 0.36);
}

.hero__note-label {
  color: rgba(228, 216, 194, 0.88);
  font-size: 0.7rem;
}

.hero__note p {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  line-height: 1.65;
}

.hero__art {
  display: flex;
  align-items: center;
}

.brand-stage {
  position: relative;
  width: min(100%, 40.75rem);
  margin-left: auto;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, rgba(18, 18, 18, 0.96) 0%, rgba(11, 11, 11, 0.98) 66%, rgba(11, 11, 11, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow);
  overflow: hidden;
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 255, 255, 0.03), transparent 24%),
    radial-gradient(circle at 20% 82%, rgba(196, 183, 160, 0.08), transparent 26%);
  pointer-events: none;
}

.brand-stage::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(196, 183, 160, 0.08);
  border-radius: 30px;
  pointer-events: none;
}

.brand-stage__line {
  position: absolute;
  pointer-events: none;
  
}

.brand-stage__line--vertical {
  top: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(228, 216, 194, 0.82), transparent);
}

.brand-stage__line--horizontal {
  left: 1.25rem;
  right: 1.25rem;
  bottom: 5.8rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(228, 216, 194, 0), rgba(228, 216, 194, 0.78), rgba(228, 216, 194, 0));
}

.brand-stage__logo-panel {
  position: relative;
  z-index: 1;
  margin: 1.7rem 1rem 1.35rem 2.8rem;
  padding: clamp(1.7rem, 3.7vw, 2.35rem);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0)),
    var(--bg-logo);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.brand-stage__logo {
  width: 100%;
  height: auto;
}

.brand-stage__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0 1rem 0.25rem 2.8rem;
}

.brand-stage__item {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  
}

.brand-stage__item dt {
  color: rgba(228, 216, 194, 0.84);
  font-size: 0.68rem;
  text-align: center;
}

.brand-stage__item dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.section {
  padding: 5.15rem 0;
}

.hero + .section {
  padding-top: 4.6rem;
}

.section-head {
  display: grid;
  gap: 0.72rem;
  max-width: 39rem;
  margin-bottom: 2.15rem;
}

.section-head--compact {
  max-width: 32rem;
  margin-bottom: 0;
  padding-top: 0.35rem;
}

.section-head h2,
.inquiry-panel h2 {
  margin: 0;
  font-family: "Bahnschrift SemiBold", "Aptos Display", "Segoe UI Variable Display", sans-serif;
  max-width: 11ch;
  font-size: clamp(2.05rem, 3.8vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head p:last-child,
.principle p,
.process-step p,
.inquiry-panel__copy p,
.contact-row p {
  color: var(--muted);
  line-height: 1.72;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card,
.principle,
.contact-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.94), rgba(7, 7, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow-soft);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 13.9rem;
  padding: 1.7rem 1.7rem 1.55rem;
}

.service-card::before,
.principle::before,
.contact-card::before,
.inquiry-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 216, 194, 0.72), transparent);
}

.service-card:hover,
.principle:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px rgba(0, 0, 0, 0.34);
}

.service-card__index,
.process-step__index {
  margin: 0 0 0.85rem;
  color: rgba(228, 216, 194, 0.88);
  font-size: 0.72rem;
}

.service-card h3,
.principle h3,
.process-step h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-card p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.section--about {
  position: relative;
}

.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.014));
  pointer-events: none;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 2.35rem;
  align-items: start;
}

.principles {
  display: grid;
  gap: 1.05rem;
}

.principle {
  overflow: hidden;
  padding: 1.5rem 1.55rem;
}

.principle p {
  margin: 0.7rem 0 0;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding-top: 1.15rem;
  padding-right: 0.35rem;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.6rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(228, 216, 194, 0.92), rgba(228, 216, 194, 0));
}

.process-step p {
  max-width: 22ch;
  margin: 0.78rem 0 0;
}

.inquiry-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.35rem;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.96), rgba(8, 8, 7, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow);
  overflow: hidden;
}

.inquiry-panel::after {
  content: "";
  position: absolute;
  inset: auto -14% -70% 42%;
  height: 16rem;
  background: radial-gradient(circle, rgba(196, 183, 160, 0.18), rgba(255, 255, 255, 0.04), transparent 64%);
  filter: blur(22px);
}

.inquiry-panel__copy {
  position: relative;
  z-index: 1;
  max-width: 30rem;
}

.inquiry-panel__copy h2 {
  margin-top: 0.85rem;
}

.inquiry-panel__copy p:last-of-type {
  margin: 0.95rem 0 0;
}

.inquiry-panel__actions {
  position: relative;
  z-index: 1;
  margin-top: 1.85rem;
}

.contact-card {
  position: relative;
  z-index: 1;
  padding: 1.55rem 1.7rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-row:first-child {
  padding-top: 0.25rem;
  border-top: 0;
}

.contact-row span {
  color: rgba(228, 216, 194, 0.84);
  font-size: 0.7rem;
}

.contact-row p,
.contact-row a {
  margin: 0;
  color: var(--muted-strong);
}

.site-footer {
  padding: 1.9rem 0 2.6rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer__logo {
  width: clamp(118px, 13vw, 158px);
  height: auto;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero__inner,
  .about,
  .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    gap: 1rem;
    min-height: 4.55rem;
  }

  .hero__inner {
    gap: 2.95rem;
  }

  .hero__copy {
    max-width: 36rem;
  }

  .brand-stage {
    width: 100%;
    margin-left: 0;
  }

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

  .process-step p {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(16, 15, 14, 0.66);
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 0.85rem;
    min-height: auto;
    padding: 0.8rem 0 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.45rem;
    padding: 0.5rem 0.6rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-nav a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.03);
  }

  .site-header__cta {
    justify-self: end;
    width: auto;
    min-height: 2.7rem;
    padding-inline: 0.9rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3.35rem;
  }

  .hero__inner {
    gap: 2.2rem;
  }

  .hero h1 {
    max-width: 7.6ch;
    font-size: clamp(2.45rem, 12.8vw, 3.85rem);
    line-height: 0.96;
  }

  .hero__actions .button,
  .inquiry-panel__actions .button {
    width: 100%;
  }

  .hero__copy,
  .inquiry-panel__copy {
    max-width: 100%;
    min-width: 0;
  }

  .hero__lede {
    max-width: 18rem;
  }

  .hero__note {
    max-width: 18rem;
    margin-top: 1.35rem;
    padding-left: 0.9rem;
  }

  .brand-stage {
    min-width: 0;
    padding: 0.82rem;
    border-radius: 26px;
  }

  .brand-stage::after {
    inset: 0.58rem;
    border-radius: 18px;
  }

  .brand-stage__line--vertical {
    top: 0.82rem;
    bottom: 0.82rem;
    left: 0.82rem;
  }

  .brand-stage__line--horizontal {
    display: none;
  }

  .brand-stage__logo-panel {
    margin: 0.95rem 0.55rem 0.72rem 1.36rem;
    padding: 0.76rem;
    border-radius: 18px;
  }

  .brand-stage__list {
    grid-template-columns: 1fr;
    gap: 0.48rem;
    padding: 0 0.55rem 0.02rem 1.36rem;
  }

  .brand-stage__item {
    min-width: 0;
    gap: 0.22rem;
    padding-top: 0.58rem;
  }

  .brand-stage__item dt,
  .brand-stage__item dd {
    text-align: left;
  }

  .brand-stage__item dt {
    font-size: 0.62rem;
  }

  .brand-stage__item dd {
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .services-grid,
  .process-track,
  .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .service-card,
  .principle,
  .contact-card,
  .inquiry-panel {
    min-width: 0;
  }

  .service-card {
    min-height: auto;
  }

  .section {
    padding: 4.15rem 0;
  }

  .hero + .section {
    padding-top: 3.7rem;
  }

  .inquiry-panel {
    gap: 1.5rem;
    padding: 1.55rem;
  }

  .contact-card {
    min-width: 0;
    padding: 1.25rem 1.15rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-row p,
  .contact-row a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 1rem, var(--max-width));
  }

  .brand__logo {
    width: 154px;
  }

  .site-nav {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    border-radius: 14px;
  }

  .site-nav a,
  .site-header__cta,
  .button {
    min-height: 2.9rem;
  }

  .site-header__inner {
    gap: 0.7rem;
    padding: 0.72rem 0 0.82rem;
  }

  .hero {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 7.1ch;
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .hero__lede {
    max-width: 17rem;
    font-size: 0.98rem;
  }

  .hero__actions {
    gap: 0.75rem;
  }

  .hero__note {
    max-width: 17rem;
    margin-top: 1.15rem;
    padding-left: 0.8rem;
  }

  .brand-stage {
    padding: 0.72rem;
  }

  .brand-stage::after {
    inset: 0.5rem;
  }

  .brand-stage__line--vertical {
    top: 0.72rem;
    bottom: 0.72rem;
    left: 0.72rem;
  }

  .brand-stage__logo-panel {
    margin: 0.82rem 0.45rem 0.58rem 1.14rem;
    padding: 0.68rem;
  }

  .brand-stage__list {
    gap: 0.4rem;
    padding: 0 0.45rem 0 1.14rem;
  }

  .brand-stage__item {
    padding-top: 0.48rem;
  }

  .brand-stage__item dt {
    font-size: 0.58rem;
  }

  .brand-stage__item dd {
    font-size: 0.84rem;
  }

  .section-head {
    margin-bottom: 1.8rem;
  }

  .section-head h2,
  .inquiry-panel h2 {
    max-width: 9ch;
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .inquiry-panel {
    padding: 1.25rem;
  }
}

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

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