@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&display=swap');
:root {
  --ink: #1c140c;
  --muted: #6b5540;
  --paper: #f6efe4;
  --panel: #fffaf3;
  --line: rgba(28, 20, 12, 0.14);
  --ochre: #b45309;
  --ochre-deep: #8a3d06;
  --sand: #e8d3b0;
  --clay: #c47a3a;
  --font: 'Anuphan', sans-serif;
  --display: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --header-h: 4.1rem;
  --demo-h: 2.6rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(165deg, #f8f1e6 0%, #efe2cd 42%, #f6efe4 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
}

.demo-bar strong {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c48a;
  font-weight: 500;
}

.demo-bar__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.demo-bar a {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.76rem;
  font-weight: 500;
}

.demo-bar a.is-primary {
  background: var(--ochre);
  border-color: var(--ochre);
}

.site-header {
  position: sticky;
  top: var(--demo-h);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand small {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--demo-h) - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(28, 20, 12, 0.78) 0%, rgba(28, 20, 12, 0.35) 48%, rgba(180, 83, 9, 0.35) 100%),
    linear-gradient(to top, rgba(28, 20, 12, 0.75), transparent 55%);
}

.hero__ridge {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 138, 0.85), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
  animation: ridge-glow 3.5s ease-in-out infinite;
}

.hero__ridge::before,
.hero__ridge::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #e8c48a;
  transform: rotate(45deg);
  top: -5px;
  background: rgba(180, 83, 9, 0.5);
}

.hero__ridge::before { left: 22%; }
.hero__ridge::after { right: 28%; }

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
  animation: rise 0.9s ease both;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.hero__brand span {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #e8c48a;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero h1 em {
  font-style: normal;
  color: #f0d2a0;
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

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

.btn--primary:hover { background: var(--ochre-deep); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn--block { width: 100%; }

.section { padding: 5rem 0; }

.section--warm {
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.08), transparent 40%),
    #ebe0cf;
}

.section--quote {
  background: var(--ink);
  color: #f6efe4;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.55rem;
}

.section--quote .eyebrow { color: #e8c48a; }

.section__head h2,
.quote-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.section__head p { color: var(--muted); }

.ridge-walk {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding-top: 1rem;
}

.ridge-walk__line {
  display: none;
}

.ridge-panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--ochre) 35%, transparent);
  overflow: hidden;
  position: relative;
}

.ridge-panel__step {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  background: var(--ochre);
  color: #fff;
  padding: 0.2rem 0.45rem;
}

.ridge-panel__photo {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ridge-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ridge-panel__body {
  grid-column: 1 / -1;
  padding: 1.15rem 1.25rem 1.3rem;
}

.ridge-panel__body h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.ridge-panel__body p { color: var(--muted); font-size: 0.95rem; }

.ridge-panel__price {
  color: var(--ink) !important;
  font-weight: 700;
  margin: 0.55rem 0 0.7rem;
}

.text-link {
  font-weight: 600;
  color: var(--ochre-deep);
}

@media (min-width: 900px) {
  .ridge-walk {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(0, auto);
    gap: 1.4rem 1rem;
    min-height: 720px;
  }

  .ridge-walk__line {
    display: block;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 42%;
    height: 3px;
    background: linear-gradient(90deg, var(--ochre), var(--clay), var(--sand));
    transform: rotate(-7deg);
    z-index: 0;
    opacity: 0.55;
  }

  .ridge-panel {
    grid-template-columns: 1fr;
    z-index: 1;
  }

  .ridge-panel--1 { grid-column: 1 / span 5; margin-top: 7rem; }
  .ridge-panel--2 { grid-column: 4 / span 5; margin-top: 0; }
  .ridge-panel--3 { grid-column: 7 / span 5; margin-top: 5.5rem; }
  .ridge-panel--4 { grid-column: 9 / span 4; margin-top: 12rem; }

  .ridge-panel__photo { aspect-ratio: 5 / 3; }
}

.walk-steps {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.walk-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  border-left: 4px solid var(--ochre);
  transform: skewX(-2deg);
}

.walk-steps li > div,
.walk-steps li > span { transform: skewX(2deg); }

.walk-steps span {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ochre);
  font-weight: 500;
}

.walk-steps h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.walk-steps p { color: var(--muted); font-size: 0.92rem; }

@media (min-width: 800px) {
  .walk-steps {
    grid-template-columns: 1fr 1fr;
  }
  .walk-steps li:nth-child(even) {
    transform: skewX(2deg);
    margin-top: 1.5rem;
  }
  .walk-steps li:nth-child(even) > div,
  .walk-steps li:nth-child(even) > span { transform: skewX(-2deg); }
}

.work-strip {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .work-strip { grid-template-columns: 1.2fr 1fr; }
}

.work-strip figure {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink);
}

.work-strip img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.work-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(28, 20, 12, 0.85));
  color: #fff;
  font-size: 0.9rem;
}

.quote-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .quote-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.quote-copy p { color: rgba(246, 239, 228, 0.75); margin-top: 0.5rem; }
.quote-copy strong { color: #e8c48a; }

.quote-form {
  display: grid;
  gap: 0.85rem;
  background: #241910;
  border: 1px solid rgba(232, 196, 138, 0.35);
  padding: 1.4rem;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c48a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(246, 239, 228, 0.25);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0.7rem 0.8rem;
}

.field textarea { resize: vertical; min-height: 90px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  background: #ebe0cf;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer span { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@keyframes ridge-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}


.voice-path {
  list-style: none;
  margin: 0 auto;
  max-width: 42rem;
  width: 100%;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
#voices .section__head,
#voices header.section__head {
  max-width: 42rem;
  width: 100%;
  margin-inline: auto;
}

.voice-path::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 1px;
  background: var(--line);
}
.voice-path__step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding: 1.15rem 0;
  position: relative;
}
.voice-path__mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ochre);
  padding-top: 0.2rem;
  background: var(--bg, transparent);
  position: relative;
  z-index: 1;
}
.voice-path__step p {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 0.55rem;
}
.voice-path__step cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .voice-path::before { left: 0.7rem; }
  .voice-path__step { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.65rem 1rem; }

    .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55rem 0.25rem; }
  .nav-cta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .hero__ridge,
  .hero__inner,
  .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
