:root {
  --cream: #f3f2ed;
  --charcoal: #171717;
  --orange: #c76315;
  --olive: #6a802e;
  --border: rgba(23, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(243, 242, 237, 0.92);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark-img {
  width: 54px;
  height: auto;
  display: block;
}

.brand-name {
  font-size: 14px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 88vh;
  padding: 80px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}


.hero-content {

  position: relative;

  z-index: 3;

  min-width: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0 0 0 58%;
  opacity: 0.28;
  background-image:
    linear-gradient(135deg, transparent 25%, var(--orange) 25%, var(--orange) 50%, transparent 50%),
    linear-gradient(45deg, transparent 25%, var(--olive) 25%, var(--olive) 50%, transparent 50%);
  background-size: 90px 90px;
}


.hero-monogram-img {
  position: relative;

  z-index: 2;

  display: block;

  width: 100%;

  max-width: 420px;

  height: auto;

  justify-self: end;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 600px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.5;
}

.hero-monogram-img {
 position: relative;
 z-index: 2;
 width: mini(36vw, 420px);
 justify-self: end;
 align-self: center;
}

.section {
  padding: 100px 28px;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 50px;
}

h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

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

.identity-card {
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.identity-card-dark {
  background: var(--charcoal);
  color: var(--orange);
}

.identity-card-light {
  background: #fff;
  color: var(--charcoal);
}

.identity-monogram {
  width: min(80%, 420px);
  height: auto;
  display: block;
}

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

.swatch {
  min-height: 260px;
  border: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.swatch span {
  font-size: 14px;
  margin-bottom: 6px;
}

.swatch strong {
  font-size: 18px;
}

.cream {
  background: var(--cream);
  border: 1px solid var(--border);
}

.charcoal {
  background: var(--charcoal);
  color: white;
}

.orange {
  background: var(--orange);
  color: white;
}

.olive {
  background: var(--olive);
  color: white;
}

.copy-note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.7;
}

.pattern-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pattern-button {
  border: 1px solid var(--charcoal);
  background: transparent;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
}

.pattern-button.active {
  background: var(--charcoal);
  color: var(--cream);
}

.pattern-preview {
  min-height: 520px;
  border: 1px solid var(--border);
  background-image: url("assets/svg/pattern-charcoal.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tools-intro {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.5;
}

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

.tool-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: #fff;
}

.tool-card-active {
  background: var(--charcoal);
  color: var(--cream);
}

.tool-status {
  margin: 0 0 42px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-card h3 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.tool-card p:not(.tool-status) {
  max-width: 480px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.tool-link {
  width: fit-content;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 14px;
}

footer {
  padding: 24px 28px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 800px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }

  .hero-monogram-img {
    width: min(80vw, 360px);
    justify-self: start;
    margin-top: 30px;
  }

  .identity-grid,
  .color-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .pattern-preview {
    min-height: 360px;
  }
}