/* ============================================================
   First Label — homepage styles  (Direction C: Studio / modern)
   Brand orange from the logo drives one swappable accent token.
   ============================================================ */

:root {
  --accent:        #e0781c;   /* deepened logo orange — legible on white */
  --accent-bright: #fe8e25;   /* pure logo orange — fills, dots */
  --accent-soft:   #fdeede;   /* tint */
  --accent-ink:    #7a3d0c;   /* deep orange for text on soft */

  --ink:      #2c2624;
  --ink-soft: #4c443f;
  --muted:    #6f655f;
  --paper:    #ffffff;
  --warm:     #faf6f1;
  --warm-2:   #f3ebe1;
  --line:     #ece5dc;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1240px;

  --shadow-sm: 0 2px 8px -3px rgba(44,38,36,.18);
  --shadow-md: 0 24px 50px -34px rgba(44,38,36,.45);
  --shadow-lg: 0 48px 90px -52px rgba(44,38,36,.55);

  --sans: 'Archivo', system-ui, sans-serif;
  --grot: 'Space Grotesk', 'Archivo', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-family: var(--grot);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 11px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--accent); }

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.04; margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  padding: 15px 26px; border-radius: 11px; transition: .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); padding-left: 4px; }
.btn-ghost:hover .arr { transform: translateX(4px); }
.arr { transition: transform .18s ease; display: inline-flex; }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--ink); color: #efe7df;
  font-size: 13px; letter-spacing: 0.01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar .tb-left { display: flex; gap: 26px; align-items: center; }
.topbar .tb-left a { display: inline-flex; align-items: center; gap: 7px; color: #d9cfc6; }
.topbar .tb-left a:hover { color: #fff; }
.topbar .tb-left svg { width: 14px; height: 14px; color: var(--accent-bright); }
.topbar .tb-right { color: #b6aaa0; }
.topbar .tb-right b { color: #fff; font-weight: 600; }

/* ---------------- Nav ---------------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

/* ---------------- Hero (full-bleed cycling background) ---------------- */
.hero { position: relative; overflow: hidden; min-height: clamp(620px, 88vh, 880px); display: flex; align-items: center; background: #181310; }
.hero .wrap { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 132px; width: 100%; }
.hero-copy { max-width: 660px; }
.hero h1 { font-size: clamp(46px, 5.6vw, 78px); font-weight: 700; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 .rot {
  color: var(--accent-bright); display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}
.hero h1 .rot.swap { opacity: 0; transform: translateY(8px); }
.hero .lede { font-size: 18.5px; line-height: 1.62; color: #e7ddd4; max-width: 500px; margin: 24px 0 36px; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.hero .cta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.hero .btn-ghost { color: #fff; }
.hero .trust { display: flex; gap: 36px; }
.hero .trust .num { font-family: var(--grot); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.hero .trust .lbl { font-size: 12.5px; color: #c8bcb2; margin-top: 3px; max-width: 130px; }

/* full-bleed cycling background + Ken Burns zoom */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.1s ease; pointer-events: none;
  will-change: opacity, transform;
  background-size: cover; background-position: center;
  animation: none;
}
.hero-bg .hero-slide.active { opacity: 1; pointer-events: auto; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .hero-slide,
  .hero-bg .hero-slide.active { animation: none; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(98deg, rgba(20,15,12,.86) 0%, rgba(20,15,12,.62) 40%, rgba(20,15,12,.18) 72%, rgba(20,15,12,.05) 100%),
    linear-gradient(0deg, rgba(20,15,12,.55) 0%, rgba(20,15,12,0) 30%);
}
.hero-tag {
  position: absolute; right: 40px; bottom: 56px; z-index: 3; max-width: calc(100% - 80px);
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 13px;
}
.hero-tag .ht-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-tag .ht-cat { font-weight: 700; font-size: 15px; white-space: nowrap; }
.hero-tag .ht-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------------- Section scaffolding ---------------- */
section { position: relative; }
section[id], [id="contact"], [id="labels"], [id="why"], [id="how"], [id="designers"], [id="top"] { scroll-margin-top: 92px; }
.section { padding: 96px 0; }
.section.warm { background: var(--warm); }
.section.ink { background: var(--ink); color: #efe7df; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; }
.section-head .intro { font-size: 17.5px; line-height: 1.6; color: var(--muted); margin-top: 18px; }
.section.ink .section-head .intro { color: #b9ada3; }

/* ---------------- Label type grid ---------------- */
.ltypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ltype {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; display: flex; flex-direction: column; transition: .22s ease;
}
.ltype:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.lt-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(155deg, var(--warm) 0%, var(--warm-2) 100%); overflow: hidden; }
.lt-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.lt-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--line); pointer-events: none; }
.lt-flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.lt-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.lt-body h3 { font-size: 20px; font-weight: 700; }
.lt-body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 9px 0 0; }
.lt-more { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.lt-more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.ltype:hover .lt-more svg { transform: translateX(4px); }

/* ---------------- Why / benefits ---------------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 56px; }
.benefit { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); }
.benefit .bnum { font-family: var(--grot); font-size: 14px; font-weight: 600; color: var(--accent-bright); padding-top: 4px; }
.benefit .bt { font-size: 20px; font-weight: 700; }
.benefit .bd { font-size: 15px; line-height: 1.6; color: #b9ada3; margin-top: 9px; max-width: 420px; }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .sn {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink);
  font-family: var(--grot); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.step .st { font-size: 18px; font-weight: 700; }
.step .sd { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* ---------------- Brand statement ---------------- */
.statement { background: var(--ink); color: #fff; }
.statement .wrap { padding: 110px 40px; text-align: center; position: relative; }
.statement .mark { font-family: var(--grot); font-size: 90px; line-height: .5; color: var(--accent); height: 40px; }
.statement blockquote { margin: 0 auto; max-width: 920px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.18; }
.statement blockquote em { font-style: normal; color: var(--accent-bright); }
.statement .by { margin-top: 30px; font-size: 14px; letter-spacing: .04em; color: #b9ada3; }

/* ---------------- Designers callout ---------------- */
.designers { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; background: var(--accent-soft); border-radius: var(--radius-lg); padding: 56px; }
.designers h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--ink); }
.designers .dp { font-size: 16.5px; line-height: 1.6; color: var(--accent-ink); margin: 18px 0 28px; opacity: .95; }
.spec-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); }
.spec-card .sct { font-family: var(--grot); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.spec-card ul { list-style: none; margin: 0; padding: 0; }
.spec-card li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.spec-card li:last-child { border-bottom: none; }
.spec-card li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; }
.contact-info .ci-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-row .icon { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .ci-row .icon svg { width: 18px; height: 18px; }
.contact-info .ci-l { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-info .ci-v { font-size: 16px; font-weight: 600; margin-top: 3px; }
.contact-info .ci-v a:hover { color: var(--accent); }
.map { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; height: 220px; background: var(--warm-2); }
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.qform h3 { font-size: 24px; font-weight: 700; }
.qform p.fl { font-size: 14.5px; color: var(--muted); margin: 8px 0 24px; }
.qform .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qform label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin: 0 0 7px; }
.qform .req { color: var(--accent); font-weight: 700; }
.qform .fieldset { margin-bottom: 16px; }
.qform input, .qform select, .qform textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--warm);
  transition: .15s;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.qform textarea { resize: vertical; min-height: 90px; }
.qform .btn-accent { width: 100%; justify-content: center; margin-top: 6px; }
#form-status { margin-top: 14px; font-size: 14px; font-weight: 500; line-height: 1.5; min-height: 1.5em; }
#form-status.form-ok { color: #1a7a40; }
#form-status.form-err { color: #c0392b; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: #cfc4ba; padding: 72px 0 32px; }
.footer .ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .ft-brand img { height: 46px; filter: brightness(0) invert(.92); margin-bottom: 18px; }
.footer .ft-brand p { font-size: 14px; line-height: 1.6; color: #a99e94; max-width: 280px; }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: 14px; color: #a99e94; }
.footer li a:hover { color: var(--accent-bright); }
.footer .ft-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 13px; color: #8a8076; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .hero .wrap { padding-top: 80px; padding-bottom: 120px; }
  .ltypes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .designers, .contact-grid, .footer .ft-top { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 22px; }
  .topbar .tb-right, .nav-links { display: none; }
  .hero-bg .hero-slide { background-position: 70% center; }
  .hero-tag { right: 22px; bottom: 30px; }
  .why { grid-template-columns: 1fr; }
  .ltypes, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .map iframe { width: 100%; }
  .qform { padding: 24px; }
  .qform .frow { grid-template-columns: 1fr; }
}
