/* ==========================================================================
   Siciha Suyuwa — Organic Shapes Design System
   ========================================================================== */

:root {
  --color-bg: #FDFBF7;
  --color-bg-alt: #F4EDE1;
  --color-bg-deep: #EDE3D3;
  --color-primary: #2F5D50;
  --color-primary-dark: #234A3F;
  --color-primary-light: #4C8073;
  --color-secondary: #E07A5F;
  --color-secondary-dark: #C85F45;
  --color-accent: #F2CC8F;
  --color-text: #2B2621;
  --color-text-muted: #5C5650;
  --color-white: #FFFEFB;
  --color-border: rgba(43, 38, 33, 0.10);

  --shadow-sm: 0 1px 2px rgba(43,38,33,0.07), 0 1px 1px rgba(43,38,33,0.04);
  --shadow-md: 0 6px 16px rgba(47,93,80,0.10), 0 2px 6px rgba(43,38,33,0.06);
  --shadow-lg: 0 16px 32px rgba(47,93,80,0.14), 0 6px 12px rgba(224,122,95,0.10);
  --shadow-xl: 0 28px 56px rgba(47,93,80,0.18), 0 10px 20px rgba(43,38,33,0.10);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-blob: 63% 37% 54% 46% / 43% 47% 53% 57%;
  --radius-blob-2: 38% 62% 63% 37% / 41% 44% 56% 59%;

  --font-heading: 'Vollkorn', serif;
  --font-body: 'Work Sans', sans-serif;

  --gradient-primary: linear-gradient(135deg, #2F5D50 0%, #4C8073 48%, #E07A5F 100%);
  --gradient-warm: linear-gradient(135deg, #E07A5F 0%, #F2CC8F 100%);
  --gradient-soft: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--color-text); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }


h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4.2rem); }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1vw + 0.9rem, 1.4rem); }
p { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  margin-bottom: 0.75rem;
}
.eyebrow--center { display: block; text-align: center; }

.section-title { margin-bottom: 1rem; }
.section-title--center { text-align: center; }
.section-lead { max-width: 640px; color: var(--color-text-muted); font-size: 1.05rem; }
.section-lead--center { margin: 0 auto 3rem; text-align: center; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  min-height: 44px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-text {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem;
  min-height: 44px;
  transition: color var(--transition);
}
.btn-text:hover { color: var(--color-secondary-dark); }


.blob {
  position: absolute;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.blob--hero-a {
  width: 480px; height: 480px;
  top: -140px; right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(224,122,95,0.35), rgba(242,204,143,0.1));
  border-radius: var(--radius-blob);
}
.blob--hero-b {
  width: 360px; height: 360px;
  bottom: -160px; left: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(47,93,80,0.25), transparent 70%);
  border-radius: var(--radius-blob-2);
}
.blob--page {
  width: 380px; height: 380px;
  top: -120px; right: -100px;
  background: radial-gradient(circle at 40% 40%, rgba(47,93,80,0.20), transparent 70%);
  border-radius: var(--radius-blob);
}
.blob--cta {
  width: 420px; height: 420px;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(242,204,143,0.4), transparent 70%);
  border-radius: var(--radius-blob-2);
}


.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transform: translateY(-130%);
  transition: transform 0.5s ease;
  padding-top: 1rem;
}
.nav-wrapper.nav--visible { transform: translateY(0); }

.nav {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  padding: 0.7rem 1rem 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--color-secondary-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-link--active { color: var(--color-primary); font-weight: 600; }
.nav-link--active::after { width: 100%; background: var(--color-primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--color-bg-alt); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  max-width: 1100px;
  margin: 0.5rem auto 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding var(--transition);
  display: none;
}
.nav-mobile.open { max-height: 400px; padding: 0.5rem 0; }
.nav-mobile-link {
  display: block;
  padding: 0.9rem 1.5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  min-height: 44px;
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { background: var(--color-bg-alt); color: var(--color-primary); padding-left: 1.9rem; }


.hero {
  position: relative;
  padding: 7.5rem 0 6rem;
  background: var(--gradient-soft);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-title { margin-bottom: 1.2rem; }
.hero-desc { font-size: 1.08rem; margin-bottom: 1.8rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-tags { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-tags li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--color-text-muted); }
.hero-tags i { color: var(--color-primary); }

.hero-visual {
  position: relative;
  min-height: 460px;
}
.hero-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-card:hover { transform: translateY(-6px) rotate(0deg) !important; box-shadow: var(--shadow-xl), 0 0 0 4px rgba(224,122,95,0.15); }
.hero-card--1 {
  width: 78%;
  top: 0; right: 0;
  transform: rotate(3deg);
  z-index: 3;
  padding: 0.6rem;
}
.hero-card--1 img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; }
.hero-card-caption { padding: 0.8rem 0.5rem 0.3rem; font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted); display: flex; gap: 0.5rem; align-items: center; }
.hero-card-caption i { color: var(--color-secondary); }
.hero-card--2 {
  width: 62%;
  bottom: 8rem; left: -1rem;
  transform: rotate(-5deg);
  z-index: 2;
}
.hero-card--3 {
  width: 58%;
  bottom: -1rem; right: 1rem;
  transform: rotate(4deg);
  z-index: 1;
}
.hero-card-icon { font-size: 1.5rem; color: var(--color-secondary); margin-bottom: 0.6rem; }
.hero-card--2 h3, .hero-card--3 h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.hero-card--2 p, .hero-card--3 p { font-size: 0.85rem; }

#heroSentinel { height: 1px; }


.gradient-transition {
  height: 90px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}


.section { padding: 5rem 0; position: relative; }
.section--alt { background: var(--color-bg-alt); }


.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 1.5rem;
}
.bento-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento-card--large { grid-column: span 2; grid-row: span 2; padding: 0; justify-content: flex-start; }
.bento-card--large img { width: 100%; height: 55%; object-fit: cover; }
.bento-card--large .bento-card-body { padding: 1.6rem 1.8rem 2rem; }
.bento-card--medium { grid-column: span 2; }
.bento-card--small { grid-column: span 1; }
.bento-card--wide { grid-column: span 4; flex-direction: row; align-items: center; gap: 1.5rem; }
.bento-card--wide .bento-icon { margin-bottom: 0; flex-shrink: 0; }
.bento-icon { font-size: 1.6rem; color: var(--color-secondary); margin-bottom: 1rem; }
.bento-card h3 { margin-bottom: 0.6rem; }
.bento-card p { font-size: 0.95rem; }


.carousel { padding: 0 0 1rem; }
.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 1.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 8px; }
.carousel-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(260px, 78vw, 340px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.carousel-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.carousel-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-accent);
  -webkit-text-stroke: 1.5px var(--color-secondary-dark);
  margin-bottom: 1rem;
}
.carousel-card h3 { margin-bottom: 0.7rem; }
.carousel-card p { font-size: 0.92rem; margin-bottom: 1rem; }
.carousel-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}


.masonry { columns: 3 260px; column-gap: 1.5rem; }
.masonry-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.masonry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.masonry-card img { border-radius: var(--radius-sm); margin-bottom: 1rem; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.masonry-card h3 { margin-bottom: 0.6rem; }
.masonry-card p { font-size: 0.93rem; }
.masonry-card--tall { padding-bottom: 2.2rem; }
.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}


.cta-minimal {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg);
}
.cta-minimal-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-minimal h2 { margin-bottom: 1rem; }
.cta-minimal p { margin-bottom: 2rem; font-size: 1.05rem; }


.page-hero {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  background: var(--gradient-soft);
  overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.page-title { margin-bottom: 1rem; }
.page-lead { font-size: 1.1rem; }
.page-hero--legal { padding-bottom: 3.5rem; }


.story-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.story-row--reverse { grid-template-columns: 0.9fr 1.1fr; }
.story-row--reverse .story-image { order: -1; }
.story-text h2 { margin-bottom: 1.1rem; }
.story-text p { margin-bottom: 1rem; }
.story-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.two-col-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.text-block h3 { margin-bottom: 0.6rem; }
.text-block--card {
  background: var(--color-white);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.text-block--card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.text-block-icon { font-size: 1.5rem; color: var(--color-secondary); margin-bottom: 0.8rem; }

.module-list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 1rem; }
.module-item {
  display: flex;
  gap: 1.5rem;
  background: var(--color-white);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.module-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.module-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  -webkit-text-stroke: 1.2px var(--color-primary-dark);
  flex-shrink: 0;
  min-width: 60px;
}
.module-item h3 { margin-bottom: 0.5rem; }
.module-item p { font-size: 0.95rem; }


.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 1.5rem; }
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-white);
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-info-card i { color: var(--color-secondary); font-size: 1.2rem; margin-top: 0.2rem; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-info-card p { font-size: 0.92rem; margin: 0; }

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.form-progress { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem; }
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.step-dot--active { background: var(--gradient-primary); color: var(--color-white); }
.step-line { flex: 1; height: 2px; background: var(--color-border); }

.form-step { display: none; flex-direction: column; gap: 0.4rem; animation: fadeStep 0.4s ease; }
.form-step--active { display: flex; }
@keyframes fadeStep { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.form-step h3 { margin-bottom: 0.6rem; }
.form-label { font-size: 0.88rem; font-weight: 600; margin-top: 0.8rem; margin-bottom: 0.3rem; }
.form-input {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
  resize: vertical;
}
.form-input:focus { outline: none; border-color: var(--color-primary-light); box-shadow: 0 0 0 4px rgba(76,128,115,0.15); }
.checkbox-label { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--color-text-muted); margin-top: 1rem; }
.checkbox-label input { margin-top: 0.2rem; width: 18px; height: 18px; flex-shrink: 0; }
.checkbox-label a { color: var(--color-primary); font-weight: 600; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
#toStep2 { margin-top: 1.5rem; align-self: flex-start; }


.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 44px;
}
.faq-icon { transition: transform var(--transition); color: var(--color-secondary); }
.faq-item--open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding var(--transition); padding: 0 1.5rem; }
.faq-item--open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.3rem; }
.faq-answer p { font-size: 0.93rem; margin: 0; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { display: block; }


.thanks-hero {
  background: var(--gradient-primary);
  padding: 9rem 0 5rem;
  text-align: center;
  color: var(--color-white);
  position: relative;
}
.thanks-hero-inner { max-width: 600px; margin: 0 auto; }
.thanks-icon { font-size: 3rem; margin-bottom: 1.2rem; opacity: 0.95; }
.thanks-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.thanks-hero p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.thanks-next { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-next h2 { margin-bottom: 1rem; }
.thanks-next p { margin-bottom: 1.2rem; }
.thanks-next a.btn { margin-top: 1rem; }


.legal-container { max-width: 820px; }
.legal-section { padding: 2rem 0; border-bottom: 1px solid var(--color-border); position: relative; }
.legal-section:last-child { border-bottom: none; }
.legal-number, .legal-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}
.legal-summary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.legal-section h2 { margin-bottom: 0.8rem; }
.legal-section p { font-size: 0.96rem; }
.legal-section p a { color: var(--color-primary); font-weight: 600; }


.footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.85); padding: 4rem 0 2.5rem; margin-top: auto; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
.footer-logo img { height: 34px; }
.footer-tagline { font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 420px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 0.5rem 0; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.footer-contact i { color: var(--color-accent); margin-right: 0.4rem; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 1rem; }


.cookie-pill {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: var(--color-white);
  border-radius: 999px;
  box-shadow: var(--shadow-xl);
  padding: 0.4rem 0.4rem 0.4rem 1.3rem;
  max-width: 92vw;
  transition: border-radius 0.4s ease, padding 0.4s ease, max-width 0.4s ease, transform 0.3s ease;
  display: none;
}
.cookie-pill.visible { display: block; animation: pillIn 0.5s ease; }
@keyframes pillIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-pill-compact { display: flex; align-items: center; gap: 1rem; }
.cookie-pill-compact p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; max-width: 320px; }
.cookie-pill-actions { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }

.cookie-pill.expanded {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  max-width: 480px;
  width: 92vw;
}
.cookie-modal h3 { margin-bottom: 0.7rem; }
.cookie-modal > p { font-size: 0.88rem; margin-bottom: 1.2rem; }
.cookie-modal > p a { color: var(--color-primary); font-weight: 600; }
.cookie-category { padding: 0.8rem 0; border-bottom: 1px solid var(--color-border); }
.cookie-category-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.92rem; }
.cookie-category-head input { width: 20px; height: 20px; }
.cookie-category p { font-size: 0.82rem; margin: 0.3rem 0 0; }
.cookie-modal-actions { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }


.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.in-view { opacity: 1; transform: translateY(0); }


@keyframes heroEnter { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy, .hero-visual { animation: heroEnter 0.8s ease both; }
.hero-visual { animation-delay: 0.15s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; margin-top: 2rem; }
  .story-row, .story-row--reverse { grid-template-columns: 1fr; }
  .story-row--reverse .story-image { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--large { grid-column: span 2; }
  .bento-card--wide { grid-column: span 2; }
  .masonry { columns: 2 220px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  .hero { padding: 6.5rem 0 4rem; }
  .hero-card--1 { width: 100%; position: relative; top: 0; right: 0; transform: rotate(1deg); margin-bottom: 2.5rem; }
  .hero-card--2, .hero-card--3 { width: 100%; position: relative; bottom: 0; left: 0; right: 0; transform: none; margin-bottom: 1.2rem; }
  .hero-visual { display: flex; flex-direction: column; min-height: auto; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--medium, .bento-card--small, .bento-card--wide { grid-column: span 1; }
  .bento-card--wide { flex-direction: column; align-items: flex-start; }
  .two-col-text { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .module-item { flex-direction: column; }
  .footer-contact { flex-direction: column; gap: 0.7rem; align-items: center; }
  .cookie-pill-compact { flex-direction: column; align-items: flex-start; }
  .cookie-pill-compact p { max-width: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .form-actions { flex-direction: column; }
}