/* adrias.dev, the bright look (site rework, 19 November 2026), linked after home.css by src/rework.py. Paper #F4F2EE
   with Ink #0B0B0C text and one tangerine accent, white cards with a soft lift, and Ink bands where footage plays (the
   wall, the films), so the clips sit on a dark stage. The same values as the app's src/css/paper.css. */

:root {
  color-scheme: light;
  --canvas: #F4F2EE;
  --surface-1: #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-3: #EEEBE5;
  --surface-3-hover: #E4E0D8;
  --glass: rgba(244, 242, 238, 0.86);
  --glass-sheet: #FFFFFF;
  --line: #E2DDD5;
  --line-strong: #CFC9BF;
  --line-hover: #B9B2A7;
  --wave-rest: #CFC9BF;
  --text-1: #0B0B0C;
  --text-2: #3D3A36;
  --text-3: #5E5852;
  --accent-text: #A8360A;
  --accent-wash: rgba(250, 94, 32, 0.10);
  --ink-btn: #0B0B0C;
  --on-ink-btn: #FFFFFF;
  --veil: rgba(11, 11, 12, 0.48);
  --shadow-overlay: 0 0 0 1px rgba(11, 11, 12, 0.06), 0 18px 48px -12px rgba(11, 11, 12, 0.22);
  --lift: 0 1px 2px rgba(11, 11, 12, 0.05), 0 8px 24px -10px rgba(11, 11, 12, 0.14);
  --lift-hover: 0 2px 4px rgba(11, 11, 12, 0.06), 0 22px 44px -16px rgba(11, 11, 12, 0.28);
}

/* the Ink stage, where footage plays */
#made, #films, .hw2, .cl2 {
  color-scheme: dark;
  --canvas: #0B0B0C;
  --surface-1: #161514;
  --surface-2: #201F1D;
  --surface-3: #292724;
  --surface-3-hover: #33302C;
  --line: #2C2A27;
  --line-strong: #3B3834;
  --line-hover: #4A4642;
  --text-1: #FFFFFF;
  --text-2: #C9C5BF;
  --text-3: #A29D96;
  --accent-text: #FA5E20;
  --ink-btn: #FFFFFF;
  --on-ink-btn: #0B0B0C;
  --lift: none;
  --lift-hover: none;
  color: var(--text-1);
}
html, body { background: var(--canvas); color: var(--text-1); }
#made, #films { position: relative; margin-top: var(--sec-gap); padding-top: 48px; padding-bottom: 56px; background: var(--canvas); box-shadow: 0 0 0 100vmax var(--canvas); clip-path: inset(0 -100vmax); }
#films { margin-top: 0; padding-top: 8px; }
@media (max-width: 899px) { #made, #films { padding-top: 28px; padding-bottom: 32px; } #films { padding-top: 0; } }

/* titles: Ink with a tangerine square on paper */
.shd-t, .shd-t a { color: var(--text-1); }
.sec .shd-t::after { content: ""; display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.12em; border-radius: 2px; background: var(--accent); vertical-align: baseline; }
.shd-s { color: var(--text-3); }

/* the header */
.snav { background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.snav-l { color: var(--text-2); font-weight: var(--fw-semi); }
.snav-l:hover, .snav-l[aria-expanded="true"] { color: var(--text-1); background: var(--surface-3); }
.snav-all { margin: 0 4px; padding: 0 12px; color: var(--text-1); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.snav-all::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); }
.snav-all:hover { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--text-1); }
.snav-search { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-1); }
.mega, .srch, .sdr { box-shadow: var(--shadow-overlay); }
.mg-tile { background: var(--surface-3); color: var(--text-1); }
.sdr { background: var(--canvas); }
.sdr-all { margin: 4px 0 8px; border-radius: 12px; background: var(--ink-btn); color: var(--on-ink-btn); }
.sdr-all::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ann { background: var(--ink-btn); color: var(--on-ink-btn); }
.ann a { color: var(--accent); }

/* buttons */
.btn-secondary, .btn-quiet { background: var(--surface-1); color: var(--text-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ink { background: var(--ink-btn); color: var(--on-ink-btn); }
.btn-ink:hover { background: var(--text-2); }
#made .btn-ink:hover, #films .btn-ink:hover, .hw2 .btn-ink:hover { background: var(--paper); }

/* the hero */
.hr2 { padding-top: 40px; padding-bottom: 8px; }
.hr2-h { color: var(--text-1); }
.gcp-site .gcp-f { background: var(--surface-1); outline: 0; box-shadow: var(--lift); }
.gcp-site .gcp-f:focus-within { box-shadow: 0 0 0 2px var(--text-1), var(--lift); }
@media (max-width: 899px) { .hr2 { padding-top: 16px; } }

/* cards on paper lift */
.tcd, .ps, .fp, .cl2, .hw2 { box-shadow: var(--lift); }
.hw2 { background: var(--canvas); }

/* tool cards: the home band and All tools */
.tg3 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tc3 { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 20px; background: var(--surface-1); color: var(--text-1); text-decoration: none; overflow: hidden; box-shadow: var(--lift); transition: box-shadow 180ms var(--ease), transform 180ms var(--ease); isolation: isolate; }
.tc3:hover { box-shadow: var(--lift-hover); transform: translateY(-3px); }
.tc3-m { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.tc3-m .vm { position: absolute; inset: 0; }
.tc3-m .vm img, .tc3-m .vm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc3-i { position: absolute; z-index: 2; left: 10px; top: 10px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-1); color: var(--text-1); }
.tc3:hover .tc3-i { background: var(--accent); color: var(--on-accent); }
.tc3-b { display: grid; align-content: start; gap: 4px; padding: 12px 14px 14px; }
.tc3-t { display: flex; align-items: center; gap: 6px; font: var(--fw-heavy) 19px / 1.05 var(--font-title); text-transform: uppercase; letter-spacing: 0.01em; }
.tc3-go { margin-left: auto; flex: none; color: var(--text-3); transition: transform 180ms var(--ease); }
.tc3:hover .tc3-go { color: var(--accent-text); transform: translateX(3px); }
.tc3-d { font-size: 13px; line-height: 18px; color: var(--text-3); }
@media (max-width: 1299px) { .tg3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .tg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .tg3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc3 { border-radius: 16px; }
  .tc3-b { padding: 10px 10px 12px; }
  .tc3-t { font-size: 16px; }
  .tc3-go { display: none; }
  .tc3-d { font-size: 12px; line-height: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hm-tools3 .tg3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--site-gutter)); padding: 4px var(--site-gutter) 12px; scroll-padding: 0 var(--site-gutter); scrollbar-width: none; }
  .hm-tools3 .tc3 { flex: none; width: 44vw; scroll-snap-align: start; }
}

/* All tools */
.th-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "top mos"; gap: 40px; align-items: end; padding-top: 48px; }
.th-top { grid-area: top; }
.th-eye { margin: 0 0 8px; font: var(--fw-heavy) 14px / 1 var(--font-title); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-text); }
.th-h { margin: 0; font: var(--fw-heavy) clamp(56px, 7vw, 120px) / 0.88 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.th-s { margin: 12px 0 0; font-size: 17px; line-height: 26px; color: var(--text-2); max-width: 60ch; }
.th-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.th-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--surface-1); color: var(--text-1); font-size: 14px; font-weight: var(--fw-semi); text-decoration: none; box-shadow: var(--lift); }
.th-chip:hover { background: var(--text-1); color: var(--surface-1); }
.th-n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font-size: 12px; }
.th-mosaic { grid-area: mos; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 10px; align-items: end; }
.th-tile { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: var(--lift); }
.th-tile:nth-child(2) { aspect-ratio: 4 / 5.6; transform: translateY(-24px); }
.th-tile .vm, .th-tile .vm img, .th-tile .vm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-sec { scroll-margin-top: 72px; }
.th-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; color: var(--text-3); font-size: 14px; }
@media (max-width: 1099px) { .th-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mos" "top"; gap: 0; padding-top: 16px; } .th-mosaic { max-width: 420px; } .th-tile, .th-tile:nth-child(2) { aspect-ratio: 3 / 4; transform: none; } .th-h { font-size: 52px; } }
@media (max-width: 899px) { .th-jump { flex-wrap: nowrap; overflow-x: auto; margin: 16px calc(-1 * var(--site-gutter)) 0; padding: 4px var(--site-gutter) 8px; scrollbar-width: none; } .th-chip { flex: none; } .th-s { font-size: 15px; line-height: 22px; } }

/* phones: the footer is the Ink stage, so its words take the Ink stage's light text (they were Ink on Ink) */
@media (max-width: 899px) {
  .gft {
    color-scheme: dark;
    --stage: #0B0B0C;
    --text-1: #FFFFFF;
    --text-2: #C9C5BF;
    --text-3: #A29D96;
    --line: #2C2A27;
    --line-strong: #3B3834;
    --line-hover: #4A4642;
    --accent-text: #FA5E20;
    --ink-btn: #FFFFFF;
    --on-ink-btn: #0B0B0C;
    --surface-2: #201F1D;
    --surface-3: #292724;
  }
}

/* The legal pages in the phone menu (src/rework.py drawer_html) */
.sdr-legal { padding: 12px 4px 4px; border-top: 1px solid var(--line); margin-top: 8px; }
.sdr-legal ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.sdr-legal a { display: inline-block; padding: 6px 0; font-size: 13px; color: var(--text-2); text-decoration: none; }
.sdr-legal a:hover { color: var(--text-1); }
.sdr-legal a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
