@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DanaFaNum;
  src: url("../fonts/DanaFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171411;
  --ink-soft: #3d3832;
  --muted: #6f6860;
  --line: #ddd8cf;
  --paper: #f2f0eb;
  --paper-deep: #e7e2d8;
  --kraft: #b4844f;
  --kraft-deep: #7a5330;
  --kraft-light: #d4b48a;
  --brand: #0d5ea8;
  --brand-soft: #1f8fd6;
  --cut: #0d5ea8;
  --cut-soft: #1f8fd6;
  --white: #fffcf7;
  --shadow: 0 24px 60px rgba(23, 20, 17, 0.08);
  --radius: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-enter: cubic-bezier(0.05, 0.7, 0.1, 1);
  --max: 1120px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: DanaFaNum, Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(20, 104, 92, 0.06), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, rgba(180, 132, 79, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f5f0 0%, var(--paper) 40%, #efebe3 100%);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Site chrome —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  background: rgba(242, 240, 235, 0.82);
  border-bottom: 1px solid rgba(221, 216, 207, 0.7);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.brand__logo {
  width: auto;
  height: 44px;
  max-width: 168px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand--textless span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, var(--kraft-light), var(--kraft));
}

.brand__mark::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--ink);
  transform: translate(3px, -3px);
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  width: 0;
  height: 1px;
  background: var(--cut);
  transition: width 280ms var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: #2a241e;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--cut {
  background: var(--cut);
  color: #fff;
}

.btn--cut:hover {
  background: var(--cut-soft);
}

/* —— Hero —— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: clip;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cut);
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.stage-frame {
  width: min(100%, 460px);
  aspect-ratio: 1;
  position: relative;
}

.stage-caption {
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.stage-caption span {
  color: var(--kraft-deep);
  font-weight: 700;
}

/* Carton scene: blank → cut → open shipping box */
.carton-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.scene-sheet,
.scene-box {
  position: absolute;
  inset: 8% 6% 14%;
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
}

.scene-sheet {
  width: 88%;
  height: auto;
  opacity: 1;
  transform: scale(1);
}

.scene-box {
  opacity: 0;
  transform: translateY(24px) scale(0.86);
  display: grid;
  place-items: center;
}

.scene-cut {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 860;
  stroke-dashoffset: 860;
}

.scene-score {
  fill: none;
  stroke: rgba(23, 20, 17, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
  opacity: 0;
}

.blank-flap {
  stroke: rgba(90, 50, 20, 0.18);
  stroke-width: 1;
}

.stage-cut .scene-cut {
  animation: draw-cut 1.2s var(--ease-enter) forwards;
}

.stage-cut .scene-score {
  animation: fade-in 0.45s ease 0.7s forwards;
}

.stage-box .scene-sheet {
  opacity: 0;
  transform: scale(0.72) rotate(6deg);
  pointer-events: none;
}

.stage-box .scene-box {
  opacity: 1;
  transform: none;
}

.scene-sheet,
.scene-box {
  width: min(100%, 420px);
  height: auto;
  max-height: 100%;
}

.scene-box {
  z-index: 2;
}

@keyframes draw-cut {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--alt {
  background: rgba(255, 252, 247, 0.55);
  border-block: 1px solid rgba(221, 216, 207, 0.55);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cut);
  margin-bottom: 0.7rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__desc {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process__item {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--kraft);
  background: rgba(255, 252, 247, 0.7);
}

.process__num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kraft-deep);
  margin-bottom: 0.85rem;
}

.process__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.process__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--white);
  padding: clamp(1.4rem, 3vw, 2rem);
  min-height: 180px;
  transition: background 220ms var(--ease);
}

.service:hover {
  background: #fbf8f2;
}

.service h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  border-right: 1px solid var(--line);
  padding-right: 1rem;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kraft-deep);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  min-height: 100%;
}

.panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.panel p {
  margin: 0;
  color: rgba(255, 252, 247, 0.72);
}

.panel ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.panel li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 252, 247, 0.12);
  font-weight: 500;
}

.panel li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.65rem;
  background: var(--kraft);
  vertical-align: middle;
}

/* —— Contact / forms —— */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--cut);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-aside {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.65);
}

.contact-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.contact-aside p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-aside a {
  color: var(--cut);
  font-weight: 600;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  background: rgba(20, 104, 92, 0.08);
  border: 1px solid rgba(20, 104, 92, 0.25);
  color: var(--cut);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* —— Page hero —— */
.page-hero {
  padding: 3.25rem 0 2rem;
  border-bottom: 1px solid rgba(221, 216, 207, 0.7);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.content-block {
  padding: 2.5rem 0 4rem;
}

.content-block .prose {
  max-width: 62ch;
}

.prose p {
  color: var(--ink-soft);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2rem;
  background: #ebe6dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(23, 20, 17, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 920px) {
  .hero__grid,
  .about-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__stage {
    min-height: 340px;
    order: -1;
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 1.25rem;
    top: calc(var(--nav-h) + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.9rem;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .services,
  .form-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 0.85rem 0 0;
  }

  .stat:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .scene-cut,
  .scene-score,
  .scene-sheet,
  .scene-box {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scene-sheet { opacity: 0; }
  .scene-box { opacity: 1; transform: none; }
}
