:root {
  --ab-navy: #431706;
  --ab-navy-deep: #241008;
  --ab-blue: #df5200;
  --ab-red: #f06400;
  --ab-red-deep: #a93b00;
  --ab-canvas: #fff6ec;
  --ab-ink: #3b2418;
  --ab-muted: #745f52;
  --ab-line: #f0dccb;
  --ab-white: #FFFFFF;
  --ab-font-display: "Anton", "Be Vietnam Pro", Arial, sans-serif;
  --ab-font-body: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
  --ab-font-mono: "JetBrains Mono", "Courier New", monospace;
  --ab-container: 1280px;
  --ab-radius: 12px;
  --ab-ease: cubic-bezier(.22, 1, .36, 1);
}

.about-flex {
  overflow-x: clip;
  background:
    linear-gradient(180deg, #fff 0%, var(--ab-canvas) 38%, #fff 100%);
  color: var(--ab-ink);
  font-family: var(--ab-font-body);
}
.about-flex * { box-sizing: border-box; }
.about-flex img { display: block; max-width: 100%; }
.about-flex a { color: inherit; text-decoration: none; }

.ab-container { width: min(100% - 44px, var(--ab-container)); margin: 0 auto; }
.ab-section { position: relative; padding: 76px 0; }
.ab-section--white { background: #fff; }
.ab-section--navy {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(240,96,0,.24), transparent 31%),
    radial-gradient(circle at 92% 18%, rgba(255,155,77,.18), transparent 30%),
    linear-gradient(145deg, var(--ab-navy) 0%, var(--ab-navy-deep) 100%);
  color: #fff;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ab-red);
  font-family: var(--ab-font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ab-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--ab-red);
}
.ab-eyebrow--center { justify-content: center; }
.ab-section--navy .ab-eyebrow { color: #ffc38d; }
.ab-section--navy .ab-eyebrow::before { background: #ffc38d; }

.ab-h2 {
  margin: 0 0 18px;
  color: var(--ab-navy);
  font-family: var(--ab-font-display);
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.16;
  text-transform: uppercase;
}
.ab-intro-copy .ab-h2 {
  max-width: 24ch;
  font-family: var(--ab-font-body);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: none;
}
.ab-section--navy .ab-h2 { color: #fff; }
.ab-lead {
  max-width: 64ch;
  margin: 0 0 18px;
  color: var(--ab-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.76;
}
.ab-intro-copy .ab-lead {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
  overflow-wrap: break-word;
}
.ab-section--navy .ab-lead { color: rgba(255,255,255,.78); }
.ab-head { max-width: 780px; margin: 0 0 42px; }
.ab-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ab-head--center .ab-eyebrow { justify-content: center; }
.ab-head--center .ab-h2 { white-space: nowrap; }

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform .22s var(--ab-ease), box-shadow .22s var(--ab-ease), background-color .22s ease, color .22s ease;
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn--primary {
  background: linear-gradient(135deg, #ff9b4d 0%, var(--ab-red) 50%, var(--ab-red-deep) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(240,96,0,.32), inset 0 1px 0 rgba(255,255,255,.22);
}
.ab-btn--outline {
  border-color: rgba(24,23,19,.2);
  background: #fff;
  color: var(--ab-navy);
  box-shadow: 0 12px 28px rgba(24,23,19,.08);
}
.ab-btn--outline:hover { border-color: var(--ab-navy); background: var(--ab-navy); color: #fff; }
.ab-section--navy .ab-btn--outline { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); color: #fff; box-shadow: none; }
.ab-section--navy .ab-btn--outline:hover { background: #fff; color: var(--ab-navy); }
.ab-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.ab-hero {
  position: relative;
  overflow: hidden;
  background: var(--ab-navy-deep);
}
.ab-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.ab-brand-hero {
  position: relative;
  min-height: clamp(400px, 40vw, 580px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background-color: var(--ab-navy-deep);
  background-image:
    linear-gradient(90deg, rgba(36,16,8,.98) 0%, rgba(67,23,6,.9) 42%, rgba(67,23,6,.28) 72%, rgba(67,23,6,.12) 100%),
    var(--ab-hero-image);
  background-position: center, center;
  background-size: cover;
}
.ab-brand-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,155,77,.2), transparent 28%),
    linear-gradient(110deg, transparent 0 56%, rgba(240,96,0,.22) 56% 62%, transparent 62%);
  pointer-events: none;
}
.ab-brand-hero__inner { position: relative; z-index: 1; padding-block: 72px 96px; }
.ab-brand-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffc38d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ab-brand-hero__eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: var(--ab-red); }
.ab-brand-hero__title {
  max-width: 720px;
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--ab-font-body);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.ab-brand-hero__copy { max-width: 590px; margin: 0 0 28px; color: rgba(255,255,255,.84); font-size: 18px; font-weight: 600; line-height: 1.65; }
.ab-hero-slides {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 34vw, 520px);
}
.ab-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ab-ease);
}
.ab-hero-slide.is-active { opacity: 1; }
.ab-hero-slide img,
.ab-hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.ab-hero-slide img {
  object-fit: cover;
  object-position: center;
}
.ab-hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.ab-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
  transition: width .22s ease, background-color .22s ease;
}
.ab-hero-dot.is-active { width: 26px; background: var(--ab-red); }

.ab-intro-section:nth-of-type(even) .ab-intro-media { order: -1; }
.ab-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.ab-intro-copy {
  position: relative;
  z-index: 1;
}
.ab-intro-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f2e3d6;
  box-shadow: 0 24px 60px rgba(24,23,19,.16);
}
.ab-intro-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px dashed rgba(255,255,255,.7);
  border-radius: 14px;
  pointer-events: none;
}
.ab-intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,23,19,0) 55%, rgba(24,23,19,.18));
  pointer-events: none;
}
.ab-intro-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s var(--ab-ease);
}
.ab-intro-media:hover img { transform: scale(1.045); }

.ab-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.ab-stat {
  min-height: 104px;
  padding: 18px 16px;
  border: 1px solid rgba(223,82,0,.14);
  border-top: 4px solid var(--ab-red);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fff9f3 100%);
  box-shadow: 0 14px 30px rgba(24,23,19,.08);
}
.ab-stat-number {
  display: block;
  color: var(--ab-navy);
  font-family: var(--ab-font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: .95;
}
.ab-stat-label {
  display: block;
  margin-top: 8px;
  color: var(--ab-muted);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.ab-why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}
.ab-why-section .ab-container { position: relative; z-index: 1; }
.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ab-why-card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 22px 20px 21px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 14px 32px rgba(0,0,0,.13);
  transition: transform .25s var(--ab-ease), border-color .25s ease, box-shadow .25s var(--ab-ease);
}
.ab-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 56px rgba(0,0,0,.22);
}
.ab-why-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(240,96,0,.22);
}
.ab-why-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fff6ec);
  color: var(--ab-red);
  font-family: var(--ab-font-mono);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.ab-why-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.48;
  white-space: nowrap;
}
.ab-why-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.78;
}

.ab-contact-cta {
  padding: 46px 0;
  text-align: center;
}
.ab-contact-cta .ab-container {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  padding: 30px 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(240,96,0,.18), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  box-shadow: 0 18px 42px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.12);
}
.ab-contact-cta .ab-container::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: 10px;
  pointer-events: none;
}
.ab-contact-cta .ab-eyebrow,
.ab-contact-cta .ab-h2,
.ab-contact-cta .ab-lead,
.ab-contact-cta .ab-cta-row {
  position: relative;
  z-index: 1;
}
.ab-contact-cta .ab-h2 {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}
.ab-contact-cta .ab-lead {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .ab-section { padding: 58px 0; }
  .ab-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ab-intro-section:nth-of-type(even) .ab-intro-media { order: 0; }
  .ab-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-head--center .ab-h2 { white-space: normal; }
  .ab-intro-copy .ab-h2 {
    max-width: 22ch;
    font-size: clamp(30px, 6vw, 44px);
  }
}

@media (max-width: 620px) {
  .ab-container { width: min(100% - 30px, var(--ab-container)); }
  .ab-section { padding: 42px 0; }
  .ab-hero-slides { min-height: 230px; }
  .ab-brand-hero {
    min-height: 560px;
    align-items: end;
    background-image:
      linear-gradient(180deg, rgba(36,16,8,.12) 0%, rgba(36,16,8,.52) 42%, rgba(36,16,8,.98) 76%, #241008 100%),
      var(--ab-hero-image);
    background-position: center, 48% center;
  }
  .ab-brand-hero__inner { padding-block: 230px 74px; }
  .ab-brand-hero__title { font-size: clamp(35px, 10vw, 44px); line-height: 1.08; }
  .ab-brand-hero__copy { font-size: 16px; line-height: 1.6; }
  .ab-h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
  }
  .ab-intro-copy .ab-h2 {
    max-width: 100%;
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.22;
  }
  .ab-eyebrow {
    max-width: 100%;
    font-size: 11px;
    letter-spacing: .1em;
    line-height: 1.45;
  }
  .ab-lead { font-size: 15.5px; line-height: 1.7; }
  .ab-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ab-stat { min-height: 92px; padding: 15px 12px; }
  .ab-stat-number { font-size: 30px; }
  .ab-stat-label { font-size: 12px; }
  .ab-why-grid { grid-template-columns: 1fr; gap: 14px; }
  .ab-why-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 14px;
  }
  .ab-why-index {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  .ab-why-card h3 { font-size: 16px; line-height: 1.45; white-space: normal; }
  .ab-why-card p { font-size: 13.8px; line-height: 1.7; }
  .ab-contact-cta { padding: 34px 0; }
  .ab-contact-cta .ab-container {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .ab-contact-cta .ab-container::before { inset: 8px; border-radius: 9px; }
  .ab-contact-cta .ab-h2 {
    max-width: 100%;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.18;
  }
  .ab-contact-cta .ab-lead { margin-bottom: 16px; }
  .ab-cta-row { display: grid; grid-template-columns: 1fr; }
  .ab-btn { width: 100%; }
}

/* About page — editorial structure created specifically for Đồng Phục Cafe. */
.cfa-manifesto { padding: 94px 0 0; background: #fff; }
.cfa-manifesto__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(50px,8vw,120px); align-items: start; }
.cfa-manifesto__heading h1 { max-width: 780px; margin: 0; color: var(--ab-navy); font-size: clamp(40px,4.6vw,64px); line-height: 1.08; letter-spacing: -.045em; }
.cfa-manifesto__copy { padding-top: 34px; border-top: 1px solid var(--ab-line); }
.cfa-manifesto__copy p { margin: 0 0 20px; color: var(--ab-muted); font-size: 17px; font-weight: 500; line-height: 1.82; text-align: justify; text-align-last: left; }
.cfa-proof-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 70px; border-top: 1px solid var(--ab-line); border-bottom: 1px solid var(--ab-line); }
.cfa-proof-strip > div { display: grid; gap: 7px; padding: 32px 30px; border-right: 1px solid var(--ab-line); }
.cfa-proof-strip > div:last-child { border-right: 0; }
.cfa-proof-strip strong { color: var(--ab-red); font-family: var(--ab-font-display); font-size: clamp(38px,4vw,58px); font-weight: 400; line-height: 1; }
.cfa-proof-strip span { color: var(--ab-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.cfa-recipe { padding: 94px 0; background: var(--ab-canvas); }
.cfa-recipe__head { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.58fr); gap: clamp(40px,8vw,110px); align-items: end; margin-bottom: 48px; }
.cfa-recipe__head h2 { max-width: 760px; margin: 0; color: var(--ab-navy); font-size: clamp(40px,4.5vw,62px); line-height: 1.08; letter-spacing: -.04em; }
.cfa-recipe__head > p { margin: 0; color: var(--ab-muted); line-height: 1.75; text-align: justify; text-align-last: left; }
.cfa-recipe__list { border-top: 1px solid #d9bda7; }
.cfa-recipe__list article { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 26px; padding: 29px 0; border-bottom: 1px solid #d9bda7; transition: padding-left .28s var(--ab-ease), background-color .28s ease; }
.cfa-recipe__list article:hover { padding-left: 18px; background: rgba(255,255,255,.5); }
.cfa-recipe__list article > span { color: var(--ab-red); font-family: var(--ab-font-mono); font-size: 13px; font-weight: 900; }
.cfa-recipe__list article > div { display: grid; grid-template-columns: minmax(210px,.42fr) minmax(0,1fr); gap: 34px; align-items: baseline; }
.cfa-recipe__list h3 { margin: 0; color: var(--ab-navy); font-size: clamp(24px,2.5vw,34px); line-height: 1.2; }
.cfa-recipe__list p { margin: 0; color: var(--ab-muted); line-height: 1.72; text-align: justify; text-align-last: left; }

.cfa-standards { padding: 96px 0; background: linear-gradient(145deg,var(--ab-navy),var(--ab-navy-deep)); color: #fff; }
.cfa-standards__grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(50px,8vw,120px); align-items: start; }
.cfa-standards__intro { position: sticky; top: 110px; }
.cfa-standards__intro .ab-eyebrow { color: #ffc38d; }
.cfa-standards__intro .ab-eyebrow::before { background: currentColor; }
.cfa-standards__intro h2 { margin: 0 0 30px; color: #fff; font-size: clamp(39px,4vw,58px); line-height: 1.08; letter-spacing: -.04em; }
.cfa-standards__rows { border-top: 1px solid rgba(255,255,255,.18); }
.cfa-standards__rows article { display: grid; grid-template-columns: 160px minmax(180px,.55fr) minmax(0,1fr); gap: 26px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.18); align-items: start; }
.cfa-standards__rows strong { color: #ffc38d; font: 800 11px/1.5 var(--ab-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.cfa-standards__rows h3 { margin: 0; color: #fff; font-size: 19px; line-height: 1.42; }
.cfa-standards__rows p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.75; text-align: justify; text-align-last: left; }

.cfa-closing { padding: 78px 0; background: #fff; }
.cfa-closing__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.65fr); gap: clamp(50px,9vw,130px); align-items: center; padding: 48px; border: 1px solid var(--ab-line); background: linear-gradient(120deg,#fff 0%,#fff 66%,#fff4e8 100%); box-shadow: 0 24px 70px rgba(67,23,6,.08); }
.cfa-closing h2 { max-width: 760px; margin: 0; color: var(--ab-navy); font-size: clamp(38px,4vw,56px); line-height: 1.08; letter-spacing: -.04em; }
.cfa-closing__inner > div:last-child > p { margin: 0 0 24px; color: var(--ab-muted); line-height: 1.72; text-align: justify; text-align-last: left; }

@media (max-width: 980px) {
  .cfa-manifesto__grid,
  .cfa-recipe__head,
  .cfa-standards__grid,
  .cfa-closing__inner { grid-template-columns: 1fr; }
  .cfa-manifesto__copy { padding-top: 26px; }
  .cfa-standards__intro { position: static; max-width: 720px; }
  .cfa-standards__rows article { grid-template-columns: 130px minmax(180px,.55fr) minmax(0,1fr); }
}

@media (max-width: 620px) {
  .cfa-manifesto { padding-top: 58px; }
  .cfa-manifesto__grid { gap: 34px; }
  .cfa-manifesto__heading h1,
  .cfa-recipe__head h2,
  .cfa-standards__intro h2,
  .cfa-closing h2 { font-size: clamp(34px,9vw,42px); }
  .cfa-manifesto__copy p { font-size: 15.5px; line-height: 1.74; }
  .cfa-proof-strip { grid-template-columns: 1fr; margin-top: 42px; }
  .cfa-proof-strip > div { padding: 22px 4px; border-right: 0; border-bottom: 1px solid var(--ab-line); }
  .cfa-proof-strip > div:last-child { border-bottom: 0; }
  .cfa-recipe,
  .cfa-standards { padding: 62px 0; }
  .cfa-recipe__head { gap: 24px; margin-bottom: 32px; }
  .cfa-recipe__list article { grid-template-columns: 42px 1fr; gap: 14px; padding: 23px 0; }
  .cfa-recipe__list article:hover { padding-left: 0; }
  .cfa-recipe__list article > div { grid-template-columns: 1fr; gap: 10px; }
  .cfa-recipe__list h3 { font-size: 25px; }
  .cfa-standards__grid { gap: 38px; }
  .cfa-standards__rows article { grid-template-columns: 1fr; gap: 9px; padding: 24px 0; }
  .cfa-standards__rows h3 { font-size: 20px; }
  .cfa-closing { padding: 50px 0; }
  .cfa-closing__inner { gap: 28px; padding: 28px 20px; }
}
