/* Injigan homepage sections */
/* ==========================================
   09. HERO SECTION
========================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 640px;

  background: #173d2c;
  color: #ffffff;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;

  width: 100%;
  height: 100%;

  object-fit: cover;

  background: #1a4733;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(9, 35, 25, 0.94) 0%,
      rgba(9, 35, 25, 0.82) 39%,
      rgba(9, 35, 25, 0.42) 72%,
      rgba(9, 35, 25, 0.50) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 35, 25, 0.55),
      transparent 55%
    );
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;

  min-height: 640px;

  gap: 40px;

  padding-top: 48px;
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.hero .eyebrow {
  color: #efcd88;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(52px, 5.5vw, 80px);
  line-height: 1.04;
  letter-spacing: -2.6px;
}

.hero h1 em {
  color: #efd093;
}

.hero-copy > p {
  max-width: 430px;

  margin: 27px 0 32px;

  font-size: 15px;
  line-height: 1.9;

  color: #e0e8df;
}

/* Hero actions */

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  padding: 15px 23px;

  background: var(--green);
  color: #ffffff;

  border-radius: 5px;

  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #246044;
}

.btn-gold {
  background: #e8b654;
  color: #173b2b;
}

.btn-gold:hover {
  background: #f0c677;
  color: #173b2b;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 5px 0;

  border-bottom: 1px solid #b4bcad;

  font-size: 14px;
  font-weight: 600;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 40px;

  color: #b5c9b8;

  font-size: 10px;
  letter-spacing: 1.3px;
}

.hero-foot::before {
  content: "";

  width: 6px;
  height: 6px;

  background: var(--gold);
  border-radius: 50%;
}

/* Hero illustration */

.hero-art {
  position: relative;
  align-self: center;
  min-width: 0;
}

.hero-art .portrait {
  width: 100%;
  aspect-ratio: 1.18;

  overflow: hidden;

  border-radius: 200px 200px 12px 12px;

  border: 1px solid #c3b88470;

  box-shadow: 0 24px 70px #061c2460;
}

.hero-art .portrait svg {
  width: 100%;
  height: 100%;
}

.circle-stamp {
  position: absolute;
  right: -20px;
  top: 0;

  display: grid;
  place-items: center;

  width: 89px;
  height: 89px;

  background: var(--gold);
  color: var(--green);

  border: 6px double #bf882a;
  border-radius: 50%;

  text-align: center;

  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 1.2px;

  transform: rotate(12deg);
}

.art-label {
  position: absolute;
  bottom: 26px;
  left: -26px;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 17px 23px;

  background: var(--cream);
  color: var(--green);

  border-radius: 3px;
  box-shadow: 0 8px 30px #0002;
}

.art-label .n {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1;
}

.art-label span {
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  bottom: 22px;
  left: 48px;

  color: #b5c9b8;

  font-size: 9px;
  letter-spacing: 2px;
}

.video-control {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 13px;

  background: #19382dcc;
  color: #ffffff;

  border: 1px solid #ffffff40;
  border-radius: 25px;

  font-size: 11px;
}


/* ==========================================
   10. TRUST / FEATURES STRIP
========================================== */

.strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  padding: 27px 0;
}

.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  padding: 0 12px;

  border-right: 1px solid #d9dbcc;

  font-size: 13px;
  font-weight: 600;
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item svg {
  width: 25px;
  height: 25px;
  color: var(--green);
}


/* ==========================================
   11. PRODUCT COLLECTION SECTION
========================================== */

.collection {
  padding: 92px 0 95px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  color: #7f682f;
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 340px;
  padding-bottom: 5px;

  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.cards .product {
  overflow: hidden;

  background: #fffef9;

  border: 1px solid var(--line);
  border-radius: 7px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cards .product:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px #173d2c15;
}

.product-photo {
  position: relative;
  overflow: hidden;

  aspect-ratio: 1.05;

  background: #e5eadf;
}

.product-photo svg,
.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.7s ease;
}

.cards .product:hover .product-photo svg,
.cards .product:hover .product-photo img {
  transform: none;
}

.tag {
  position: absolute;
  top: 17px;
  left: 17px;

  padding: 5px 10px;

  background: #f8f5e9e8;
  color: var(--green);

  border-radius: 2px;

  font-size: 10px;
  letter-spacing: 1.1px;
}

.product-body {
  padding: 23px 25px 24px;
}

.product-type {
  margin-bottom: 8px;

  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #7b806f;
}

.cards .product h3 {
  margin-bottom: 11px;
}

.cards .product p {
  min-height: 41px;

  font-size: 14px;
  line-height: 1.7;

  color: var(--muted);
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-top: 20px;
  padding-top: 17px;

  border-top: 1px solid var(--line);
}

.product-bottom small {
  color: #677460;
  font-size: 12px;
}

.product-link {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 0;

  background: transparent;
  color: var(--green);

  font-size: 13px;
  font-weight: 700;
}

.collection-note {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  margin-top: 28px;

  font-size: 13px;
  color: var(--muted);
}

.collection-note a {
  color: var(--green);
}

/* Current simplified collection in front-page.php */

.collection-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;

  margin-top: 35px;
}

.collection-mini article {
  padding: 30px;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 8px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.collection-mini article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 65, 46, 0.09);
}

.collection-mini h3 {
  font-size: 28px;
}

.collection-mini p {
  margin-top: 12px;

  font-size: 14px;
  color: var(--muted);
}


/* ==========================================
   12. OUR STORY SECTION
========================================== */

.story {
  background: #e9ede2;
  padding: 78px 0;
}

.story-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;

  gap: 85px;
}

.story-photo {
  position: relative;
  overflow: hidden;

  aspect-ratio: 1.2;
  border-radius: 7px;
}

.story-photo svg,
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;

  padding: 9px 15px;

  background: #f9f6eceb;

  font-size: 10px;
  letter-spacing: 1.3px;
}

.story .eyebrow {
  color: #7f682f;
  margin-bottom: 20px;
}

.story h2 {
  max-width: 430px;
}

.story-copy > p {
  max-width: 440px;

  margin-top: 23px;

  font-size: 15px;
  line-height: 1.95;

  color: #5f6a5e;
}

.story-list {
  display: grid;
  gap: 12px;

  margin: 25px 0;

  font-size: 14px;
}

.story-list div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-list div::before {
  content: "↗";
  color: #876d36;
  font-size: 17px;
}

.story .text-link {
  color: var(--green);
  border-color: #a4b09c;
}


/* ==========================================
   13. JOURNAL SECTION
========================================== */

.journal {
  padding: 87px 0 92px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.journal-card {
  padding-top: 24px;
  border-top: 1px solid #cad2c3;
}

.journal-card .number {
  margin-bottom: 16px;

  font-size: 11px;
  letter-spacing: 2px;

  color: #886f34;
}

.journal-card h3 {
  max-width: 300px;

  font-size: 25px;
  line-height: 1.25;
}

.journal-card p {
  max-width: 315px;

  margin: 13px 0 18px;

  color: var(--muted);
  font-size: 14px;
}

.journal-card .text-link {
  color: var(--green);
  font-size: 13px;
}


/* ==========================================
   14. FAQ SECTION
========================================== */

.faq {
  padding: 76px 0;
  background: var(--cream);
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;

  gap: 100px;
}

.faq .eyebrow {
  margin-bottom: 19px;
  color: #7f682f;
}

.faq h2 {
  max-width: 320px;
}

.faq-lead {
  max-width: 300px;

  margin-top: 19px;

  font-size: 14px;
  color: var(--muted);
}

.faq-list details {
  border-bottom: 1px solid #cfd4c6;
}

.faq-list details:first-child {
  border-top: 1px solid #cfd4c6;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  padding: 21px 0;

  font-size: 15px;
  font-weight: 600;

  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";

  color: #7d773f;

  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 540px;

  padding-bottom: 22px;

  font-size: 14px;
  line-height: 1.9;

  color: var(--muted);
}


/* ==========================================
   15. CALL TO ACTION SECTION
========================================== */

.cta {
  padding: 63px 0;

  background: var(--green);
  color: #f3f2e8;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.cta h2 {
  font-size: 42px;
}

.cta p {
  margin-top: 12px;

  font-size: 14px;
  color: #c4d4c2;
}

/* ==========================================
   18. PREVIEW CONTROLS
   Preserved from original stylesheet
========================================== */

.preview-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 50;

  padding: 9px 15px;

  background: var(--paper);
  color: var(--green);

  border: 1px solid #d3d7cd;
  border-radius: 30px;

  font-size: 11px;

  box-shadow: 0 3px 20px #0001;
}

.preview-panel {
  position: fixed;
  bottom: 65px;
  left: 20px;
  z-index: 50;

  display: none;

  width: 320px;
  padding: 22px;

  background: var(--paper);

  border: 1px solid var(--line);
  border-radius: 9px;

  box-shadow: 0 8px 50px #0002;
}

.preview-panel.open {
  display: block;
}

.preview-panel h3 {
  margin-bottom: 10px;

  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.preview-panel p {
  margin-bottom: 15px;

  font-size: 12px;
  color: var(--muted);
}

.preview-panel label {
  display: block;
  font-size: 12px;
}

.preview-panel input {
  max-width: 100%;
  margin-top: 9px;
  font-size: 12px;
}

.preview-panel button {
  margin-top: 16px;
  padding: 8px 13px;

  background: #e6ebdf;
  border-radius: 3px;

  font-size: 12px;
}

.preview-panel .refs {
  margin-top: 16px;
  padding-top: 12px;

  border-top: 1px solid var(--line);

  font-size: 12px;
}

.preview-panel .refs a {
  margin-right: 10px;
  text-decoration: underline;
}

.preview-status {
  margin-top: 12px;

  color: #7b602c;
  font-size: 12px;
}


/* ==========================================
   19. MODAL
========================================== */

.modal {
  width: min(520px, calc(100% - 36px));
  max-height: 85vh;

  padding: 34px;

  overflow: auto;

  background: var(--paper);
  color: var(--ink);

  border: 1px solid #d9ddcf;
  border-radius: 10px;

  box-shadow: 0 20px 100px #0004;
}

.modal::backdrop {
  background: #082117a8;
  backdrop-filter: blur(5px);
}

.modal .close {
  float: right;

  width: 32px;
  height: 32px;

  background: #e7eadf;
  color: var(--green);

  border-radius: 50%;
  font-size: 20px;
}

.modal .eyebrow {
  margin: 15px 0;
  color: #7f682f;
}

.modal h2 {
  clear: both;

  margin-bottom: 20px;

  font-size: 37px;
  line-height: 1.15;
}

.modal p {
  color: var(--muted);

  font-size: 14px;
  line-height: 1.9;
}

.modal .fact {
  margin-top: 20px;
  padding-top: 18px;

  border-top: 1px solid var(--line);

  font-size: 13px;
}

.modal .demo {
  margin-top: 22px;
  padding: 12px;

  background: #eee8d6;
  color: #8b7640;

  border-radius: 3px;

  font-size: 12px;
}

.modal .btn {
  margin-top: 22px;
}


/* ==========================================
   20. HERO ANIMATIONS
========================================== */

.hero-art,
.hero-copy {
  animation: injigan-arrive 0.8s ease-out both;
}

.hero-art {
  animation-delay: 0.15s;
}

@keyframes injigan-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
