/* WST template styles — static content pages (About + Contact).
 * Pairs with page-templates/page-about.php and page-templates/page-contact.php.
 * Conditionally enqueued on those two page templates only.
 * Builds on the homepage-v2 design system: warm paper palette, serif
 * headlines, mono eyebrows, terracotta accent, generous whitespace.
 * Reuses the global page-hero / section-header components — only the
 * page-unique blocks are styled here. */

/* ======================================================================
   ABOUT
   ====================================================================== */

/* ---- Editorial story section ---- */
.about-story {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
}
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* Media column — overlapping photos + a founding-year badge. */
.about-story__media {
  position: relative;
  min-height: 440px;
}
.about-story__photo {
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
}
.about-story__photo--lg {
  width: 78%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px -28px rgba(26, 32, 29, 0.45);
}
.about-story__photo--sm {
  position: absolute;
  right: 0;
  bottom: 18%;
  width: 50%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--paper);
  box-shadow: 0 18px 44px -22px rgba(26, 32, 29, 0.5);
}
.about-story__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--teal);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 22px;
  box-shadow: 0 16px 40px -20px rgba(12, 74, 74, 0.7);
}
.about-story__badge-n {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.about-story__badge-l {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Copy column. */
.about-story__copy {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.about-story__copy > p + p {
  margin-top: 1.1em;
}
.about-story__copy .wst-prose {
  font-size: inherit;
}
.about-story__note {
  margin-top: 1.4em;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---- Values + stats band ---- */
.about-values {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(56px, 7vw, 104px) 0;
}
.about-values__head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.about-values__head .eyebrow {
  margin: 0 0 14px;
}
.about-values__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.about-values__title em {
  font-style: italic;
  color: var(--terra);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
}
.about-value {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 34px);
}
.about-value__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--terra);
}
.about-value__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
  color: var(--ink);
}
.about-value__d {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Stats strip. */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.about-stat__n {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--teal);
}
.about-stat__l {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---- Closing CTA ---- */
.about-cta {
  padding: clamp(56px, 8vw, 112px) 0;
}
.about-cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: var(--teal);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
}
.about-cta__copy {
  max-width: 560px;
}
.about-cta .eyebrow {
  color: var(--sand);
}
.about-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 16px 0 14px;
  color: var(--white);
}
.about-cta__title em {
  font-style: italic;
  color: var(--terra-soft);
}
.about-cta__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sand);
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.about-cta__actions .btn-ghost {
  color: var(--paper);
  border-color: rgba(245, 239, 230, 0.3);
}
.about-cta__actions .btn-ghost:hover {
  background: rgba(245, 239, 230, 0.1);
}

/* ---- About responsive ---- */
@media (max-width: 960px) {
  .about-story__grid {
    grid-template-columns: 1fr;
  }
  .about-story__media {
    min-height: 360px;
    max-width: 480px;
  }
  .about-values__grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .about-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .about-story__media {
    min-height: 300px;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
   CONTACT
   ====================================================================== */

.contact-main {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

/* ---- Details panel ---- */
.contact-panel {
  background: var(--teal);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
  position: sticky;
  top: 28px;
}
.contact-panel .eyebrow {
  color: var(--sand);
  margin: 0 0 14px;
}
.contact-panel__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--white);
}
.contact-panel__intro {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sand);
}

.contact-channels {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 239, 230, 0.16);
}
.contact-channel:first-child {
  border-top: 0;
  padding-top: 0;
}
.contact-channel__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.contact-channel__value {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.15s ease;
  word-break: break-word;
}
a.contact-channel__value:hover {
  color: var(--terra-soft);
}
.contact-channel__value--static {
  font-weight: 500;
  color: var(--paper);
}

.contact-panel__wa {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.contact-social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 239, 230, 0.16);
}
.contact-social__label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.contact-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-social__list a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(245, 239, 230, 0.28);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.contact-social__list a:hover {
  background: rgba(245, 239, 230, 0.12);
  border-color: var(--sand);
}

/* ---- Form column ---- */
.contact-form-col {
  min-width: 0;
}

/* Status notices. */
.contact-notice {
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
}
.contact-notice--ok {
  background: rgba(12, 74, 74, 0.08);
  border: 1px solid var(--teal);
  color: var(--teal-deep);
}
.contact-notice--err {
  background: rgba(184, 90, 60, 0.1);
  border: 1px solid var(--terra);
  color: #8f4129;
}

/* Form. */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.contact-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.contact-field__req {
  color: var(--terra);
}
.contact-field input,
.contact-field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted);
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 74, 74, 0.12);
}

/* Honeypot — kept off-screen but reachable for the few bots that need it. */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__note {
  margin: 4px 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.contact-form__submit {
  border: 0;
}

.contact-prose {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}

/* ---- Contact responsive ---- */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-panel {
    position: static;
  }
}
@media (max-width: 560px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
