/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800;900&display=swap');

/* Basic reset and typography */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #222; background: #fff; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; }
a { color: #ff7a45; text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header { position: sticky; top: 0; z-index: 1000; background: #ffffffcc; backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid #eee; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.nav .brand { font-weight: 900; letter-spacing: -0.02em; }
.nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.nav .pill { background: #ff7a45; color: #fff; border: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; }

.disclaimer { background: #fff3cd; color: #7a5b00; border-bottom: 1px solid #ffe69c; padding: 8px 0; font-size: 14px; }
.disclaimer .close { margin-left: 12px; padding: 2px 8px; border: 1px solid #e9c46a; background: #fff; border-radius: 4px; cursor: pointer; }

.hero { position: relative; background: #ffffff; border-bottom: 1px solid #eee; padding: 20px 0; }
.hero .frame { position: relative; border-radius: 16px; overflow: hidden; }
.hero .frame img { width: 100%; height: 560px; object-fit: cover; display: block; }
.hero .overlay-title { position: absolute; left: 24px; bottom: 24px; font-size: 120px; line-height: .9; color: #ff7a45; font-weight: 800; letter-spacing: .5px; }
.hero .overlay-copy { position: absolute; right: 24px; bottom: 24px; width: min(500px, 40%); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); font-weight: 700; }

/* Fullscreen (slightly smaller) sticky hero variant */
.hero { padding: 0; }
.hero .container { max-width: 100%; padding: 12px; }
.hero .hero-inner { position: relative; }
.hero .hero-inner figure { margin: 0; }
.hero .hero-inner img { width: 100%; height: 88vh; object-fit: cover; display: block; border-radius: 16px; }
.hero .hero-inner > div { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.hero h1 { font-size: clamp(40px, 10vw, 120px); margin: 0 0 8px 0; color: #ff7a45; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 900; letter-spacing: -0.03em; }
.hero #site-title { visibility: hidden; }
.hero #site-title.ready { visibility: visible; }
.hero p.lead { font-size: 18px; color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,.4); font-weight: 800; opacity: 0; letter-spacing: -0.01em; }

/* Title character reveal */
.char { opacity: 0; transform: translateY(12px); display: inline-block; transition: opacity .5s ease, transform .5s ease; }
.char.visible { opacity: 1; transform: translateY(0); }

/* Mission block */
.mission { padding: 72px 0; }
.mission .kicker { color: #c2410c; opacity: .9; font-weight: 800; margin: 0 0 8px 0; letter-spacing: -0.01em; }
.mission h2 { margin: 0 0 12px 0; font-size: clamp(28px, 5vw, 56px); line-height: 1.15; font-weight: 900; letter-spacing: -0.02em; }
.mission .lead-lg { font-size: clamp(18px, 2.2vw, 28px); line-height: 1.3; margin: 6px 0; font-weight: 700; letter-spacing: -0.01em; }

/* Gradient fill animation for text */
.fill-text { 
  color: transparent;
  background-image: linear-gradient(90deg, rgba(255,122,69,.45) 0%, #ff7a45 100%);
  -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1s ease var(--d,0ms);
}
.fill-text.in { background-size: 100% 100%; }

/* Motivational carousel */
.carousel-motiv { padding: 48px 0; background: linear-gradient(90deg, #fff5f0 0%, #ffe7d6 50%, #ffd5bf 100%); overflow: hidden; border-top: 1px solid #ffd5bf; border-bottom: 1px solid #ffd5bf; }
.carousel-track { display: flex; gap: 48px; animation: carousel-scroll 20s linear infinite; white-space: nowrap; }
.carousel-item { font-size: clamp(32px, 5vw, 64px); font-weight: 900; color: #ff7a45; display: inline-flex; align-items: center; gap: 24px; flex-shrink: 0; letter-spacing: -0.02em; }
.carousel-item .divider { display: inline-block; width: 8px; height: 8px; background: #ff7a45; border-radius: 50%; margin: 0 12px; flex-shrink: 0; }
@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Team section */
.team { padding: 64px 0 80px; background: #ffffff; border-top: 1px solid #ffe7d6; }
.team h2 { margin: 0 0 16px 0; font-size: clamp(26px, 4.5vw, 44px); font-weight: 900; letter-spacing: -0.02em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.member { background: #fff; border: 1px solid #ffd5bf; border-radius: 14px; padding: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.member:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,122,69,.18); border-color: #ff7a45; }
.member .photo { margin: 0 0 10px 0; }
.member .photo img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; display: block; }
.member h3 { margin: 4px 0 6px 0; font-weight: 800; letter-spacing: -0.01em; }
.team-intro { margin: 0 0 14px 0; color: #6b3b20; }

/* Feature image-text block */
.feature-image-text { padding: 80px 0; background: #fafafa; border-top: 1px solid #ffe7d6; border-bottom: 1px solid #ffe7d6; }
.feature-wrapper { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.feature-image { margin: 0; width: 100%; overflow: hidden; border-radius: 16px; opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.feature-image.visible { opacity: 1; transform: translateX(0); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 400px; }
.feature-content { display: flex; flex-direction: column; gap: 20px; opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; }
.feature-content.visible { opacity: 1; transform: translateX(0); }
.feature-content h2 { margin: 0; font-size: clamp(32px, 5vw, 48px); font-weight: 900; letter-spacing: -0.02em; color: #222; line-height: 1.2; }
.feature-content p { margin: 0; font-size: 18px; line-height: 1.6; color: #555; font-weight: 600; }
.btn-explore { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #222; color: #fff; border: 1px solid #222; border-radius: 8px; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; align-self: flex-start; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s, background-color 0.2s ease, color 0.2s ease; }
.feature-content.visible .btn-explore { opacity: 1; transform: translateY(0); }
.btn-explore:hover { background: #ff7a45; border-color: #ff7a45; transform: translateY(-1px); }
.btn-explore .btn-arrow { font-size: 18px; line-height: 1; }


/* Reverse order for contact block - photo right, text left */
.feature-wrapper-reverse {
  direction: ltr;
}

/* Reverse animation for contact block */
.feature-contact .feature-content { 
  opacity: 0; 
  transform: translateX(-40px); 
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; 
}
.feature-contact .feature-content.visible { 
  opacity: 1; 
  transform: translateX(0); 
}
.feature-contact .feature-image { 
  opacity: 0; 
  transform: translateX(40px); 
  transition: opacity 0.8s ease, transform 0.8s ease; 
}
.feature-contact .feature-image.visible { 
  opacity: 1; 
  transform: translateX(0); 
}

@media (min-width: 768px) {
  .feature-wrapper { 
    grid-template-columns: 1fr 1fr; 
    gap: 64px; 
    grid-template-areas: "image content";
  }
  .feature-wrapper .feature-content {
    grid-area: content;
  }
  .feature-wrapper .feature-image {
    grid-area: image;
  }
  .feature-wrapper-reverse {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "content image" !important;
  }
  .feature-wrapper-reverse .feature-content {
    grid-area: content !important;
  }
  .feature-wrapper-reverse .feature-image {
    grid-area: image !important;
  }
  .feature-image img { min-height: 500px; }
  .feature-image { transform: translateX(-60px); }
  .feature-content { transform: translateX(60px); }
  .feature-contact .feature-image { transform: translateX(60px); }
  .feature-contact .feature-content { transform: translateX(-60px); }
}

@media (max-width: 767px) {
  .feature-image { transform: translateY(40px); }
  .feature-content { transform: translateY(40px); }
  .feature-wrapper-reverse { direction: ltr; }
  .feature-contact .feature-content { transform: translateY(40px); }
  .feature-contact .feature-image { transform: translateY(40px); }
}

.content { padding: 24px 0 48px; }
.content h2 { margin-top: 28px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.content figure { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { border: 1px solid #eee; border-radius: 12px; padding: 16px; background: #fff; }
.card h3 { margin-top: 0; font-weight: 800; letter-spacing: -0.01em; }

footer.site-footer { background: #0f172a; color: #cbd5e1; padding: 32px 0; margin-top: 48px; }
footer.site-footer a { color: #e2e8f0; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
footer .sub { border-top: 1px solid #334155; margin-top: 16px; padding-top: 12px; font-size: 14px; color: #94a3b8; }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; display: none; z-index: 2000; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.cookie-banner .actions { display: flex; gap: 8px; margin-top: 8px; }
.btn { display: inline-block; padding: 8px 12px; border-radius: 8px; border: 1px solid #ff7a45; background: #ff7a45; color: #fff; cursor: pointer; }
.btn.secondary { background: #fff; color: #ff7a45; }

.article-meta { color: #64748b; font-size: 14px; margin-bottom: 8px; }
.prose .article-featured-image { 
  margin: 32px 0;
  max-width: 70%;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.article-featured-image img { width: 100%; height: auto; border-radius: 12px; display: block; }
.prose p { margin: 12px 0; font-weight: 600; }
.prose h1 { font-weight: 900; letter-spacing: -0.02em; }
.prose h2 { font-weight: 900; letter-spacing: -0.02em; }
.prose h3 { font-weight: 800; letter-spacing: -0.01em; }
.prose ul { padding-left: 18px; }

/* Contact form styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 32px 0;
}

.contact-info h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: #222;
  line-height: 1.2;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 32px 0;
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-weight: 700;
  color: #222;
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  color: #555;
  font-size: 16px;
  font-weight: 600;
}

.contact-item a:hover {
  color: #ff7a45;
  text-decoration: underline;
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-bottom-color: #ff7a45;
}

.form-input::placeholder {
  color: #999;
  font-weight: 600;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  font-family: inherit;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: 8px;
  align-self: flex-start;
}

.btn-submit:hover {
  background: #ff7a45;
  transform: translateY(-1px);
}

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

.btn-arrow {
  font-size: 18px;
  line-height: 1;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  
  .contact-info {
    position: sticky;
    top: 100px;
  }
}

/* Articles page styles */
.articles-header {
  padding: 48px 0 32px 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.articles-header h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  color: #222;
  line-height: 1.1;
}

.articles-description {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  font-weight: 600;
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 32px 0 64px 0;
}

.article-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #ff7a45;
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-image {
  margin: 0;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f5f5f5;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
  color: #222;
  line-height: 1.3;
}

.article-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.article-read-more {
  font-size: 14px;
  font-weight: 700;
  color: #ff7a45;
  display: inline-block;
  transition: transform 0.2s ease;
}

.article-card:hover .article-read-more {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
  }
  
  .article-image {
    height: 280px;
  }
}

@media (min-width: 900px) {
  .hero .hero-inner { grid-template-columns: 2fr 3fr; align-items: center; }
  
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Article content blocks with alternating layout */
.article-content-block {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.article-content-block .block-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-content-block .block-text h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #222;
  line-height: 1.2;
}

.article-content-block .block-text h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #222;
  line-height: 1.3;
}

.article-content-block .block-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  font-weight: 600;
}

.article-content-block .block-image {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.article-content-block .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

/* Alternating layout - text left, image right */
.article-content-block.block-text-left {
  grid-template-areas: "text image";
}

/* Alternating layout - image left, text right */
.article-content-block.block-image-left {
  grid-template-areas: "image text";
}

@media (min-width: 768px) {
  .article-content-block {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  
  .article-content-block.block-text-left .block-text {
    grid-area: text;
  }
  
  .article-content-block.block-text-left .block-image {
    grid-area: image;
  }
  
  .article-content-block.block-image-left .block-text {
    grid-area: text;
  }
  
  .article-content-block.block-image-left .block-image {
    grid-area: image;
  }
  
  .article-content-block .block-image img {
    min-height: 500px;
  }
}


