/* ===================================
   DAQARMORX — MAIN STYLESHEET
   Color Accent System + Cascading Cards
   =================================== */


:root {
  --base-dark: oklch(18% 0.01 240);
  --base-neutral: oklch(42% 0.01 240);
  --accent: oklch(62% 0.18 35);

  
  --surface-0: color-mix(in oklch, var(--base-dark), white 96%);
  --surface-1: color-mix(in oklch, var(--base-dark), white 93%);
  --surface-2: color-mix(in oklch, var(--base-dark), white 88%);
  --surface-3: color-mix(in oklch, var(--base-dark), white 80%);

  --text-primary: color-mix(in oklch, var(--base-dark), white 4%);
  --text-secondary: color-mix(in oklch, var(--base-neutral), white 15%);
  --text-muted: color-mix(in oklch, var(--base-neutral), white 40%);
  --text-on-dark: color-mix(in oklch, var(--base-dark), white 94%);

  --accent-light: color-mix(in oklch, var(--accent), white 55%);
  --accent-dark: color-mix(in oklch, var(--accent), black 25%);
  --accent-bg: color-mix(in oklch, var(--accent), white 88%);
  --accent-hover: color-mix(in oklch, var(--accent), black 12%);

  --border-subtle: color-mix(in oklch, var(--base-dark), white 82%);
  --border-medium: color-mix(in oklch, var(--base-dark), white 72%);

  
  --shadow-xs: 0 1px 2px color-mix(in oklch, var(--base-dark), transparent 88%);
  --shadow-sm: 0 2px 6px color-mix(in oklch, var(--base-dark), transparent 85%),
               0 1px 2px color-mix(in oklch, var(--base-dark), transparent 90%);
  --shadow-md: 0 4px 12px color-mix(in oklch, var(--base-dark), transparent 82%),
               0 2px 4px color-mix(in oklch, var(--base-dark), transparent 88%);
  --shadow-lg: 0 8px 24px color-mix(in oklch, var(--base-dark), transparent 78%),
               0 3px 8px color-mix(in oklch, var(--base-dark), transparent 85%),
               0 1px 2px color-mix(in oklch, var(--base-dark), transparent 90%);
  --shadow-xl: 0 16px 48px color-mix(in oklch, var(--base-dark), transparent 74%),
               0 6px 16px color-mix(in oklch, var(--base-dark), transparent 82%),
               0 2px 4px color-mix(in oklch, var(--base-dark), transparent 88%);
  --shadow-accent: 0 4px 16px color-mix(in oklch, var(--accent), transparent 68%);

  
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  
  --nav-h: 68px;

  
  --trans-fast: 180ms ease;
  --trans-base: 280ms ease;
  --trans-slow: 420ms ease;
}


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--surface-0);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, section { flex: 1; }

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--trans-fast);
}
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

address { font-style: normal; }


#cookie-bar {
  width: 100%;
  background: var(--text-primary);
  color: var(--text-on-dark);
  font-size: 0.8rem;
  font-family: var(--font-body);
  overflow: hidden;
  transition: max-height var(--trans-slow), opacity var(--trans-slow);
  max-height: fit-content;
  position: fixed;
  bottom: 0;
}

#cookie-bar.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) var(--sp-6);
  flex-wrap: wrap;
}

.cookie-bar-text {
  flex: 1;
  min-width: 200px;
}

.cookie-bar-text a {
  color: var(--accent-light);
  text-decoration: underline;
}

.cookie-bar-actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.cookie-btn-accept,
.cookie-btn-decline {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
  min-height: 32px;
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cookie-btn-accept:hover { background: var(--accent-hover); }

.cookie-btn-decline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: color-mix(in oklch, var(--base-dark), white 50%);
}
.cookie-btn-decline:hover {
  background: color-mix(in oklch, var(--base-dark), white 20%);
}


.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--trans-base), box-shadow var(--trans-base), backdrop-filter var(--trans-base);
  background: color-mix(in oklch, var(--surface-0), transparent 15%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-nav.solid-nav,
.site-nav.scrolled {
  background: color-mix(in oklch, var(--surface-0), transparent 4%);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--trans-fast), background var(--trans-fast);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent);
  background: var(--accent-bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}

.nav-toggle:hover { background: var(--surface-1); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--trans-base), opacity var(--trans-base);
}


.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.mobile-overlay.open {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  background: color-mix(in oklch, var(--base-dark), white 20%);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--trans-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close:hover { background: color-mix(in oklch, var(--base-dark), white 30%); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease 0.3s, transform 0.35s ease 0.3s;
}

.mobile-overlay.open .mobile-nav-links {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.mobile-nav-links a:hover { color: var(--accent-light); }


.hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--base-dark), transparent 10%) 0%,
    color-mix(in oklch, var(--base-dark), transparent 35%) 50%,
    color-mix(in oklch, var(--base-dark), transparent 55%) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--sp-16)) var(--sp-6) var(--sp-16);
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: color-mix(in oklch, var(--accent), transparent 78%);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 60%);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-6);
  max-width: 14ch;
}

.highlight-text {
  color: var(--accent-light);
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: color-mix(in oklch, var(--text-on-dark), transparent 18%);
  max-width: 52ch;
  margin-bottom: var(--sp-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: color-mix(in oklch, var(--text-on-dark), transparent 30%);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  animation: scrollBounce 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


.primary-action {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
  box-shadow: var(--shadow-accent);
  min-height: 48px;
}

.primary-action:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in oklch, var(--accent), transparent 55%);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid color-mix(in oklch, var(--text-on-dark), transparent 40%);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-fast);
  min-height: 48px;
}

.secondary-action:hover {
  background: color-mix(in oklch, var(--text-on-dark), transparent 85%);
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}

.inline-action {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap var(--trans-fast), color var(--trans-fast);
}
.inline-action:hover {
  gap: var(--sp-3);
  color: var(--accent-hover);
}


.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.content-block {
  padding: var(--sp-20) 0;
}

.visual-break {
  background: var(--surface-1);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-footer-action {
  text-align: center;
  margin-top: var(--sp-10);
}


.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.intro-text p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  font-size: 1rem;
  line-height: 1.75;
}

.intro-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}


.cascade-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-6);
  position: relative;
}

.cascade-cards .cascade-card:nth-child(odd) {
  transform: translateY(0);
}
.cascade-cards .cascade-card:nth-child(even) {
  transform: translateY(var(--sp-6));
}

.cascade-card {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
  transform-style: preserve-3d;
  will-change: transform;
}

.cascade-card:hover {
  box-shadow: var(--shadow-xl);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--accent-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--accent);
  font-size: 1.3rem;
  transition: background var(--trans-fast), color var(--trans-fast);
}

.cascade-card:hover .card-icon-wrap {
  background: var(--accent);
  color: #fff;
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-8);
}

.process-step {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.process-step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


.timeline-track {
  position: relative;
  padding-left: var(--sp-10);
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    color-mix(in oklch, var(--accent), transparent 60%)
  );
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-10);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--sp-10) - 5px);
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--accent);
  border: 3px solid var(--surface-1);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  padding-top: var(--sp-1);
}

.timeline-card {
  background: var(--surface-0);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}

.gallery-large img { min-height: 420px; }

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(transparent, color-mix(in oklch, var(--base-dark), transparent 20%));
  color: var(--text-on-dark);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--trans-base), transform var(--trans-base);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}


.cta-banner-block {
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--base-dark), transparent 0%) 0%,
    color-mix(in oklch, var(--base-dark), var(--accent) 8%) 100%
  );
  padding: var(--sp-20) 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--sp-4);
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.cta-subtext {
  font-size: 1.05rem;
  color: color-mix(in oklch, var(--text-on-dark), transparent 20%);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.cta-btn {
  background: var(--accent);
  color: #fff;
}


.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-8);
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.strip-icon {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.strip-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.strip-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


.site-footer {
  background: var(--text-primary);
  color: var(--text-on-dark);
  margin-top: auto;
}

.footer-stats-bar {
  background: color-mix(in oklch, var(--accent), var(--base-dark) 55%);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid color-mix(in oklch, var(--base-dark), white 22%);
}

.stats-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: space-between;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: color-mix(in oklch, var(--text-on-dark), transparent 15%);
}

.stat-item i {
  color: var(--accent-light);
  font-size: 0.9rem;
}

.footer-main {
  padding: var(--sp-12) 0 0;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  margin-bottom: var(--sp-4);
}

.footer-logo {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-desc {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--text-on-dark), transparent 30%);
  line-height: 1.65;
  max-width: 32ch;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-links a {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--text-on-dark), transparent 25%);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--text-on-dark);
}

.footer-address p {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--text-on-dark), transparent 25%);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.footer-address i {
  color: var(--accent-light);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-address a {
  color: inherit;
  text-decoration: none;
}
.footer-address a:hover { color: var(--text-on-dark); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--sp-6);
  margin-top: var(--sp-10);
  border-top: 1px solid color-mix(in oklch, var(--base-dark), white 22%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--text-on-dark), transparent 40%);
}


.page-hero {
  background: var(--surface-1);
  padding: calc(var(--nav-h) + var(--sp-12)) 0 var(--sp-12);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
}


.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.philosophy-text p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

.philosophy-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.value-card {
  background: var(--surface-0);
}

.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.approach-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.approach-text-col p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}


.session-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.session-info p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

.session-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.device-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-10);
  align-items: center;
  background: var(--surface-0);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.device-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.device-item.reverse-layout {
  grid-template-columns: 1fr 380px;
}

.device-item.reverse-layout .device-img-wrap {
  order: 2;
}

.device-item.reverse-layout .device-info {
  order: 1;
}

.device-img-wrap {
  height: 100%;
  min-height: 320px;
}

.device-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.device-info {
  padding: var(--sp-8) var(--sp-8) var(--sp-8) 0;
}

.device-item.reverse-layout .device-info {
  padding: var(--sp-8) 0 var(--sp-8) var(--sp-8);
}

.device-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.device-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.device-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}

.device-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.skill-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 65%);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-6);
}

.tool-card {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.tool-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.tool-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


.gallery-full-grid {
  columns: 3;
  column-gap: var(--sp-4);
}

.gallery-full-item {
  break-inside: avoid;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.gallery-full-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.gallery-full-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-full-item:hover img {
  transform: scale(1.04);
}

.gallery-full-caption {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: var(--surface-0);
}

.gallery-full-caption h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.gallery-full-caption p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.gallery-item-wide {
  break-inside: avoid;
}


.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-intro {
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 80%);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.privacy-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-text a {
  color: var(--accent);
  text-decoration: underline;
}

.form-error-msg {
  color: #c0392b;
  font-size: 0.85rem;
  padding: var(--sp-2) var(--sp-3);
  background: #fdecea;
  border-radius: var(--radius-sm);
  border-left: 3px solid #c0392b;
}

.form-submit {
  align-self: flex-start;
}

.contact-detail-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4);
  background: var(--surface-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-subtle);
  transition: box-shadow var(--trans-base);
}

.contact-detail-card:hover {
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
}

.contact-detail-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.contact-detail-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-detail-card a {
  color: var(--text-secondary);
  text-decoration: none;
}
.contact-detail-card a:hover { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.contact-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.contact-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.contact-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.contact-gallery-item:hover img {
  transform: scale(1.05);
}

.contact-gallery-caption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-1);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}


.thanks-block {
  min-height: calc(100vh - var(--nav-h) - 240px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
}

.thanks-center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
}


.envelope-wrap {
  width: 120px;
  height: 90px;
  position: relative;
  perspective: 500px;
}

.envelope-body {
  width: 120px;
  height: 90px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 48px solid var(--accent);
  transform-origin: top center;
  animation: flapOpen 0.7s ease 0.5s both;
  z-index: 3;
}

@keyframes flapOpen {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-160deg); }
}

.envelope-letter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 72px;
  height: 50px;
  background: var(--surface-0);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  animation: letterRise 0.6s ease 1s both;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

@keyframes letterRise {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  100% { transform: translateX(-50%) translateY(-52px); opacity: 1; }
}

.letter-lines span {
  display: block;
  height: 2px;
  background: var(--border-medium);
  border-radius: var(--radius-full);
  width: 48px;
  margin-bottom: 5px;
}

.letter-lines span:last-child { width: 32px; }

.thanks-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  animation: fadeUp 0.6s ease 1.4s both;
}

.thanks-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
  animation: fadeUp 0.6s ease 1.6s both;
}

.thanks-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  animation: fadeUp 0.6s ease 1.7s both;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-4);
  animation: fadeUp 0.6s ease 1.9s both;
}

.thanks-actions .secondary-action {
  color: var(--text-secondary);
  border-color: var(--border-medium);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}


.legal-hero {
  background: var(--surface-1);
  padding: calc(var(--nav-h) + var(--sp-10)) 0 var(--sp-10);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-body {
  padding: var(--sp-16) 0;
}

.legal-container {
  max-width: 780px;
}

.legal-container p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
  font-size: 0.95rem;
}

.legal-container h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--sp-8) 0 var(--sp-3);
}

.legal-container a {
  color: var(--accent);
  text-decoration: underline;
}


.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


.iti__flag-container { z-index: 10; }


@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .device-item,
  .device-item.reverse-layout {
    grid-template-columns: 1fr;
  }

  .device-item.reverse-layout .device-img-wrap { order: 0; }
  .device-item.reverse-layout .device-info { order: 0; padding: var(--sp-6); }
  .device-info { padding: var(--sp-6); }

  .device-img-wrap { min-height: 240px; }
  .device-img { min-height: 240px; }

  .approach-layout,
  .philosophy-grid,
  .intro-grid,
  .session-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .intro-img,
  .philosophy-img,
  .approach-img,
  .session-img {
    height: 320px;
  }

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

  .gallery-large {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .cascade-cards {
    grid-template-columns: 1fr 1fr;
  }

  .cascade-cards .cascade-card:nth-child(even) {
    transform: translateY(0);
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: var(--sp-4);
  }

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

  .gallery-large { grid-column: span 1; }

  .gallery-full-grid {
    columns: 2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-container {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .cascade-cards {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .secondary-action,
  .hero-actions .primary-action {
    width: 100%;
    justify-content: center;
  }

  .gallery-full-grid {
    columns: 1;
  }

  .contact-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .thanks-actions {
    flex-direction: column;
  }

  .thanks-actions .secondary-action,
  .thanks-actions .primary-action {
    width: 100%;
    justify-content: center;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: var(--sp-6);
  }

  .timeline-date {
    font-size: 1.1rem;
  }
}