/* ====================================================
   ARQ Interior Design Studio - About page styles
   Loaded after custom.css by about.html only.
   Order: spacing system, banner, shared helpers, About
   introduction, Design Philosophy, Core Values,
   Working Together, Consultation CTA, then breakpoints
   (widest to narrowest, so the narrower rule always wins).
   ==================================================== */

/* ---------- Spacing system (desktop; tablet and mobile override below) ---------- */
:root {
  --ab-section-y: 72px;      /* main section top / bottom padding */
  --ab-label-gap: 16px;      /* eyebrow label -> heading */
  --ab-heading-gap: 22px;    /* heading -> description */
  --ab-group-gap: 34px;      /* description / heading -> next content group */
  --ab-wt-gap: 22px;         /* Working Together: composition -> timeline */
}

/* current item in the shared navigation */
.main-menu ul li a[aria-current="page"] {
  color: var(--accent-secondary-color);
}

/* ---------- Page banner ---------- */
.page-header-box h1 {
  font-size: clamp(34px, 6vw, 72px);
}

/* ---------- Shared helpers ---------- */
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 var(--ab-label-gap);
  font-family: var(--accent-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.ab-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent-secondary-color);
}

.ab-h2 {
  margin: 0 0 var(--ab-heading-gap);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

.ab-lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
}

/* ---------- About introduction ---------- */
.about-us {
  padding: var(--ab-section-y) 0;
}

.about-us-image-title .ab-img-title {
  margin: 0;
  font-family: var(--accent-font);
  font-size: 5.729vw;
  font-weight: 700;
  line-height: 0.7em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  cursor: none;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1px var(--divider-color);
}

.about-us .section-title p.section-label {
  display: inline-block;
  margin: 0 0 var(--ab-label-gap);
  padding-left: 26px;
  font-family: var(--default-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6em;
  text-transform: capitalize;
  color: var(--primary-color);
  background: url("../images/icon-sub-heading.svg") no-repeat;
  background-position: left center;
  background-size: 18px auto;
}

/* ---------- Our Design Philosophy ---------- */
.ab-philosophy-split {
  background: var(--secondary-color);
  padding: 60px 0 var(--ab-section-y);
}

.ab-phil-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 40px;
  row-gap: 28px;
  align-items: start;
}

.ab-phil-head {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.ab-phil-head .ab-h2 {
  margin-bottom: 0;
}

.ab-phil-desc {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding-left: 20px;
}

.ab-phil-desc .ab-lead {
  max-width: 560px;
}

.ab-phil-photo {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  width: 100%;
  max-width: 380px;
  min-height: 400px;
  margin: 0 0 18px 18px;
}

.ab-phil-photo::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -18px;
  right: 18px;
  bottom: -18px;
  border: 1px solid var(--accent-secondary-color);
  border-radius: 200px 200px 24px 24px;
  z-index: 0;
}

.ab-phil-photo img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px 200px 24px 24px;
}

.ab-theme-cards {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-left: 20px;
}

.ab-theme-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  background: var(--bg-color);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 26px 30px 26px 28px;
  overflow: hidden;
  transition: transform 0.4s ease-in-out, border-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.ab-theme-card:nth-child(2) {
  margin-left: 44px;
}

.ab-theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.ab-theme-no {
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--accent-font);
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(189, 173, 123, 0.55);
  pointer-events: none;
}

.ab-theme-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    var(--accent-secondary-color) 0%,
    var(--accent-color) 50%,
    var(--accent-secondary-color) 100%
  );
  background-size: 200% auto;
  color: var(--white-color);
  font-size: 22px;
  transition: background-position 0.4s ease-in-out;
}

.ab-theme-card:hover .ab-theme-icon {
  background-position: right center;
}

.ab-theme-body {
  position: relative;
  z-index: 1;
  padding-right: 60px;
}

.ab-theme-body h3 {
  margin: 4px 0 8px;
  font-size: 23px;
  font-weight: 500;
  color: var(--primary-color);
}

.ab-theme-body p {
  margin: 0;
  line-height: 1.7;
}

/* ---------- Our Core Values (warm ivory) ---------- */
.ab-values {
  position: relative;
  overflow: hidden;
  background: #f3efe8;
  color: #625d55;
  padding: 60px 0 52px;
}

.ab-values-head .ab-h2 {
  margin-bottom: var(--ab-group-gap);
  color: #25221d;
}

.ab-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 52px;
  width: 94%;
}

.ab-value {
  position: relative;
  padding: 24px 0 28px;
  border-top: 1px solid #ddd3c0;
}

.ab-value::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: #97834c;
  transition: width 0.5s ease-in-out;
}

.ab-value:hover::before {
  width: 100%;
}

.ab-value-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--accent-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #97834c;
}

.ab-value h3 {
  margin: 0 0 12px;
  font-family: var(--accent-font);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #25221d;
  transition: color 0.4s ease-in-out;
}

.ab-value:hover h3 {
  color: #6f5f2e;
}

.ab-value p {
  max-width: 460px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #625d55;
}

/* ---------- Working Together ---------- */
.ab-wt {
  position: relative;
  background: #fbf9f6;
  padding: 60px 0 52px;
  border-bottom: 1px solid #ddd3c0;
}

.ab-wt-stage {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  column-gap: 40px;
  align-items: center;
}

.ab-wt-frame {
  position: relative;
  height: 460px;
  margin: 0 22px 22px 0;
}

/* connector: ties the arch to the timeline below */
.ab-wt-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: calc(22px + var(--ab-wt-gap));
  background: #97834c;
}

.ab-wt-outline {
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1px solid #97834c;
  border-radius: 240px 240px 28px 28px;
  z-index: 0;
}

.ab-wt-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
}

.ab-wt-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}

.ab-wt-label {
  position: absolute;
  left: -34px;
  bottom: 24px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-family: var(--accent-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #97834c;
}

.ab-wt-content {
  min-width: 0;
  padding-bottom: 22px;
}

.ab-wt-content .ab-eyebrow {
  margin-bottom: var(--ab-label-gap);
}

.ab-wt-title {
  max-width: 580px;
  margin: 0;
  font-family: var(--accent-font);
  font-size: clamp(36px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #25221d;
  text-wrap: balance;
}

.ab-wt-lead {
  max-width: 580px;
  margin: var(--ab-heading-gap) 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: #625d55;
}

.ab-wt-lead + .ab-wt-lead {
  margin-top: 14px;
}

.ab-wt-signoff {
  max-width: 580px;
  margin: 22px 0 0;
  font-family: var(--accent-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #7a6733;
}

/* editorial timeline */
.ab-wt-principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: var(--ab-wt-gap) 0 0;
  padding: 0;
  border-top: 1px solid rgba(151, 131, 76, 0.4);
}

.ab-wt-principles li {
  position: relative;
  padding: 22px 32px 0 0;
}

.ab-wt-principles li + li {
  padding-left: 32px;
  border-left: 1px solid rgba(151, 131, 76, 0.28);
}

/* short gold segment on the timeline line above each step */
.ab-wt-principles li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: #97834c;
}

.ab-wt-principles li + li::before {
  left: 32px;
}

.ab-wt-no {
  display: inline-block;
  font-family: var(--accent-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #97834c;
}

.ab-wt-principles h3 {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--accent-font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #25221d;
}

.ab-wt-principles h3::before {
  content: "\2014";
  margin: 0 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #97834c;
}

.ab-wt-principles p {
  display: block;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #625d55;
}

/* ---------- Consultation CTA ---------- */
.ab-cta {
  background: #f3efe8;
  padding: 52px 0;
  text-align: left;
}

.ab-cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 48px;
  align-items: center;
  width: fit-content;
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 48px;
  background: #fbf9f6;
  border: 1px solid rgba(151, 131, 76, 0.55);
}

/* architectural corner accents */
.ab-cta-banner::before,
.ab-cta-banner::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid #97834c;
}

.ab-cta-banner::before {
  top: -9px;
  left: -9px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.ab-cta-banner::after {
  right: -9px;
  bottom: -9px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.ab-cta-title {
  margin: 0 0 14px;
  font-family: var(--accent-font);
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #25221d;
  text-wrap: balance;
}

.ab-cta-text {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4f4a42;
  text-wrap: pretty;
}

.ab-cta-banner .btn-default {
  padding: 21px 56px 21px 32px;
  font-size: 16px;
  white-space: nowrap;
}

/* the site's custom cursor follower (gold dot) is hidden while the pointer is over these two sections */
body:has(.ab-wt:hover) .cb-cursor,
body:has(.ab-cta:hover) .cb-cursor {
  display: none;
}

/* ====================================================
   Breakpoints - widest to narrowest
   ==================================================== */
@media only screen and (max-width: 1279px) {
  .ab-wt-stage {
    column-gap: 36px;
  }

  .ab-wt-label {
    display: none;
  }

  .ab-wt-frame {
    height: 440px;
  }

  .ab-wt-title {
    font-size: clamp(34px, 3.4vw, 44px);
  }

  .ab-wt-lead {
    font-size: 17px;
  }

  .ab-cta-banner {
    padding: 34px 40px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ab-theme-card {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 24px;
  }

  .ab-theme-icon {
    width: 54px;
    height: 54px;
    font-size: 19px;
  }

  .ab-theme-no {
    right: 18px;
    font-size: 56px;
  }

  .ab-theme-body {
    padding-right: 62px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
  .ab-wt-principles li {
    padding-right: 24px;
  }

  .ab-wt-principles li + li {
    padding-left: 24px;
  }

  .ab-wt-principles li + li::before {
    left: 24px;
  }

  .ab-wt-no {
    letter-spacing: 0.12em;
  }

  .ab-wt-principles h3 {
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .ab-wt-principles h3::before {
    margin: 0 8px;
  }
}

@media only screen and (max-width: 1024px) {
  .about-us-image-title .ab-img-title {
    font-size: 80px;
  }
}

@media only screen and (max-width: 991px) {
  :root {
    --ab-section-y: 56px;
    --ab-label-gap: 14px;
    --ab-heading-gap: 20px;
    --ab-group-gap: 28px;
    --ab-wt-gap: 28px;
  }

  .about-us {
    padding: 50px 0;
  }

  .about-us .section-title p.section-label {
    padding-left: 24px;
    background-size: 16px auto;
  }

  .ab-philosophy-split {
    padding: 48px 0 var(--ab-section-y);
  }

  .ab-phil-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }

  .ab-phil-head,
  .ab-phil-desc,
  .ab-phil-photo,
  .ab-theme-cards {
    grid-column: 1;
  }

  .ab-phil-head {
    grid-row: 1;
  }

  .ab-phil-desc {
    grid-row: 2;
    padding-left: 0;
  }

  .ab-phil-photo {
    grid-row: 3;
    justify-self: center;
    max-width: 340px;
    min-height: 0;
    margin: 12px auto 30px;
  }

  .ab-phil-photo img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 4.6;
  }

  .ab-theme-cards {
    grid-row: 4;
    grid-template-rows: none;
    padding-left: 0;
  }

  .ab-theme-card:nth-child(2) {
    margin-left: 0;
  }

  .ab-values {
    padding: 52px 0 44px;
  }

  .ab-value-grid {
    column-gap: 48px;
  }

  .ab-value {
    padding: 24px 0 28px;
  }

  .ab-wt {
    padding: 52px 0 48px;
  }

  .ab-wt-stage {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    align-items: start;
  }

  .ab-wt-frame {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 22px 0 0;
  }

  .ab-wt-frame::after {
    display: none;
  }

  .ab-wt-photo {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3.4;
  }

  .ab-wt-content {
    padding-bottom: 0;
  }

  .ab-wt-title {
    max-width: none;
    font-size: clamp(36px, 7.2vw, 50px);
  }

  .ab-cta {
    padding: 52px 0;
  }

  .ab-cta-banner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: normal;
    width: auto;
    row-gap: 24px;
    padding: 36px 34px;
  }

  .ab-cta-title {
    font-size: clamp(30px, 5.2vw, 40px);
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --ab-section-y: 44px;
    --ab-label-gap: 12px;
    --ab-heading-gap: 16px;
    --ab-group-gap: 24px;
    --ab-wt-gap: 24px;
  }

  .about-us-image-title .ab-img-title {
    writing-mode: initial;
    text-align: center;
  }

  .ab-philosophy-split {
    padding: 40px 0 var(--ab-section-y);
  }

  .ab-values {
    padding: 44px 0 36px;
  }

  .ab-value-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .ab-value {
    padding: 24px 0 26px;
  }

  .ab-value p {
    font-size: 16px;
  }

  .ab-wt {
    padding: 44px 0 40px;
  }

  .ab-wt-frame {
    max-width: none;
    width: calc(100% - 22px);
    margin-right: 22px;
  }

  .ab-wt-photo {
    aspect-ratio: 4 / 3.7;
  }

  .ab-wt-photo,
  .ab-wt-outline {
    border-radius: 150px 150px 24px 24px;
  }

  .ab-wt-title {
    font-size: clamp(33px, 9.2vw, 42px);
  }

  .ab-wt-lead {
    font-size: 17px;
  }

  .ab-wt-principles {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .ab-wt-principles li,
  .ab-wt-principles li + li {
    padding: 24px 0 22px;
    border-left: 0;
    border-top: 1px solid rgba(151, 131, 76, 0.4);
  }

  .ab-wt-principles li::before,
  .ab-wt-principles li + li::before {
    left: 0;
  }

  .ab-cta {
    padding: 40px 0;
  }

  .ab-cta-banner {
    padding: 30px 22px 32px;
  }

  .ab-cta-text {
    font-size: 17px;
  }

  .ab-cta-action {
    justify-self: stretch;
  }

  .ab-cta-banner .btn-default {
    display: block;
    padding: 20px 52px 20px 30px;
    font-size: 17px;
    text-align: center;
  }
}

@media only screen and (max-width: 575px) {
  .ab-lead {
    font-size: 16px;
  }

  .ab-theme-card {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px 20px;
  }

  .ab-theme-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .ab-theme-no {
    top: 4px;
    right: 12px;
    font-size: 52px;
  }

  .ab-theme-body {
    padding-right: 42px;
  }

  .ab-theme-body h3 {
    font-size: 20px;
  }

  .ab-phil-photo {
    max-width: 290px;
  }
}

/* ====================================================
   About introduction copy + Meet Our Founder
   ==================================================== */
.ab-about-copy p {
  max-width: 640px;
  margin: 0 0 18px;
  line-height: 1.8;
}

.ab-about-copy p:last-child {
  margin-bottom: 0;
}

.ab-founder {
  background: #fdfbf7;
  border-top: 1px solid #e6dfd0;
  color: #625d55;
  padding: 56px 0;
}

.ab-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: 56px;
  align-items: center;
}

.ab-founder-photo {
  position: relative;
  margin: 0 22px 22px 0;
  max-width: 340px;
  width: calc(100% - 22px);
}

/* offset gold outline */
.ab-founder-photo::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1px solid #97834c;
  border-radius: 28px;
}

/* crop (no stretching): 4:5 window anchored near the top keeps the portrait
   and excludes the camera watermark at the bottom of the original */
.ab-founder-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 28px;
}

.ab-founder-content .ab-h2 {
  max-width: 600px;
  margin-bottom: 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  color: #25221d;
}

.ab-founder-role {
  margin: 0 0 20px;
  font-family: var(--accent-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #97834c;
}

.ab-founder-content p:not(.ab-eyebrow):not(.ab-founder-role) {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
}

@media only screen and (max-width: 991px) {
  .ab-founder-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .ab-founder-photo {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
}

@media only screen and (max-width: 575px) {
  .ab-founder-grid {
    row-gap: 32px;
  }

  .ab-founder-photo {
    max-width: 260px;
    margin-right: 22px;
    margin-left: 0;
  }
}
