/* katetremills.com — matches the Wix design (measured at 1440px wide). */

/* Corben (v21) and Quicksand (v24) are the same open-licensed (SIL OFL) files the
   Wix site uses, self-hosted so line breaks match the old site exactly. */
@font-face { font-family: "Corben"; src: url("/fonts/corben-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("/fonts/quicksand.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --cream: #fdf6eb;       /* header, hero, footer, cards */
  --blush: #deb3a0;       /* "How we can work together" band, dividers */
  --blush-light: #efd7cd; /* buttons */
  --plum: #834d6c;        /* headings, menu, button text */
  --navy: #153463;        /* current menu item */
  --ink: #404041;         /* body text */
  --sage: #a2ac87;        /* hero rule */
  --card-border: #9e9b95;
  --white: #fff;

  --font-heading: "Corben", Georgia, serif;
  --font-body: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --font-menu: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;  /* stands in for Brandon Grotesque */
  --font-small: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;  /* stands in for Avenir */

  --content: 980px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.4;
}

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

h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 400; color: var(--plum); }

p { margin: 0; }

a { color: inherit; }

.wrap { width: min(var(--content), 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  height: 213px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo { margin-top: 9px; }
.site-logo img { width: 121px; height: 121px; }

.site-nav {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  font-family: var(--font-menu);
  font-size: 14px;
  line-height: 19px;
}

.site-nav a {
  color: var(--plum);
  text-decoration: none;
  padding: 0 15px;
  border-left: 1px solid var(--ink);
}
.site-nav a:first-child { border-left: 0; }
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); }

/* ---------- Shared pieces ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 187px;
  height: 50px;
  padding: 0 28px;
  border-radius: 25px;
  background: var(--blush-light);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.2s;
}
.button:hover { background: var(--blush); }
.button--wide { min-width: 250px; }

.prose p + p { margin-top: 1.4em; }

/* ---------- Coaching page ---------- */

.c-hero { background: var(--cream); }
.c-hero .wrap {
  display: grid;
  grid-template-columns: 579px 1fr;
  gap: 49px;
  padding: 89px 23px 122px;
}
.c-hero h1 { font-size: 44px; line-height: 55px; max-width: 370px; position: relative; top: 14px; }
.c-hero hr { border: 0; border-top: 1px solid var(--sage); margin: 45px 0 50px; }
.c-hero .prose { max-width: 565px; font-size: 17px; line-height: 23.8px; }
.c-hero .prose p + p { margin-top: 28px; }
.c-hero__art { width: 266px; margin-top: -14px; }

.c-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 728px; }
.c-split__img { width: 100%; height: 100%; object-fit: cover; }
.c-split__text { padding: 92px 96px 92px 114px; }
.c-split__text h2 { font-size: 44px; line-height: 1.35; max-width: 400px; position: relative; top: 9px; }
.c-split__text .prose { margin-top: 67px; max-width: 492px; font-size: 17px; line-height: 30.6px; }
.c-split__text .prose p + p { margin-top: 30px; }

.c-ways { background: var(--blush); padding: 61px 0 87px; }
.c-ways h2 { color: var(--white); text-align: center; font-size: 44px; line-height: 57.2px; position: relative; top: 10px; }
.c-ways__cards {
  width: min(1240px, 100% - 32px);
  margin: 69px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.c-card { background: var(--white); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }
.c-card img { width: 100%; height: 278px; object-fit: cover; }
.c-card__body { padding: 26px 50px 51px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.c-card h3 { font-size: 25px; line-height: 32.5px; position: relative; top: 5px; }
.c-card p { margin: 25px 0 34px; max-width: 412px; font-size: 17px; line-height: 28.9px; letter-spacing: 0.05em; }
.c-card .button { margin-top: auto; }

.c-offer { padding: 47px 0 97px; text-align: center; }
.c-offer#one-to-one { padding-bottom: 72px; }
.c-offer + .c-offer { border-top: 1px solid #ccc; padding-top: 42px; }
.c-offer h2 { font-size: 50px; line-height: 65px; padding-bottom: 31px; position: relative; top: 13px; }
.c-offer .button { margin-top: 26px; }
.c-offer .prose { margin-top: 40px; text-align: left; font-size: 18px; line-height: 25.2px; }
.c-offer .prose p + p { margin-top: 27px; }
.c-offer .prose .lead { font-weight: 700; }
.c-offer__list-intro { margin-top: 53px; text-align: left; font-weight: 700; font-size: 18px; }

.c-weeks {
  display: grid;
  grid-template-columns: repeat(2, 393px);
  justify-content: center;
  gap: 77px 63px;
  margin-top: 56px;
  text-align: left;
}
.c-week {
  min-height: 393px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 40px 28px 45px;
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-radius: 70px;
  font-size: 18px;
  line-height: 25.2px;
}
.c-week h3, .c-price h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 25.2px; color: var(--ink); }
.c-week p + p { margin-top: 25px; }
.c-week:first-child, .c-week:first-child h3 { line-height: 23px; }  /* Wix sets this card tighter */
/* Wix gives each week card a slightly different text width; copied so lines wrap the same. */
.c-week:nth-child(1) { padding: 44px 49px 12px 51px; }
.c-week:nth-child(2) { padding: 34px 42px 22px 48px; }
.c-week:nth-child(3) { padding: 41px 36px 15px 38px; }
.c-week:nth-child(4) { padding: 29px 42px 27px 38px; }

.c-prices {
  display: grid;
  grid-template-columns: repeat(3, 325px);
  justify-content: center;
  gap: 27px;
  margin-top: 66px;
  text-align: left;
}
.c-price {
  min-height: 327px;
  padding: 33px 12px 24px 31px;
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-radius: 60px;
  font-size: 18px;
  line-height: 25.2px;
}

.c-coach { border-top: 1px solid var(--blush); padding: 75px 0 63px; }
.c-coach .wrap { display: grid; grid-template-columns: 454px 1fr; gap: 38px; align-items: start; width: min(1044px, 100% - 32px); }
.c-coach__photo {
  margin: 80px 0 0;
  padding: 5px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transform: rotate(-7.5deg);
  width: 400px;
  justify-self: center;
}
.c-coach__photo img { width: 390px; height: 389px; object-fit: cover; }
.c-coach h2 { font-size: 44px; line-height: 52.8px; }
.c-coach .prose { margin-top: 28px; max-width: 556px; font-size: 17px; line-height: 23.8px; }
.c-coach .prose p + p { margin-top: 24px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream);
  padding: 36px 16px 28px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.05em;
}
.footer-logo { display: block; width: 187px; margin: 0 auto; }
.footer-logo img { width: 100%; height: auto; }
.footer-copy, .footer-legal { line-height: 19px; }
.site-footer hr { width: min(643px, 100%); margin: 26px auto 21px; border: 0; border-top: 1px solid #b18e9c; }
.footer-legal { margin-top: 12px; font-family: var(--font-small); display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 29px; }
.social { list-style: none; margin: 23px 0 0; padding: 0; display: flex; justify-content: center; gap: 13px; }
.social img { width: 29px; height: 29px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
  .site-nav { flex-wrap: wrap; row-gap: 10px; font-size: 14px; }
  .c-hero .wrap { grid-template-columns: 1fr 266px; }
  .c-split__text { padding: 64px 40px; }
  .c-prices { grid-template-columns: repeat(auto-fit, minmax(260px, 325px)); }
}

/* Skip link: hidden until focused with the keyboard. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--white); color: var(--plum); font-weight: 700; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

/* Mobile-only pieces are hidden on larger screens. */
.tagline, .menu-toggle, .mobile-menu, .to-top { display: none; }

/* ---------- Phones ----------
   Wix draws its mobile site 320px wide and scales it to the phone.
   Here 1rem = 1/320 of the screen width, so rem values are Wix's mobile pixel values. */

@media (max-width: 760px) {
  html { font-size: calc(100vw / 320); }
  body { font-size: 16rem; }

  .site-header { position: relative; height: 178rem; padding: 0; }
  .tagline { display: block; margin: 0; padding-top: 25rem; font-size: 17rem; line-height: 21rem; color: var(--plum); text-align: center; transform: translateX(-3rem); }
  .site-logo { margin-top: 14rem; }
  .site-logo img { width: 98rem; height: 98rem; }
  .site-nav { display: none; }

  .menu-toggle {
    display: block; position: absolute; top: 10rem; right: 15rem; width: 50rem; height: 50rem;
    padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    position: absolute; left: 13rem; width: 23rem; height: 2rem; background: var(--plum); content: "";
  }
  .menu-toggle span { top: 24rem; }
  .menu-toggle span::before { left: 0; top: -9rem; }
  .menu-toggle span::after { left: 0; top: 9rem; }

  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; align-items: center;
    position: fixed; inset: 0; z-index: 10; overflow-y: auto;
    background: var(--cream);
  }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-close {
    position: absolute; top: 20rem; right: 22rem; width: 30rem; height: 30rem;
    border: 0; background: none; cursor: pointer;
  }
  .menu-close::before, .menu-close::after {
    content: ""; position: absolute; left: 4rem; top: 14rem; width: 22rem; height: 2rem; background: var(--ink);
  }
  .menu-close::before { transform: rotate(45deg); }
  .menu-close::after { transform: rotate(-45deg); }
  .mobile-menu nav { display: flex; flex-direction: column; width: 188rem; margin-top: 54rem; }
  .mobile-menu nav a {
    display: flex; align-items: center; height: 56rem;
    font-family: var(--font-small); font-size: 16rem; font-weight: 300; color: var(--ink); text-decoration: none;
  }
  .mobile-menu nav a[aria-current="page"] { color: var(--sage); }
  .mobile-menu__logo { display: block; width: 108rem; margin-top: 75rem; }
  .mobile-menu__logo img { width: 100%; height: auto; }
  .mobile-menu .tagline { padding-top: 27rem; transform: none; }

  .wrap { width: auto; margin-inline: 20rem; }

  .button { min-width: 160rem; height: 42rem; padding: 0 20rem; border-radius: 21rem; font-family: var(--font-small); font-size: 18rem; font-style: italic; font-weight: 400; letter-spacing: 0.1em; }

  .c-hero .wrap { display: block; padding: 11rem 0 43rem; }
  .c-hero__art { display: none; }
  .c-hero h1 { font-size: 30rem; line-height: 37.5rem; max-width: 250rem; top: 9rem; }
  .c-hero hr { margin: 35rem 0 15rem; }
  .c-hero .prose { font-size: 16rem; line-height: 22.4rem; }
  .c-hero .prose p + p { margin-top: 28rem; }

  .c-split { display: block; min-height: 0; }
  .c-split__img { height: 213rem; }
  .c-split__text { padding: 11rem 20rem 26rem; }
  .c-split__text h2 { font-size: 30rem; line-height: 37.5rem; max-width: 280rem; top: 6rem; }
  .c-split__text .prose { margin-top: 34rem; font-size: 16rem; line-height: 28.8rem; }
  .c-split__text .prose p + p { margin-top: 40rem; }

  .c-ways { padding: 5rem 0 17rem; }
  .c-ways h2 { font-size: 30rem; line-height: 39rem; max-width: 216rem; margin: 0 auto; top: 7rem; }
  .c-ways__cards { width: auto; margin-top: 27rem; grid-template-columns: 1fr; gap: 29rem; }
  .c-card { border-radius: 0 0 30rem 30rem; }
  .c-card img { display: none; }
  .c-card__body { padding: 13rem 20rem 21rem; }
  .c-card h3 { font-size: 24rem; line-height: 31.2rem; padding: 0 30rem; top: 4rem; }
  .c-card p { margin: 33rem 0 16rem; font-size: 16rem; line-height: 27.2rem; letter-spacing: 0.05em; }

  .c-offer { padding: 12rem 0 16rem; }
  .c-offer#one-to-one { padding-bottom: 62rem; }
  .c-offer h2 br { display: none; }
  .c-card:first-child p { padding: 0 10rem; }
  .c-offer + .c-offer { padding-top: 42rem; }
  .c-offer h2 { font-size: 30rem; line-height: 39rem; padding: 0 10rem; top: 9rem; }
  .c-offer .button { margin-top: 33rem; }
  .c-offer .prose { margin-top: 16rem; font-size: 17rem; line-height: 23.8rem; }
  .c-offer .prose p + p { margin-top: 30rem; }
  .c-offer__list-intro { margin-top: 52rem; font-size: 17rem; line-height: 21rem; }

  .c-weeks, .c-prices { grid-template-columns: 1fr; margin: 0 -15rem; }
  .c-weeks { margin-top: 10rem; gap: 50rem; }
  .c-week {
    min-height: 310rem; padding: 12rem 14rem 12rem 15rem; border-radius: 60rem;
    font-size: 15rem; line-height: 21rem;
  }
  .c-week h3 { font-size: 15rem; line-height: 21rem; }
  .c-week p + p { margin-top: 21rem; }
  .c-week:first-child, .c-week:first-child h3 { line-height: 19rem; }
  .c-week:nth-child(n) { padding: 12rem 14rem 12rem 15rem; }

  .c-prices { margin-top: 39rem; gap: 30rem; }
  .c-price { min-height: 309rem; display: flex; flex-direction: column; justify-content: center; padding: 12rem 14rem 12rem 16rem; border-radius: 60rem; font-size: 17rem; line-height: 23.8rem; }
  .c-price h3 { font-size: 17rem; line-height: 23.8rem; }

  .c-coach { padding: 74rem 0 59rem; }
  .c-coach .wrap { display: block; width: auto; }
  .c-coach__photo { width: 282rem; margin: 0 auto 57rem; padding: 5rem; transform: rotate(-7.5deg); }  /* rotated, it spans about 316rem like Wix */
  .c-coach__photo img { width: 100%; height: auto; aspect-ratio: 1; }
  .c-coach h2 { font-size: 30rem; line-height: 36rem; max-width: 260rem; }
  .c-coach .prose { margin-top: 10rem; font-size: 17rem; line-height: 23.8rem; }
  .c-coach .prose p + p { margin-top: 24rem; }

  .site-footer { padding: 10rem 20rem 17rem; font-size: 15rem; }
  .footer-logo { width: 130rem; }
  .footer-copy, .footer-legal { line-height: 19rem; }
  .site-footer hr { margin: 10rem 0 13rem; }
  .footer-legal { margin-top: 10rem; flex-direction: column; gap: 10rem; font-size: 15rem; }
  .social { margin-top: 10rem; gap: 13rem; }
  .social img { width: 29rem; height: 29rem; }

  .to-top {
    display: block; position: fixed; left: 0; bottom: 86rem; z-index: 5; width: 44rem; height: 44rem;
    background: rgba(160, 160, 159, 0.75); opacity: 0; pointer-events: none; transition: opacity 0.2s;
  }
  .to-top.is-shown { opacity: 1; pointer-events: auto; }
  .to-top::before {
    content: ""; position: absolute; left: 14rem; top: 18rem; width: 14rem; height: 14rem;
    border-left: 2rem solid var(--white); border-top: 2rem solid var(--white); transform: rotate(45deg);
  }
}
