/* ═══════════════════════════════════════════════════
   About page — about.css
═══════════════════════════════════════════════════ */

.ab-main {
  background: var(--dovetail-white);
}

.ab-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.ab-section {
  padding: clamp(72px, 8vw, 110px) 0;
}

/* ═══════════════════════════════════════════════════
   Shared heading — Cal Sans line + Old Standard TT italic line
═══════════════════════════════════════════════════ */

.ab-heading {
  margin: 0 0 36px;
  line-height: 1;
  text-wrap: balance;
}

.ab-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(32px, 3.8vw, 58px);
  font-weight: 600;
  color: var(--dovetail-dark);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.ab-ott {
  display: block;
  font-family: "Old Standard TT", serif !important;
  font-style: italic;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 400;
  color: var(--dovetail-accent-strong);
  line-height: 1.05;
  margin-top: 8px;
}

/* ── Shared prose ── */
.ab-prose {
  margin: 0 0 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(31, 30, 27, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-prose p {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--dovetail-taupe-700);
  text-wrap: pretty;
}

/* Buttons: shared .dd-btn system in components.css.
   Copy columns are flex, so keep the button from stretching. */
.ab-welcome-copy .dd-btn,
.ab-founder-inner .dd-btn {
  align-self: flex-start;
}

/* ── Inline text link ── */
.ab-inline-link {
  display: inline-block;
  margin-top: 36px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--dovetail-dark);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ab-inline-link:hover {
  color: var(--dovetail-accent-strong);
  border-color: var(--dovetail-accent-strong);
}

/* ═══════════════════════════════════════════════════
   Hero — full-width photographic banner
═══════════════════════════════════════════════════ */

.ab-page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ab-page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ab-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.25)
  );
}

.ab-page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.ab-page-hero-h1 {
  margin-bottom: 0;
}

.ab-page-hero-h1 .ab-cal {
  color: var(--dovetail-white);
  font-size: clamp(44px, 5.5vw, 84px);
}

.ab-page-hero-h1 .ab-ott {
  color: var(--dovetail-green-200);
  font-size: clamp(30px, 4vw, 60px);
}

/* ── Breadcrumb nav ── */
.ab-breadcrumb {
  margin-bottom: 28px;
}

.ab-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--dovetail-taupe-700);
}

.ab-breadcrumb li {
  display: flex;
  align-items: center;
}

.ab-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  opacity: 0.45;
  font-size: 10px;
}

.ab-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ab-breadcrumb a:hover {
  color: var(--dovetail-accent);
}

.ab-breadcrumb [aria-current="page"] {
  color: var(--dovetail-dark);
}

/* Light variant on the photo hero */
.ab-breadcrumb--light ol {
  color: rgba(255, 255, 255, 0.75);
}

.ab-breadcrumb--light [aria-current="page"] {
  color: var(--dovetail-white);
}

.ab-breadcrumb--light a:hover {
  color: var(--dovetail-green-200);
}

/* ═══════════════════════════════════════════════════
   Welcome — two columns: copy + latest work image
═══════════════════════════════════════════════════ */

.ab-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.ab-welcome-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ab-welcome-img {
  overflow: hidden;
}

.ab-welcome-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════
   Founder — split panel (cream copy + portrait)
═══════════════════════════════════════════════════ */

.ab-founder {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 78vh;
}

.ab-founder-left {
  background: var(--dovetail-bg);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 100px 60px 100px max(40px, calc((100vw - 1400px) / 2 + 40px));
}

.ab-founder-inner {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
}

.ab-founder-right {
  position: relative;
  overflow: hidden;
}

.ab-founder-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ═══════════════════════════════════════════════════
   Selected work — recent projects
═══════════════════════════════════════════════════ */

.ab-work-grid {
  list-style: none;
  margin: -14px 0 0;
  padding: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ab-work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dovetail-white, #ffffff);
  border: 1px solid rgba(31, 30, 27, 0.12);
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-work-card:hover {
  transform: translateY(-6px);
  background: var(--dovetail-dark, #171614);
  border-color: var(--dovetail-dark, #171614);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.ab-work-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--dovetail-dark);
}

.ab-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.ab-work-card:hover .ab-work-media img {
  transform: scale(1.06);
  opacity: 0.92;
}

.ab-work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.ab-work-loc {
  display: block;
  margin-bottom: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dovetail-taupe-700, #22574A);
  transition: color 0.35s ease;
}

.ab-work-card:hover .ab-work-loc {
  color: rgba(213, 200, 175, 0.65);
}

.ab-work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.ab-work-name {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dovetail-dark, #1f1e1b);
  line-height: 1.25;
  transition: color 0.35s ease;
}

.ab-work-card:hover .ab-work-name {
  color: #d5c8af;
}

.ab-work-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(31, 30, 27, 0.15);
  color: var(--dovetail-dark, #1f1e1b);
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.ab-work-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.35s ease;
}

.ab-work-card:hover .ab-work-arrow {
  background: rgba(213, 200, 175, 0.12);
  border-color: rgba(213, 200, 175, 0.35);
  color: #d5c8af;
}

.ab-work-card:hover .ab-work-arrow svg {
  transform: translateX(3px);
}

.ab-work-action {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.ab-work-action .dd-btn svg {
  transition: transform 0.3s ease;
}

.ab-work-action .dd-btn:hover svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════
   Partners — the company we keep
═══════════════════════════════════════════════════ */

.ab-partners {
  background: var(--dovetail-bg);
}

.ab-partners-lede {
  margin: -12px 0 44px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--dovetail-taupe-700);
  max-width: 60ch;
}

/* Editorial ledger: hairline-divided rows, serif-italic names,
   discipline micro-labels, and an arrow that answers on hover. */
.ab-partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dovetail-border);
}

.ab-partners-list li {
  border-bottom: 1px solid var(--dovetail-border);
}

.ab-partner-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 30px) clamp(4px, 1.2vw, 16px);
  text-decoration: none;
  transition: background 0.25s ease;
}

.ab-partner-row:hover {
  background: var(--dovetail-white);
}

.ab-partner-row:focus-visible {
  outline: 2px solid var(--dovetail-accent);
  outline-offset: 3px;
}

.ab-partner-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 8px;
  background: var(--dovetail-white);
  border: 1px solid var(--dovetail-border);
  overflow: hidden;
}

.ab-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ab-partner-logo.is-monogram {
  background: var(--dovetail-taupe-100);
}

.ab-partner-mono {
  font-family: "Old Standard TT", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dovetail-taupe-700);
}

.ab-partner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ab-partner-disc {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-taupe-700);
}

.ab-partner-name {
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--dovetail-dark);
  line-height: 1.15;
  transition: color 0.2s ease;
}

.ab-partner-row:hover .ab-partner-name {
  color: var(--dovetail-accent-strong);
}

.ab-partner-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--dovetail-taupe-700);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.ab-partner-row:hover .ab-partner-arrow {
  transform: translateX(6px);
  color: var(--dovetail-accent-strong);
}

/* CTA banner + scroll reveal: shared (components.css / reveal.js) */

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ab-breadcrumb a,
  .ab-work-media img,
  .ab-inline-link,
  .ab-partner-row,
  .ab-partner-name,
  .ab-partner-arrow {
    transition: none;
  }
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .ab-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .ab-page-hero {
    min-height: 72vh;
  }

  .ab-founder {
    min-height: 64vh;
  }

  .ab-founder-left {
    padding: 72px 48px 72px 40px;
  }

  .ab-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .ab-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ab-page-hero {
    min-height: 72vh;
  }

  .ab-page-hero-content {
    padding-top: 120px;
  }

  .ab-welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-founder {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .ab-founder-left {
    justify-content: flex-start;
    padding: 56px 24px 64px;
  }

  .ab-founder-inner {
    max-width: 100%;
  }

  .ab-founder-right {
    aspect-ratio: 3 / 4;
  }

  .ab-work-grid {
    grid-template-columns: 1fr;
  }

  .ab-partner-logo {
    width: 52px;
    height: 52px;
  }

  .ab-partner-name {
    font-size: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   As Seen In — Press Feature Section
═══════════════════════════════════════════════════ */
.ab-press {
  background: var(--dovetail-dark);
  padding: clamp(72px, 9vw, 120px) 0;
}

.ab-press-kicker {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(213, 200, 175, 0.5);
  margin: 0 0 36px;
}

.ab-press-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid rgba(213, 200, 175, 0.15);
  padding-top: 40px;
}

/* Left — publication nameplate */
.ab-press-pub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 100px;
}

.ab-press-pub-name {
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  color: #d5c8af;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ab-press-pub-label {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(213, 200, 175, 0.45);
}

/* Right — editorial content */
.ab-press-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ab-press-quote {
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  color: #e5dccb;
  margin: 0;
}

.ab-press-desc {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(213, 200, 175, 0.65);
  margin: 0;
  max-width: 64ch;
}

.ab-press-link,
a.ab-press-link,
a.ab-press-link:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 14px 28px !important;
  background: transparent !important;
  border: 1px solid #d5c8af !important;
  color: #d5c8af !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  width: fit-content !important;
  margin-top: 8px !important;
  box-shadow: none !important;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
}

.ab-press-link:hover,
.ab-press-link:focus-visible,
a.ab-press-link:hover,
a.ab-press-link:focus-visible {
  background: #d5c8af !important;
  border-color: #d5c8af !important;
  color: #171614 !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
}

.ab-press-link svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  fill: none !important;
  transition: transform 0.3s ease !important;
}

.ab-press-link:hover svg {
  transform: translateX(4px) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .ab-press-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ab-press-pub {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
}
