:root {
  --ink: #22312d;
  --muted: #65736f;
  --paper: #fff9ed;
  --surface: #ffffff;
  --surface-strong: #f7eddc;
  --mint: #70d6b4;
  --mint-dark: #1f7f68;
  --clay: #ef8f6a;
  --sun: #f9c74f;
  --sky: #7bc8f6;
  --border: rgba(34, 49, 45, 0.14);
  --shadow: 0 24px 70px rgba(57, 44, 24, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(112, 214, 180, 0.28), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(249, 199, 79, 0.2), transparent 24rem),
    var(--paper);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
.gallery-copy a, .hero-text a, .contact-section a {
  color: var(--mint-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 249, 237, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(57, 44, 24, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  transform: rotate(-3deg);
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); margin-top: -2px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.site-nav a:hover, .site-nav a:focus-visible { background: white; color: var(--ink); outline: none; }
.site-nav .nav-cta { background: var(--ink); color: white; }
.nav-toggle { display: none; }

.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
}
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--mint-dark);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.075em;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.hero-text {
  max-width: 660px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: white; box-shadow: 0 16px 30px rgba(34, 49, 45, .18); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--border); }
.button.full { width: 100%; }
.trust-note { color: var(--muted); font-size: .95rem; }

.hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}
.printer-card {
  position: relative;
  width: min(420px, 92vw);
  padding: 38px;
  border: 2px solid rgba(34, 49, 45, .12);
  border-radius: 42px;
  background: linear-gradient(160deg, #fff, #fff1d6);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.printer-top {
  width: 58%;
  height: 18px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--ink);
}
.printer-frame {
  height: 250px;
  border: 12px solid var(--ink);
  border-bottom-width: 24px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(34,49,45,.12) 48% 52%, transparent 52%),
    linear-gradient(#fefaf1, #fff);
  position: relative;
  overflow: hidden;
}
.print-head {
  position: absolute;
  left: 44%;
  top: 44px;
  width: 54px;
  height: 40px;
  border-radius: 12px;
  background: var(--clay);
  animation: print-head 3.5s ease-in-out infinite;
}
.print-head::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 39px;
  width: 10px;
  height: 65px;
  background: rgba(239, 143, 106, .38);
}
.printed-object {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 120px;
  height: 92px;
  border-radius: 20px 20px 12px 12px;
  background: repeating-linear-gradient(0deg, var(--mint), var(--mint) 8px, #91e5cb 8px, #91e5cb 12px);
}
.printer-base {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.printer-base span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky);
}
.floating-chip {
  position: absolute;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(57,44,24,.1);
}
.chip-one { left: 2%; top: 22%; transform: rotate(-8deg); }
.chip-two { right: 4%; top: 18%; transform: rotate(7deg); }
.chip-three { right: 12%; bottom: 20%; transform: rotate(-4deg); }

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 3rem 0;
}
.about-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem 0 3rem;
}
.about-card, .about-notes {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 38px rgba(57,44,24,.06);
}
.about-card { padding: clamp(1.25rem, 3vw, 2rem); }
.about-card p:last-child { margin-bottom: 0; color: var(--muted); }
.about-notes {
  display: grid;
  gap: .7rem;
  padding: 1rem;
}
.about-notes div {
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface-strong);
}
.about-notes strong, .about-notes span { display: block; }
.about-notes strong { font-size: 1.18rem; }
.about-notes span { color: var(--muted); }
.service-list { display: grid; gap: 1rem; }
.service-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
}
.number {
  color: var(--clay);
  font-weight: 1000;
  font-size: 1.4rem;
}
.service-card p, .process-list p, .ideas-copy p, .contact-section p { margin: 0; color: var(--muted); }

.proof-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-block: 3rem;
}
.proof-band > div {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
}
.proof-band strong, .proof-band span { display: block; }
.proof-band span { color: rgba(255,255,255,.76); margin-top: .3rem; }

.process-section, .ideas-section, .contact-section { padding: 4rem 0; }
.process-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.process-list li {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(57,44,24,.06);
}
.process-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: var(--sun);
  font-weight: 1000;
}

.ideas-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.idea-card {
  min-height: 116px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.idea-card:hover, .idea-card:focus-visible { outline: 3px solid rgba(112, 214, 180, .55); }
.idea-output {
  grid-column: 2;
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  font-weight: 800;
}

.gallery-section { padding: 1rem 0 4rem; }
.gallery-copy { margin-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 14px 38px rgba(57,44,24,.06);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: .7rem .9rem;
  font-weight: 800;
  font-size: .92rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
label { display: grid; gap: .55rem; font-weight: 800; }
label + label, textarea, input[type="text"], input[type="email"] { margin-top: .9rem; }
label:first-child { margin-top: 0; }
textarea, input[type="text"], input[type="email"] {
  width: 100%;
  resize: vertical;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
}
textarea:focus, input[type="text"]:focus, input[type="email"]:focus { outline: 3px solid rgba(112, 214, 180, .45); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: .8rem 0 0; font-size: .94rem; min-height: 1.3em; }
.form-note.is-error { color: #b3492f; }
.form-note.is-success { color: var(--mint-dark); }
button[data-submit-request][disabled] { opacity: .65; cursor: progress; }

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 2rem auto;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

@keyframes print-head {
  0%, 100% { transform: translateX(-68px); }
  50% { transform: translateX(68px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 820px) {
  .site-header { border-radius: 24px; align-items: flex-start; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    font-weight: 900;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    top: 68px;
    padding: .6rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,249,237,.97);
    box-shadow: 0 20px 40px rgba(57,44,24,.12);
  }
  .site-nav.open { display: grid; }
  .site-nav a { justify-content: center; }
  .hero, .about-section, .split-section, .proof-band, .process-list, .ideas-section, .contact-section { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 3rem; }
  .hero-visual { min-height: 390px; }
  .idea-output { grid-column: auto; }
  .site-footer { display: grid; gap: .5rem; }
}

@media (max-width: 520px) {
  .service-card { grid-template-columns: 1fr; }
  .idea-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .printer-card { padding: 24px; }
  .printer-frame { height: 215px; }
  .floating-chip { display: none; }
}
