:root {
  --petrol: #173c39;
  --deep: #102e2b;
  --ivory: #f5efe2;
  --brass: #d5b28b;
  --sage: #b2c5b9;
  --paper: #fcfaf5;
  --muted: #465b52;
  --rule: #c7cfc0;
  --display: 'Noto Serif Hebrew', Georgia, serif;
  --wordmark: Manrope, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--petrol); background: var(--paper); font: 400 1rem/1.6 Heebo, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #8d5d38; outline-offset: 4px; }
.hero :focus-visible, .method :focus-visible, .footer :focus-visible { outline-color: var(--brass); }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.17; letter-spacing: -.036em; }
h2 { font-size: clamp(2.06rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.32rem, 2.2vw, 1.75rem); }
.wrap { width: min(100% - 7rem, 1320px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: .5rem .5rem auto auto; padding: .65rem 1rem; background: var(--ivory); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.top-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.wordmark { display: inline-flex; justify-self: start; align-items: center; gap: .55rem; font: 600 1.8rem/1 var(--wordmark); letter-spacing: -.065em; text-decoration: none; width: max-content; }
.brand-tag { display: inline-block; position: relative; width: .62em; height: .75em; border: 1px solid #946640; border-radius: .31em .31em .13em .13em; transform: rotate(34deg); }
.brand-tag::before { content: ''; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #946640; left: 50%; top: 23%; transform: translateX(-50%); }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { padding-block: .58rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .34em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.35rem; border: 1px solid transparent; text-align: center; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.outline { justify-self: end; min-height: 44px; border-color: #71867b; }
.outline:hover { background: var(--petrol); color: var(--ivory); }
.brass { background: var(--brass); color: var(--deep); }
.brass:hover { background: #e7c6a2; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(510px, 48vw, 720px); color: var(--paper); background: var(--deep); }
.hero-media, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: center 53%; z-index: -2; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(270deg, #0f2422e8 0%, #102924b8 27%, #192d2840 62%, #111e182c 100%); }
.hero-inner { padding-block: 3rem; }
.hero-copy { max-width: 39rem; }
.kicker { margin-block-end: .95rem; font-weight: 500; }
.hero .kicker { color: #f2e5d3; }
h1 { font-size: clamp(3.45rem, 7vw, 7rem); margin-block-end: clamp(1.5rem, 3vw, 2.6rem); }
.film-toggle { position: absolute; inset-inline-end: max(1.5rem, calc((100% - 1320px) / 2)); inset-block-end: 1.5rem; }
.film-toggle, .demo-play { display: grid; place-items: center; padding: 0; border: 1px solid #fcfaf5c9; border-radius: 50%; color: white; background: #102e2bd9; cursor: pointer; }
.film-toggle { width: 46px; height: 46px; }
.film-toggle:hover, .demo-play:hover { background: var(--petrol); }
.film-toggle i, .demo-play i { display: block; margin-left: .13em; border: .36em solid transparent; border-left: .59em solid currentColor; border-right: 0; }
.film-toggle.playing i { margin-left: 0; width: .6em; height: .83em; border: 0; border-inline: .16em solid currentColor; }
.film-toggle span, .demo-play span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.section { padding-block: clamp(3.8rem, 7.5vw, 7rem); }
.examples h2 { margin-block-end: clamp(1.55rem, 3.4vw, 2.85rem); }
.field-intro { max-width: 50rem; color: var(--muted); font-size: 1.1rem; }
.field-cases { margin-block-start: 1.8rem; border-bottom: 1px solid var(--rule); }
.field-case { border-top: 1px solid var(--rule); }
.field-case > summary {
  display: grid;
  grid-template-columns: minmax(9rem, .55fr) minmax(0, 2fr) 1.25rem;
  align-items: center;
  gap: .3rem 1.2rem;
  min-height: 64px;
  padding: .9rem clamp(.9rem, 2vw, 1.65rem);
  list-style: none;
}
.field-case > summary::-webkit-details-marker { display: none; }
.field-case > summary::after { content: ""; width: .75rem; height: .75rem; justify-self: center; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.field-case[open] > summary::after { background-size: 100% 1px, 0 0; }
.field-case[open] > summary, .field-case > summary:hover { background: #efeee5; }
.field-sector { color: var(--muted); font-weight: 500; }
.field-title { font: 500 clamp(1.12rem, 2vw, 1.55rem)/1.35 var(--display); }
.field-case-content { padding: 1.05rem clamp(.9rem, 2vw, 1.65rem) 1.4rem; }
.field-case-content > p:first-child { color: var(--muted); }
.field-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block: .9rem; }
.field-comparison > div { padding: 1rem; border: 1px solid var(--rule); }
.field-comparison > div:last-child { background: #e7ede6; border-color: #a0b3a5; }
.field-comparison dt { font-weight: 700; }
.field-comparison dd { margin: .3rem 0 0; }
.field-outcome { margin-block: 1rem .3rem; }
.field-outcome strong { margin-inline-end: .45rem; }
.examples-more-heading { margin-block: clamp(2.7rem, 5vw, 4.5rem) 1.2rem; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2.3vw, 2.2rem); }
.tabs button { display: grid; align-content: start; text-align: start; border: 0; border-bottom: 2px solid var(--rule); padding: 0; color: inherit; background: transparent; cursor: pointer; overflow: clip; }
.tabs button[aria-selected="true"], .tabs button:hover { border-color: #87603f; }
.tabs img { display: block; width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; transition: filter .24s ease; }
.tabs button:hover img { filter: brightness(1.11); }
.tabs span { display: grid; gap: .2rem; padding-block: .9rem .8rem; }
.tabs b { font: 500 clamp(1.26rem, 2.35vw, 2rem)/1.2 var(--display); }
.tabs small { font-size: .98rem; color: var(--muted); }
.example-panel { margin-block-start: 1.7rem; padding: clamp(1.25rem, 2.9vw, 2.65rem); background: #efeee5; }
.example { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem 3rem; }
.example p { margin-block-start: .55rem; color: var(--muted); }
.plain, .case-cta { font-weight: 600; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.plain:hover, .case-cta:hover { color: #765032; }
.example .plain { display: inline-block; margin-block-start: .6rem; }
.example dl { border-inline-start: 1px solid #adb9af; padding-inline-start: 1.45rem; }
.example dl div + div { margin-block-start: .65rem; }
.example dt { color: var(--muted); font-size: .92rem; }
.example dd { margin: 0; font-weight: 600; }
.more-cases { margin-block-start: .75rem; }
summary { cursor: pointer; }
.more-cases summary { padding-block: .65rem; font-weight: 500; }
.case-list details { border-top: 1px solid var(--rule); }
.case-body { padding: 0 1.1rem .8rem 0; color: var(--muted); max-width: 47rem; }
.case-cta { display: inline-block; margin-top: .38rem; color: var(--petrol); }

.method { color: var(--ivory); background: var(--deep); }
.demo { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.45fr); align-items: center; gap: clamp(1.75rem, 6vw, 6rem); }
.demo-copy .kicker { color: var(--brass); }
.demo-copy > p:last-child { margin-block-start: 1.2rem; max-width: 22rem; color: #dbe6dc; font-size: 1.13rem; }
.demo-media { position: relative; background: #193a37; }
.demo-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo-play { font-size: 1.55rem; width: clamp(57px, 6vw, 80px); height: clamp(57px, 6vw, 80px); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.demo figcaption { color: #dbe6dc; }
.demo figcaption summary { width: fit-content; padding-block: .6rem; }
.demo figcaption p { max-width: 40rem; }

.contact { background: var(--ivory); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2.5rem, 8vw, 8rem); align-items: start; }
.contact h2 { margin-block-end: .75rem; }
.contact-inner > div > p { font-size: 1.1rem; max-width: 26rem; color: var(--muted); }
form, .success { background: var(--paper); padding: clamp(1.15rem, 2.6vw, 2.35rem); }
form { display: grid; gap: .6rem; }
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: .7rem; color: var(--muted); font-size: .92rem; }
.meter { display: flex; gap: .28rem; }
.meter i { height: 3px; width: 1.2rem; background: var(--rule); }
.meter i:first-child, .last-step .meter i { background: #916640; }
.fields { display: grid; gap: .32rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.fields legend { padding: .55rem 0 .75rem; font: 500 1.4rem var(--display); }
.fields label { font-weight: 500; }
.fields :is(select, textarea, input) { display: block; width: 100%; min-height: 44px; border: 1px solid #91a197; border-radius: 0; color: var(--petrol); background: var(--paper); padding: .59rem .75rem; margin: .2rem 0 .6rem; }
.fields textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.back { border: 0; background: none; color: var(--petrol); text-decoration: underline; text-underline-offset: .24em; cursor: pointer; min-height: 44px; padding: .45rem; }
.form-actions :disabled { opacity: .66; cursor: wait; }
.feedback { color: #8c331a; }
.success p { margin-top: .5rem; }
.footer { background: var(--deep); color: var(--ivory); }
.footer-inner { padding-block: 1.6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem 1.5rem; }
.footer .brand-tag { border-color: var(--brass); }
.footer .brand-tag::before { background: var(--brass); }
.footer span { color: #dbe6dc; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.25rem); }
  .top-inner { min-height: 65px; grid-template-columns: 1fr auto; gap: .5rem; }
  nav { display: none; }
  .wordmark { font-size: 1.55rem; }
  .outline { padding-inline: .8rem; }
  .hero { min-height: clamp(470px, 125vw, 565px); align-items: end; }
  .hero-inner { padding-block: 3rem 5.3rem; }
  .hero-media { object-position: 37% center; }
  .hero::after { background: linear-gradient(25deg, #102924d9 1%, #102924a8 39%, #192d2820 84%); }
  .tabs { gap: .6rem; }
  .tabs img { aspect-ratio: 1; }
  .tabs span { min-width: 0; padding-block: .7rem .55rem; }
  .tabs small { display: none; }
  .field-case > summary { grid-template-columns: minmax(0, 1fr) 1rem; }
  .field-sector, .field-title { grid-column: 1; }
  .field-case > summary::after { grid-column: 2; grid-row: 1 / 3; }
  .field-comparison { grid-template-columns: minmax(0, 1fr); }
  .example, .demo, .contact-inner { grid-template-columns: 1fr; }
  .example dl { padding-inline-start: .8rem; }
  .demo-copy > p:last-child { margin-block-start: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Opening and content hierarchy */
.hero { display:block; min-height:0; color:var(--petrol); background:var(--paper); }
.hero::after { display:none; }
.hero-inner { display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:570px; padding-block:3rem; }
.hero-copy { max-width:40rem; }
.hero .kicker { color:var(--muted); }
.hero h1 { font-size:clamp(2.6rem,4.8vw,5rem); margin-bottom:1.2rem; }
.hero-description { max-width:36rem; font-size:1.15rem; line-height:1.75; color:var(--muted); }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1.4rem; margin-top:1.8rem; }
.primary { color:var(--paper); background:var(--petrol); }
.primary:hover { background:var(--deep); }
.hero-link { font-weight:600; text-underline-offset:.3em; }
.hero-photo { position:absolute; inset-block:0; inset-inline-end:0; width:48%; height:100%; object-fit:cover; object-position:center; }
.fit-inner { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.fit-inner p:not(.kicker) { max-width:36rem; color:var(--muted); font-size:1.12rem; }
.fit-inner p + p { margin-top:1rem; }
.examples { background:#f5f6f1; }
.examples h2 { margin-bottom:.6rem; }
.field-intro { margin-bottom:2rem; }
.field-case { margin-top:1rem; border-bottom:1px solid var(--rule); }
@media(max-width:680px) {
 .hero-inner { min-height:0; display:block; padding-block:3rem 2.5rem; }
 .hero-photo { position:relative; display:block; width:100%; height:auto; aspect-ratio:1.6; object-fit:cover; }
 .hero h1 { font-size:clamp(2.6rem,10vw,3.5rem); }
 .hero-description { font-size:1.05rem; }
 .hero-actions { gap:1rem; }
 .fit-inner { grid-template-columns:1fr; gap:1rem; }
 .tabs small { display:block; font-size:.85rem; }
}
