:root {
  --ink: #1a1c1f;
  --ink-soft: #3d4248;
  --paper: #f3efe6;
  --paper-deep: #e7e0d2;
  --brass: #c9922a;
  --brass-deep: #9a6f18;
  --brass-glow: #e8b84a;
  --steel: #5c6670;
  --line: rgba(26, 28, 31, 0.12);
  --white: #fffdf8;
  --header-h: 4.25rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1rem, 2.5vw, 1.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 146, 42, 0.12), transparent 55%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-deep) 48%, #ddd5c4 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(26, 28, 31, 0.03) 11px,
      rgba(26, 28, 31, 0.03) 12px
    );
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.35rem;
  background:
    linear-gradient(135deg, var(--brass-glow), var(--brass-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 22% 28% 48%;
  background: var(--white);
  opacity: 0.9;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.header-inner > .btn-ghost {
  display: none;
}

@media (min-width: 820px) {
  .nav,
  .header-inner > .btn-ghost {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #2a2e33;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 28, 31, 0.28);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 253, 248, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

/* Hero — one composition, full-bleed image */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 14, 0.78) 0%, rgba(20, 18, 14, 0.55) 42%, rgba(20, 18, 14, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 18, 14, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 38rem;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(38rem, calc(100% - 2.5rem));
  color: var(--white);
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--brass-glow);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 253, 248, 0.88);
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta .btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #1a1408;
}

.hero-cta .btn-primary:hover {
  background: var(--brass-glow);
  border-color: var(--brass-glow);
}

.hero-cta .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.4);
}

.hero-cta .btn-secondary:hover {
  background: rgba(255, 253, 248, 0.1);
  border-color: var(--white);
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

/* Strip */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.strip-grid {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
}

.strip-grid p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.strip-grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

@media (min-width: 720px) {
  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2,
.workflow-copy h2,
.contact-inner h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-head p,
.workflow-copy > p,
.contact-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .feature-list li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.feature-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Workflow */
.workflow {
  background: rgba(255, 253, 248, 0.4);
  border-block: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .workflow-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-weight: 500;
}

.steps span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass-deep);
  letter-spacing: -0.02em;
}

.workflow-panel {
  padding: 1.75rem 1.5rem;
  background:
    linear-gradient(160deg, #24282d 0%, #1a1c1f 100%);
  color: var(--white);
  border-radius: 0.5rem;
}

.panel-kicker {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brass-glow);
  letter-spacing: -0.02em;
}

.panel-line {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.98rem;
}

.panel-line:last-child {
  padding-bottom: 0;
}

/* Contact */
.contact-inner {
  max-width: 40rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

.contact-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner p {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.footer-inner .muted {
  color: var(--steel);
  margin: 0;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.hero [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.hero [data-reveal]:nth-child(2) { transition-delay: 0.14s; }
.hero [data-reveal]:nth-child(3) { transition-delay: 0.22s; }
.hero [data-reveal]:nth-child(4) { transition-delay: 0.3s; }

.feature-list li[data-reveal]:nth-child(odd) { transition-delay: 0.04s; }
.feature-list li[data-reveal]:nth-child(even) { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}
