/* Izurise — dark / orange, Apple craft */

:root {
  --bg: #000000;
  --bg-elevated: #0c0c0c;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --orange: #ff5c1a;
  --orange-soft: #ff7a45;
  --orange-deep: #c2410c;
  --orange-glow: rgba(255, 92, 26, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --radius: 22px;
  --radius-sm: 16px;
  --pill: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-h: 72px;
  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(72px, 11vw, 112px);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.shell {
  width: min(100% - (var(--pad-x) * 2), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s var(--ease-apple),
    border-color 0.4s var(--ease-apple);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: var(--line);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
}

.brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: 36px;
}

.nav a {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 10px 2px;
  transition: color 0.3s var(--ease-apple);
}

.nav a:hover {
  color: var(--text);
}

.header-end {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.header-cta {
  display: none !important;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 13px;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--glass);
  transition: border-color 0.3s var(--ease-apple), background 0.3s var(--ease-apple);
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle span {
  width: 14px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px var(--pad-x) 32px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 14px 0;
  color: var(--text-2);
  font-size: 17px;
  transition: color 0.3s var(--ease-apple);
}

.mobile-nav a:hover {
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: 16px;
  align-self: flex-start;
  padding: 14px 24px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.016em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition:
    background 0.3s var(--ease-apple),
    color 0.3s var(--ease-apple),
    border-color 0.3s var(--ease-apple),
    box-shadow 0.35s var(--ease-apple),
    transform 0.35s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-soft);
  box-shadow: 0 8px 32px var(--orange-glow);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-light {
  background: #f5f5f7;
  color: #1d1d1f;
}

.btn-light:hover {
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.btn-lg {
  min-height: 52px;
  padding: 16px 32px;
  font-size: 16px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 64px) var(--pad-x) 96px;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 780px);
  height: min(90vw, 780px);
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 92, 26, 0.42) 0%,
    rgba(194, 65, 12, 0.16) 36%,
    transparent 68%
  );
  filter: blur(16px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: glow-breathe 9s var(--ease-apple) infinite;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 7.5vw, 72px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.038em;
}

.hero h1 span {
  color: rgba(245, 245, 247, 0.55);
}

.hero-lead {
  margin: 24px auto 0;
  max-width: 480px;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.4211;
  letter-spacing: -0.016em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* Hero entrance — one sequence, not scattered reveals */
.enter {
  opacity: 0;
  transform: translateY(18px);
}

body.is-ready .enter {
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: var(--pad-y) 0;
}

.label {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.section-intro {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.secondary {
  color: var(--text-2);
}

.shell.narrow {
  max-width: 720px;
  text-align: center;
}

.shell.narrow .label {
  display: inline-block;
}

.shell.narrow h2 {
  margin: 0 auto;
  max-width: 18ch;
}

.about-copy {
  display: grid;
  gap: 20px;
  margin: 36px auto 0;
  max-width: 540px;
  text-align: left;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.47059;
}

/* Approach */
.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.pillar:hover {
  transform: translateY(-4px);
}

.pillar-index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

.pillar h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.pillar p {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}

.pillar-warm {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(155deg, #ff6a2e 0%, #ff4e12 50%, #b83308 100%);
  color: #fff;
  box-shadow: 0 16px 48px rgba(255, 92, 26, 0.18);
}

.pillar-light {
  background: #f5f5f7;
  color: #1d1d1f;
}

.pillar-light:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.pillar-dark {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
}

.pillar-dark:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Focus */
.focus-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px);
  border-radius: calc(var(--radius) + 4px);
  background: #0a0a0a;
  border: 1px solid var(--line);
}

.focus-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.focus-copy h2 {
  margin-bottom: 16px;
}

.focus-copy .secondary {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.47059;
}

.focus-glow {
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.35), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

/* Contact */
.contact-shell {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-lead {
  margin: 16px auto 36px;
  max-width: 420px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.47059;
}

/* Footer */
.site-footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #000 0%, rgba(255, 92, 26, 0.08) 100%);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 8px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand-name {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-title {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-col p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-col a {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s var(--ease-apple);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-email {
  color: var(--orange-soft) !important;
  margin-top: 4px;
}

.footer-email:hover {
  color: var(--orange) !important;
}

.footer-company {
  margin-top: 40px;
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.footer-company p {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

.footer-company strong {
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
}

.footer-mark {
  margin: 48px 0 20px;
  font-size: clamp(64px, 18vw, 148px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-bottom-links a {
  color: var(--text-3);
  transition: color 0.3s var(--ease-apple);
}

.footer-bottom-links a:hover {
  color: var(--text-2);
}

/* Legal pages */
.legal-main {
  padding: calc(var(--header-h) + 64px) 0 96px;
}

.legal-wrap {
  max-width: 720px;
}

.legal-wrap h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-intro {
  margin: 0 0 40px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.47;
}

.legal-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.legal-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.legal-row:last-child {
  border-bottom: 0;
}

.legal-key {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-val {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.legal-val a {
  color: var(--orange-soft);
  transition: color 0.3s var(--ease-apple);
}

.legal-val a:hover {
  color: var(--orange);
}

.legal-prose h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-prose p,
.legal-prose li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.legal-prose p {
  margin: 0 0 12px;
}

.legal-prose ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.legal-prose li {
  margin-bottom: 6px;
}

.legal-prose a {
  color: var(--orange-soft);
}

.legal-note {
  margin-top: 40px;
  color: var(--text-3);
  font-size: 12px;
}

/* Scroll fade — sparse, slow, Apple-like */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

.fade-in.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .enter,
  .fade-in,
  .btn,
  .pillar,
  .menu-toggle span {
    animation: none !important;
    transition: none !important;
  }

  .enter,
  .fade-in {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .pillar:hover {
    transform: none;
  }
}

/* ——— Breakpoints ——— */
@media (min-width: 734px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pillar {
    min-height: 320px;
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .legal-row {
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
    padding: 20px 28px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1068px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex !important;
  }

  .menu-toggle {
    display: none;
  }

  .section-intro {
    margin-bottom: 64px;
  }
}
