/* ============ Section shell ============ */
.section {
  padding: var(--space-section) var(--space-gutter);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark .section-title::after {
  background: var(--maroon-bright);
}

.section-dark .section-no {
  color: var(--maroon-bright);
}

/* ============ Profile ============ */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.profile-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.profile-lede em {
  color: var(--maroon);
}

.profile-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  padding-top: 0.5rem;
  border-top: 1px solid var(--hairline);
}

.profile-body p:first-child {
  padding-top: 1rem;
}

@media (max-width: 800px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--hairline);
}

.stat {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.5rem clamp(1.5rem, 3vw, 2.5rem) 0;
  border-right: 1px solid var(--hairline);
}

.stat:last-child {
  border-right: none;
}

.stat:not(:first-child) {
  padding-left: 1.5rem;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--maroon);
}

.stat-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--hairline);
  }
  .stat:nth-child(4) {
    border-top: 1px solid var(--hairline);
  }
}

/* ============ Brand grid (flip cards) ============ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  border-top: 1px solid var(--hairline-light);
  border-left: 1px solid var(--hairline-light);
}

.brand {
  position: relative;
  border-right: 1px solid var(--hairline-light);
  border-bottom: 1px solid var(--hairline-light);
  perspective: 1000px;
  height: clamp(9.5rem, 13vw, 11rem);
}

.brand-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}


.brand.is-flipped .brand-inner {
  transform: rotateY(180deg);
}

.brand-front,
.brand-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}

.brand-front {
  position: absolute;
  inset: 0;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.35s ease;
}

.brand-front:hover,
.brand-front:focus-visible {
  background: var(--maroon-deep);
}

.brand-front:focus-visible {
  outline: 1px solid var(--maroon-bright);
  outline-offset: -1px;
}

.brand-static .brand-front {
  cursor: default;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: 0.01em;
}

.brand-loc {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
}

.brand-front:hover .brand-loc,
.brand-front:focus-visible .brand-loc {
  color: rgba(250, 247, 242, 0.75);
}

.brand-hint {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(250, 247, 242, 0.4);
  transition: color 0.3s ease, transform 0.4s var(--ease-out);
}

.brand-front:hover .brand-hint {
  color: var(--maroon-bright);
  transform: rotate(90deg);
}

.brand-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: var(--maroon-deep);
  justify-content: space-between;
}

.brand-back-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.45);
}

.brand-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.brand-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--paper);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.brand-links a:hover,
.brand-links a:focus-visible {
  border-bottom-color: var(--maroon-bright);
  color: #fff;
}

.brand-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  padding: 0.6rem 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(250, 247, 242, 0.55);
  transition: color 0.25s ease, transform 0.3s ease;
}

.brand-close:hover,
.brand-close:focus-visible {
  color: var(--paper);
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .brand-inner {
    transition: none;
  }
}

/* ============ Expertise ============ */
.expertise-list {
  display: flex;
  flex-direction: column;
}

.exp {
  display: grid;
  grid-template-columns: minmax(4rem, 1fr) minmax(0, 5fr);
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--hairline);
}

.exp:last-child {
  border-bottom: 1px solid var(--hairline);
}

.exp-no {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--maroon);
  line-height: 1;
  padding-top: 0.3rem;
}

.exp-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.8rem;
}

.exp-body > p {
  max-width: 42rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tags li {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-soft);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.exp-tags li:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

@media (max-width: 640px) {
  .exp {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ============ Selected Work ============ */
.work-list {
  display: flex;
  flex-direction: column;
}

.work {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--hairline);
}

.work:last-child {
  border-bottom: 1px solid var(--hairline);
}

.work-no {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--maroon);
  transition: color 0.4s ease;
}

.work:hover .work-no {
  color: var(--maroon);
}

.work-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 0.9rem;
}

.work-body > p {
  max-width: 44rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

@media (max-width: 640px) {
  .work {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============ Approach ============ */
.approach-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.approach-quote em {
  color: var(--maroon-bright);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.approach-item {
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline-light);
}

.approach-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.approach-item p {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.66);
}

/* ============ Toolkit ============ */
.toolkit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.tool-group h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--hairline);
}

.tool-group li {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  padding: 0.45rem 0;
  color: var(--ink);
}

/* ============ Contact ============ */
.contact {
  background: linear-gradient(160deg, var(--maroon-deep), var(--maroon) 55%, var(--maroon-bright));
  color: var(--paper);
  text-align: center;
  padding: var(--space-section) var(--space-gutter);
}

.contact-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.6);
  margin-bottom: 2rem;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.contact-title em {
  font-weight: 300;
}

.contact-copy {
  max-width: 28rem;
  margin: 0 auto 3rem;
  color: rgba(250, 247, 242, 0.75);
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--paper);
  color: var(--maroon-deep);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  border: 1px solid rgba(250, 247, 242, 0.45);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(250, 247, 242, 0.08);
}
