/* =========================================================================
   ADVAITA Marketing Consultancy
   One stylesheet for all three pages. Brand values live in :root below,
   change one there and it updates everywhere.
   ========================================================================= */

@font-face {
  font-family: "Jost";
  src: url("jost.woff2") format("woff2-variations"),
       url("jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #faf2df;
  --cream-deep: #f4e9d1;
  --tan: #e7d3a7;
  --forest: #264e29;
  --forest-deep: #1a3a1d;
  --terracotta: #c76b41;
  --terracotta-light: #e18e5d;
  --gold: #cf9631;
  --gold-rule: #be9945;
  --body: #3d4a3e;
  --body-muted: #6b7a6c;

  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: clamp(1.25rem, 5vw, 6rem);

  color-scheme: light;
}

/* ------------------------------------------------------------------ reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--cream);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--terracotta);
  color: var(--cream);
}

/* Paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- primitives */

.shell {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: var(--shell);
}

.display {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--forest);
}

.display.accent {
  color: var(--terracotta);
}

.display.light {
  color: var(--cream);
}

.eyebrow {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.688rem;
  color: var(--terracotta);
}

.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.rule {
  color: var(--gold-rule);
}

.eyebrow.pale {
  color: rgba(250, 242, 223, 0.7);
}

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  font-weight: 300;
}

.muted {
  color: var(--body-muted);
}

.mark {
  display: block;
  height: 2.25rem;
  width: auto;
  aspect-ratio: 100 / 112;
  flex: none;
}

.rule-line {
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--terracotta);
}

.num {
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  color: var(--gold-rule);
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: 999px;
  padding: 1rem 2.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
  cursor: pointer;
}

.btn span {
  position: relative;
  z-index: 1;
  transition: color 0.5s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn.ghost {
  background: transparent;
  color: var(--forest);
}

.btn.ghost::before {
  background: var(--forest);
}

.btn.ghost:hover span {
  color: var(--cream);
}

.btn.on-dark {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn.on-dark::before {
  background: var(--cream);
}

.btn.on-dark:hover span {
  color: var(--terracotta);
}

.btn.small {
  padding: 0.625rem 1.5rem;
}

.btn.email {
  text-transform: none;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

/* Text link with sweeping underline */

.sweep {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--forest);
}

.sweep::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}

.sweep:hover::after,
.sweep[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.arrow-link .tail {
  display: inline-block;
  height: 1px;
  width: 2.5rem;
  background: currentColor;
  transition: width 0.7s var(--ease);
}

.arrow-link:hover .tail {
  width: 4rem;
}

/* --------------------------------------------------------- reveal on scroll */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-mask] {
  overflow: hidden;
}

[data-reveal-mask] > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.05s var(--ease);
}

[data-reveal-mask].is-visible > span {
  transform: none;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding-block: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: padding 0.6s var(--ease), background 0.6s var(--ease),
    border-color 0.6s var(--ease);
}

.site-header.scrolled {
  padding-block: 0.75rem;
  background: rgba(250, 242, 223, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(231, 211, 167, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo lockup */

.lockup {
  max-width: calc(100vw - 6.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.lockup .mark {
  height: clamp(1.7rem, 6.5vw, 2.25rem);
}

.lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.lockup-name {
  font-size: clamp(1.05rem, 4.4vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.17em;
  color: var(--terracotta);
}

.lockup-name .g {
  color: var(--gold);
}

.lockup-sub {
  margin-top: 0.4em;
  font-size: clamp(0.4rem, 1.7vw, 0.53rem);
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--forest);
}

.lockup.on-dark .lockup-sub {
  color: var(--cream);
}

/* Desktop nav */

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop a.sweep:hover {
  color: var(--terracotta);
}

/* Mobile menu */

.menu-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 2.5rem;
  width: 2.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: var(--forest);
  transition: transform 0.5s var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding-inline: var(--shell);
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

.menu-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--forest);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.menu-open .nav-mobile a {
  opacity: 1;
  transform: none;
}

.menu-open .nav-mobile a:nth-child(1) { transition-delay: 0.12s; }
.menu-open .nav-mobile a:nth-child(2) { transition-delay: 0.19s; }
.menu-open .nav-mobile a:nth-child(3) { transition-delay: 0.26s; }
.menu-open .nav-mobile a:nth-child(4) { transition-delay: 0.33s; }

.nav-mobile .place {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--body-muted);
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 12% 20%,
    rgba(231, 211, 167, 0.55) 0%,
    rgba(250, 242, 223, 0) 62%
  );
}

.hero-mark {
  position: absolute;
  top: 54%;
  right: -16%;
  width: 70vw;
  max-width: 560px;
  transform: translateY(-50%);
  opacity: 0.1;
  pointer-events: none;
}

.hero-mark .mark {
  height: auto;
  width: 100%;
}

.hero-inner {
  position: relative;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.hero-title {
  margin-top: 2.25rem;
  font-size: clamp(2.9rem, 9.2vw, 7.6rem);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease);
}

.hero-title .line:nth-child(1) > span { transition-delay: 0.18s; }
.hero-title .line:nth-child(2) > span { transition-delay: 0.3s; }
.hero-title .line:nth-child(3) > span { transition-delay: 0.42s; }

.hero-title .line.accent > span {
  color: var(--terracotta);
}

.hero-foot {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease) 0.62s, transform 1s var(--ease) 0.62s;
}

.hero-foot .lede {
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.is-ready .hero-eyebrow,
.is-ready .hero-foot {
  opacity: 1;
  transform: none;
}

.is-ready .hero-title .line > span {
  transform: none;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 1s var(--ease) 0.9s;
}

.is-ready .scroll-cue {
  opacity: 0.6;
}

.scrolled-past .scroll-cue {
  opacity: 0 !important;
}

.scroll-cue .label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--forest);
}

.scroll-cue .stem {
  display: block;
  height: 3rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--forest), transparent);
}

/* ----------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  background: var(--cream-deep);
  padding-block: 1.25rem;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  white-space: nowrap;
  animation: drift 42s linear infinite;
}

.marquee-track span.item {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(38, 78, 41, 0.7);
}

.marquee-track .mark {
  height: 0.875rem;
  opacity: 0.6;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes floatSlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

.float-a { animation: floatSlow 9s ease-in-out infinite; }
.float-b { animation: floatSlow 9s ease-in-out 0.45s infinite; }
.float-c { animation: floatSlow 9s ease-in-out 0.9s infinite; }

/* -------------------------------------------------------------- statement */

.section {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.section-tight {
  padding-block: 5rem;
}

.split {
  display: grid;
  gap: 3.5rem;
}

.statement h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.statement .col-b p + p {
  margin-top: 1.75rem;
}

.statement .more {
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------- approach */

.dark {
  background: var(--forest);
  color: var(--cream);
}

.dark h2 {
  color: var(--cream);
}

.section-head h2 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 46rem;
}

.grid-cards {
  display: grid;
  gap: 1px;
  margin-top: 5rem;
  background: rgba(250, 242, 223, 0.15);
}

.card {
  background: var(--forest);
  padding: 2.25rem;
  transition: background 0.7s var(--ease);
}

.card:hover {
  background: var(--forest-deep);
}

.card h3 {
  margin-top: 1.5rem;
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.card .bar {
  display: block;
  height: 1px;
  width: 2.5rem;
  margin-top: 1.25rem;
  background: var(--terracotta-light);
  transition: width 0.7s var(--ease);
}

.card:hover .bar {
  width: 5rem;
}

.card p {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 242, 223, 0.7);
}

.card .num {
  color: var(--gold);
}

/* --------------------------------------------------------------- services */

.services-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--tan);
}

.services-head h2 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.services-note {
  max-width: 20rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

.services-grid {
  display: grid;
}

.service {
  position: relative;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--tan);
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.service:hover::after {
  transform: scaleX(1);
}

.service h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--forest);
}

.service p {
  margin-top: 1rem;
  font-size: 0.90625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

/* ------------------------------------------------------------------ terms */

.band {
  background: var(--cream-deep);
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
}

.terms-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.term p.label {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--forest);
}

.term p.detail {
  margin-top: 0.5rem;
  font-size: 0.90625rem;
  font-weight: 300;
  color: var(--body-muted);
}

/* ------------------------------------------------------------ work teaser */

.teaser h2 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

.teaser .col-b .link {
  margin-top: 2.25rem;
  display: inline-flex;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--forest);
}

/* ---------------------------------------------------------------- contact */

.contact {
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.contact h2 {
  margin: 2rem auto 0;
  max-width: 56rem;
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  color: var(--cream);
}

.contact .lede {
  margin: 2rem auto 0;
  max-width: 34rem;
  color: rgba(250, 242, 223, 0.85);
}

.contact .btn-wrap {
  margin-top: 3rem;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 3.5rem;
  padding-block: 5rem;
}

.site-footer p.blurb {
  margin-top: 1.75rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 242, 223, 0.7);
}

.footer-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(250, 242, 223, 0.75);
}

.footer-list a:hover {
  color: var(--cream);
}

.footer-base {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 242, 223, 0.15);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 242, 223, 0.45);
}

.footer-mark {
  position: absolute;
  right: -6%;
  bottom: -6rem;
  width: 420px;
  opacity: 0.07;
  pointer-events: none;
}

.footer-mark .mark {
  height: auto;
  width: 100%;
}

/* ------------------------------------------------------------- page heroes */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 11rem;
  padding-bottom: 5rem;
}

.page-hero .wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    100% 80% at 82% 12%,
    rgba(231, 211, 167, 0.6) 0%,
    rgba(250, 242, 223, 0) 60%
  );
}

.page-hero .kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.page-hero .title-wrap {
  margin-top: 2rem;
  max-width: 56rem;
}

.page-hero .lede {
  margin-top: 2.5rem;
  max-width: 40rem;
}

/* -------------------------------------------------------- about: founder */

.founder {
  border-top: 1px solid var(--tan);
}

.founder-grid {
  display: grid;
  gap: 4rem;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--tan);
  background: var(--cream-deep);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait .empty {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-inline: 2rem;
  text-align: center;
}

.portrait .empty .mark {
  height: 4rem;
  opacity: 0.8;
}

.portrait .empty .cap {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--body-muted);
}

.portrait .empty .hint {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body-muted);
}

.byline {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--forest);
}

.byline-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--body-muted);
}

.founder-note {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.founder-note p {
  font-weight: 300;
  line-height: 1.85;
  font-size: 1.0625rem;
}

.founder-note p:first-child {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--forest);
}

/* ---------------------------------------------------- about: positioning */

.positioning {
  display: grid;
  gap: 1px;
  margin-top: 5rem;
  background: rgba(250, 242, 223, 0.15);
}

.pos {
  background: var(--forest);
  padding: 3rem 2.5rem;
  transition: background 0.7s var(--ease);
}

.pos:hover {
  background: var(--forest-deep);
}

.pos .mark {
  height: 2rem;
  transition: transform 0.7s var(--ease);
}

.pos:hover .mark {
  transform: translateY(-4px);
}

.pos h3 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
}

.pos .bar {
  display: block;
  height: 1px;
  width: 3rem;
  margin-top: 1.5rem;
  background: var(--terracotta-light);
  transition: width 0.7s var(--ease);
}

.pos:hover .bar {
  width: 6rem;
}

.pos p {
  margin-top: 1.5rem;
  font-size: 0.96875rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 242, 223, 0.7);
}

/* ----------------------------------------------------- about: principles */

.principles {
  display: grid;
  gap: 1px;
  background: var(--tan);
}

.principle {
  background: var(--cream);
  padding: 2.25rem;
}

.principle h3 {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--forest);
}

.principle p {
  margin-top: 1rem;
  font-size: 0.90625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding-block: 5rem;
}

.cta-band h2 {
  max-width: 36rem;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

/* ---------------------------------------------------------- work: clients */

.client {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--tan);
  padding-block: 5rem;
}

.client .sector-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client .sector-row .mark {
  height: 1.25rem;
}

.client h2 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.client .desc {
  margin-top: 1.5rem;
  max-width: 28rem;
  color: var(--body-muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}

.tags li {
  border: 1px solid var(--tan);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--forest);
}

.client .visit {
  margin-top: 2.25rem;
  display: inline-flex;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--forest);
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.tile-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--tan);
  background: var(--cream-deep);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.tile:hover img {
  transform: scale(1.06);
}

.tile .empty {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tile .empty .mark {
  height: 2rem;
  opacity: 0.35;
  transition: opacity 0.7s var(--ease);
}

.tile:hover .empty .mark {
  opacity: 0.6;
}

.tile .empty span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(107, 122, 108, 0.7);
}

/* Open slot */

.open-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  border: 1px dashed rgba(190, 153, 69, 0.6);
  background: rgba(244, 233, 209, 0.6);
  padding: 2.5rem;
}

.open-slot h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.open-slot p {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 0.96875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

.open-wrap {
  border-top: 1px solid var(--tan);
  padding-top: 5rem;
}


/* ------------------------------------------------------------- about: team */

.team-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.portrait.wide {
  max-width: none;
}

.person-bio {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

/* --------------------------------------------------- contact phone line */

.contact-alt {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(250, 242, 223, 0.85);
}

.contact-alt a {
  border-bottom: 1px solid rgba(250, 242, 223, 0.45);
  padding-bottom: 1px;
  transition: border-color 0.5s var(--ease);
}

.contact-alt a:hover {
  border-bottom-color: var(--cream);
}


/* ================================================================== cases */

.cases {
  padding-bottom: 2rem;
}

.case {
  border-top: 1px solid var(--tan);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.case-grid {
  display: grid;
  gap: 3rem;
}

/* An iframe reports its own pixel width as min-content, which would blow the
   grid track out to 1440px. These keep the columns honest. */
.case-copy,
.case-media {
  min-width: 0;
}

.case-copy .sector-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-copy .sector-row .mark {
  height: 1.25rem;
}

.case-copy h2 {
  margin-top: 1.5rem;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

/* The client's own hero line, quoted */

.hero-quote {
  position: relative;
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--terracotta);
}

.hero-quote figcaption {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-rule);
}

.hero-quote blockquote {
  margin-top: 0.75rem;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--forest);
}

.hero-quote blockquote::before { content: "\201C"; }
.hero-quote blockquote::after { content: "\201D"; }

.case-copy .desc {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body-muted);
}

.case-links {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--forest);
}

/* ------------------------------------------------- the browser mockup */

.browser {
  overflow: hidden;
  border: 1px solid var(--tan);
  border-radius: 10px;
  background: var(--cream-deep);
  box-shadow: 0 24px 60px -32px rgba(38, 78, 41, 0.45);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--tan);
  background: linear-gradient(to bottom, #f7eeda, var(--cream-deep));
}

.browser-bar .dots {
  display: inline-flex;
  gap: 0.375rem;
  flex: none;
}

.browser-bar .dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--terracotta-light);
}

.browser-bar .dots i:nth-child(2) { background: var(--gold); }
.browser-bar .dots i:nth-child(3) { background: var(--forest); }

.browser-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(231, 211, 167, 0.9);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--body-muted);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: none;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--forest);
}

.live-badge i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--terracotta);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* The embedded site, rendered wide then scaled to fit */

.browser-screen {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 10;
}

.live-frame {
  aspect-ratio: auto;
  height: 0;
}

.live-frame iframe {
  width: 1440px;
  height: 900px;
  border: 0;
  transform-origin: 0 0;
  display: block;
}

.frame-note {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--body-muted);
}

.frame-note a {
  border-bottom: 1px solid var(--tan);
  color: var(--forest);
}

.frame-note a:hover {
  border-bottom-color: var(--terracotta);
}

/* Optional detail screenshots under the frame */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tile.sq {
  aspect-ratio: 16 / 10;
}

.tile .empty .cap {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--body-muted);
  text-align: center;
  padding-inline: 0.5rem;
}

.tile .empty .path {
  margin-top: 0.25rem;
  padding-inline: 0.4rem;
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  color: rgba(107, 122, 108, 0.65);
}

/* --------------------------------------------------- signature features */

.case-features {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--tan);
}

.feature-row {
  display: grid;
  gap: 1px;
  margin-top: 2rem;
  background: var(--tan);
}

.feature {
  background: var(--cream);
  padding: 1.75rem 0;
}

.feature h3 {
  margin-top: 1rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--forest);
}

.feature p {
  margin-top: 0.75rem;
  font-size: 0.90625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body-muted);
}

/* ---------------------------------------------------- highlights strip */

.highlights {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.highlight .label {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--forest);
}

.highlight .detail {
  margin-top: 0.5rem;
  font-size: 0.90625rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body-muted);
}

/* Instagram line in the footer contact list */

.ig-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ig-inline {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--gold);
}

/* --------------------------------------------------- instagram strip */

.ig-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--tan);
  border-radius: 8px;
  background: var(--cream-deep);
}

.ig-copy {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.ig-glyph {
  width: 2rem;
  height: 2rem;
  flex: none;
  color: var(--terracotta);
}

.ig-handle {
  margin-top: 0.375rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--forest);
}

/* ------------------------------------------------------------ breakpoints */



@media (min-width: 640px) {
  .terms-grid,
  .principles,
  .team-grid,
  .highlights {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature {
    padding: 1.75rem;
  }

  .ig-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service {
    padding-inline: 1.75rem;
  }

  .grid-cards {
    grid-template-columns: 1fr 1fr;
  }

  .card,
  .principle {
    padding: 2.25rem;
  }

  .tiles,
  .tile-col {
    gap: 1.25rem;
  }

  .open-slot {
    padding: 3.5rem;
  }
}

@media (min-width: 768px) {
  .scroll-cue {
    display: flex;
  }

  .hero-foot {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .services-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .cta-band,
  .open-slot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-mark {
    right: 4%;
    width: 30vw;
  }

  .split {
    gap: 6rem;
  }

  .statement .split {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .statement .col-b {
    padding-top: 0.25rem;
  }

  .teaser .split {
    grid-template-columns: 1fr 0.85fr;
    align-items: end;
  }

  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service {
    border-right: 1px solid var(--tan);
  }

  .services-grid .service:nth-child(4n) {
    border-right: 0;
  }

  .terms-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .positioning {
    grid-template-columns: repeat(3, 1fr);
  }

  .founder-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 6rem;
  }

  .team-grid {
    max-width: 46rem;
    gap: 3rem;
  }

  .founder .col-b {
    padding-top: 1.5rem;
  }

  .about-principles {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
  }

  .client {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    padding-block: 7rem;
  }

  .case-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }

  .case.flip .case-copy { order: 2; }
  .case.flip .case-media { order: 1; }

  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlights {
    grid-template-columns: repeat(4, 1fr);
  }

  .client.flip .client-copy {
    order: 2;
  }

  .client.flip .client-media {
    order: 1;
  }

  .tile-col.offset {
    padding-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    padding-block: 6rem;
  }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal-mask] > span,
  .hero-eyebrow,
  .hero-foot,
  .hero-title .line > span,
  .nav-mobile a {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .marquee-track,
  .float-a,
  .float-b,
  .float-c {
    animation: none !important;
  }
}
