@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('/shell-shared.css');

:root {
  color-scheme: light;
  font-family: Manrope, Arial, sans-serif;

  --brand-cyan: #22c4f0;
  --brand-cyan-deep: #12a8d6;
  --brand-cyan-muted: #0e8ab5;
  --brand-charcoal: #5c6168;
  --brand-charcoal-deep: #2e3238;
  --brand-black: #0a0b0d;
  --brand-silver: #adb1b7;
  --accent-rgb: 34, 196, 240;
  --charcoal-rgb: 92, 97, 104;

  --text: var(--brand-charcoal-deep);
  --soft: var(--brand-charcoal);
  --line: rgba(var(--charcoal-rgb), 0.1);
  --accent: var(--brand-cyan-deep);
  --accent-deep: var(--brand-cyan-muted);
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(246, 248, 250, 0.94);
  --dark-a: var(--brand-black);
  --dark-b: var(--brand-cyan-muted);
  --shadow-lg: 0 28px 70px rgba(10, 11, 13, 0.14);
  --shadow-md: 0 20px 44px rgba(10, 11, 13, 0.09);
  --brand-slash: -22deg;
  --fixed-nav-clearance: calc(88px + env(safe-area-inset-top, 0px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    linear-gradient(var(--brand-slash), rgba(var(--accent-rgb), 0.04) 0 1px, transparent 1px 100%),
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.1), transparent 24%),
    linear-gradient(180deg, #f2f4f6 0%, #eef3f6 48%, #f4f6f8 100%);
  color: var(--text);
}

a {
  color: var(--accent-deep);
}

.page {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding-top: var(--fixed-nav-clearance);
  display: grid;
  gap: 22px;
}

/* Nav/footer/utility shell → shell-shared.css */

/* Rich portfolio and contact pages */
.works-hero,
.contact-hero {
  min-height: 590px;
}

.works-hero .hero-copy,
.contact-hero .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.works-hero h1,
.contact-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  letter-spacing: -0.055em;
}

.works-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.works-proof-row span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--soft);
  font-size: 0.78rem;
}

.works-proof-row strong {
  color: var(--accent-deep);
}

.works-hero-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 590px;
  overflow: hidden;
  isolation: isolate;
}

.works-hero-side::before,
.works-hero-side::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
}

.works-hero-side::before {
  width: 320px;
  height: 320px;
  top: -90px;
  right: -80px;
  background: rgba(91, 199, 230, 0.22);
}

.works-hero-side::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -50px;
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.18);
}

.works-browser {
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 70px rgba(4, 34, 45, 0.32);
  transform: rotate(-2deg);
}

.works-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.works-browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.works-browser-bar span {
  margin-left: auto;
}

.works-browser-canvas {
  min-height: 310px;
  padding: 38px 30px;
  background:
    radial-gradient(circle at 80% 20%, rgba(86, 201, 229, 0.28), transparent 24%),
    linear-gradient(145deg, #17232b, #0b5f79);
}

.works-browser-canvas strong {
  display: block;
  max-width: 10ch;
  margin-top: 22px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.works-mini-label {
  color: #71d4ef;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.works-visual-lines {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.works-visual-lines i {
  display: block;
  width: 72%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.works-visual-lines i:nth-child(2) { width: 54%; }
.works-visual-lines i:nth-child(3) { width: 38%; background: #45b5d4; }

.works-floating-card {
  position: absolute;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(4, 34, 45, 0.24);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 700;
}

.works-floating-card b { color: #72daf5; margin-left: 10px; }
.works-floating-one { top: 16%; right: 4%; transform: rotate(5deg); }
.works-floating-two { bottom: 20%; left: 3%; transform: rotate(-4deg); }

.works-status {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.works-status i,
.contact-availability > i,
.contact-pulse i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ad5a0;
  box-shadow: 0 0 0 6px rgba(90, 213, 160, 0.12);
}

.works-showcase { padding: clamp(28px, 4vw, 52px); }

.works-section-head,
.contact-section-head {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  margin-bottom: 34px;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-showcase-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-showcase-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 68px rgba(20, 29, 37, 0.16);
}

.project-preview {
  position: relative;
  min-height: 290px;
  overflow: hidden;
}

.project-index,
.project-open {
  position: absolute;
  z-index: 2;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: #25313a;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.project-index { left: 18px; font-size: 0.72rem; }
.project-open { right: 18px; font-size: 1.1rem; transition: transform 0.3s ease; }
.project-showcase-card:hover .project-open { transform: rotate(45deg); }

.project-open {
  color: #25313a;
  text-decoration: none;
}

.project-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s cubic-bezier(0.2, 0.78, 0.2, 1), filter 0.35s ease;
}

.project-showcase-card:hover .project-screenshot {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.project-screenshot-lh {
  object-position: center 16%;
}

.project-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-art-candles { background: linear-gradient(145deg, #efe4d6, #d7c2ad); gap: 16px; }
.project-art-candles i { width: 58px; height: 112px; border-radius: 24px 24px 9px 9px; background: linear-gradient(180deg, #fffaf3, #bd8d6c); box-shadow: 0 22px 34px rgba(92, 59, 38, 0.18); }
.project-art-candles i:nth-child(2) { height: 150px; background: linear-gradient(180deg, #f9eddb, #8e5b44); }
.project-art-candles i:nth-child(3) { height: 90px; }

.project-art-food { flex-direction: column; background: radial-gradient(circle at 70% 30%, #d6ed94 0 12%, transparent 13%), linear-gradient(135deg, #1d452c, #74a349); color: #fff; }
.project-art-food b { font-family: "Outfit", sans-serif; font-size: 3.2rem; line-height: 0.84; letter-spacing: -0.06em; }
.project-art-food i { width: 130px; height: 3px; margin-top: 22px; background: #e8f3b3; }

.project-art-maison { gap: 24px; background: linear-gradient(135deg, #2a1512, #7f392e); color: #f5dfc2; }
.project-art-maison span { font-family: serif; font-size: 6rem; font-style: italic; opacity: 0.38; }
.project-art-maison b { font-family: "Outfit", sans-serif; font-size: 2.5rem; line-height: 0.9; }

.project-art-sousvide { flex-direction: column; background: linear-gradient(160deg, #eff0e9, #b8c4b3); color: #26342b; }
.project-art-sousvide span { font-size: 0.76rem; letter-spacing: 0.4em; }
.project-art-sousvide strong { font-family: "Outfit", sans-serif; font-size: 4.5rem; letter-spacing: -0.08em; }
.project-art-sousvide i { width: 180px; height: 45px; margin-top: 12px; border: 1px solid rgba(38, 52, 43, 0.28); border-radius: 50%; }

.project-art-rental { gap: 18px; background: linear-gradient(135deg, #d8e5e9, #6d929f); color: #16333f; }
.project-art-rental span { display: grid; place-items: center; width: 118px; height: 118px; border: 2px solid currentColor; border-radius: 50%; font-size: 3rem; font-weight: 800; }
.project-art-rental b { font-family: "Outfit", sans-serif; font-size: 3rem; }
.project-art-rental i { position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.project-art-rental i:last-child { width: 280px; height: 280px; }

.project-meta { padding: 22px 24px 25px; }
.project-meta span { color: var(--accent-deep); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.project-meta h3 { margin: 8px 0 4px; font-family: "Outfit", sans-serif; font-size: 1.55rem; }
.project-meta p { margin: 0; color: var(--soft); font-size: 0.9rem; }
.project-meta-link { color: var(--soft); font-size: 0.9rem; text-decoration: none; }
.project-meta-link:hover { color: var(--accent-deep); }
.project-wide { grid-column: 1 / -1; }
.project-wide .project-preview { min-height: 360px; }

.works-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(34px, 5vw, 64px);
}

.works-cta-panel h2 { max-width: 18ch; margin: 0; font-family: "Outfit", sans-serif; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 0.98; }
.works-light-button { flex: 0 0 auto; background: #fff; color: var(--accent-deep); box-shadow: none; }
.works-light-button span { margin-left: 14px; }

.contact-hero-side {
  align-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.contact-side-label { color: #71d4ef; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }

.contact-email-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-email-card:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.contact-email-card span { color: rgba(255,255,255,.62); font-size: .78rem; }
.contact-email-card strong { font-size: clamp(1.25rem, 2.4vw, 2rem); overflow-wrap: anywhere; }
.contact-email-card i { position: absolute; right: 20px; top: 18px; font-style: normal; font-size: 1.2rem; }

.contact-availability { display: flex; align-items: flex-start; gap: 14px; padding: 20px 4px; }
.contact-availability > i { flex: 0 0 auto; margin-top: 7px; }
.contact-availability div { display: grid; gap: 5px; }
.contact-availability span { color: rgba(255,255,255,.66); font-size: .88rem; }
.contact-side-note { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.68); line-height: 1.65; }
.contact-microcopy { margin: 16px 0 0; font-size: .82rem; }

.contact-paths { padding: clamp(30px, 4vw, 52px); }
.contact-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-path-card { display: grid; min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-md); transition: transform .3s ease; }
.contact-path-card:hover { transform: translateY(-6px); }
.contact-path-primary { background: linear-gradient(145deg, #17313e, #0f789b); color: #fff; }
.contact-path-number { justify-self: end; color: var(--accent-deep); font-family: "Outfit", sans-serif; font-size: 2rem; font-weight: 700; opacity: .35; }
.contact-path-primary .contact-path-number { color: #fff; }
.contact-path-card h3 { max-width: 13ch; margin: 5px 0 12px; font-family: "Outfit", sans-serif; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; }
.contact-path-card p { margin: 0; }
.contact-path-primary p { color: rgba(255,255,255,.72); }
.contact-path-card strong { align-self: end; color: var(--accent-deep); }
.contact-path-primary strong, .contact-path-primary .eyebrow { color: #77d9f4; }

.contact-process { padding: clamp(34px, 5vw, 58px); }
.contact-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-process article { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.07); }
.contact-process article > span { color: #74d7f2; font-size: .75rem; font-weight: 800; }
.contact-process h3 { margin: 32px 0 8px; font-size: 1.25rem; }
.contact-process p { margin: 0; font-size: .9rem; }

.contact-final-cta { display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 7vw, 80px); text-align: center; }
.contact-final-cta h2 { max-width: 18ch; margin: 0; font-family: "Outfit", sans-serif; font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: .98; }
.contact-pulse { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-deep); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 820px) {
  .works-section-head,
  .contact-section-head,
  .project-showcase-grid,
  .contact-path-grid,
  .contact-process-grid {
    grid-template-columns: 1fr;
  }

  .project-wide { grid-column: auto; }
  .project-wide .project-preview { min-height: 290px; }
  .works-cta-panel { align-items: flex-start; flex-direction: column; }
}

.hero,
.surface,
.dark-surface {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.hero-copy {
  padding: 34px;
}

.hero-side {
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(39, 52, 64, 0.98), rgba(15, 111, 147, 0.96));
  color: #f4fbff;
  display: grid;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.brand img {
  width: 156px;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Outfit", Manrope, Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
}

.hero p,
.surface p,
.surface li,
.dark-surface p,
.dark-surface li {
  color: var(--soft);
  line-height: 1.68;
}

.hero p {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
}

.button {
  background: linear-gradient(145deg, var(--brand-cyan-deep), var(--brand-cyan));
  color: #fff;
  box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.22);
}

.button-secondary {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-deep);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span,
.stat-card span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(244, 251, 255, 0.88);
  font-size: 0.88rem;
}

.stat-grid,
.card-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.surface,
.dark-surface {
  padding: 28px;
}

.surface {
  background: linear-gradient(180deg, var(--surface), rgba(246, 249, 251, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.dark-surface {
  background: linear-gradient(145deg, rgba(39, 52, 64, 0.98), rgba(12, 78, 101, 0.96));
  color: #f4fbff;
}

.dark-surface p,
.dark-surface li,
.dark-surface .section-head p {
  color: rgba(244, 251, 255, 0.84);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
}

.section-head p {
  margin: 0;
  max-width: 58ch;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border-radius: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.card h3,
.link-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 18px;
}

.list li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.dark-surface .list li::before {
  background: rgba(244, 251, 255, 0.9);
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #f4fbff;
}

.link-card p,
.link-card strong {
  margin: 0;
}

.link-card strong {
  color: #fff;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--soft);
  font-size: 0.95rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(220px, 0.7fr));
  gap: 18px;
}

.site-footer-brand,
.site-footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer-logo {
  width: 150px;
  max-width: 100%;
}

.site-footer-brand p,
.site-footer-column span,
.site-footer-bottom span {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.site-footer-title {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-elevate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 10px 13px;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  background: linear-gradient(180deg, rgba(240, 248, 251, 0.96), rgba(255, 255, 255, 0.98));
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(20, 29, 37, 0.06);
}

.site-footer-elevate img {
  width: 104px;
  max-width: 34%;
  height: auto;
  object-fit: contain;
}

.site-footer-elevate span {
  color: var(--text);
  max-width: 230px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--charcoal-rgb), 0.08);
}

.newsletter-copy { display: grid; gap: 8px; }
.newsletter-copy h2, .newsletter-copy p { margin: 0; }
.newsletter-copy p { max-width: 48ch; color: rgba(245, 251, 253, 0.68); font-size: 0.86rem; line-height: 1.55; }
.newsletter-form { display: grid; gap: 11px; }
.newsletter-field-row { display: flex; gap: 8px; padding: 6px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); }
.newsletter-field-row input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 14px; background: transparent; color: #fff; font: inherit; }
.newsletter-field-row input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-field-row button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; }
.newsletter-field-row button:disabled { cursor: wait; opacity: 0.66; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 9px; color: rgba(245, 251, 253, 0.66); font-size: 0.72rem; line-height: 1.45; }
.newsletter-consent input { margin-top: 2px; accent-color: var(--brand-cyan, #22c4f0); }
.newsletter-consent a { color: #fff; }
.newsletter-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; }
.newsletter-message { min-height: 1.1em; margin: 0; font-size: 0.76rem; }
.newsletter-message.is-success { color: #7ee2ae; }
.newsletter-message.is-error { color: #ffb7b7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.utility-icon {
  flex: 0 0 auto;
}

.utility-icon-open {
  display: none;
}

.utility-dock.is-open .utility-icon-closed {
  display: none;
}

.utility-dock.is-open .utility-icon-open {
  display: block;
}

.utility-action {
  border: 0;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(49, 50, 54, 0.04);
  color: var(--text);
  text-align: left;
}

.utility-action:hover {
  background: rgba(15, 111, 147, 0.08);
}

.utility-action i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 10px;
  background: rgba(15, 111, 147, 0.1);
  color: var(--accent-deep);
  font-style: normal;
  font-weight: 800;
}

.utility-action strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.utility-action span {
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.42;
}

/* Brand polish — heroes, cards, legal pages */
.hero {
  position: relative;
  isolation: isolate;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -8px;
  width: 4px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-cyan, #22c4f0), transparent);
  opacity: 0.85;
}

.hero-side,
.contact-hero-side {
  position: relative;
  overflow: hidden;
}

.hero-side::after {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 68%);
  pointer-events: none;
}

.button,
.button-secondary {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.28);
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.22);
}

.card,
.link-card,
.contact-path-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(10, 11, 13, 0.1);
  border-color: rgba(var(--accent-rgb), 0.16);
}

.link-card:hover,
.contact-path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(4, 34, 45, 0.24);
}

.contact-path-primary {
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--accent-rgb), 0.18), transparent 34%),
    linear-gradient(145deg, rgba(39, 52, 64, 0.98), rgba(12, 78, 101, 0.96));
  color: #f4fbff;
}

.page-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--accent-rgb), 0.2), transparent 28%),
    linear-gradient(145deg, var(--brand-black, #0a0b0d), #0f3d52);
  color: #f4fbff;
  box-shadow: var(--shadow-lg);
}

.page-cta-band h2 {
  margin: 0;
  font-family: "Outfit", Manrope, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.page-cta-band p {
  margin: 0;
  max-width: 58ch;
  color: rgba(244, 251, 255, 0.84);
}

.page-cta-band .hero-actions {
  margin-top: 0;
}

.legal-page .surface,
.privacy-page .surface,
.terms-page .surface,
.cookies-page .surface {
  padding: 34px;
}

.legal-page .grid .card,
.privacy-page .grid .card,
.terms-page .grid .card,
.cookies-page .grid .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.legal-page .row,
.privacy-page .row,
.terms-page .row,
.cookies-page .row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--charcoal-rgb, 92, 97, 104), 0.08);
}

.legal-page .row strong,
.privacy-page .row strong,
.terms-page .row strong,
.cookies-page .row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: "Outfit", Manrope, Arial, sans-serif;
}

@media (max-width: 980px) {
  .newsletter-signup {
    grid-template-columns: 1fr;
  }

  .hero,
  .card-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-cta-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .page-cta-band .hero-actions {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .newsletter-signup {
    padding: 22px;
  }

  .newsletter-field-row {
    align-items: stretch;
    flex-direction: column;
    border-radius: 20px;
  }

  .newsletter-field-row input {
    min-height: 44px;
  }

  .page {
    width: min(100% - 18px, 1320px);
    padding-top: var(--fixed-nav-clearance);
  }

  .top-nav {
    flex-wrap: nowrap;
    gap: 8px;
    border-radius: 28px;
    padding: 12px 14px;
  }

  .top-nav-brand img {
    width: 104px;
  }

  .works-hero,
  .contact-hero {
    min-height: 0;
  }

  .works-hero .hero-copy,
  .contact-hero .hero-copy {
    padding: 28px 24px;
  }

  .works-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .works-hero-side {
    min-height: 410px;
    padding: 24px;
  }

  .works-browser-canvas {
    min-height: 250px;
    padding: 30px 24px;
  }

  .works-floating-one {
    right: 1%;
  }

  .works-floating-two {
    left: 1%;
  }

  .project-preview,
  .project-wide .project-preview {
    min-height: 230px;
  }

  .contact-hero-side {
    min-height: 340px;
    padding: 28px 24px;
  }

  .contact-path-card {
    min-height: 290px;
    padding: 22px;
  }

  .hero-copy,
  .hero-side,
  .surface,
  .dark-surface {
    padding: 22px;
  }

  .hero-actions,
  .footer-note,
  .site-footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .utility-dock {
    right: 14px;
    bottom: 14px;
  }

  .utility-trigger {
    width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }

  .utility-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* ── Mobile polish (static + shared shell) ── */
@media (max-width: 720px) {
  html {
    scroll-padding-top: var(--fixed-nav-clearance);
  }

  .page > :first-child,
  body.legal-page main.shell > :first-child {
    scroll-margin-top: var(--fixed-nav-clearance);
  }

  body {
    overflow-x: hidden;
  }

  .page {
    gap: 16px;
    padding-top: var(--fixed-nav-clearance);
    margin-bottom: 24px;
  }

  .hero,
  .surface,
  .dark-surface,
  .page-cta-band {
    border-radius: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-copy,
  .hero-side {
    padding: 22px 18px;
  }

  .hero h1,
  .section-head h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.65rem);
    line-height: 1.02;
    max-width: none;
  }

  .hero p,
  .section-head p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }

  .button,
  .button-secondary {
    width: 100%;
    min-height: 48px;
  }

  .card-grid,
  .link-grid,
  .stat-grid {
    gap: 12px;
  }

  .card,
  .link-card,
  .contact-path-card {
    padding: 18px;
    border-radius: 20px;
  }

  .contact-path-card {
    min-height: 0;
  }

  .page-cta-band {
    gap: 16px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .page-cta-band h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .works-hero h1,
  .contact-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .works-hero-side {
    min-height: 320px;
    padding: 20px 18px;
  }

  .works-browser {
    transform: none;
    width: 100%;
  }

  .works-browser-canvas {
    min-height: 210px;
    padding: 24px 18px;
  }

  .works-floating-one,
  .works-floating-two {
    display: none;
  }

  .works-cta-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contact-hero-side {
    min-height: 280px;
    padding: 22px 18px;
  }

  .site-footer {
    padding: 20px 18px;
    border-radius: 24px;
    margin-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .newsletter-signup {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .newsletter-copy h2 {
    max-width: none;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .newsletter-field-row {
    gap: 10px;
  }

  .newsletter-field-row button {
    min-height: 48px;
    width: 100%;
  }

  .utility-dock {
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .utility-panel {
    width: min(360px, calc(100vw - 20px));
  }
}

@media (max-width: 720px) {
  body.legal-page .shell {
    width: min(100% - 18px, 980px);
    margin: 0 auto 20px;
    padding: calc(var(--fixed-nav-clearance) + 8px) 18px 22px;
    border-radius: 22px;
  }

  body.legal-page h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.05;
  }

  body.legal-page .grid {
    gap: 12px;
  }

  body.legal-page .card {
    padding: 16px;
    border-radius: 18px;
  }

  body.legal-page .row {
    padding: 14px 0;
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

/* Custom apps landing */
body.custom-apps-page {
  --apps-accent: #45b5d4;
  --apps-accent-deep: #0f6f93;
}

.custom-apps-hero {
  align-items: stretch;
}

.custom-apps-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.custom-apps-trust span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.custom-apps-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.custom-apps-device-stack {
  position: relative;
  width: min(100%, 380px);
  height: 360px;
}

.custom-apps-device {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 44, 58, 0.92), rgba(15, 111, 147, 0.78));
  box-shadow: 0 28px 60px rgba(4, 34, 45, 0.28);
  overflow: hidden;
}

.custom-apps-device-web {
  inset: 0 12% 8% 0;
  transform: rotate(-4deg);
}

.custom-apps-device-phone {
  width: 132px;
  height: 260px;
  right: -4%;
  bottom: -2%;
  border-radius: 28px;
  transform: rotate(8deg);
  z-index: 2;
}

.custom-apps-device-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.custom-apps-device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.custom-apps-device-screen {
  padding: 16px 18px 20px;
}

.custom-apps-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(69, 181, 212, 0.18);
  color: #72daf5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-apps-chip.is-mobile {
  font-size: 0.64rem;
}

.custom-apps-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 16px;
}

.custom-apps-metric-row small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  margin-bottom: 4px;
}

.custom-apps-metric-row strong {
  color: #fff;
  font-size: 1.35rem;
}

.custom-apps-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 88px;
  margin-top: 8px;
}

.custom-apps-chart i {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #72daf5, #45b5d4);
  opacity: 0.92;
}

.custom-apps-phone-notch {
  width: 42%;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.custom-apps-phone-lines {
  display: grid;
  gap: 8px;
  margin: 20px 0 18px;
}

.custom-apps-phone-lines i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.custom-apps-phone-lines i:nth-child(2) { width: 72%; }
.custom-apps-phone-lines i:nth-child(3) { width: 48%; background: rgba(114, 218, 245, 0.55); }

.custom-apps-phone-cta {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 12px;
  background: #45b5d4;
  color: #04222d;
  font-size: 0.72rem;
  font-weight: 800;
}

.custom-apps-float {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.custom-apps-float-one { top: 8%; left: 0; transform: rotate(-6deg); }
.custom-apps-float-two { bottom: 14%; left: 6%; transform: rotate(4deg); }

.custom-apps-offer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.custom-apps-offer-card {
  display: grid;
  gap: 12px;
}

.custom-apps-offer-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(69, 181, 212, 0.16), rgba(15, 111, 147, 0.08));
  font-size: 1.35rem;
}

.custom-apps-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.custom-apps-process-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.custom-apps-process-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #72daf5;
  font-size: 0.82rem;
  font-weight: 800;
}

.custom-apps-use-pills {
  justify-content: center;
}

.custom-apps-form-section {
  scroll-margin-top: calc(var(--fixed-nav-clearance) + 12px);
}

.custom-apps-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.custom-apps-form-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.custom-apps-form-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
}

.custom-apps-form-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apps-accent, #45b5d4);
}

.custom-apps-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.custom-apps-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.custom-apps-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.custom-apps-form label span a {
  color: var(--apps-accent-deep, #0f6f93);
}

.custom-apps-textarea {
  min-height: 132px;
  resize: vertical;
}

.custom-apps-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 500;
  color: var(--text-muted);
}

.custom-apps-consent input {
  margin-top: 4px;
}

.custom-apps-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.custom-apps-submit {
  width: 100%;
  justify-content: center;
}

.custom-apps-form-message {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.custom-apps-form-message.is-success { color: #0a7a52; }
.custom-apps-form-message.is-error { color: #b42318; }

@media (max-width: 1080px) {
  .custom-apps-offer-grid,
  .custom-apps-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-apps-form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .custom-apps-visual {
    min-height: 320px;
  }

  .custom-apps-device-stack {
    height: 300px;
    width: min(100%, 320px);
  }

  .custom-apps-field-grid,
  .custom-apps-offer-grid,
  .custom-apps-process-grid {
    grid-template-columns: 1fr;
  }
}
