@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Red+Hat+Mono:wght@400;500&display=swap');

:root {
  --bg-crema: #f5efe6;
  --bg-oat: #ebe4d8;
  --bg-parchment: #f0e9df;
  --surface-crema: #faf6f0;
  --surface-copper: #e8ddd0;
  --surface-oat: #e3d9ca;
  --espresso: #1a1410;
  --dark-roast: #2c2218;
  --roasted-umber: #3d3028;
  --charred-cacao: #4a3a30;
  --text-muted: #7a6e62;
  --copper: #c46a2e;
  --crema-gold: #d4a84b;
  --green-bean: #8a9a5b;
  --calibration-blue: #4a6d8c;
  --heat-amber: #c4883a;
  --roast-red: #a04532;
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'Red Hat Mono', monospace;
  --header-h: 72px;
  --radius: 4px;
  --shadow-warm: 0 8px 32px rgba(26, 20, 16, 0.08);
  --shadow-lift: 0 16px 48px rgba(26, 20, 16, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--espresso);
  background-color: var(--bg-crema);
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section {
  padding: 96px 0;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.section--dark {
  background-color: var(--espresso);
  color: var(--bg-crema);
}

.section--oat {
  background-color: var(--bg-oat);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}

.section-label--light {
  color: var(--crema-gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--text-muted);
}

.section--dark .text-muted {
  color: rgba(245, 239, 230, 0.65);
}

.roast-bg {
  position: relative;
}

.roast-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(196, 106, 46, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(138, 154, 91, 0.03) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='%23c46a2e' stroke-width='0.3' opacity='0.08'/%3E%3Ccircle cx='30' cy='30' r='12' fill='none' stroke='%23c46a2e' stroke-width='0.2' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.roast-bg > * {
  position: relative;
  z-index: 1;
}

.roast-curve-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.roast-curve-layer svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--copper);
  color: var(--bg-crema);
}

.btn--primary:hover {
  background-color: var(--heat-amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

.btn--secondary {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
}

.btn--secondary:hover {
  background-color: var(--espresso);
  color: var(--bg-crema);
}

.btn--light {
  background-color: var(--crema-gold);
  color: var(--espresso);
}

.btn--light:hover {
  background-color: var(--copper);
  color: var(--bg-crema);
}

.btn--outline-light {
  background: transparent;
  color: var(--bg-crema);
  border: 1.5px solid rgba(245, 239, 230, 0.4);
}

.btn--outline-light:hover {
  border-color: var(--crema-gold);
  color: var(--crema-gold);
}

.link-underline {
  position: relative;
  font-weight: 500;
  color: var(--copper);
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width var(--transition);
}

.link-underline:hover::after {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 106, 46, 0.12);
  transition: var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-warm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__status {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bean);
  padding: 4px 10px;
  border: 1px solid rgba(138, 154, 91, 0.3);
  border-radius: var(--radius);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--copper);
  transition: width var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__cta {
  display: none;
}

@media (min-width: 1025px) {
  .header__cta {
    display: inline-flex;
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: rgba(250, 246, 240, 0.98);
  backdrop-filter: blur(16px);
  z-index: 1001;
  padding: calc(var(--header-h) + 32px) 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--espresso);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 106, 46, 0.1);
  transition: color var(--transition);
}

.mobile-menu__links a:hover {
  color: var(--copper);
}

.mobile-menu__cta {
  margin-top: 32px;
}

.mobile-menu__cta .btn {
  width: 100%;
}

body.menu-open {
  overflow: hidden !important;
}

.hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 96px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.hero__image-wrap {
  position: relative;
}

.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__image:hover img {
  transform: scale(1.03);
}

.profile-panel {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: -48px;
  margin-left: 24px;
  margin-right: 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-warm);
}

.profile-panel__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.profile-panel__item {
  padding: 12px 8px;
  border-right: 1px solid rgba(196, 106, 46, 0.1);
}

.profile-panel__item:last-child {
  border-right: none;
}

.profile-panel__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 4px;
}

.profile-panel__value {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
}

.batch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.batch-card {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.batch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
  border-color: rgba(196, 106, 46, 0.25);
}

.batch-card__id {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  margin-bottom: 8px;
}

.batch-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.batch-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

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

.signal-panel {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.signal-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--crema-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.signal-panel:hover::before {
  transform: scaleX(1);
}

.signal-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.signal-panel__stage {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bean);
  margin-bottom: 12px;
}

.signal-panel__title {
  margin-bottom: 16px;
}

.signal-panel__flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}

.signal-panel__flow dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-panel__flow dd {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calibration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calibration-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(212, 168, 75, 0.15);
  border-radius: var(--radius);
}

.check-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.check-item__icon svg {
  width: 100%;
  height: 100%;
}

.check-item__icon .draw-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s ease;
}

.check-item.visible .draw-line {
  stroke-dashoffset: 0;
}

.check-item__text {
  font-size: 0.9375rem;
  font-weight: 500;
}

.batches-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.featured-batch {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-roast);
}

.featured-batch__image img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-batch:hover .featured-batch__image img {
  transform: scale(1.04);
}

.featured-batch__content {
  padding: 32px;
}

.featured-batch__id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--crema-gold);
  margin-bottom: 12px;
}

.featured-batch__title {
  margin-bottom: 16px;
}

.featured-batch__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 168, 75, 0.15);
}

.featured-batch__meta dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--crema-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.featured-batch__meta dd {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.75);
}

.outcome-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outcome-card {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  transition: var(--transition);
}

.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-warm);
}

.outcome-card__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.outcome-card__image img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.outcome-card__id {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  margin-bottom: 6px;
}

.outcome-card__title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.outcome-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.roaster-note {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.roaster-note__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.roaster-note__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.roaster-note__highlight {
  background: var(--surface-copper);
  border-left: 3px solid var(--copper);
  padding: 24px 28px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

.services-profiles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-accordion {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.service-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
  text-align: left;
}

.service-accordion__header:hover {
  background: rgba(196, 106, 46, 0.04);
}

.service-accordion__id {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  margin-bottom: 4px;
}

.service-accordion__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.service-accordion__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.service-accordion.open .service-accordion__icon {
  transform: rotate(180deg);
}

.service-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-accordion.open .service-accordion__body {
  max-height: 600px;
}

.service-accordion__content {
  padding: 0 28px 28px;
}

.service-accordion__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-accordion__col dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.service-accordion__col dd {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sequence {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
}

.sequence::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--crema-gold), var(--green-bean));
  opacity: 0.3;
}

.sequence__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.sequence__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-crema);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.sequence__step:hover .sequence__num {
  background: var(--copper);
  color: var(--bg-crema);
}

.sequence__title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.sequence__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.proof-stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(245, 239, 230, 0.04);
  border: 1px solid rgba(212, 168, 75, 0.12);
  border-radius: var(--radius);
}

.proof-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--crema-gold);
  margin-bottom: 8px;
}

.proof-stat__label {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.7);
}

.proof-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.proof-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 16px;
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: var(--radius);
  color: rgba(245, 239, 230, 0.8);
}

.marquee-section {
  padding: 48px 0;
  overflow: hidden;
  max-width: 100vw;
  background: var(--dark-roast);
}

.marquee {
  display: flex;
  overflow: hidden;
  max-width: 100vw;
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee-left 40s linear infinite;
  white-space: nowrap;
}

.marquee__track--reverse {
  animation: marquee-right 40s linear infinite;
  margin-top: 16px;
}

.marquee__item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crema-gold);
  padding: 8px 0;
  flex-shrink: 0;
}

.marquee__item::before {
  content: '◆';
  margin-right: 16px;
  color: var(--copper);
  font-size: 0.5rem;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-section__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-section__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.contact-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-preview__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

.contact-item__value {
  font-size: 1rem;
}

.contact-preview__map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}

.contact-preview__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.2);
  border-radius: var(--radius);
  color: var(--espresso);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--roast-red);
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: var(--roast-red);
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-panel {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.12);
  border-radius: var(--radius);
  padding: 40px;
}

.footer {
  background: var(--espresso);
  color: var(--bg-crema);
  padding: 80px 0 40px;
  overflow-x: hidden;
}

.footer__statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  max-width: 600px;
  margin-bottom: 64px;
  line-height: 1.3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}

.footer__logo img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.6);
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crema-gold);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.7);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--crema-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.8125rem;
  color: rgba(245, 239, 230, 0.5);
}

.page-hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
  position: relative;
}

.page-hero__title {
  margin-bottom: 16px;
}

.page-hero__text {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
}

.content-block {
  max-width: 800px;
}

.content-block h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.content-block h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-block p {
  color: var(--text-muted);
}

.content-block ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.content-block ul li {
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.page-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
}

.page-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-item {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.portfolio-item__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.portfolio-item__content {
  padding: 28px;
}

.portfolio-item__id {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  margin-bottom: 8px;
}

.portfolio-item__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(196, 106, 46, 0.1);
}

.portfolio-item__meta dt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.portfolio-item__meta dd {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface-crema);
  border: 1px solid rgba(196, 106, 46, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-item__body {
  max-height: 400px;
}

.faq-item__answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.thanks-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-h);
}

.thanks-content {
  max-width: 560px;
}

.thanks-content__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 32px;
}

.thanks-content__icon svg {
  width: 100%;
  height: 100%;
}

.thanks-content h1 {
  margin-bottom: 16px;
}

.thanks-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-page {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 8px;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

.parallax-layer {
  will-change: transform;
}

@media (min-width: 1025px) and (hover: hover) {
  .parallax-layer {
    transition: transform 0.1s linear;
  }
}

.section-header {
  margin-bottom: 64px;
  max-width: 640px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.section--dark .section-header p {
  color: rgba(245, 239, 230, 0.65);
}

@media (max-width: 1024px) {
  .header__nav,
  .header__status,
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__grid,
  .calibration-grid,
  .batches-layout,
  .roaster-note,
  .cta-section,
  .contact-preview,
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .sequence {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .sequence::before {
    display: none;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .batch-cards {
    grid-template-columns: 1fr;
  }

  .profile-panel__row {
    grid-template-columns: 1fr;
  }

  .profile-panel__item {
    border-right: none;
    border-bottom: 1px solid rgba(196, 106, 46, 0.1);
  }

  .profile-panel__item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .signals-grid,
  .calibration-checks,
  .service-accordion__grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

  .outcome-card {
    grid-template-columns: 1fr;
  }

  .outcome-card__image img {
    height: 120px;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .form-panel {
    padding: 24px;
  }

  .profile-panel {
    margin-left: 0;
    margin-right: 0;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

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