:root {
  --ink: #171d19;
  --muted: #5f675f;
  --paper: #f2f0e8;
  --line: rgba(23, 29, 25, 0.18);
  --accent: #c55d32;
  --olive: #65715f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 29, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 29, 25, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.brand-mark {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.brand-mark path:first-child {
  fill: var(--ink);
}

.brand-mark path:last-child {
  fill: none;
  stroke: var(--paper);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.7;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 93, 50, 0.12);
}

.hero {
  display: grid;
  min-height: 65vh;
  align-content: center;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "//";
  margin-right: 10px;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8.5vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.intro {
  max-width: 560px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.products {
  padding-block: 112px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1.45fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin: 8px 0 0;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.3vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 230px;
  padding: 38px 42px;
  overflow: hidden;
  color: #efe9e2;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 184, 107, 0.17), transparent 31%),
    #171614;
  border-radius: 3px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(23, 29, 25, 0.15);
}

.product-icon {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 184, 107, 0.18);
  border-radius: 28px;
  background: rgba(255, 184, 107, 0.08);
}

.product-icon svg {
  width: 76px;
  height: 76px;
}

.product-icon path:first-child {
  fill: #ffb86b;
}

.product-icon path:last-child {
  fill: none;
  stroke: #ffb86b;
  stroke-linecap: round;
  stroke-width: 6;
}

.product-copy p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #aca49c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy p span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffb86b;
}

.product-copy h3 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.product-copy div {
  color: #aca49c;
  font-size: 1rem;
  line-height: 1.6;
}

.product-arrow {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #3a2600;
  background: #ffb86b;
  border-radius: 50%;
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.product-card:hover .product-arrow,
.product-card:focus-visible .product-arrow {
  transform: translateX(4px);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 250px;
  padding: 32px 36px 38px 0;
}

.principles article + article {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.principles span {
  color: var(--olive);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.principles h2 {
  margin: 58px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.principles p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact {
  display: grid;
  min-height: 560px;
  align-content: center;
  padding-block: 112px;
}

.contact .eyebrow {
  margin-bottom: 28px;
}

.contact a {
  display: flex;
  max-width: 760px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  text-decoration: none;
}

.contact a span {
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 160ms ease;
}

.contact a:hover span,
.contact a:focus-visible span {
  transform: translateX(5px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 32px 42px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    padding-block: 20px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 70vh;
    padding-block: 72px;
  }

  h1 {
    font-size: clamp(3.15rem, 15.5vw, 5.25rem);
  }

  .intro {
    margin-top: 32px;
  }

  .products {
    padding-block: 76px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .product-card {
    grid-template-columns: 1fr auto;
    gap: 24px;
    min-height: 0;
    padding: 30px 26px;
  }

  .product-icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  .product-icon svg {
    width: 58px;
    height: 58px;
  }

  .product-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .product-arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 28px 0 32px;
    border-left: 0;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
  }

  .principles h2 {
    margin-top: 34px;
  }

  .contact {
    min-height: 480px;
    padding-block: 80px;
  }

  .contact a {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}

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