:root {
  --bg: #f7f6f3;
  --bg-muted: #eceae4;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --text: #111111;
  --text-soft: #2f2f2c;
  --muted: #6f6c65;
  --muted-light: #908c83;
  --border: #dddad2;
  --border-strong: #bdb8ad;
  --button: #111111;
  --button-hover: #2b2b29;
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(100% - 36px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 246, 243, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 18px 0;
}

.brand-mark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.nav-links a {
  padding: 4px 0;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.section {
  padding: 76px 0;
}

.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  max-width: var(--max-width);
  padding: 54px 0 72px;
}

.hero-inner > * {
  max-width: 900px;
}

.hero-inner::after {
  content: "";
  order: 3;
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.9 / 1;
  margin: 6px 0 28px;
  border: 1px solid rgba(189, 184, 173, 0.55);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(221, 218, 210, 0.18)),
    repeating-linear-gradient(
      115deg,
      rgba(17, 17, 17, 0.035) 0,
      rgba(17, 17, 17, 0.035) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      25deg,
      rgba(255, 255, 255, 0.46) 0,
      rgba(255, 255, 255, 0.46) 1px,
      transparent 1px,
      transparent 14px
    ),
    #eeece5;
}

.eyebrow {
  order: 1;
}

h1 {
  order: 2;
}

.subline {
  order: 4;
}

.hero-copy {
  order: 5;
}

.hero-actions {
  order: 6;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(38px, 11vw, 82px);
  line-height: 0.98;
  font-weight: 690;
}

.subline {
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  background: var(--button);
  border-color: var(--button);
  color: #fff;
}

.button-primary:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1.08;
  font-weight: 680;
}

.card-grid {
  counter-reset: fabric;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.fabric-card {
  counter-increment: fabric;
  min-height: 176px;
  padding: 28px;
  background: var(--surface-soft);
  border: 1px solid rgba(221, 218, 210, 0.78);
  border-radius: 6px;
  box-shadow: none;
}

.fabric-card::before {
  content: counter(fabric, decimal-leading-zero);
  display: block;
  margin-bottom: 34px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.fabric-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 680;
}

.fabric-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.application-list {
  counter-reset: application;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.application-list span {
  counter-increment: application;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: clamp(22px, 7vw, 34px);
  font-weight: 650;
  line-height: 1.12;
}

.application-list span::before {
  content: counter(application, decimal-leading-zero);
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.split-section {
  display: grid;
  gap: 34px;
}

.statement {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.profile-content {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.profile-content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.profile-content p:first-child {
  color: var(--text-soft);
  font-size: clamp(20px, 5.5vw, 28px);
  line-height: 1.35;
  font-weight: 620;
}

.help-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--border);
}

.help-list span {
  display: block;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.contact-section {
  padding-top: 42px;
}

.contact-panel {
  padding: 32px 24px;
  background: #fbfaf6;
  border: 1px solid rgba(189, 184, 173, 0.62);
  border-radius: 6px;
}

.contact-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 30px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-details p {
  margin-bottom: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-details span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

@media (min-width: 680px) {
  .container {
    width: min(100% - 56px, var(--max-width));
  }

  .section {
    padding: 108px 0;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
    column-gap: 64px;
    align-items: center;
    padding: 78px 0 96px;
  }

  .hero-inner > * {
    grid-column: 1;
  }

  .hero-inner::after {
    grid-column: 2;
    grid-row: 1 / span 6;
    justify-self: end;
    align-self: center;
    max-width: 420px;
    aspect-ratio: 0.74 / 1;
    margin: 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .application-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
  }

  .application-list span:nth-child(2) {
    border-top: 0;
  }

  .split-section {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 56px;
  }

  .help-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 42px;
  }

  .contact-panel {
    padding: 54px;
  }

  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .application-list {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 34px;
  }

  .application-list span:nth-child(3) {
    border-top: 0;
  }
}

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