/* Ink & Teal styling for the Services and Cinematography pages. */
.ts-page.ink-teal {
  --ink: #14252a;
  --teal: #14645b;
  --ivory: #f8f7f2;
  --line: #d7deda;
  --mint: #c4ebd6;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.ink-teal .ts-hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.ink-teal .ts-hero h1, .ink-teal .ts-section h2 { color: var(--ink); letter-spacing: -.045em; }
.ink-teal .ts-hero .ts-intro { max-width: 44ch; color: #485b59; }
.ink-teal .ts-hero .ts-figure { margin: 0; border-radius: 12px; overflow: hidden; }
.ink-teal .ts-hero .ts-figure img { display: block; width: 100%; }
.ink-teal .ts-button { background: var(--teal); color: #fff; border-color: var(--teal); }
.ink-teal .ts-text-link { color: var(--teal); }
.ink-teal :focus-visible { outline: 3px solid #187766; outline-offset: 4px; }
.ink-teal .ts-section { border-bottom-color: var(--line); }
.ink-teal .ts-section [id], .ink-teal #syllabus { scroll-margin-top: 7rem; }

.ink-services #services { background: #fff; }
.ink-services .ink-directory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 1.8rem;
}
.ink-services .ink-directory-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal);
  font-weight: 650;
}
.ink-services .ink-directory-nav a:hover { background: #e6f0ea; }
.ink-services #services .ts-group > h3 { margin: 0 0 .6rem; }
.ink-services #services .ts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.8rem; }
.ink-services #services .ink-feature-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: stretch; }
.ink-services #services .ink-feature-layout .ts-grid { grid-template-columns: minmax(0, 1fr); }
.ink-services #services .ts-card {
  min-width: 0;
  padding: 1rem .15rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ink-services #services .ts-card h4 { margin: 0 0 .3rem; color: var(--ink); }
.ink-services #services .ts-card p { margin: 0 0 .36rem; color: #485b59; }
.ink-services #services .ts-card .ts-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.ink-services #services .ts-card.ink-feature { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: .55rem; padding: clamp(1.3rem, 4vw, 2.6rem); background: var(--ink); color: #fff; border-radius: 12px; }
.ink-services #services .ink-feature h4 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.45rem); }
.ink-services #services .ink-feature p { color: #d8e9e4; }
.ink-services #services .ink-feature a { color: var(--mint); }

.ink-cinema .ts-hero { background: var(--ink); color: #fff; border-bottom: 0; }
.ink-cinema .ts-hero h1 { color: #fff; }
.ink-cinema .ts-hero .ts-intro, .ink-cinema .ts-hero .ts-breadcrumb { color: #d8e9e4; }
.ink-cinema .ts-hero .ts-kicker, .ink-cinema .ts-hero .ts-text-link, .ink-cinema .ts-hero .ts-breadcrumb a { color: var(--mint); }
.ink-cinema .ts-hero .ts-button { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.ink-cinema .ts-hero :focus-visible, .ink-services #services .ink-feature :focus-visible { outline-color: var(--mint); }
.ink-cinema #syllabus .ink-modules { display: grid; gap: .55rem; }
.ink-cinema .ink-module { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.ink-cinema .ink-module summary {
  padding: .85rem 1rem;
  min-height: 48px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}
.ink-cinema .ink-module summary::marker { color: var(--teal); }
.ink-cinema .ink-module p { padding: 0 1rem 1rem; margin: 0; color: #485b59; }
.ink-cinema .ink-module[open] { border-color: #629087; }
.ink-cinema .ink-portfolio { background: #e6f0ea; }

@media (max-width: 680px) {
  .ink-services #services .ts-grid, .ink-services #services .ink-feature-layout,
  .ink-teal .ts-hero .ts-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ink-services #services .ink-feature-layout { gap: .7rem; }
  .ink-teal .ts-hero-grid > * { min-width: 0; }
}
