/* Augmetry on the tasteskill system. Linked after the kit's stylesheets (layout.css resets --ly-scale).
   Palette: start.mjs brand --page service with the logo's blue as the action (see .taste-skill/brand.txt).
   Type: Source Serif 4 for headings and IBM Plex Sans for text, the owner's choice, self-hosted by next/font;
   the owner's pairing replaces the dealt text face (Libre Franklin). */
:root {
  --p-bg: #ffffff; --p-surface: #f3f6f9; --p-ink: #111827; --p-muted: #686e79;
  --p-accent: #05618f; --p-accent-ink: #ffffff; --p-action: #05618f; --p-action-ink: #ffffff;
  --p-inv-bg: #111827; --p-inv-surface: #1e2534; --p-inv-ink: #ffffff; --p-inv-muted: #9b9ea6;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #111827; --p-inv-action: #ffffff; --p-inv-action-ink: #111827;
  --font-display: var(--font-serif), Georgia, serif;
  --font-text: var(--font-sans), system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-tracking-xl: -0.026em;
  /* the Digital Studio's colour from the logo (the owner keeps it, against the kit's violet rule) */
  --studio: #6154a4;
}

/* the logo's six colours, one strip at the foot of the footer */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); height: 6px; margin-top: var(--s-6); }
.brand-strip > span:nth-child(1) { background: #05618f; }
.brand-strip > span:nth-child(2) { background: #6154a4; }
.brand-strip > span:nth-child(3) { background: #c8102e; }
.brand-strip > span:nth-child(4) { background: #feea3f; }
.brand-strip > span:nth-child(5) { background: #5cb85c; }
.brand-strip > span:nth-child(6) { background: #6b4423; }

.nav__logo img { width: 32px; height: 32px; }
[lang="ta"], .ta { font-family: var(--font-tamil), var(--font-display); }

/* inside a visual: the tools the Digital Studio builds with, real icons on tiles */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); padding: var(--s-7); align-content: center; height: 100%; }
.tools figure { margin: 0; display: grid; justify-items: center; gap: var(--s-3); font-size: var(--t-small); color: var(--muted); }
@media (max-width: 639px) { .tools { gap: var(--s-4); padding: var(--s-5); } }

.studio-mark { color: var(--studio); }

.socials { display: flex; gap: var(--s-5); }
/* the files a title ends in, real file icons beside the questions */
.formats { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.formats li { display: flex; align-items: center; gap: var(--s-4); }
@media (max-width: 639px) { .rows a.rows__name { display: inline-flex; align-items: center; min-height: 44px; } }
ul.formats { padding: 0; }
/* the steps moment rests as static rows on a phone: hold the section to its two screens there too */
@media (max-width: 639px) { #how { height: calc(2 * 100lvh); } }

/* long reading (posts, legal, the blog list): outside the screen grid, one measure, the system's type */
.article { padding-block: calc(var(--nav) + var(--s-9)) var(--s-9); }
.article__body { max-width: 68ch; }
.article__body > h1 { font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); margin: var(--s-3) 0 var(--s-5); text-wrap: balance; }
.article__meta { color: var(--muted); font-size: var(--t-small); margin-bottom: var(--s-7); }
.article__body h2 { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); margin: var(--s-8) 0 var(--s-4); }
.article__body p, .article__body li { font-size: 17px; line-height: 1.7; }
.article__body p + p { margin-top: var(--s-4); }
.article__body ul { margin: var(--s-4) 0; padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.article__body a { color: var(--action); text-underline-offset: 3px; }
.article__related { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); }
.listing { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; }
.listing li { padding-block: var(--s-5); border-bottom: 1px solid var(--line); display: grid; gap: var(--s-2); }
.listing a { font: var(--display-weight) var(--t-card)/1.3 var(--font-display); color: var(--ink); text-decoration: none; }
.listing a:hover { text-decoration: underline; text-underline-offset: 4px; }
.listing .t-small { color: var(--muted); }
@media (max-width: 639px) { .article { padding-block: calc(var(--nav) + var(--s-7)) var(--s-8); } }

/* the Digital Studio pages mark their label in the logo purple */
.is-digital .hero--statement .t-label { color: var(--studio); }

/* the form's spam trap: off screen, never focused */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-panel { background: var(--g-alt, var(--surface)); padding: var(--s-7); border-radius: var(--r-lg); }
@media (max-width: 639px) { .contact-panel { padding: var(--s-5); } }
.contact-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-list dt { font-size: var(--t-small); color: var(--muted); }
.contact-list dd { margin: 0; }

/* the home hero: the two divisions side by side, equal weight */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-self: center; }
.door { display: flex; flex-direction: column; gap: var(--s-3); background: var(--surface); border-radius: var(--r-lg); padding: var(--s-5); }
.door__media { aspect-ratio: 4 / 3; border-radius: var(--r-md, 8px); overflow: hidden; background: #fff; margin-bottom: var(--s-2); }
.door__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.door__tools { display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: var(--s-4); }
.door__tools img { width: auto; height: auto; object-fit: contain; }
.door__label { color: var(--action); }
.door--studio .door__label { color: var(--studio); }
.door__title { font: var(--display-weight) var(--t-card)/1.25 var(--font-display); color: var(--ink); text-decoration: none; }
.door__title:hover { text-decoration: underline; text-underline-offset: 4px; }
.door__line { color: var(--muted); font-size: var(--t-small); flex: 1; }
.door .btn { align-self: flex-start; }
.door--studio .btn--primary { background: var(--studio); color: #fff; }
.closing__cta .btn-row { flex-wrap: wrap; }
@media (max-width: 899px) { .doors { grid-template-columns: 1fr; } .door__media { display: none; } .door { padding: var(--s-4); gap: var(--s-2); } }
@media (min-width: 640px) and (max-width: 899px) { .doors { grid-template-columns: 1fr 1fr; } }
.doors, .door { min-width: 0; }
.hero h1 { hyphens: manual; -webkit-hyphens: manual; }
/* a narrow hero column (900 to 1199): the two cards stack, without their pictures */
@media (min-width: 900px) and (max-width: 1199px) { .doors { grid-template-columns: 1fr; gap: var(--s-4); } .door__media { display: none; } .door { padding: var(--s-5); } }
