/* ============================================================
   Mark Andreas — Concept C: The Practice / Clean Structured Studio
   Light, warm, structured, conversion-oriented.
   ============================================================ */

:root {
  --bg:        #faf7f1;   /* warm off-white */
  --surface:   #ffffff;
  --surface-2: #eee7da;   /* soft sage/clay neutral card */
  --ink:       #1f2d2a;   /* deep teal/slate text */
  --ink-soft:  #4a5a55;
  --ink-mute:  #6f7d77;
  --accent:    #c0623f;   /* terracotta / clay */
  --accent-dk: #a44f31;
  --line:      #e3dac9;
  --line-soft: #ece4d6;

  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31,45,42,.05), 0 4px 14px rgba(31,45,42,.05);
  --shadow-md: 0 8px 30px rgba(31,45,42,.09);
  --shadow-lg: 0 18px 50px rgba(31,45,42,.13);

  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dk); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { overflow-wrap: anywhere; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; z-index: 3000;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin: 0 0 .9rem;
}
.eyebrow--center { text-align: center; }
.eyebrow--invert { color: #e9b8a4; }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(192,98,63,.28);
}
.btn--accent:hover { background: var(--accent-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(192,98,63,.34); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink-mute); }

.link-arrow {
  display: inline-block;
  margin-top: auto;
  font-weight: 600;
  font-size: .95rem;
  color: var(--accent-dk);
}
.link-arrow:hover { color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,247,241,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(31,45,42,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
}
.wordmark:hover { color: var(--ink); }
.wordmark__sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.nav__links {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  padding: .4em 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .2rem;
  padding: .5rem clamp(20px,5vw,48px) 1.2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a {
  color: var(--ink);
  font-weight: 500;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile a.btn { border: none; color: #fff; margin-top: .7rem; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--surface-2); }
.section--feature { background: linear-gradient(180deg, var(--bg), #f4eee2); }
.section__head {
  max-width: 640px;
  margin: 0 auto clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}
.section__head--left { text-align: left; margin-left: 0; }
.section__intro {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- generic grids (load-bearing minmax rule) ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
}
.section--alt .card { border-color: #e0d6c2; }
.card--soft { background: var(--surface-2); border-color: #e0d6c2; box-shadow: none; }
.card--accent { background: var(--ink); border-color: var(--ink); color: #f3efe7; }
.card--accent h3 { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 1.1rem;
}
.hero__lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.2rem;
}
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.trust-row li {
  font-size: .92rem;
  color: var(--ink-mute);
  line-height: 1.3;
}
.trust-row strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
}
.hero__media {
  margin: 0;
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__media figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(31,45,42,.78);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  padding: .45em .85em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   WHO I WORK WITH (ICP)
   ============================================================ */
.icp { display: flex; flex-direction: column; gap: .6rem; }
.icp h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0; }
.icp p { color: var(--ink-soft); margin: 0 0 .6rem; font-size: .97rem; }
.icp__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-dk);
  font-size: 1.3rem;
  margin-bottom: .3rem;
}
.section--alt .icp__icon { background: #fff; }

/* ============================================================
   HOW I WORK
   ============================================================ */
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.approach__copy p { color: var(--ink-soft); }
.approach__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.check-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .15em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  /* checkmark */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/74% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/74% no-repeat;
}

/* ============================================================
   METHODS
   ============================================================ */
.method { display: flex; flex-direction: column; }
.method__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .6rem;
}
.method h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 0 0 .15rem; }
.method__by { font-size: .82rem; color: var(--ink-mute); margin: 0 0 .9rem; font-weight: 500; }
.method p { color: var(--ink-soft); font-size: .98rem; }
.method__love {
  margin-top: auto;
  padding-top: .9rem;
  font-weight: 600;
  color: var(--accent-dk) !important;
  font-size: .92rem !important;
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.method__love::before { content: "\2665"; }

/* ============================================================
   WORK WITH MARK
   ============================================================ */
.worktile { display: flex; flex-direction: column; gap: .7rem; transition: transform .18s var(--ease), box-shadow .2s, border-color .2s; }
.worktile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9b9a8; }
.worktile h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; margin: 0; }
.worktile p { color: var(--ink-soft); font-size: .96rem; margin: 0; flex: 1; }
.worktile .btn { margin-top: .4rem; }

.work__intro {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2rem;
}
.work__intro-title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 0 0 .35rem; }
.work__intro p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.work__intro-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ============================================================
   INVESTMENT
   ============================================================ */
.invest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.invest__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.6vw, 18px); }
.invest__step { display: flex; gap: 1.1rem; align-items: flex-start; }
.invest__step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 .35rem; }
.invest__step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.invest__step-n {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}
.invest__why { align-self: stretch; display: flex; flex-direction: column; }
.invest__why h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.invest__why p { color: #e2dcd2; font-size: .98rem; }
.invest__note { font-size: .88rem !important; color: #b9c2bd !important; }
.invest__why .btn { margin-top: auto; }
.rate {
  font-weight: 600;
  color: var(--accent-dk);
  white-space: nowrap;
}
.card--accent .rate { color: #e9b8a4; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about__copy p { color: var(--ink-soft); }

/* ============================================================
   RESEARCH BAND
   ============================================================ */
.section--band { background: var(--ink); color: #f3efe7; }
.section--band .eyebrow { color: #e9b8a4; }
.stats { text-align: center; }
.stat { padding: 1rem 0; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: #fff;
  margin-bottom: .6rem;
}
.stat__label {
  display: block;
  font-size: .92rem;
  color: #c2cbc6;
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================================
   BOOKS
   ============================================================ */
.book { display: flex; flex-direction: column; gap: .5rem; border-left: 4px solid var(--accent); }
.book__kind { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin: 0; }
.book__title { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 0; }
.book p { color: var(--ink-soft); margin: 0; }
.book__endorse { font-size: .92rem; color: var(--ink-soft); margin-top: auto; padding-top: .4rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: auto; font-weight: 500; }
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dk);
  background: var(--surface-2);
  padding: .2em .6em;
  border-radius: 6px;
  margin-right: .4em;
}
.section--alt .tag { background: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__wrap {
  max-width: 820px;
}
.faq { margin-top: 2rem; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink);
  padding: 1.25rem 0;
}
.faq__q:hover { color: var(--accent-dk); }
.faq__icon {
  flex: none;
  position: relative;
  width: 20px; height: 20px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.faq__icon::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { padding: 0 0 1.4rem; }
.faq__a p { margin: 0; color: var(--ink-soft); max-width: 64ch; }

/* ============================================================
   FINAL CTA + CONTACT
   ============================================================ */
.cta { background: var(--ink); color: #f3efe7; }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: #fff;
}
.cta__lead { color: #d8d2c8; font-size: 1.08rem; max-width: 44ch; }
.cta__contact {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.cta__contact li { color: #e6e1d8; font-size: .98rem; }
.cta__contact span {
  display: inline-block;
  width: 88px;
  color: #98a39d;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.cta__form { background: var(--bg); color: var(--ink); }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75em .9em;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,98,63,.18);
}
.field textarea { resize: vertical; }
.cta__form-note { font-size: .82rem; color: var(--ink-mute); text-align: center; margin: .9rem 0 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #16201e;
  color: #c2cbc6;
  padding: clamp(40px, 6vw, 64px) 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.6rem 2rem;
  align-items: start;
}
.wordmark--footer { color: #fff; font-size: 1.3rem; }
.footer__brand p { margin: .5rem 0 0; font-size: .92rem; color: #9aa49f; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
}
.footer__links a { color: #c2cbc6; font-size: .92rem; }
.footer__links a:hover { color: #fff; }
.footer__legal {
  grid-column: 1 / -1;
  margin: 1.4rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  color: #8a948f;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile[hidden] { display: none; }
  .nav__mobile { display: flex; }
}

@media (max-width: 880px) {
  .hero__grid,
  .approach__grid,
  .about__grid,
  .invest__grid,
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .approach__media { order: -1; }
  .about__media { max-width: 360px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__intro { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn,
  .work__intro-cta .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
