/* Andpoint: a quiet editorial frame around an original, slowly flowing atmosphere. */
.andpoint {
  --bg: #f7f1eb;
  --surface: #eee7df;
  --text: #211e1c;
  --muted: #655c55;
  --line: #c8bfb6;
  --accent: #211e1c;
  --accent-strong: #023a34;
  --on-accent: #f7f1eb;
  --paper: #fcf8f4;
  --display: 'Source Sans', sans-serif;
  --wrap: 1440px;
  --studio-gutter: clamp(20px, 4.5vw, 80px);
}
.andpoint .wrap { padding-inline: var(--studio-gutter); }
.andpoint h1, .andpoint h2, .andpoint h3 { font-weight: 400; }
.andpoint .header-inner { padding-block: 18px; gap: 20px 32px; }
.andpoint .brand-logo { width: 64px; height: 64px; flex-basis: 64px; }
.andpoint .brand-name { font-weight: 500; font-size: 1.12rem; }
.andpoint .brand-role { font-size: .8rem; }
.andpoint .button {
  border: 1px solid currentColor;
  border-radius: 75px;
  color: var(--text);
  background: transparent;
  padding: 13px 28px;
  font-weight: 400;
  letter-spacing: .01em;
  box-shadow: none;
  min-height: 48px;
  transition: background-color .2s, color .2s;
}
.andpoint .button:hover { background: var(--text); color: var(--bg); }
.andpoint :focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.andpoint .site-nav a { color: var(--text); font-weight: 400; }
.andpoint .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.andpoint .account-menu ul { border-radius: 0; box-shadow: none; background: var(--bg); }
.andpoint .studio-hero { position: relative; isolation: isolate; color: #fff; background: #142a25; }
.andpoint .studio-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.andpoint .studio-atmosphere img { width: 100%; height: 100%; object-fit: cover; }
.andpoint .studio-atmosphere canvas { position: absolute; inset: -2%; width: 104%; height: 104%; filter: blur(14px); }
.andpoint .studio-atmosphere [hidden] { display: none; }
.andpoint .studio-atmosphere::after { content: ''; position: absolute; inset: 0; background: #09171499; }
.andpoint .studio-stage { min-height: 100svh; padding-block: 160px 38px; display: flex; flex-direction: column; justify-content: space-between; gap: 42px; }
.andpoint .studio-byline { margin: 0; font-size: 1rem; letter-spacing: .015em; }
.andpoint .studio-hero h1 { font-size: clamp(4rem, 12.5vw, 15rem); line-height: .92; letter-spacing: -.045em; font-weight: 300; max-width: none; width: 100%; margin: 18px auto; text-align: center; color: #fff; text-wrap: balance; }
.andpoint .studio-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.andpoint .studio-hero .button { color: #fff; background: #12282070; }
.andpoint .studio-hero .button:hover { background: #fff; color: #211e1c; }
.andpoint .studio-explore { color: #fff; text-decoration: none; display: inline-flex; gap: 32px; align-items: center; min-height: 48px; font-size: 1rem; }
.andpoint .studio-explore:hover { text-decoration: underline; text-underline-offset: 6px; }
.andpoint .studio-statement { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: clamp(64px, 8vw, 128px); }
.andpoint .studio-statement>p:first-child { font-size: 1rem; max-width: 22ch; padding-top: 8px; }
.andpoint .studio-statement a { color: inherit; text-underline-offset: 4px; }
.andpoint .studio-intro { font-size: clamp(1.9rem, 3.9vw, 3.7rem); font-weight: 300; line-height: 1.16; letter-spacing: -.025em; margin: 0; max-width: 28ch; }
.andpoint .studio-practice { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10%; padding-block: 0 96px; scroll-margin-top: 32px; }
.andpoint .studio-practice h2 { grid-column: 1/-1; font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 22ch; margin: 0 0 56px; }
.andpoint .studio-practice h3 { grid-column: 1; border-top: 1px solid var(--line); margin: 0; padding: 32px 0; font-size: clamp(1.6rem, 2.4vw, 2.25rem); max-width: none; }
.andpoint .studio-practice h3+p { grid-column: 2; border-top: 1px solid var(--line); margin: 0; padding: 32px 0; color: var(--muted); }
.andpoint .studio-practice h2:not(:first-child) { margin: 76px 0 28px; }
.andpoint .studio-practice>p:last-child { grid-column: 2; margin: 0; }
.andpoint .studio-insights { padding-block: 64px 96px; border-top: 1px solid var(--line); }
.andpoint .studio-insights .section-heading { grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; }
.andpoint .studio-insights h2 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.05; margin: 0; }
.andpoint .studio-insights .quiet-note { margin: 48px 0 0; max-width: 60ch; font-size: 1rem; }
.andpoint .studio-invitation { background: var(--text); color: var(--bg); }
.andpoint .studio-close { padding-block: 72px 90px; }
.andpoint .studio-close>p { font-size: 1rem; margin: 0 0 38px; color: inherit; }
.andpoint .studio-close h2 { font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 300; line-height: 1.02; max-width: 15ch; margin: 0 0 42px; letter-spacing: -.04em; }
.andpoint .studio-invitation-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.andpoint .studio-invitation .button { color: inherit; }
.andpoint .studio-invitation .button:hover { background: var(--bg); color: var(--text); }
.andpoint .studio-invitation .text-link { color: inherit; padding-block: 12px; }
.andpoint .site-footer { border-top: 0; }
.andpoint .footer-inner { padding-block: 48px; }
.andpoint .contact-form, .andpoint .contact-form input, .andpoint .contact-form textarea, .andpoint .contact-form select, .andpoint .notebook-empty, .andpoint .article-search input { border-radius: 0; box-shadow: none; }
.andpoint .contact-form { background: var(--paper); }
.andpoint .contact-layout h1 { font-weight: 300; }
.andpoint .contact-form input, .andpoint .contact-form textarea, .andpoint .contact-form select { background: var(--bg); color: var(--text); }
@media screen and (prefers-color-scheme: dark) {
  .andpoint { --bg: #211a17; --surface: #302621; --text: #f2e7dc; --muted: #c4b5a9; --line: #69594f; --accent: #f2e7dc; --accent-strong: #dfebe1; --on-accent: #211a17; --paper: #2b221d; }
  .andpoint .studio-atmosphere img { filter: brightness(.85); }
  .andpoint .studio-invitation { background: #302621; color: var(--text); }
  .andpoint .studio-invitation .button:hover { background: var(--text); color: var(--bg); }
}
@media (max-width: 950px) {
  .andpoint .header-inner { gap: 12px 20px; }
  .andpoint .brand { margin-right: auto; }
  .andpoint .site-nav { order: 3; flex-basis: 100%; }
  .andpoint .studio-stage { padding-top: 190px; }
  .andpoint .studio-statement { grid-template-columns: 1fr; gap: 28px; }
  .andpoint .studio-statement>p:first-child { max-width: none; }
}
@media (max-width: 600px) {
  .andpoint .header-inner { gap: 8px 16px; }
  .andpoint .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .andpoint .brand-name { font-size: 1rem; }
  .andpoint .brand-role { font-size: .75rem; }
  .andpoint .header-cta { order: 4; width: 100%; text-align: center; }
  .andpoint .site-nav ul { gap: 0 28px; }
  .andpoint .studio-stage { min-height: 100svh; padding-block: 168px 28px; gap: 36px; }
  .andpoint .studio-hero h1 { font-size: clamp(2.5rem, 16.5vw, 6.2rem); }
  .andpoint .studio-byline { font-size: .9rem; max-width: 28ch; }
  .andpoint .studio-hero-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
  .andpoint .studio-practice { display: block; padding-bottom: 56px; }
  .andpoint .studio-practice h2 { margin-bottom: 36px; }
  .andpoint .studio-practice h3 { padding: 24px 0 12px; }
  .andpoint .studio-practice h3+p { border-top: 0; padding: 0 0 28px; }
  .andpoint .studio-practice h2:not(:first-child) { margin-top: 40px; }
  .andpoint .studio-insights { padding-block: 48px 64px; }
  .andpoint .studio-insights .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .andpoint .studio-close { padding-block: 56px 64px; }
}
@media (prefers-reduced-motion: reduce) { .andpoint *, .andpoint *::before, .andpoint *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  .andpoint { --bg: #fff; --text: #211e1c; --muted: #655c55; --line: #ccc; --paper: #fff; }
  .andpoint .studio-atmosphere { display: none; }
  .andpoint .studio-hero, .andpoint .studio-invitation { background: #fff; color: #211e1c; }
  .andpoint .studio-hero h1 { color: #211e1c; }
  .andpoint .studio-stage { min-height: 0; padding-block: 32px; }
  .andpoint .studio-hero-bottom { display: none; }
}

/* Home navigation shares the atmosphere; secondary pages keep their paper header. */
.andpoint:where(.studio-home) .site-header { position: absolute; inset: 0 0 auto; z-index: 5; background: transparent; border: 0; color: #fff; }
.andpoint:where(.studio-home) .site-header .wrap, .andpoint .studio-stage { max-width: none; }
.andpoint:where(.studio-home) .brand, .andpoint:where(.studio-home) .brand-role, .andpoint:where(.studio-home) .site-nav a, .andpoint:where(.studio-home) .header-cta, .andpoint:where(.studio-home) .account-menu summary { color: #fff; }
.andpoint:where(.studio-home) .header-cta:hover { background: #fff; color: #211e1c; }
.andpoint:where(.studio-home) .account-menu ul { color: var(--text); }
.andpoint .studio-motion { border: 0; border-bottom: 1px solid #ffffff70; padding: 10px 0; background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; min-height: 44px; }
.andpoint .studio-motion[hidden] { display: none; }
.andpoint .studio-explore { margin-right: auto; }
.andpoint .studio-motion { order: 2; }
.andpoint .studio-hero-bottom .button { order: 3; }
.andpoint .studio-hero .button, .andpoint .studio-explore { transition: background-color .6s cubic-bezier(.19,1,.22,1), color .6s cubic-bezier(.19,1,.22,1); }
@media (max-width: 950px) {
  .andpoint:where(.studio-home) .header-cta { display: none; }
}
@media (max-width: 600px) {
  .andpoint .studio-hero-bottom { display: grid; grid-template-columns: 1fr auto; width: 100%; gap: 16px 12px; }
  .andpoint .studio-hero-bottom .button { grid-column: 1/-1; justify-self: start; }
  .andpoint .studio-explore { gap: 12px; font-size: .9rem; }
  .andpoint .studio-motion { font-size: .75rem; }
}
@media print {
  .andpoint:where(.studio-home) .site-header { position: static; color: #211e1c; }
  .andpoint:where(.studio-home) .brand, .andpoint:where(.studio-home) .brand-role { color: #211e1c; }
  .andpoint .studio-stage { min-height: 0; padding-block: 32px; }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.studio-home) { scroll-behavior: smooth; }
  .andpoint .studio-stage h1 { animation: studio-arrive 1.4s cubic-bezier(.19,1,.22,1) both; }
}
@keyframes studio-arrive { from { opacity: .6; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
