﻿.about-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 48px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 10%, rgba(255, 255, 255, 0.58), transparent 32%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand) 100%);
}

.about-note-trigger {
  position: absolute;
  z-index: 1;
  top: 34px;
  right: max(16px, calc((100vw - 1300px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(12, 33, 30, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--forest);
  font: 600 0.68rem/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.about-note-trigger:hover,
.about-note-trigger:focus-visible {
  border-color: rgba(12, 33, 30, 0.55);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.about-note-trigger:focus-visible,
.owner-story-close:focus-visible {
  outline: 2px solid var(--walnut-dark);
  outline-offset: 3px;
}

.about-note-trigger span {
  font-size: 0.95rem;
}

.owner-story {
  position: fixed;
  inset: 9vh max(20px, calc((100vw - 1300px) / 2)) auto auto;
  width: min(600px, calc(100vw - 40px));
  max-width: none;
  max-height: 82vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 33, 30, 0.16);
  border-radius: 5px;
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(1, 9, 8, 0.3);
}

.owner-story::backdrop {
  background: rgba(5, 16, 14, 0.54);
  backdrop-filter: blur(3px);
}

.owner-story-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 24px;
  border-bottom: 1px solid rgba(12, 33, 30, 0.16);
  background: var(--sand);
}

.owner-story-kicker {
  margin: 0 0 8px;
  color: var(--walnut-dark);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.owner-story-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.owner-story-subtitle {
  margin: 12px 0 0;
  color: var(--walnut-dark);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.15;
  text-wrap: balance;
}

/* Fraunces has no Devanagari glyphs; use the already-loaded Noto Sans
   Devanagari (700 only) and avoid a synthesised slant on that word. */
.owner-story-subtitle span[lang="hi"] {
  font-family: var(--font-devanagari);
  font-style: normal;
  font-weight: 700;
}

.owner-story-close {
  flex: 0 0 auto;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(12, 33, 30, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font: 300 1.7rem/1 var(--font-body);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.owner-story-close:hover {
  background: rgba(12, 33, 30, 0.08);
  transform: rotate(90deg);
}

.owner-story-copy {
  max-height: calc(82vh - 176px);
  padding: 24px 34px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(118, 91, 66, 0.55) transparent;
  scrollbar-width: thin;
  margin: 0;
}

.owner-story-quote {
  margin: 0;
}

.owner-story-quote::before,
.owner-story-quote::after {
  display: block;
  color: var(--walnut);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.72;
}

.owner-story-quote::before {
  content: "\201C";
  margin-bottom: 10px;
}

.owner-story-quote::after {
  content: "\201D";
  margin-top: 10px;
  text-align: right;
}

.owner-story-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(12, 33, 30, 0.16);
}

.owner-story-profile img {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border: 3px solid rgba(118, 91, 66, 0.3);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.owner-story-profile h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.owner-story-profile .owner-story-role,
.owner-story-profile .owner-story-company {
  margin: 5px 0 0;
  color: var(--walnut-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.owner-story-quote p {
  margin: 0 0 18px;
  color: rgba(11, 22, 20, 0.8);
  font-size: 0.91rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.owner-story-quote p:last-child {
  margin-bottom: 0;
}

.owner-story-quote strong {
  color: var(--forest);
}

.about-title {
  margin: 0 0 48px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--type-h2);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.about-title em {
  color: var(--walnut);
  font-weight: 500;
}

.about-intro-copy {
  color: rgba(11, 22, 20, 0.78);
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.about-intro-copy > p {
  margin: 0 0 20px;
  text-align: justify;
  text-justify: inter-word;
}

.about-intro-copy strong {
  color: var(--forest);
  font-weight: 700;
}

.about-origin {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 33, 30, 0.18);
}

.about-origin img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.about-origin div {
  display: grid;
  gap: 2px;
}

.about-origin div span {
  color: rgba(11, 22, 20, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-origin div strong {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.about-visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  background: var(--walnut);
  box-shadow: 0 24px 52px rgba(16, 26, 23, 0.16);
}

.about-visual img {
  width: 100%;
  height: clamp(360px, 43vw, 540px);
  object-fit: cover;
}

.about-visual figcaption {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: auto;
  left: auto;
  max-width: min(78%, 360px);
  padding: 12px 18px;
  background: linear-gradient(270deg, rgba(4, 32, 15, 0.84), rgba(4, 32, 15, 0.48) 78%, transparent);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-align: right;
}

.about-story {
  max-width: 500px;
  padding: 12px 0;
}

.about-story-detail {
  margin-top: 32px;
}

.about-story-detail h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.about-story-detail p {
  margin: 0 0 18px;
  color: rgba(11, 22, 20, 0.76);
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;  gap: 34px;
}

.about-feature {
  padding: 14px 4px 0 0;
}

.about-feature-number {
  color: var(--walnut-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.about-feature h3 {
  min-height: 2.1em;
  margin: 18px 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.about-feature p {
  margin: 0;
  color: rgba(11, 22, 20, 0.72);
  font-size: 0.94rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.about-tagline {
  margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
}

@media (max-width: 760px) {
  .about-grid {
    gap: 36px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

  .about-feature:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 78px 0 36px;
  }

  .about-note-trigger {
    top: 18px;
    right: 16px;
    padding: 9px 12px;
    font-size: 0.58rem;
  }

  .owner-story {
    inset: auto 12px 12px;
    width: auto;
    max-height: 88dvh;
    border-radius: 4px;
  }

  .owner-story-header {
    padding: 24px 22px 19px;
  }

  .owner-story-copy {
    max-height: calc(88dvh - 160px);
    padding: 20px 22px 26px;
  }

  .owner-story-profile {
    gap: 14px;
  }

  .owner-story-profile img {
    width: 72px;
    height: 72px;
  }

  .owner-story-profile h3 {
    font-size: 1.55rem;
  }

  .owner-story-quote p {
    hyphens: auto;
  }

  .about-title {
    margin-bottom: 34px;
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 0.98;
    white-space: normal;
  }

  .about-title em {
    display: block;
    font-size: clamp(0.8rem, 7.4vw, 2.1rem);
    white-space: nowrap;
  }

  .about-story-detail h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.05;
    white-space: normal;
  }

  .about-intro-copy {
    text-align: left;
    text-justify: auto;
  }

  .about-intro-copy > p,
  .about-story-detail p,
  .about-feature p {
    text-align: justify;
    text-justify: inter-word;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-visual img {
    height: min(112vw, 480px);
  }

  .about-story-detail {
    margin-top: 28px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-feature,
  .about-feature:last-child {
    grid-column: auto;
    padding: 12px 0;
    border-bottom: 1px solid rgba(12, 33, 30, 0.16);
  }

  .about-feature h3 {
    min-height: 0;
    font-size: 2.25rem;
  }

  .about-tagline {
    margin: 30px 0 22px;
  }
}
