﻿.about-section {
  position: relative;
  overflow: hidden;
  /* No river at the foot of About: the ribbon below closes the section and
     the FAQ's own top padding provides the gap. */
  padding-bottom: 0;
  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);
}

/* Tablets (641px to 1024px): the desktop two-column grid leaves the story in
   a narrow, heavily justified column beside a floating image. Here the
   photo spans the width and the story sits beneath it in a comfortable,
   centred measure, matching the centred headings above and below. */
@media (min-width: 641px) and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .about-visual img {
    height: clamp(320px, 44vw, 460px);
  }

  .about-story {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
  }

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

/* Just below the tablet range the single-column layout already applies, but
   the story keeps its desktop 500px cap and no longer lines up with the
   photo above it once the container is wider than that. */
@media (min-width: 533px) and (max-width: 640px) {
  .about-story {
    max-width: none;
  }
}

/* Tablets: the three points stack as one centred column, in the order and
   with the thin separators of the phone layout, but centred and held to a
   readable measure so the paragraphs do not stretch across the screen. */
@media (min-width: 641px) and (max-width: 1024px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
  }

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

  .about-feature:first-child {
    padding-top: 0;
  }

  .about-feature:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .about-feature h3 {
    min-height: 0;
    margin: 14px auto 12px;
    font-size: 2.25rem;
  }

  .about-feature p {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    text-justify: auto;
  }
}

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

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

  .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;
  }
}

/* ------------------------------------------------------------------
   Closing ribbon: a slow, full-width drift of the promises made above,
   alternating the display face with the italic accent the way the section
   headlines do. Pauses on hover; stands still and wraps when motion is
   reduced.
   ------------------------------------------------------------------ */
.about-ribbon {
  position: relative;
  margin: 72px 0 0;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(168, 98, 42, 0.45);
  border-bottom: 1px solid rgba(168, 98, 42, 0.45);
  background:
    repeating-linear-gradient(175deg, rgba(168, 98, 42, 0.04) 0 2px, transparent 2px 14px),
    rgba(168, 98, 42, 0.06);
}

.about-ribbon-track {
  display: flex;
  width: max-content;
  animation: about-ribbon-drift 52s linear infinite;
  will-change: transform;
}

.about-ribbon:hover .about-ribbon-track {
  animation-play-state: paused;
}

.about-ribbon-list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-ribbon-list li {
  display: flex;
  align-items: center;
  padding-right: 34px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-ribbon-list li::before {
  margin-right: 34px;
  color: var(--walnut);
  content: "✦";   /* the four-pointed star of the hero strip */
  font-size: 0.72em;
  line-height: 1;
}

.about-ribbon-list li:nth-child(even) {
  color: var(--walnut-dark);
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

@keyframes about-ribbon-drift {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .about-ribbon {
    margin-top: 48px;
    padding: 14px 0;
  }

  .about-ribbon-list li {
    padding-right: 24px;
  }

  .about-ribbon-list li::before {
    margin-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-ribbon-track {
    width: 100%;
    animation: none;
  }

  .about-ribbon-list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    width: 100%;
  }

  .about-ribbon-list[aria-hidden] {
    display: none;
  }
}

/* Desktop (1025px and up): the photo spans the full height of the story
   column, from the top of the first paragraph to the foot of the
   "Why Chikati?" note. */
@media (min-width: 1025px) {
  .about-grid {
    align-items: stretch;
  }

  /* The story column has 12px of padding top and bottom; matching it keeps
     the photo's edges level with the first line and the note's foot. */
  .about-visual {
    align-self: stretch;
    display: flex;
    margin: 12px 0;
  }

  .about-visual img {
    flex: 1 1 auto;
    height: auto;
    min-height: 100%;
  }

  .about-story > :first-child,
  .about-intro-copy > :first-child {
    margin-top: 0;
  }

  .about-story > :last-child {
    margin-bottom: 0;
  }
}

/* Phones: the three points take the tablet arrangement, centred, with the
   same separators and spacing, sized for the narrower screen. */
@media (max-width: 640px) {
  .about-feature,
  .about-feature:last-child {
    padding: 22px 0;
    text-align: center;
  }

  .about-feature:first-child {
    padding-top: 0;
  }

  .about-feature:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .about-feature h3 {
    margin: 12px auto 10px;
  }

  .about-feature p {
    margin: 0 auto;
    text-align: center;
    text-justify: auto;
  }
}

/* Heading line breaks in the three points are used on desktop only. */
.about-feature-break {
  display: none;
}

/* Desktop (1025px and up): the three points take the tablet's centred style,
   set side by side in three equal columns with thin dividers between them.
   Headings share one height so the three paragraphs start on the same line. */
@media (min-width: 1025px) {
  .about-features {
    gap: 0;
    align-items: stretch;
  }

  .about-feature,
  .about-feature:last-child {
    padding: 6px clamp(24px, 3vw, 48px) 8px;
    text-align: center;
  }

  .about-feature + .about-feature {
    border-left: 1px solid rgba(12, 33, 30, 0.16);
  }

  .about-feature-break {
    display: inline;
  }

  .about-feature h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2.2em;
    margin: 14px auto 12px;
    font-size: clamp(1.9rem, 2.3vw, 2.3rem);
  }

  .about-feature p {
    max-width: 36ch;
    margin: 0 auto;
    text-align: center;
    text-justify: auto;
  }
}
