/* Shared studio identity, layered over the existing product layouts. */
:root {
  --ink: #20352e;
  --muted: #5e6b62;
  --ink-soft: #5e6b62;
  --navy: #173f35;
  --blue: #28634e;
  --blue-dark: #194a39;
  --sand: #f0f1e8;
  --cream: #f0f1e8;
  --paper: #fdfdf9;
  --mist: #f4f6f0;
  --line: #dce1d6;
  --shadow: 0 20px 60px #213a2e12;
}
body { background: var(--paper); }
html { scroll-padding-top: 112px; }
main { scroll-margin-top: 112px; }
a:focus-visible { outline: 3px solid #42745a; outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 50; transform: translateY(-160%); padding: 10px 18px; border-radius: 6px; color: white; background: var(--navy); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1160px, calc(100% - 64px)); }
.narrow { width: min(780px, calc(100% - 64px)); }
.site-header { background: #fdfdf9f2; border-color: var(--line); }
.nav { min-height: 84px; }
.wordmark, .brand { font-size: 21px; font-weight: 740; letter-spacing: -.045em; white-space: nowrap; }
.brand-accent { color: var(--blue); }
.brand-dot { display: inline-block; width: 7px; height: 7px; margin: 0 0 2px 5px; border-radius: 50%; background: #7c9865; }
.nav-links { gap: 28px; }
.nav-links > a { font-size: 13px; font-weight: 550; }
.button { gap: 22px; border-radius: 7px; font-size: 14px; font-weight: 600; min-height: 49px; padding: 13px 21px; }
.button.primary { background: var(--navy); box-shadow: none; }
.button.primary:hover { background: var(--blue); box-shadow: 0 5px 14px #173f3518; }
.button.secondary { background: transparent; border-color: #bfcdbf; }
.button.secondary:hover { background: #edf1e7; }
.nav-button, .nav-cta { min-height: 40px; }
.eyebrow { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em; }
h1 { line-height: 1.07; letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.13; font-weight: 600; letter-spacing: -.045em; }
.lead { font-size: 18px; line-height: 1.7; }
.hero, .product-hero, .product-hero.scheduler, .product-hero.calc, .product-hero.bmt { background: #f4f6ef; }
.hero::before { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; }
.product-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; }
.hero-copy > p:not(.eyebrow) { font-size: 18px; }
.product-hero h1 { font-size: clamp(42px, 5.3vw, 66px); }
.product-hero .microcopy, .microcopy, .phone-caption { color: #5e6b62 !important; }
.schedule-window, .app-window, .phone-frame, .inside-grid .phone-frame { transform: none; }
.capability, .feature, .step, .library-group, .source, .spec, .phase { border-radius: 10px; }
.capability-section, .workflow, .pricing-section, .inside, .library, .sources { padding-block: 88px; }
.capability-number, .feature-icon { color: var(--blue); background: #e9f0e3; border-radius: 7px; }
.cta-card { border-radius: 14px; background: var(--navy); box-shadow: none; }
.cta-card p { color: #d1dfd5; }
.cta-card .button { white-space: normal; text-align: center; }
.narrow h1 { font-size: clamp(42px, 6vw, 64px); }
.narrow h2 { margin-top: 40px; font-size: 28px; }
.narrow .microcopy { margin-bottom: 42px; }
footer { background: var(--paper); }
.footer-grid { color: #5e6b62; }
/* Home: a compact, editorial product collection. */
.home h1, .home h2, .home h3 { font-weight: 550; }
.home h1 em, .home h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #477050; letter-spacing: -.045em; }
.studio-hero { padding: 76px 0 72px; background: #f7f8f2; }
.studio-hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: 64px; align-items: center; }
.studio-copy .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #507c46; }
.studio-copy h1 { font-size: clamp(48px, 4.9vw, 69px); line-height: 1.04; margin-bottom: 26px; }
.studio-copy .lead { max-width: 450px; margin-bottom: 28px; font-size: 17px; }
.studio-copy .actions { gap: 24px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 13px; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-footnote { margin: 26px 0 0; font-size: 12px; color: var(--muted); }
.toolkit { padding: 22px 24px 15px; border: 1px solid #d9dfd0; border-radius: 13px; background: #eef1e7; background-image: radial-gradient(#bcc8b67a .65px, transparent .65px); background-size: 12px 12px; }
.toolkit-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .09em; color: #5a6c57; }
.toolkit-label > :last-child { margin-left: auto; }
.tiny-cross { font-size: 19px; line-height: 1; }
.toolkit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.toolkit-app { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 15px 12px 17px; border: 1px solid #dfe4d8; border-radius: 9px; background: #fdfdf9; text-decoration: none; box-shadow: 0 6px 12px #31423006; transition: transform .2s, box-shadow .2s; }
.toolkit-app:hover { transform: translateY(-4px); box-shadow: 0 10px 18px #31423014; }
.toolkit-faculty { transform: rotate(-3deg); }
.toolkit-kalends { transform: rotate(3deg) translateY(6px); }
.toolkit-calc { transform: rotate(2deg); }
.toolkit-bmt { transform: rotate(-2deg) translateY(6px); }
.toolkit-index { align-self: flex-start; color: #66705f; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .04em; }
.toolkit-app img { width: 106px; height: 106px; object-fit: contain; margin: 9px 0 5px; filter: drop-shadow(0 7px 7px #233d3120); }
.toolkit-app img.ios { width: 88px; height: 88px; margin: 18px 0 14px; }
.toolkit-app strong { font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.toolkit-app > span:last-child { font-size: 9px; color: #5e6b62; margin-top: 2px; }
.toolkit-app > span:last-child span { margin-left: 4px; }
.toolkit-caption { display: flex; justify-content: space-between; margin-top: 23px; color: #5e6b62; font-size: 10px; }
.studio-strip { border-block: 1px solid var(--line); }
.studio-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; }
.studio-strip p { margin: 0; font-size: 14px; line-height: 1.5; }
.studio-strip p strong { font-weight: 550; }
.studio-strip .wrap > span { color: var(--muted); font-size: 12px; }
.studio-strip .wrap > span::before { content: '+'; margin-right: 12px; color: #597d48; font-family: monospace; }
.software-section { padding: 96px 0; }
.portfolio-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 40px; }
.portfolio-heading h2 { margin: 0; }
.portfolio-heading > p { max-width: 300px; margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.portfolio-card { display: flex; flex-direction: column; padding: 30px 32px 0; border: 1px solid #dbe1d8; border-radius: 12px; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.portfolio-card:hover { border-color: #8aa48c; transform: translateY(-3px); box-shadow: 0 12px 26px #20352e0a; }
.faculty-card { background: #f1f5f8; }
.kalends-card { background: #f0f4e9; }
.calc-card { background: #f0f5ef; }
.bmt-card { background: #f2f2f8; }
.portfolio-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; color: #56675a; }
.product-category { text-transform: uppercase; letter-spacing: .07em; font-family: ui-monospace, monospace; }
.platform-label { padding: 4px 9px; border: 1px solid #cad4c9; border-radius: 4px; white-space: nowrap; }
.portfolio-name { display: flex; align-items: center; gap: 13px; margin: 28px 0 20px; }
.portfolio-name img { width: 60px; height: 60px; object-fit: contain; }
.portfolio-name img.ios { width: 49px; height: 49px; margin: 5.5px; }
.portfolio-name h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.portfolio-promise { margin-bottom: 16px; font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.portfolio-description { max-width: 430px; margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.product-details { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: auto 0 30px; padding: 0; list-style: none; font-size: 11px; color: #56675a; }
.product-details li::before { content: '+'; margin-right: 7px; }
.portfolio-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; border-top: 1px solid #d4dcd1; font-size: 13px; font-weight: 600; }
.portfolio-bottom > span > span { margin-left: 8px; }
.portfolio-bottom .availability { color: #5e6b62; font-size: 10px; font-weight: 400; }
.studio-principles { padding: 84px 0; color: #f4f5ec; background: #173f35; }
.studio-principles .eyebrow { color: #c0d5ab; }
.home .studio-principles h2 em { color: #c2d8a9; }
.approach-heading > p:last-child { max-width: 500px; margin: 23px 0 0; color: #c6d6ca; font-size: 15px; }
.studio-principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 54px; }
.studio-principle-grid article { border-top: 1px solid #ffffff30; padding-top: 22px; }
.principle-index { color: #c2d8a9; font-family: ui-monospace, monospace; font-size: 11px; }
.studio-principle-grid h3 { margin: 22px 0 12px; font-size: 20px; }
.studio-principle-grid p { margin: 0; font-size: 14px; line-height: 1.8; color: #c6d6ca; }
.studio-contact { padding: 88px 0; background: #f7f8f2; }
.contact-layout { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact-layout h2 { margin-bottom: 22px; }
.contact-layout p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.studio-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 11px; color: var(--muted); }
.studio-footer p { margin: 10px 0 0; font-size: 11px; }
.studio-footer > a { font-size: 13px; text-decoration: none; }
@media (max-width: 1000px) {
  .studio-hero-grid { gap: 35px; }
  .studio-copy h1 { font-size: 52px; }
  .studio-copy .actions { gap: 12px; }
  .toolkit { padding-inline: 16px; }
  .toolkit-label { font-size: 8px; }
  .portfolio-card { padding-inline: 25px; }
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .app-window { width: min(650px, 100%); margin-inline: auto; }
  .nav-links { gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .narrow { width: min(780px, calc(100% - 40px)); }
  .nav { flex-wrap: wrap; gap: 0; padding-top: 17px; }
  .nav > .wordmark, .nav > .brand { width: 100%; text-align: center; justify-content: center; }
  .nav-links { justify-content: center; width: 100%; gap: 20px; padding: 10px 0 13px; }
  .nav-links > a:not(.nav-button):not(.nav-cta) { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-links > a { font-size: 12px; white-space: nowrap; }
  .nav-links .button { min-height: 44px; padding: 9px 12px; gap: 10px; }
  .studio-hero { padding: 48px 0; }
  .studio-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .studio-copy h1 { font-size: clamp(45px, 8.5vw, 64px); }
  .studio-copy .lead { max-width: 530px; }
  .toolkit { width: min(480px, 100%); justify-self: center; padding: 22px; }
  .toolkit-app img { width: 106px; height: 106px; }
  .studio-strip .wrap { flex-wrap: wrap; gap: 18px 12px; }
  .studio-strip p { width: 100%; }
  .studio-strip p br { display: none; }
  .studio-strip p strong { margin-left: 4px; }
  .studio-strip .wrap > span { font-size: 10px; }
  .studio-strip .wrap > span::before { margin-right: 5px; }
  .portfolio-heading { display: block; }
  .portfolio-heading > p { margin: 22px 0 0; max-width: 450px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { padding: 25px 25px 0; }
  .software-section, .studio-principles, .studio-contact { padding-block: 60px; }
  .studio-principle-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .studio-principle-grid h3 { margin-top: 12px; }
  .contact-layout { flex-direction: column; align-items: flex-start; gap: 28px; }
  .studio-footer { flex-wrap: wrap; gap: 25px; }
  .studio-footer > div { width: 100%; }
  .studio-footer > span { margin-left: auto; }
  .product-hero h1 { font-size: clamp(40px, 8.5vw, 60px); }
  .hero h1 { font-size: clamp(43px, 9vw, 62px); }
  .product-hero, .hero { padding-block: 50px; }
  .capability-section, .workflow, .pricing-section, .inside, .library, .sources { padding-block: 60px; }
  .phone-frame { max-width: 100%; }
  .price-card { padding: 28px; }
  .cta { padding-block: 55px; }
}
@media (max-width: 420px) {
  .nav-links { gap: 12px; }
  .nav-links > a { font-size: 11px; }
  .nav-links .button { padding-inline: 9px; }
  .toolkit { padding: 18px 14px 12px; }
  .toolkit-grid { gap: 10px; }
  .toolkit-app { padding-inline: 8px; }
  .toolkit-app > span:last-child { font-size: 8px; }
  .toolkit-app strong { font-size: 14px; }
  .toolkit-index { font-size: 7px; }
  .portfolio-card { padding-inline: 20px; }
  .portfolio-top { font-size: 8px; gap: 8px; }
  .portfolio-name h3 { font-size: 25px; }
  .portfolio-promise { font-size: 28px; }
  .portfolio-bottom { font-size: 11px; gap: 6px; }
  .portfolio-bottom .availability { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toolkit-app, .portfolio-card { transition: none; }
  .toolkit-app:hover, .portfolio-card:hover, .button:hover { transform: none; }
}
