/* usetenet.ai v5. Light and airy: cream page, indigo type, the photos carry the color.
   Phone < 768, tablet 768-1099, desktop >= 1100. */

:root {
  --cream: #EEEADE;
  --cream-2: #F5F2EA;
  --paper: #FBF8F1;
  --ink: #1E1533;
  --ink-2: rgba(30, 21, 51, .70);
  --ink-3: rgba(30, 21, 51, .52);
  --line: rgba(30, 21, 51, .14);
  --purple: #7C5CBF;
  --lavender: #BFABEF;
  --r-lg: 14px; --r-md: 10px; --r-sm: 4px;
  --gut: 16px;
  --sec: 72px;
  --bar-h: 64px;
  --serif: 'Spectral', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; --sec: 104px; --bar-h: 72px; } }
@media (min-width: 1100px) { :root { --gut: 48px; --sec: 136px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lavender); color: var(--ink); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: var(--r-md); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.1; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 400; }
.lede { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 20px 0 0; max-width: 34em; text-wrap: pretty; }
@media (min-width: 1100px) { .lede { font-size: 19px; } }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin: 0 0 22px; display: flex; gap: 12px; align-items: center; }
.eyebrow span { color: var(--ink-3); }

/* Buttons: 10px radius, never pills; 48px tall so every tap target clears 44 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-md);
  font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2E2349; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { color: var(--paper); border-color: rgba(251, 248, 241, .7); background: rgba(30, 21, 51, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(30, 21, 51, .28); border-color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Top bar: cream, pinned, hairline once the page moves */
.bar { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid transparent; transition: border-color .25s; }
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar__in { height: var(--bar-h); display: flex; align-items: center; gap: 32px; }
.bar__logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo { width: 104px; height: auto; }
.bar__nav { display: none; gap: 32px; margin-left: auto; }
.bar__nav a, .menu a { text-decoration: none; }
.bar__nav a { font-size: 15px; color: var(--ink-2); padding: 12px 0; transition: color .2s; }
.bar__nav a:hover { color: var(--ink); }
.bar__cta { display: none; min-height: 44px; padding: 0 18px; font-size: 14px; }
.bar__menu { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.bar__menu span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.bar__menu[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.bar__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 768px) {
  .bar__nav, .bar__cta { display: flex; }
  .bar__cta { display: inline-flex; }
  .bar__menu { display: none; }
  .logo { width: 112px; }
}
.menu { position: fixed; inset: var(--bar-h) 0 0; z-index: 49; background: var(--cream); padding: 24px var(--gut); }
.menu nav { display: flex; flex-direction: column; }
.menu a { font: 300 34px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu a:last-child { color: var(--purple); }
body.menu-open { overflow: hidden; }

/* Framed prints: rounded 14px, the photo fills, a drawn placeholder until the graded file exists */
.print { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #A9C3C2; isolation: isolate; }
.print picture, .print img { position: absolute; inset: 0; width: 100%; height: 100%; }
.print img { object-fit: cover; }
.print--hero, .print--program, .print--vantage, .print--close { aspect-ratio: 4 / 5; }
.print--world, .print--hills { aspect-ratio: 4 / 5; }
/* The hero always fills the column: its height is the picture's shape at that width, capped to the screen. On a short
   screen the crop gets wider, the frame never gets narrower. Landscape tablets take the wide picture. */
.print--hero { --w: calc(min(100vw, 1440px) - 2 * var(--gut)); aspect-ratio: auto;
  height: max(560px, min(calc(var(--w) * 16 / 9), calc(100svh - var(--bar-h) - 12px))); }
@media (min-width: 768px) { .print--hero { height: max(520px, min(calc(var(--w) * 5 / 4), calc(100svh - var(--bar-h) - 12px))); } }
@media (min-width: 1100px), (min-width: 768px) and (orientation: landscape) {
  .print--hero { height: max(480px, min(calc(var(--w) * 9 / 16), calc(100svh - var(--bar-h) - 24px))); } }
@media (min-width: 768px) {
  .print--program, .print--vantage { aspect-ratio: 21 / 9; }
  .print--close { aspect-ratio: 16 / 9; }
}
.print--hero img { object-position: 50% 62%; }

.ph { position: absolute; inset: 0; z-index: -1; background: var(--sky); }
.ph svg.land { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.ph span { position: absolute; right: 12px; bottom: 10px; font: 400 11px/1.3 var(--mono); color: rgba(251, 248, 241, .85); letter-spacing: .02em; text-align: right; max-width: 70%; }
.print[data-scene] { --sky: linear-gradient(180deg, #5FA9AC 0%, #86A9B8 32%, #D99A9E 58%, #E6A48F 70%, #B7A3CF 100%); }
.print[data-scene="world"] { --sky: linear-gradient(180deg, #8DB9BC 0%, #E7B2A3 26%, #C9B7D8 40%, #6E8C76 41%, #4F7360 100%); }
.print[data-scene="close"] { --sky: linear-gradient(180deg, #3E6F86 0%, #6E8FB0 40%, #B9A4CF 66%, #E2A9A6 82%, #E9B79B 100%); }
.print[data-scene="program"] { --sky: linear-gradient(180deg, #6F9FB0 0%, #9FB2C4 30%, #D79CA3 52%, #E7AE92 60%, #7E9A78 61%, #55755E 100%); }
.print[data-scene="hills"] { --sky: linear-gradient(180deg, #6AA8AA 0%, #D9A1A0 46%, #EBB28E 64%, #C7A7CB 100%); }

/* Halftone: fine dots fading in from the edges, drawn in CSS so they stay crisp at every size */
.halftone { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: radial-gradient(circle, rgba(251, 248, 241, .62) .85px, transparent 1.35px);
  background-size: 6px 6px; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 52%, #000 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 52%, #000 100%); }
/* On the program picture the dots fill only the reflection, below the waterline: the twin is the model */
.halftone--twin { -webkit-mask-image: linear-gradient(180deg, transparent 69%, rgba(0,0,0,.5) 74%, #000 90%);
                          mask-image: linear-gradient(180deg, transparent 69%, rgba(0,0,0,.5) 74%, #000 90%); }
@media (min-width: 1100px) { .halftone { background-size: 7px 7px; } .fig { padding: 40px 28px 40px 0; } .fig + .fig { padding-left: 28px; } }

/* Hero */
.hero { padding-top: 4px; }
.hero__print { position: relative; }
.hero__print .print::after { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(30, 21, 51, .22), rgba(30, 21, 51, 0)); }
.hero__copy h1, .hero__copy p { text-shadow: 0 1px 18px rgba(30, 21, 51, .28); }
.hero__copy { position: absolute; z-index: 3; left: 0; right: 0; top: 0; padding: 40px 22px 0; color: var(--paper); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -.02em; max-width: 13em; text-wrap: balance; text-shadow: 0 1px 24px rgba(30, 21, 51, .18); }
.hero__copy p { margin: 18px 0 0; font-size: 16px; line-height: 1.55; max-width: 30em; color: rgba(251, 248, 241, .94); text-wrap: balance; }
.hero .actions { justify-content: center; margin-top: 26px; }
@media (min-width: 768px) { .hero__copy { padding-top: 72px; } .hero__copy p { font-size: 18px; } }
@media (min-width: 1100px) { .hero__copy { padding-top: clamp(56px, 9vh, 104px); } .hero__copy p { font-size: 19px; } }
@media (max-width: 380px) { .hero .actions .btn { flex: 1 1 100%; } }

/* Sections */
.sec { padding: var(--sec) 0 0; }
.split { display: grid; gap: 40px; }
.split__media { order: -1; }
@media (min-width: 768px) and (max-width: 1099px) { .split__media .print { aspect-ratio: 3 / 2; } }
@media (min-width: 1100px) {
  .split { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .split__media { order: 0; }
  .split--flip .split__media { order: -1; }
  .split__text { max-width: 560px; }
  .split--flip .split__text { justify-self: start; }
}

.how2__text { display: grid; gap: 40px; margin-top: 48px; }
.pull { margin: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--lavender); align-self: end; }
.pull p { margin: 0; font: italic 300 clamp(24px, 2.4vw, 32px)/1.3 var(--serif); color: var(--ink); max-width: 18em; text-wrap: balance; }
@media (min-width: 1100px) { .how2__text { grid-template-columns: 1fr 1fr; gap: 96px; margin-top: 64px; } }

/* Who it's for */
.who__head { margin-bottom: 40px; max-width: 760px; }
.who__cards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .who__cards { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; } }
.card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.aud { padding: 20px; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; }
.aud__mark { display: block; width: 56px; height: 56px; grid-row: span 2; }
.aud h3 { align-self: end; }
.aud p { align-self: start; }
.aud p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
@media (min-width: 768px) { .aud p { margin-top: 6px; } }
@media (min-width: 768px) { .aud { display: block; padding: 28px 28px 32px; } .aud__mark { width: 64px; height: 64px; } .aud h3 { margin-top: 24px; } }
.aud:hover { border-color: rgba(124, 92, 191, .45); background: var(--paper); transform: translateY(-3px); }
/* Emblems: one valley in three round views. Line work is purple at 1.5; the land is two lavender washes. */
.em { display: block; width: 100%; height: 100%; overflow: visible; }
.em__sun { fill: var(--paper); transition: transform .6s var(--ease); }
.em__far { fill: #DCD0F4; }
.em__near { fill: #CCBCF2; }
.em__rim { fill: none; stroke: rgba(124, 92, 191, .28); stroke-width: 1; }
.em__line { fill: none; stroke: var(--purple); stroke-width: 1.5; stroke-linecap: round; }
.em__dots { fill: none; stroke: var(--purple); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 0 3.3; }
.em__pin, .em__bldg, .em__house { fill: var(--paper); stroke: var(--purple); stroke-width: 1.5; stroke-linejoin: round; }
.em__flag, .em__lit { fill: var(--purple); }
.em__win { fill: #D9CCF3; }
.em__new { fill: rgba(251, 248, 241, .45); stroke: rgba(124, 92, 191, .5); stroke-width: 1.5; stroke-linejoin: round; transition: stroke .3s, fill .3s; }
.aud:hover .em__sun { transform: translateY(-1.5px); }
.aud:hover .em__dots { animation: march 1.3s linear infinite; }
.aud:hover .em__new { stroke: var(--purple); fill: var(--paper); }
@keyframes march { to { stroke-dashoffset: -6.6; } }
.who__close { margin: 28px 0 0; font: 300 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); text-wrap: balance; }

/* Proof */
.proof__head { max-width: 760px; }
.figs { display: grid; margin-top: 48px; border-top: 1px solid var(--line); }
.fig { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.fig__n { font: 300 clamp(40px, 5.8vw, 96px)/.95 var(--serif); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
@media (max-width: 767px) { .fig__n { font-size: 60px; } }
.fig__l { font-size: 16px; color: var(--ink-2); max-width: 18em; }
@media (min-width: 768px) {
  .figs { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .fig { border-bottom: 0; padding: 32px 20px 32px 0; }
  .fig + .fig { border-left: 1px solid var(--line); padding-left: 20px; }
}
.proof__note { margin: 20px 0 0; font: 400 12px/1.6 var(--mono); color: var(--ink-3); max-width: 62em; }
.proof__close { margin: 40px 0 0; font: 300 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); max-width: 24em; text-wrap: balance; }

/* Live record: the four figures sit straight on the print, centered in it, set like the hero's headline. A soft band of
   shade behind them (no box) keeps the cream readable over whatever the picture has there. */
.record__head { max-width: 760px; }
.record__print { position: relative; margin-top: 48px; }
.record__print .print::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 42% at 50% 50%, rgba(30, 21, 51, .30), rgba(30, 21, 51, .10) 60%, rgba(30, 21, 51, 0) 100%); }
.print--record { aspect-ratio: 4 / 5; }
.record__figs { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid;
  grid-template-columns: repeat(2, 1fr); align-items: start; gap: 26px 12px; padding: 0 16px; color: var(--paper); text-align: center; }
.rfig { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rfig__n { font: 300 46px/.95 var(--serif); letter-spacing: -.03em; white-space: nowrap; text-shadow: 0 1px 24px rgba(30, 21, 51, .24); }
.rfig__l { font-size: 16px; line-height: 1.35; color: rgba(251, 248, 241, .94); max-width: 11em; text-wrap: balance; text-shadow: 0 1px 14px rgba(30, 21, 51, .32); }
.record__note { margin: 20px 0 0; font: 400 12px/1.6 var(--mono); color: var(--ink-3); }
.record__note a { color: var(--purple); text-underline-offset: 3px; }
@media (min-width: 768px) {
  .print--record { aspect-ratio: 16 / 9; }
  .record__figs { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 32px; }
  .rfig__n { font-size: clamp(48px, 6vw, 96px); }
  .rfig__l { font-size: 15px; }
}
@media (min-width: 1100px) { .record__figs { padding: 0 56px; } .rfig__l { font-size: 17px; } }

/* Company */
.team { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.team__h { margin: 0 0 16px; }
/* Phones: one list, name and role on a row, hairlines between. Tablet up: a 2x2 of small cards. */
.team ul { list-style: none; margin: 0; padding: 0; display: grid; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.team li { padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.team li + li { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .team ul { grid-template-columns: 1fr 1fr; gap: 8px; background: none; border: 0; }
  .team li { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-md); flex-direction: column; gap: 0; }
  .team li + li { border-top: 1px solid var(--line); }
}
.team__name { font-weight: 500; }
.role { font-size: 14px; color: var(--ink-2); }

/* Contact */
.contact__in { display: grid; gap: 40px; }
@media (min-width: 1100px) { .contact__in { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } }
.form { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 768px) { .form { padding: 36px; } }
.row2 { display: grid; gap: 16px; }
@media (min-width: 768px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(30, 21, 51, .2); border-radius: var(--r-md);
  background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E1533' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(191, 171, 239, .45); }
.form .btn { width: 100%; }
@media (min-width: 768px) { .form .btn { width: auto; justify-self: start; min-width: 140px; } }
.form-msg { margin: 0; font-size: 14px; color: #8A2E3B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Closing print with the mark */
.closing { padding: var(--sec) 0 0; }
.closing__print { position: relative; }
.mark--close { position: absolute; z-index: 3; left: 50%; top: 50%; width: clamp(56px, 7vw, 96px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 20px rgba(30, 21, 51, .2)); }

/* Footer */
.foot { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; gap: 28px; padding-top: 28px; position: relative; }
/* The hairline stops at the column like every other line on the page (the wrap's padding would run it to the screen edge) */
.foot__in::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }
.foot__brand p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 15px; }
.foot__links a { text-decoration: none; color: var(--ink-2); padding: 10px 0; display: inline-block; }
.foot__links a:hover { color: var(--purple); }
.foot__social { display: flex; gap: 4px; margin-left: -12px; }
.foot__links a.soc { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: var(--r-md); color: var(--ink-2); transition: color .2s, background .2s; }
.foot__links a.soc:hover { color: var(--purple); background: var(--cream-2); }
.soc svg { width: 19px; height: 19px; }
/* The 44px targets pad each glyph; pull the row out by that padding so the glyphs sit on the column edge */
@media (min-width: 768px) { .foot__social { margin: 0 -12px 0 0; } }
@media (min-width: 768px) { .foot__in { grid-template-columns: 1fr auto; align-items: end; } }

/* Motion: a gentle fade and rise as sections enter */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 110ms), transform .9s var(--ease) calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .aud:hover .em__dots { animation: none; }
  .aud:hover { transform: none; }
}

/* Phones: nothing under 16px except the mono fine print */
@media (max-width: 767px) { .field label, .role, .foot__brand p, .foot__links { font-size: 16px; } }
