@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/quicksand-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #fbf4eb;
  --paper-deep: #f5e9dc;
  --ink: #1b313a;
  --carl-ink: #1b2637;
  --ink-muted: #51636a;
  --accent: #c86f4d;
  --accent-dark: #a95336;
  --peach: #f4b48f;
  --peach-light: #f6c7a8;
  --sage-shadow: #94a78b;
  --line: rgba(27, 49, 58, 0.19);
  --focus: #8f432a;
  --font-rounded: "Quicksand", "Avenir Next Rounded", "SF Pro Rounded", ui-rounded, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-rounded);
  font-weight: 450;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 39%, rgba(255, 255, 255, 0.43), transparent 38rem),
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  max-width: 1680px;
  min-height: 136px;
  margin: 0 auto;
  padding: 55px 56px 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-header-home {
  position: absolute;
  inset: 0 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 112px;
  height: 104px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.brand-name {
  font-size: 5.15rem;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.035em;
}

.brand-tagline {
  padding-left: 2px;
  color: var(--accent-dark);
  font-size: 1.16rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.22em;
}

.primary-nav {
  display: flex;
  height: 64px;
  align-items: center;
  gap: clamp(30px, 4vw, 66px);
  font-size: 1.3rem;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  padding: 10px 0;
  align-items: center;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.gift-button {
  display: inline-grid;
  width: 56px;
  height: 56px;
  padding: 5px;
  border: 0;
  place-items: center;
  background: transparent;
  color: var(--accent);
}

.gift-button:disabled {
  cursor: default;
  opacity: 1;
}

.gift-button svg {
  width: 49px;
  height: 49px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.home-page {
  overflow: hidden;
}

.home-hero {
  display: flex;
  min-height: 100dvh;
  padding: clamp(148px, 16.8vh, 166px) 24px 32px;
  flex-direction: column;
  align-items: center;
}

.carl-mascot {
  --eye-x: 0px;
  --eye-y: 0px;
  --blink-scale: 1;
  position: relative;
  width: auto;
  height: clamp(460px, 58.9vh, 555px);
  aspect-ratio: 0.867;
  flex: 0 0 auto;
  isolation: isolate;
}

.carl-mascot::after {
  position: absolute;
  z-index: 0;
  right: 17%;
  bottom: -1.5%;
  left: 17%;
  height: 5.5%;
  border-radius: 50%;
  background: rgba(91, 68, 54, 0.16);
  content: "";
  filter: blur(12px);
  opacity: 0.72;
  transform: scaleX(0.92);
}

.carl-bubble-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.carl-face {
  position: absolute;
  z-index: 2;
  top: 18.5%;
  right: 15.5%;
  left: 15.5%;
  height: 58.5%;
}

.carl-eye {
  position: absolute;
  top: 33%;
  width: 7.5%;
  height: 22.5%;
  border-radius: 999px;
  background: var(--carl-ink);
  box-shadow: inset 2px 0 4px rgba(255, 255, 255, 0.06);
  transform: translate3d(var(--eye-x), var(--eye-y), 0) scaleY(var(--blink-scale));
  transform-origin: center;
  transition: transform 95ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carl-eye-left {
  left: 24.5%;
}

.carl-eye-right {
  right: 24.5%;
}

.carl-face.is-blinking {
  --blink-scale: 0.06;
}

.carl-nose {
  position: absolute;
  top: 51%;
  left: 46.5%;
  width: 7%;
  height: 15%;
  overflow: visible;
  fill: none;
  stroke: rgba(126, 102, 90, 0.38);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
}

.carl-mouth {
  position: absolute;
  bottom: 12%;
  left: 39%;
  width: 22%;
  height: 8%;
  overflow: visible;
  fill: none;
  stroke: var(--carl-ink);
  stroke-linecap: round;
  stroke-width: 8;
  transform: rotate(-1deg);
}

.call-lockup {
  margin-top: clamp(26px, 4.5vh, 46px);
  text-align: center;
}

.call-lockup h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 5vw, 5.25rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.phone-number {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: clamp(1.9rem, 2.45vw, 2.55rem);
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0.045em;
}

.phone-link {
  display: inline-flex;
  min-height: 62px;
  padding: 10px 28px 12px;
  border: 1px solid rgba(126, 57, 36, 0.24);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  box-shadow: 0 11px 24px rgba(146, 76, 50, 0.18);
  color: #fffaf5;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.phone-link:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 28px rgba(126, 67, 44, 0.23);
  transform: translateY(-2px);
}

.phone-link:active {
  box-shadow: 0 7px 16px rgba(126, 67, 44, 0.18);
  transform: translateY(1px) scale(0.985);
}

.phone-unavailable {
  color: var(--ink-muted);
  font-size: 0.72em;
  letter-spacing: 0;
}

.interior-page {
  background:
    radial-gradient(circle at 78% 7%, rgba(241, 180, 139, 0.18), transparent 26rem),
    var(--paper);
}

.page-shell {
  width: min(100% - 44px, 920px);
  margin: 0 auto;
  padding: 80px 0 112px;
}

.reading-page {
  width: min(100% - 44px, 760px);
}

.page-intro h1 {
  max-width: 810px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.6rem, 6.2vw, 5.75rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.page-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.last-updated {
  margin: 24px 0 0;
  color: var(--accent-dark);
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.content-sections {
  margin-top: 84px;
}

.content-sections section {
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.content-sections h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.content-sections p,
.content-sections li {
  color: var(--ink-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.content-sections p {
  margin: 0;
}

.content-sections p + p {
  margin-top: 16px;
}

.content-sections ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.content-sections li {
  position: relative;
  padding-left: 24px;
}

.content-sections li::before {
  position: absolute;
  top: 0.77em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.content-sections a,
.faq-list a {
  color: var(--accent-dark);
  font-weight: 550;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 70px;
  align-items: center;
}

.carl-mascot-small {
  width: 238px;
  height: auto;
  justify-self: end;
}

.carl-mascot-small .carl-mouth {
  stroke-width: 7;
}

.carl-mascot-small .carl-eye {
  top: 35%;
  width: 7%;
  height: 17.5%;
}

.about-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
}

.about-sections section:last-child {
  grid-column: 2;
}

.faq-page .page-intro {
  max-width: 690px;
}

.faq-list {
  margin-top: 82px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 27px 54px 27px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(1.28rem, 2.2vw, 1.58rem);
  font-weight: 520;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--accent);
  content: "+";
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-53%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 650px;
  margin: -4px 52px 30px 0;
  color: var(--ink-muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.site-footer {
  display: flex;
  width: min(100% - 44px, 920px);
  margin: 0 auto;
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  gap: 28px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 106px;
    padding: 26px 22px 16px;
  }

  .site-header-home {
    position: relative;
  }

  .brand {
    gap: 1px;
  }

  .brand-mark {
    width: 60px;
    height: 56px;
  }

  .brand-copy {
    gap: 8px;
  }

  .brand-name {
    font-size: 3.35rem;
  }

  .brand-tagline {
    font-size: 0.67rem;
    letter-spacing: 0.2em;
  }

  .primary-nav {
    height: 47px;
    gap: clamp(12px, 3.5vw, 23px);
    font-size: 0.9rem;
  }

  .gift-button {
    width: 39px;
    height: 39px;
    padding: 3px;
  }

  .gift-button svg {
    width: 35px;
    height: 35px;
  }

  .home-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-hero {
    min-height: calc(100dvh - 106px);
    padding: 38px 20px 42px;
    justify-content: center;
  }

  .carl-mascot {
    width: min(76vw, 318px);
    height: auto;
  }

  .call-lockup {
    margin-top: 34px;
  }

  .call-lockup h1 {
    font-size: clamp(3.25rem, 15vw, 4.15rem);
  }

  .phone-number {
    margin-top: 16px;
    font-size: clamp(1.54rem, 7vw, 2rem);
    letter-spacing: 0.025em;
  }

  .phone-link {
    min-height: 52px;
    padding: 9px 20px 11px;
  }

  .page-shell,
  .reading-page {
    width: min(100% - 44px, 680px);
    padding: 44px 0 76px;
  }

  .page-intro h1 {
    font-size: clamp(3.1rem, 13vw, 4.5rem);
  }

  .page-lead {
    margin-top: 22px;
    font-size: 1.17rem;
  }

  .content-sections {
    margin-top: 60px;
  }

  .content-sections section {
    padding: 30px 0 34px;
  }

  .content-sections p,
  .content-sections li {
    font-size: 1rem;
    line-height: 1.68;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .carl-mascot-small {
    width: min(62vw, 230px);
    justify-self: center;
  }

  .about-sections {
    grid-template-columns: 1fr;
  }

  .about-sections section:last-child {
    grid-column: 1;
  }

  .faq-list {
    margin-top: 58px;
  }

  .faq-list summary {
    padding: 23px 46px 23px 0;
  }

  .faq-list details p {
    margin-right: 24px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 16px;
    padding-left: 18px;
  }

  .brand-name {
    font-size: 3rem;
  }

  .brand-tagline {
    font-size: 0.59rem;
  }

  .primary-nav {
    gap: 10px;
    font-size: 0.82rem;
  }

  .gift-button {
    width: 35px;
    height: 35px;
  }

  .gift-button svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 350px) {
  .site-header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .home-hero {
    min-height: calc(100dvh - 158px);
    padding-top: 28px;
  }
}

@media (min-width: 761px) and (max-height: 790px) {
  .site-header {
    min-height: 108px;
    padding-top: 30px;
  }

  .brand-name {
    font-size: 3.8rem;
  }

  .brand-tagline {
    font-size: 0.92rem;
  }

  .home-hero {
    padding-top: 106px;
  }

  .carl-mascot {
    height: min(51vh, 405px);
  }

  .call-lockup {
    margin-top: 22px;
  }

  .call-lockup h1 {
    font-size: 3.65rem;
  }

  .phone-number {
    margin-top: 12px;
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .carl-eye {
    will-change: auto;
  }
}
