:root {
  --charcoal: #171b1e;
  --charcoal-2: #101416;
  --ivory: #f5efe4;
  --stone: #b9ad9c;
  --stone-2: #d1c6b7;
  --moss: #20372f;
  --brass: #c59a42;
  --slate: #59646a;
  --taupe: #7e7568;
  --clay: #9d5f45;
  --ink-soft: #59646a;
  --border: rgba(23, 27, 30, 0.16);
  --dark-border: rgba(215, 208, 196, 0.24);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(245, 239, 228, 0.88), rgba(245, 239, 228, 0.88)),
    repeating-linear-gradient(45deg, rgba(23, 27, 30, 0.04) 0 18px, transparent 18px 36px);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.5;
}

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

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

.site-header {
  align-items: center;
  background: linear-gradient(90deg, var(--charcoal-2), var(--moss));
  color: var(--stone);
  display: flex;
  gap: 32px;
  height: 78px;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header::after {
  background: linear-gradient(90deg, transparent, rgba(176, 138, 69, 0.42), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 26px;
  gap: 12px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  color: var(--brass);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.brand-mark svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 30px;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  font-size: 15px;
}

nav a {
  color: #d9cfbf;
  position: relative;
}

nav a:hover {
  color: #fff8ea;
}

nav a::after {
  background: var(--brass);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

nav a:hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.98), rgba(245, 239, 228, 0.9)),
    linear-gradient(135deg, transparent 0 72%, rgba(197, 154, 66, 0.18) 72% 100%);
  padding: clamp(54px, 8vw, 110px) clamp(24px, 7vw, 96px);
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 5.35vw, 78px);
  line-height: 0.98;
  max-width: 760px;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  margin-top: 30px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  position: relative;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--moss);
  color: #fffaf0;
}

.button-primary::after,
.button-clay::after {
  content: "->";
  font-weight: 700;
  margin-left: 14px;
}

.button-secondary {
  background: rgba(244, 239, 230, 0.58);
  border-color: rgba(38, 59, 50, 0.46);
  color: var(--charcoal);
}

.button-secondary:hover {
  border-color: var(--moss);
}

.button-clay {
  background: var(--clay);
  color: #fffaf0;
  width: min(280px, 100%);
}

.hero-media {
  align-self: stretch;
  background: var(--charcoal);
  min-height: 620px;
  position: relative;
}

.hero-media img {
  height: 100%;
  mix-blend-mode: screen;
  object-fit: cover;
  object-position: center right;
  opacity: 0.92;
  width: 100%;
}

.section-pad {
  padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 86px);
}

.section-heading {
  max-width: 610px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1;
}

.section-heading p,
.split p,
.services-intro p,
.stack p,
.contact p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 12px;
}

.build {
  background: var(--ivory);
  border-top: 3px solid rgba(197, 154, 66, 0.7);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}

.build-grid article {
  border-left: 1px solid var(--border);
  min-height: 196px;
  padding: 0 clamp(20px, 3vw, 48px);
}

.build-grid article:first-child {
  border-left: 0;
}

.line-icon {
  align-items: center;
  background: rgba(176, 138, 69, 0.08);
  border: 1px solid rgba(176, 138, 69, 0.58);
  color: var(--brass);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 26px;
  width: 48px;
}

.line-icon svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 25px;
}

h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
}

article p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 14px;
}

.audience,
.engagement {
  background:
    linear-gradient(rgba(185, 173, 156, 0.9), rgba(185, 173, 156, 0.9)),
    linear-gradient(135deg, rgba(32, 55, 47, 0.1) 0 50%, transparent 50% 100%),
    var(--stone);
}

.split {
  display: grid;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
}

.audience-list {
  border-left: 1px solid var(--border);
  display: grid;
  gap: 28px 44px;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  padding-left: clamp(34px, 6vw, 86px);
}

.audience-list span {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 24px;
}

.method {
  background:
    linear-gradient(rgba(245, 239, 228, 0.96), rgba(245, 239, 228, 0.96)),
    linear-gradient(90deg, rgba(197, 154, 66, 0.18), transparent 34%, rgba(32, 55, 47, 0.12));
}

.method-steps {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
}

.method-steps article {
  padding-top: 18px;
  position: relative;
}

.method-steps article::before {
  background: linear-gradient(90deg, var(--brass), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.method-steps span {
  color: var(--brass);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 38px;
}

.dark {
  background:
    linear-gradient(rgba(16, 20, 22, 0.92), rgba(16, 20, 22, 0.92)),
    radial-gradient(circle at 22% 0%, rgba(32, 55, 47, 0.95), transparent 40%),
    linear-gradient(135deg, rgba(197, 154, 66, 0.18), transparent 38%);
  color: #fff8ea;
}

.services {
  display: grid;
  gap: 44px;
  grid-template-columns: 0.48fr 1.52fr;
}

.dark p {
  color: rgba(247, 243, 236, 0.75);
}

.service-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}

.service-grid article {
  border: 1px solid var(--dark-border);
  min-height: 210px;
  padding: 28px;
}

.service-grid article:nth-child(1),
.service-grid article:nth-child(2),
.service-grid article:nth-child(3) {
  grid-column: span 2;
}

.service-grid article:nth-child(4),
.service-grid article:nth-child(5) {
  grid-column: span 3;
}

.service-number {
  color: var(--brass);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.service-grid h3 {
  color: #fff8ea;
  font-size: 21px;
}

.proof {
  background:
    linear-gradient(rgba(209, 198, 183, 0.9), rgba(209, 198, 183, 0.9)),
    repeating-linear-gradient(90deg, rgba(23, 27, 30, 0.05) 0 1px, transparent 1px 74px);
  display: grid;
  gap: 48px;
  grid-template-columns: 0.55fr 1.45fr;
}

.proof-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid article {
  background: var(--ivory);
  border: 1px solid var(--border);
  overflow: hidden;
}

.proof-grid h3,
.proof-grid p {
  padding-left: 22px;
  padding-right: 22px;
}

.proof-grid h3 {
  margin-top: 22px;
}

.proof-grid p {
  margin-bottom: 24px;
}

.mockup {
  align-items: center;
  aspect-ratio: 1.45 / 1;
  color: var(--charcoal);
  display: flex;
  font-family: var(--serif);
  font-size: 24px;
  justify-content: center;
  padding: 22px;
}

.flo {
  background:
    radial-gradient(circle at 60% 42%, rgba(157, 95, 69, 0.22), transparent 26%),
    linear-gradient(135deg, #ded6ca, #fffaf2 56%, #a79c8d);
}

.calm {
  background:
    radial-gradient(circle at 45% 48%, rgba(51, 72, 61, 0.34), transparent 28%),
    linear-gradient(135deg, #dfe6df, #fffaf2 62%, #a79c8d);
}

.nourish {
  background:
    radial-gradient(circle at 55% 42%, rgba(176, 138, 69, 0.28), transparent 28%),
    linear-gradient(135deg, #e7dcc8, #fffaf2 60%, #a79c8d);
}

.phone-screen {
  background: rgba(244, 239, 230, 0.9);
  border: 1px solid rgba(23, 27, 30, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(23, 27, 30, 0.16);
  display: grid;
  gap: 12px;
  min-height: 160px;
  padding: 24px 18px;
  position: relative;
  width: 88px;
}

.phone-screen::before {
  background: rgba(23, 27, 30, 0.18);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 50%;
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  width: 26px;
}

.phone-screen span,
.dashboard-screen span {
  color: var(--ink-soft);
  font: 600 8px var(--sans);
  text-transform: uppercase;
}

.phone-screen strong {
  color: var(--charcoal);
  font: 600 13px var(--serif);
  line-height: 1.1;
}

.phone-screen i {
  align-self: end;
  background: rgba(157, 95, 69, 0.18);
  border: 1px solid rgba(157, 95, 69, 0.4);
  border-radius: 50%;
  display: block;
  height: 42px;
  width: 42px;
}

.calm .phone-screen i {
  background: rgba(51, 72, 61, 0.18);
  border-color: rgba(51, 72, 61, 0.35);
}

.dashboard-screen {
  background: rgba(244, 239, 230, 0.92);
  border: 1px solid rgba(23, 27, 30, 0.12);
  box-shadow: 0 18px 50px rgba(23, 27, 30, 0.14);
  display: grid;
  gap: 10px;
  padding: 18px;
  width: min(220px, 100%);
}

.dashboard-screen b {
  background: linear-gradient(90deg, rgba(176, 138, 69, 0.26), rgba(51, 72, 61, 0.16));
  display: block;
  height: 18px;
}

.stack {
  align-items: center;
  background: var(--moss);
  border-block: 1px solid rgba(197, 154, 66, 0.35);
  color: #fff8ea;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.45fr 1.55fr;
}

.stack-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  justify-content: stretch;
}

.stack-list span {
  background: rgba(245, 239, 228, 0.08);
  border: 1px solid rgba(197, 154, 66, 0.32);
  color: #f5efe4;
  display: flex;
  font-size: 15px;
  justify-content: center;
  min-width: 104px;
  padding: 16px 18px;
  text-align: center;
}

.engagement-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.engagement-grid article {
  background: rgba(244, 239, 230, 0.74);
  border: 1px solid rgba(23, 27, 30, 0.1);
  padding: 32px;
}

.contact {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.8fr 1fr 0.55fr;
  padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 86px);
}

.contact h2 {
  max-width: 560px;
}

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

label {
  display: grid;
  gap: 7px;
}

label span {
  color: rgba(247, 243, 236, 0.74);
  font-size: 12px;
}

.full {
  grid-column: 1 / -1;
}

input,
textarea {
  background: rgba(247, 243, 236, 0.04);
  border: 1px solid var(--dark-border);
  color: #fff8ea;
  font: 15px var(--sans);
  min-height: 46px;
  padding: 12px 14px;
}

input:focus,
textarea:focus {
  border-color: rgba(176, 138, 69, 0.82);
  outline: 2px solid rgba(176, 138, 69, 0.18);
}

textarea {
  resize: vertical;
}

.contact-details {
  align-content: start;
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.contact-details a,
.contact-details span {
  color: rgba(247, 243, 236, 0.86);
  font-size: 15px;
}

footer {
  align-items: center;
  background: var(--charcoal-2);
  border-top: 1px solid rgba(215, 208, 196, 0.16);
  color: rgba(247, 243, 236, 0.72);
  display: grid;
  font-size: 13px;
  gap: 22px;
  grid-template-columns: 0.45fr 1fr auto auto;
  padding: 24px clamp(24px, 6vw, 86px);
}

footer span:first-child {
  color: #fff8ea;
  font-family: var(--serif);
  font-size: 18px;
}

@media (max-width: 1050px) {
  .hero,
  .services,
  .proof,
  .stack,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 390px;
  }

  .build-grid,
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-grid article:nth-child(n) {
    grid-column: auto;
  }

  .proof-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .stack-list {
    justify-content: flex-start;
  }
}

@media (max-width: 740px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 14px;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: static;
  }

  .brand {
    font-size: 22px;
  }

  nav {
    background: rgba(247, 243, 236, 0.06);
    border: 1px solid rgba(215, 208, 196, 0.14);
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    padding: 8px 10px;
  }

  nav a {
    font-size: 12px;
    padding: 4px 8px;
  }

  nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 28px;
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: 0.98;
  }

  .hero-copy p {
    font-size: 16px;
    margin-top: 22px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 50px;
    padding: 0 24px;
  }

  .hero-media {
    min-height: 240px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .section-pad {
    padding-bottom: 54px;
    padding-top: 54px;
  }

  .build-grid,
  .method-steps,
  .service-grid,
  .split,
  .audience-list,
  form {
    grid-template-columns: 1fr;
  }

  .build-grid article,
  .audience-list {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 24px;
  }

  .build-grid article:first-child {
    border-top: 0;
  }

  .contact {
    padding-bottom: 52px;
  }

  footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}
