/* Urbanit design system — components/bundle.css, copied as is except the Assistant @import (loaded by <link> in index.html). */

/* Urbanit — web components. RTL first: set dir="rtl" on <html>. All values come from tokens.css. */

.ol-root{font-family:var(--font-body);color:var(--ink);background:var(--surface);font-size:18px;line-height:1.6}
.ol-root a:focus-visible,.ol-root button:focus-visible,.ol-root input:focus-visible,.ol-root select:focus-visible,.ol-root textarea:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.ol-container{max-width:var(--container-max);margin-inline:auto;padding-inline:max(var(--space-4),min(var(--space-7),4vw))}

/* Button */
.ol-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:48px;box-sizing:border-box;padding:0 var(--space-7);border-radius:var(--radius-pill);font:600 17px/1.2 var(--font-body);text-decoration:none;cursor:pointer;border:1px solid transparent}
.ol-btn--primary{background:var(--action);color:var(--on-action)}
.ol-btn--primary:hover{background:var(--ink-700);color:var(--on-action)}
.ol-btn--secondary{background:transparent;color:var(--heading);border-color:var(--heading)}
.ol-btn--secondary:hover{background:var(--tint-cement)}
.ol-btn--accent{background:var(--mauve);color:var(--on-accent)}
.ol-btn--on-band{background:var(--on-band);color:var(--ink-900)}
.ol-btn[disabled]{opacity:.45;cursor:not-allowed}

/* Eyebrow + section heading */
.ol-eyebrow{display:block;font:700 15px/1.4 var(--font-body);letter-spacing:.08em;color:var(--accent-text)}
.ol-band .ol-eyebrow{color:var(--on-band-accent)}
.ol-section-head{display:flex;flex-wrap:wrap;gap:var(--space-6) var(--space-9);align-items:end;justify-content:space-between}
.ol-section-head__titles{display:flex;flex-direction:column;gap:var(--space-3)}
.ol-h1{margin:0;font:600 clamp(44px,6vw,80px)/1.05 var(--font-display);color:var(--heading);text-wrap:balance}
.ol-h1 strong{font-weight:600;color:var(--mauve)}
.ol-h2{margin:0;font:600 clamp(34px,4vw,52px)/1.1 var(--font-display);color:var(--heading);text-wrap:balance}
.ol-lead{margin:0;font:400 20px/1.6 var(--font-body);color:var(--ink-muted);max-width:560px}
.ol-quote{margin:0;font-style:italic;font-size:19px;color:var(--mauve);border-top:1px solid var(--mauve);padding-top:var(--space-4);max-width:460px}

/* Nav bar */
.ol-nav{border-bottom:1px solid var(--line);background:var(--surface)}
.ol-nav__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-5);padding-block:var(--space-5)}
.ol-nav__logo img{height:var(--logo-height-header);width:auto;display:block}
.ol-nav__links{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-7);font:600 17px/1.3 var(--font-body)}
.ol-nav__link{color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.ol-nav__link[aria-current="page"]{color:var(--heading);border-bottom-color:var(--mauve)}

/* Band (deep section) */
.ol-band{background:var(--band);color:var(--on-band)}
.ol-band .ol-h2{color:var(--on-band)}

/* Service card (on band) */
.ol-service{display:flex;flex-direction:column;gap:18px;min-height:260px;box-sizing:border-box;padding:var(--space-7);border:1px solid rgba(255,255,255,.22);border-radius:var(--radius-lg);color:var(--on-band);text-decoration:none}
.ol-service:hover{background:rgba(255,255,255,.06)}
.ol-service svg{stroke:var(--on-band-accent)}
.ol-service h3{margin:0;font:600 26px/1.2 var(--font-display)}
.ol-service p{margin:0;font-size:17px;color:var(--on-band-muted)}

/* Process step */
.ol-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));border-top:1px solid var(--line-strong)}
.ol-step{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-7) 0 var(--space-7) var(--space-6)}
.ol-step__num{font:300 56px/1 var(--font-numeric);color:var(--mauve)}
.ol-step h3{margin:0;font:600 24px/1.25 var(--font-body);color:var(--heading)}
.ol-step p{margin:0;font-size:17px;color:var(--ink-muted)}

/* Project card */
.ol-project{display:flex;flex-direction:column;gap:var(--space-4)}
.ol-media{aspect-ratio:4/3;max-width:100%;border-radius:var(--radius-lg);background:var(--tint-cement);color:var(--ink-muted);display:flex;align-items:center;justify-content:center;font-size:15px;overflow:hidden}
.ol-media--mauve{background:var(--tint-mauve)}
.ol-media img{width:100%;height:100%;object-fit:cover}
.ol-project__meta{font:600 15px/1.4 var(--font-body);color:var(--accent-text)}
.ol-project h3{margin:0;font:600 24px/1.25 var(--font-display);color:var(--heading)}

/* Logo tile */
.ol-logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:var(--space-4)}
.ol-logo-tile{height:112px;border-radius:var(--radius-md);background:var(--surface-raised);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:var(--space-5);box-sizing:border-box;color:var(--ink-muted);font-size:15px;font-weight:600}
.ol-logo-tile img{max-height:100%;max-width:100%;object-fit:contain}

/* Form field */
.ol-field{display:flex;flex-direction:column;gap:6px}
.ol-field label{font:600 15px/1.4 var(--font-body);color:var(--ink)}
.ol-input{font:400 18px/1.4 var(--font-body);color:var(--ink);background:var(--surface);border:1px solid var(--input-border);border-radius:var(--radius-sm);padding:12px 14px;min-height:48px;box-sizing:border-box;width:100%}
.ol-input[aria-invalid="true"]{border-color:var(--error)}
.ol-field__error{font-size:14px;color:var(--error)}
.ol-check{display:flex;gap:10px;align-items:start;font-size:15px;color:var(--ink-muted)}
.ol-check input{width:20px;height:20px;margin:3px 0 0;accent-color:var(--action)}

/* Contact list */
.ol-contact{display:flex;flex-direction:column}
.ol-contact__row{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);padding:18px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:22px}
.ol-contact__row:first-child{border-top-color:var(--line-strong)}
.ol-contact__row:last-child{border-bottom:1px solid var(--line)}
.ol-contact__label{font:600 15px/1.4 var(--font-body);color:var(--accent-text)}

/* CTA band */
.ol-cta{display:flex;flex-wrap:wrap;gap:var(--space-7);justify-content:space-between;align-items:center;padding-block:88px}
.ol-cta h2{margin:0;font:600 clamp(30px,3.4vw,46px)/1.15 var(--font-display)}
.ol-cta--soft{background:var(--tint-mauve)}
.ol-cta--soft h2{color:var(--heading)}

/* Chapter divider (web echo of the deck's chapter slides) */
.ol-chapter{display:flex;flex-wrap:wrap;align-items:end;gap:var(--space-4) var(--space-9);padding-block:var(--space-10);color:#FFFFFF}
.ol-chapter--cement{background:var(--cement)}
.ol-chapter--mauve{background:var(--mauve)}
.ol-chapter--ink-700{background:var(--ink-700)}
.ol-chapter--ink{background:var(--ink-900)}
.ol-chapter__num{font:600 clamp(96px,14vw,200px)/1 var(--font-numeric)}
.ol-chapter__name{font:700 clamp(36px,4.5vw,68px)/1.3 var(--font-body)}

/* Topic card (א ב ג). Cement fill: keep the text at 24px and up (3.9:1). */
.ol-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-6)}
.ol-topic{display:flex;flex-direction:column;align-items:center;gap:var(--space-6);padding:var(--space-8) var(--space-7);color:#FFFFFF;text-align:center;border-radius:var(--radius-none)}
.ol-topic--ink{background:var(--ink-900)}
.ol-topic--cement{background:var(--cement)}
.ol-topic--mauve{background:var(--mauve)}
.ol-topic__letter{font:800 72px/1 var(--font-body)}
.ol-topic p{margin:0;font:400 24px/1.4 var(--font-body)}

/* Principle box (summary) */
.ol-principles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-8)}
.ol-principle{display:flex;flex-direction:column}
.ol-principle__head{display:flex;align-items:end}
.ol-principle__head::before,.ol-principle__head::after{content:"";flex:1;height:20px;border-top:2px solid var(--mauve-line)}
.ol-principle__head::before{border-right:2px solid var(--mauve-line)}
.ol-principle__head::after{border-left:2px solid var(--mauve-line)}
.ol-principle__title{padding:0 var(--space-4);font:700 28px/1.2 var(--font-body);color:var(--accent-text);white-space:nowrap;transform:translateY(12px)}
.ol-principle__body{border:2px solid var(--mauve-line);border-top:none;padding:var(--space-7) var(--space-6) var(--space-6);text-align:center;color:var(--ink);font-size:18px}

/* Footer */
.ol-footer{background:var(--footer);color:var(--on-footer)}
.ol-footer__top{display:flex;flex-wrap:wrap;gap:var(--space-7);justify-content:space-between;align-items:center;padding-block:var(--space-9) var(--space-8)}
.ol-footer__top img{height:56px;width:auto}
.ol-footer__links{display:flex;flex-wrap:wrap;gap:var(--space-3) 28px;font-size:16px}
.ol-footer a{color:var(--on-footer);text-decoration:none}
.ol-footer__legal{display:flex;flex-wrap:wrap;gap:var(--space-3) var(--space-6);justify-content:space-between;border-top:1px solid rgba(232,233,230,.2);padding-block:var(--space-6) var(--space-7);font-size:14px;color:var(--on-footer-muted)}
.ol-footer__legal a{color:var(--on-footer-muted);text-decoration:underline}

/* Document heading (Word letterhead echo) */
.ol-doc{font:400 12px/1.5 var(--font-doc);color:#16181A;background:#FFFFFF;direction:rtl}
/* Paper is always white, so the light accent-text value is used in both themes. */
.ol-doc{padding:var(--space-7);border:1px solid var(--line)}
.ol-doc__h{font:700 12px/1.5 var(--font-doc);color:#8A4757;margin:0}
.ol-doc__note{font:700 12px/1.5 var(--font-doc);color:#8A4757}

/* Wordmark (live text version of the logo; use the artwork for print) */
.ol-wordmark{display:inline-flex;flex-direction:column;align-items:center;gap:4px;color:var(--heading)}
.ol-wordmark__en{font:600 1em/1 var(--font-latin);direction:ltr}
.ol-wordmark__dot{color:var(--cement)}
.ol-wordmark__he{font:400 .6em/1.3 var(--font-design)}
