/* Hultin & Co — home page. Shared tokens, menu and footer are in base.css. */

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 64px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 99px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.hero-title {
  margin-top: 24px;
  font-size: clamp(44px, 5.2vw, 66px);
  line-height: 1;
  letter-spacing: -.04em;
}
.hero-title span { display: block; color: var(--acc); }
.tagline {
  margin-top: 26px;
  max-width: 36ch;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
}
.tagline .w { display: inline-block; }
.tagline .w.hi { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-contact { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-contact a { color: var(--text-2); }

.fan { position: relative; height: clamp(360px, 36vw, 460px); }
.fan::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74, 222, 155, .22), transparent);
  filter: blur(10px);
}
.fan img {
  position: absolute; top: 50%; left: 50%;
  width: clamp(130px, 13.5vw, 178px); aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 22px; border: 3px solid rgba(238, 241, 247, .92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  background: var(--surface);
}
.fan img:nth-child(1) { transform: translate(-128%, -46%) rotate(-8deg); }
.fan img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan img:nth-child(3) { transform: translate(28%, -46%) rotate(8deg); }

/* load moment: words and posters rise in, once */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.hero.ready .tagline .w { animation: rise .55s var(--out) both; animation-delay: calc(var(--i, 0) * 25ms + 150ms); }
.hero.ready .fan img { animation: fade-up .9s var(--out) both; }
.hero.ready .fan img:nth-child(2) { animation-delay: 90ms; }
.hero.ready .fan img:nth-child(3) { animation-delay: 180ms; }

/* ---------- numbers ---------- */
#numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.num {
  padding: 22px 24px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.num b {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 4vw, 52px); letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.num-label { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); }
.num-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- section heads ---------- */
#services, #clips, #pages, #contact { padding-top: 112px; }
#pages { padding-top: 88px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 50px); }
.sec-note { font-size: 15px; color: var(--text-2); max-width: 44ch; }

/* ---------- services: cards, tap to open ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.svc-grid-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-sub { margin: 44px 0 18px; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.svc {
  --tint: var(--acc);
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.svc.t-coral { --tint: var(--coral); }
.svc.t-sun { --tint: var(--sun); }
.svc.t-blue { --tint: var(--blue); }
.svc:hover { border-color: var(--line-2); }
.svc[open] { border-color: color-mix(in srgb, var(--tint) 45%, var(--line)); background: var(--surface-2); }
.svc > summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 232px; padding: 24px;
  border-radius: var(--r);
}
.svc-grid-sm .svc > summary { min-height: 240px; padding: 22px; }
.svc > summary::-webkit-details-marker { display: none; }
.svc-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px;
  color: var(--tint); background: color-mix(in srgb, var(--tint) 14%, transparent);
}
.svc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-name { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.svc-why { flex: 1; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.svc-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-more {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-2); margin-left: auto;
  transition: transform .35s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.svc-more::before, .svc-more::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text);
  transform: translate(-50%, -50%);
}
.svc-more::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc > summary:hover .svc-more { border-color: var(--tint); }
.svc[open] .svc-more { transform: rotate(45deg); background: var(--tint); border-color: var(--tint); }
.svc[open] .svc-more::before, .svc[open] .svc-more::after { background: var(--acc-ink); }
html[data-prices="off"] .svc-price, html[data-prices="off"] .price-line, html[data-prices="off"] .plans-link, html[data-prices="off"] .plans-band { display: none; }

.svc::details-content {
  height: 0;
  overflow: clip;
  transition: height .4s var(--ease), content-visibility .4s allow-discrete;
}
.svc[open]::details-content { height: auto; }
.svc-body { padding: 0 24px 24px; }
.svc-body ul { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.svc-body li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.svc-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
.svc-body li.price-line { color: var(--text); font-weight: 600; }
.plans-link a { color: var(--acc); font-weight: 700; }

/* ---------- plans band ---------- */
.plans-band { padding-top: 96px; }
.plans-in {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 36px; align-items: center;
  padding: 40px; border-radius: var(--r-lg);
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(74, 222, 155, .14), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.plans-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.plans-copy p { margin-top: 14px; color: var(--text-2); }
.plans-copy .btn { margin-top: 24px; }
.plan-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan {
  display: flex; flex-direction: column; height: 100%;
  padding: 18px; border-radius: 18px; border: 1px solid var(--line-2); text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--out);
}
.plan:hover { border-color: var(--acc); transform: translateY(-2px); }
.plan.rec { border-color: var(--acc); background: var(--acc-soft); }
.plan small { font-size: 13px; color: var(--text-2); line-height: 1.35; min-height: 2.7em; }
.plan b { margin-top: 8px; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.plan-price { margin-top: 4px; font-weight: 700; color: var(--acc); font-variant-numeric: tabular-nums; }

/* ---------- clips ---------- */
.clip-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.clip { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.clip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .6s var(--out); }
.clip:hover img { transform: scale(1.04); }
.clip-views {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(11, 16, 32, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ---------- sites we built ---------- */
.page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.page { display: block; text-decoration: none; padding: 12px 12px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s var(--ease); }
.page:hover { border-color: var(--line-2); }
.page-shot { display: block; border-radius: 18px; overflow: hidden; }
.page img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .6s var(--out); }
.page:hover img { transform: scale(1.02); }
.page-name { display: block; margin: 16px 8px 0; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.page-name em { font-style: normal; font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--muted); margin-left: 4px; }

/* ---------- contact ---------- */
.contact-card {
  position: relative; overflow: hidden;
  padding: 64px 56px; border-radius: var(--r-lg);
  background:
    radial-gradient(520px 300px at 100% 100%, rgba(74, 222, 155, .28), transparent 70%),
    linear-gradient(135deg, #12203A, #0F1A2E);
  border: 1px solid rgba(74, 222, 155, .25);
}
.contact-card h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; }
.contact-card h2 span { color: var(--acc); }
.contact-card p { margin-top: 16px; max-width: 46ch; color: var(--text-2); font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .fan { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  #numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 40px; padding-bottom: 48px; gap: 28px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .fan { height: 300px; }
  .fan img { width: 124px; border-radius: 18px; }
  #services, #clips, #contact { padding-top: 80px; }
  #pages { padding-top: 64px; }
  .num { padding: 18px; }
  .svc-grid, .svc-grid-sm { grid-template-columns: 1fr; }
  .svc > summary, .svc-grid-sm .svc > summary {
    display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center;
    min-height: 0; padding: 18px 20px;
  }
  .svc-icon { width: 38px; height: 38px; border-radius: 11px; margin: 0; }
  .svc-icon svg { width: 20px; height: 20px; }
  .svc-name { font-size: 19px; }
  .svc-why, .svc-foot { grid-column: 1 / -1; }
  .svc-foot { padding-top: 2px; }
  .svc-body { padding: 0 20px 20px; }
  .plans-band { padding-top: 72px; }
  .plans-in { padding: 26px 20px; }
  .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clip-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 24px; }
}
@media (max-width: 380px) {
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .fan img { width: 108px; }
  .num b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero.ready .tagline .w, .hero.ready .fan img { animation: none; opacity: 1; translate: none; }
  .svc::details-content { transition: none; }
  .svc, .svc-more, .clip img, .page img, .plan { transition: none; }
}

@media print {
  .hero-actions, .fan, .svc-more, .contact-actions { display: none; }
  .hero.ready .tagline .w { animation: none; opacity: 1; transform: none; }
  .svc, .num, .plans-in, .clip, .page, .contact-card { background: none; border-color: #999; }
  .hero-title span, .contact-card h2 span { color: #000; }
  .tagline, .svc-why, .svc-body li, .num-label { color: #000; }
}
