/* ---------- Design tokens ---------- */
:root {
  --bg: #faf8f3;
  --bg-alt: #f2eee4;
  --surface: #ffffff;
  --surface-2: #f5f2ea;
  --border: #e4dfd1;
  --text: #1e2a28;
  --text-dim: #5c6b68;
  --text-faint: #8b968f;
  --accent: #0f766e;
  --accent-2: #14b8a6;
  --accent-warm: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background effects (removed for the light theme — clean, no atmosphere clutter) ---------- */
.bg-grid, .bg-glow { display: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; color: var(--text-dim); }

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 600;
}

.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--text); margin-bottom: 14px; }
.section-sub { max-width: 640px; color: var(--text-dim); margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.18);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(15, 118, 110, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(250, 248, 243, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 26px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-name em { color: var(--accent); font-style: normal; }

.main-nav { display: flex; gap: 32px; margin-left: auto; }
.nav-link {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-cta { margin-left: 8px; }

/* ---------- Services dropdown ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link--parent { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-caret {
  width: 10px; height: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.nav-item.open .nav-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 236px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(30,42,40,0.12);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.dropdown a:hover { background: var(--surface-2); color: var(--accent); }

/* Same dropdown, used as a button lower down the page */
.service-picker { position: relative; display: inline-block; }
.service-picker .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.service-picker.open .nav-caret { transform: rotate(180deg); }
.dropdown--wide { min-width: 260px; left: 0; transform: translateX(0) translateY(-6px); }
.service-picker:hover .dropdown--wide,
.service-picker.open .dropdown--wide,
.service-picker:focus-within .dropdown--wide {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0);
}
.dropdown-all {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px !important;
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 20px; position: relative; overflow: hidden; }
#services { padding-top: 36px; }
.hero-inner { max-width: 860px; position: relative; z-index: 1; }

/* ---------- Moving work strip under the header ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  width: 190px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease;
}
.marquee-item:hover { transform: translateY(-3px); }
.marquee-item img,
.marquee-item video {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 720px) {
  .marquee-item { width: 140px; }
  .marquee-item img, .marquee-item video { height: 86px; }
}

/* Slowly rotating spectrum behind the hero — echoes the prism logo */
.hero-spectrum {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(900px, 88vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero-spectrum::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(15,118,110,0.10) 0deg,
    rgba(15,118,110,0.62) 40deg,
    rgba(20,184,166,0.58) 95deg,
    rgba(245,158,11,0.50) 155deg,
    rgba(20,184,166,0.34) 215deg,
    rgba(15,118,110,0.55) 275deg,
    rgba(245,158,11,0.40) 325deg,
    rgba(15,118,110,0.10) 360deg
  );
  filter: blur(46px);
  opacity: 0.75;
  animation: spectrum-spin 90s linear infinite;
}
.hero-spectrum::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--bg) 30%, transparent 70%);
}
@keyframes spectrum-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-spectrum::before { animation: none; }
}

.hero-title { font-size: clamp(2rem, 4.1vw, 3rem); margin-bottom: 24px; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 36px;
}
.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.hero-copy p:last-child { margin-bottom: 0; }
.hero-copy strong { color: var(--text); font-weight: 600; }
.hero-copy .hero-close {
  font-weight: 600;
  color: var(--text);
  padding-top: 4px;
}
.hero-copy.post-services {
  margin: 48px 0 32px;
  max-width: none;
}
.hero-copy.post-services p { font-size: 1.08rem; line-height: 1.75; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
}

/* ---------- Sections / grid ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15,118,110,0.35);
  box-shadow: 0 20px 40px rgba(30,42,40,0.08);
}

/* ---------- Services ---------- */
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; fill: #ffffff; }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card > p { font-size: 0.92rem; margin-bottom: 18px; }

.service-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.service-list li:first-child { border-top: none; }

/* ---------- Pricing ---------- */
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card--featured {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.2), 0 20px 50px rgba(245,158,11,0.08);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent-warm);
  color: #2b1a03;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-tier { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-desc { font-size: 0.88rem; margin-bottom: 20px; min-height: 44px; }
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 24px;
}
.pricing-price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 400;
  margin-top: 2px;
}
.pricing-list { margin-bottom: 24px; flex: 1; }
.pricing-list li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 8px 0 8px 24px;
  position: relative;
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent-gradient);
}
.pricing-note { text-align: center; color: var(--text-faint); font-size: 0.88rem; margin-top: 40px; }

/* ---------- Izmwear showcase with spectrum slideshow ---------- */
.izmwear-showcase {
  position: relative;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}
.izmwear-link {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.izmwear-link:hover {
  transform: scale(1.02);
}
.izmwear-link img {
  display: block;
  width: 100%;
  height: auto;
}
.izmwear-slideshow {
  display: none;
}
.pricing-card--showcase:hover .izmwear-link {
  display: none !important;
}
.pricing-card--showcase:hover .izmwear-slideshow {
  display: block !important;
}
.izmwear-slideshow {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  padding: 6px;
  box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 40px rgba(0,0,255,0.3), inset 0 0 15px rgba(255,255,255,0.1);
  animation: spectrumGlow 3s ease-in-out infinite;
}
@keyframes spectrumGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 40px rgba(0,0,255,0.3), inset 0 0 15px rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 30px rgba(255,0,0,0.6), 0 0 60px rgba(0,0,255,0.5), inset 0 0 20px rgba(255,255,255,0.2); }
}
.slideshow-container {
  position: relative;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface);
}
.slide {
  width: 100% !important;
  height: auto !important;
  display: none !important;
  animation: fadeIn 0.8s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.slide.active {
  display: block !important;
}

/* ---------- Custom build / retainer callout ---------- */
.custom-build-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(15,118,110,0.12), 0 20px 50px rgba(15,118,110,0.06);
}
.custom-build-card .section-sub { margin: 0 auto 24px; }
.custom-build-card .detail-list {
  text-align: left;
  max-width: 380px;
  margin: 0 auto 32px;
}

/* ---------- Work / portfolio ---------- */
.work-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(15,118,110,0.08), rgba(20,184,166,0.08)),
    repeating-linear-gradient(135deg, rgba(30,42,40,0.02) 0 2px, transparent 2px 12px);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.work-tile:hover { transform: translateY(-4px); border-color: rgba(15,118,110,0.35); }
.work-tag {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
}

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-stats { display: flex; flex-direction: column; gap: 24px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-inner { display: block; max-width: 620px; }

/* Contact details, anchored so the Contact nav link jumps straight to them */
.contact-details-section {
  scroll-margin-top: 90px; /* clears the sticky header */
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.contact-details-title { font-size: 1.5rem; margin-bottom: 20px; }
.contact-details-section .contact-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.contact-details-section .contact-detail { margin-top: 0; }
@media (max-width: 700px) {
  .contact-details-section .contact-copy { grid-template-columns: 1fr; gap: 20px; }
}

/* Anchor jumps glide rather than snap, unless the visitor prefers less motion */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.contact-detail { margin-top: 20px; }
.contact-detail strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { color: var(--text); font-size: 1rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--surface); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.85rem; color: var(--text-dim); }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-faint); width: 100%; text-align: center; margin-top: 8px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 52px 0 24px; }
.page-hero .section-sub { margin-bottom: 0; }
/* the first section after a page heading shouldn't restate the hero's bottom padding */
.page-hero + .section { padding-top: 28px; }

.link-more { margin-top: 40px; }

/* ---------- Service detail sections ---------- */
.service-detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.service-detail-inner--reverse { direction: rtl; }
.service-detail-inner--reverse > * { direction: ltr; }
.service-detail-copy p { margin: 16px 0 24px; }
.detail-list { margin-bottom: 28px; }
.detail-list li {
  font-size: 0.95rem;
  color: var(--text-dim);
  padding: 10px 0 10px 26px;
  position: relative;
  border-top: 1px solid var(--border);
}
.detail-list li:first-child { border-top: none; }
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.service-detail-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(15,118,110,0.08), rgba(20,184,166,0.08)),
    repeating-linear-gradient(135deg, rgba(30,42,40,0.02) 0 2px, transparent 2px 12px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-badge {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
}

/* ---------- Comparison table ---------- */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 40px;
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table th {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 600;
  background: var(--surface-2);
}
.compare-table td { color: var(--text-dim); }
.compare-table td.yes { color: var(--accent); font-weight: 600; }
.compare-table td.no { color: var(--text-faint); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Work tiles (icon version) ---------- */
.work-tile {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
}
.work-icon { width: 28px; height: 28px; fill: var(--accent); margin-bottom: auto; opacity: 0.85; }
.work-status { font-size: 0.75rem; color: var(--text-faint); }

/* ---------- Service page: video, options, info ---------- */
.service-video-section { padding-bottom: 40px; }
.service-page-title { margin-bottom: 26px; }
.video-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.video-placeholder-inner { max-width: 420px; padding: 24px; }
.video-placeholder svg {
  width: 46px; height: 46px;
  fill: var(--accent);
  opacity: 0.45;
  margin-bottom: 12px;
}
.video-placeholder p { margin: 0; color: var(--text-dim); }
.video-placeholder-note { font-size: 0.9rem; margin-top: 6px !important; color: var(--text-faint); }

.option-section { padding-top: 20px; }
.option-grid { align-items: stretch; }
.option-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.option-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15,118,110,0.35);
  box-shadow: 0 14px 32px rgba(30,42,40,0.10);
}
.option-step {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.option-card h2 { font-size: 1.15rem; margin: 0; }
.option-card p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
.option-cta {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.info-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.info-block .section-title { font-size: 1.35rem; margin-bottom: 16px; }
/* Numbered variant: use the counter as the marker, not the square bullet */
.detail-list--numbered { counter-reset: step; list-style: none; padding-left: 0; }
.detail-list--numbered li { counter-increment: step; padding-left: 34px; }
.detail-list--numbered li::before {
  content: counter(step);
  background: none;
  width: auto; height: auto;
  top: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  border-radius: 0;
}
@media (max-width: 860px) {
  .info-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Work showcase mosaic ---------- */
.showcase-section { padding-top: 70px; }
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.showcase-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.showcase-item--wide { grid-column: span 2; }
.showcase-item--tall { grid-row: span 2; }
.showcase-item img,
.showcase-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,42,40,0.72) 0%, rgba(30,42,40,0.10) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.showcase-item:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(30,42,40,0.16); }
.showcase-item:hover img,
.showcase-item:hover video { transform: scale(1.06); }
.showcase-item:hover::after { opacity: 1; }
.showcase-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.showcase-item:hover .showcase-label { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .showcase { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .showcase-item--wide { grid-column: span 2; }
  .showcase-item--tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-item--wide { grid-column: span 1; }
}

/* ---------- Homepage work strip ---------- */
.work-strip { padding: 0 0 20px; }
.work-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.work-strip-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-strip-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.work-strip-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30,42,40,0.12);
}
.work-strip-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.work-strip-note a { color: var(--accent); }
@media (max-width: 720px) {
  .work-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sample gallery ---------- */
.sample-grid { gap: 22px; }
.sample-tile {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sample-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(15,118,110,0.35);
  box-shadow: 0 12px 28px rgba(30,42,40,0.10);
}
.sample-tile img,
.sample-tile video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
}
.sample-tile figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.sample-tile .work-tag { font-size: 0.78rem; padding: 6px 12px; }

/* ---------- CTA band ---------- */
.cta-band-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-band-inner .section-sub { margin: 14px auto 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner--reverse { direction: ltr; }
  .service-detail-visual { order: -1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 248, 243, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 620px; overflow-y: auto; }
  .main-nav .nav-link { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-item { display: block; }
  .nav-item .nav-link--parent { justify-content: space-between; width: 100%; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface-2);
    padding: 0;
  }
  .nav-item.open .dropdown { display: flex; }
  .dropdown a { padding: 14px 24px 14px 38px; border-radius: 0; border-top: 1px solid var(--border); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 20px; }
  .section { padding: 40px 0; }
  .page-hero { padding: 36px 0 18px; }
}
