:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d6;
  --ink: #171815;
  --muted: #66645d;
  --gold: #9a7b42;
  --gold-light: #cdb98e;
  --line: rgba(23, 24, 21, 0.16);
  --white: #fcfaf6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.display, h1, h2, h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif Hebrew", serif;
  font-weight: 500;
  line-height: 1.12;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, .92);
  backdrop-filter: blur(16px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: .08em; }
.brand-mark { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--ink); }

.hero { min-height: 720px; display: grid; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(48px, 9vw, 120px); align-items: center; padding-block: 92px; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 7vw, 6.9rem); letter-spacing: -.045em; }
.hero-lede { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; padding: 11px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); text-decoration: none; transition: .2s ease; cursor: pointer; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--gold); border-color: var(--gold); }
.button-quiet:hover { border-color: var(--gold); color: var(--gold); }
.hero-note { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; border: 1px solid var(--line); background: rgba(252,250,246,.42); }
.hero-note::before { content: ""; position: absolute; inset: 22px; border-top: 1px solid var(--gold-light); border-left: 1px solid var(--gold-light); pointer-events: none; }
.hero-note-number { color: var(--gold); font: 5rem/1 Georgia, serif; }
.hero-note p { max-width: 250px; margin: 18px 0 0; color: var(--muted); }

.section { padding-block: clamp(76px, 10vw, 128px); }
.section-muted { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; margin-bottom: 58px; align-items: start; }
.section-head h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.6rem); letter-spacing: -.035em; }
.section-head p { max-width: 610px; margin: 6px 0 0; color: var(--muted); }
.section-muted .section-head p { color: #b9b6ae; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-card { padding: 38px 0; border-bottom: 1px solid var(--line); }
.service-card:nth-child(odd) { padding-left: 34px; border-left: 1px solid var(--line); }
.service-card:nth-child(even) { padding-right: 34px; }
.service-number { color: var(--gold); font-size: .8rem; letter-spacing: .12em; }
.service-card h3 { margin: 42px 0 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.service-card p { max-width: 480px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 24px; color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }

.ai-band { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 56px; border: 1px solid rgba(255,255,255,.18); }
.ai-band h2 { margin: 0; font-size: clamp(2rem, 4.3vw, 4rem); }
.ai-band p { margin: 0; color: #c6c2b8; }

.process { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { counter-increment: steps; padding: 32px 22px 20px; border-left: 1px solid var(--line); }
.step:last-child { border-left: 0; }
.step::before { content: "0" counter(steps); color: var(--gold); font-size: .8rem; }
.step h3 { margin: 65px 0 12px; font-size: 1.4rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

.preview-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.preview-card { min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid var(--line); text-decoration: none; background: rgba(252,250,246,.34); transition: transform .25s ease, background .25s ease; }
.preview-card:hover { transform: translateY(-4px); background: var(--white); }
.preview-card small { color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.preview-card h3 { max-width: 540px; margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.preview-card p { max-width: 460px; margin: 16px 0 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 130px); }
.contact-copy h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.contact-copy p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .86rem; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; }
.form-note { margin: 0; color: var(--muted); font-size: .8rem; }
.form-note.form-success { color: #2f6b48; }
.form-note.form-error { color: #9b3b35; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.button:disabled { cursor: wait; opacity: .62; }

.page-hero { padding: 110px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; }
.case-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 100px .8fr 1.2fr; gap: 34px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.case-index { color: var(--gold); }
.case h2 { margin: 0; font-size: 2rem; }
.case p { margin: 0; color: var(--muted); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { margin: 0; padding: 40px; border: 1px solid var(--line); background: rgba(252,250,246,.34); }
.quote p { margin: 0; font: 1.55rem/1.55 Georgia, "Times New Roman", serif; }
.quote footer { margin-top: 34px; color: var(--muted); font-size: .9rem; }
.empty-note { max-width: 700px; padding: 34px; border: 1px solid var(--line); color: var(--muted); }
.hobby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hobby-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; border: 1px solid var(--line); background: rgba(252,250,246,.34); }
.hobby-card small { color: var(--gold); font-size: .75rem; letter-spacing: .08em; }
.hobby-card h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.hobby-card p { max-width: 430px; margin: 14px 0 0; color: var(--muted); }
.hobby-status { padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold); font-size: .82rem; }

.about-main { display: grid; align-content: start; padding-block: clamp(22px, 3vh, 34px); }
.about-hero { display: grid; align-content: start; justify-items: center; gap: 4px; text-align: center; }
.linkedin-button { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 4px; background: #0a66c2; color: #fff; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; }
.linkedin-button span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 2px; font: 700 15px/1 Arial, sans-serif; }
.linkedin-button:hover { background: #004182; }
.about-copy { width: min(100%, 780px); margin-inline: auto; text-align: right; }
.experience-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; margin-bottom: 14px; text-align: right; }
.experience-badge { min-width: 205px; padding-left: 26px; border-left: 1px solid var(--gold-light); text-align: center; }
.experience-number { display: block; color: var(--gold); font: 500 clamp(5rem, 9vw, 7rem)/.82 Georgia, serif; }
.experience-badge h1 { margin: 10px 0 0; font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 700; }
.experience-subtitle { margin: 0 !important; padding: 0; color: var(--ink) !important; font: 600 clamp(1.2rem, 2vw, 1.55rem)/1.3 Georgia, "Times New Roman", "Noto Serif Hebrew", serif !important; }
.about-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.38; }
.about-copy p + p { margin-top: .4em; }
.about-list { display: grid; grid-template-columns: 1fr; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; text-align: right; }
.about-list li { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-list h3 { margin: 0; color: var(--gold); font-size: 19px; font-weight: 700; }
.about-list p { font-size: 17px; }
.about-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.about-links .text-link { margin-top: 14px; font-size: 17px; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .85rem; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .hero { min-height: auto; }
  .hero-grid, .section-head, .ai-band, .preview-row, .contact-layout { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .experience-heading { grid-template-columns: 1fr; }
  .experience-badge { padding-left: 0; border-left: 0; }
  .experience-heading .linkedin-button { justify-self: center; }
  .hero-note { min-height: 260px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(odd), .service-card:nth-child(even) { padding-inline: 0; border-left: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { border-left: 0; }
  .case { grid-template-columns: 50px 1fr; }
  .case p { grid-column: 2; }
  .quote-grid { grid-template-columns: 1fr; }
  .hobby-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-grid { padding-block: 70px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-actions, .form-footer, .footer-row { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .ai-band { padding: 34px 24px; }
  .process, .form-grid { grid-template-columns: 1fr; }
  .step { border-left: 0; border-bottom: 1px solid var(--line); }
  .field { grid-column: 1 / -1; }
  .preview-card { min-height: 310px; padding: 26px; }
  .case { grid-template-columns: 1fr; gap: 14px; }
  .case p { grid-column: 1; }
  .about-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Compact one-screen home */
.compact-home { min-height: 100vh; }
.compact-header .nav { min-height: 62px; }
.compact-main { display: grid; grid-template-rows: minmax(0, 1.15fr) auto auto; gap: clamp(14px, 2.2vh, 24px); padding-block: clamp(20px, 3vh, 34px); }
.compact-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); align-items: stretch; gap: clamp(30px, 5vw, 66px); padding-bottom: clamp(18px, 2.5vh, 28px); border-bottom: 1px solid var(--line); }
.compact-offer { display: flex; flex-direction: column; justify-content: center; }
.compact-intro h1 { margin: 0; max-width: 780px; font-size: clamp(2rem, 3.6vw, 3.75rem); letter-spacing: -.035em; }
.compact-offer h2 { margin: 14px 0 0; font: 500 clamp(1.2rem, 1.8vw, 1.7rem)/1.25 Georgia, serif; }
.compact-lede { max-width: 740px; margin: 12px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.compact-explanation { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.compact-actions { display: grid; gap: 9px; margin-top: 16px; }
.compact-actions .button { min-height: 40px; padding: 7px 16px; }
.hero-response { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(24px, 3vw, 44px); border-right: 1px solid var(--line); }
.response-number { display: flex; align-items: baseline; gap: 8px; color: var(--gold); }
.response-number strong { font: 500 clamp(3.5rem, 6.5vw, 6.4rem)/.8 Georgia, serif; }
.response-number span { font-size: .9rem; }
.hero-response > p { margin: 16px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.compact-services { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.compact-services article { min-width: 0; padding: clamp(13px, 1.7vw, 21px); border-left: 1px solid var(--line); }
.compact-services article:last-child { border-left: 0; }
.compact-services h2 { margin: 0 0 8px; font: 500 clamp(1.08rem, 1.45vw, 1.35rem)/1.2 Georgia, serif; }
.compact-services p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.compact-lower { display: grid; grid-template-columns: 1fr auto; gap: 18px; min-height: 0; }
.compact-process, .compact-feedback, .compact-response { border: 1px solid var(--line); }
.compact-process { padding: 15px 20px; }
.compact-process .eyebrow { margin-bottom: 14px; }
.compact-process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.compact-process li { display: grid; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line); }
.compact-process li:last-child { border-left: 0; }
.compact-process b { font-size: .9rem; }
.compact-process span { color: var(--muted); font-size: .75rem; }
.compact-feedback { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 20px; color: var(--ink); text-decoration: none; }
.compact-feedback > span { color: var(--gold); font-size: .72rem; }
.compact-feedback div { display: grid; gap: 4px; }
.compact-feedback b { font-size: .86rem; }
.compact-feedback small { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.compact-feedback i { color: var(--gold); font-style: normal; }
.compact-response { min-width: 130px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; }
.compact-response strong { color: var(--gold); font: 1rem/1.4 Georgia, serif; text-align: center; }
.contact-dialog { width: min(680px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.contact-dialog::backdrop { background: rgba(23,24,21,.58); backdrop-filter: blur(5px); }
.dialog-panel { position: relative; padding: clamp(26px, 5vw, 48px); }
.dialog-panel h2 { margin: 0 0 26px; font-size: clamp(1.75rem, 4vw, 2.6rem); }
.dialog-close { position: absolute; top: 14px; left: 16px; border: 0; background: transparent; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.compact-form { gap: 18px 24px; }
.compact-form .field input, .compact-form .field textarea, .compact-form .field select { padding: 9px 0; }
.compact-form .field textarea { min-height: 64px; }

@media (min-width: 900px) and (min-height: 700px) {
  .compact-home { height: 100vh; overflow: hidden; }
  .compact-main { height: calc(100vh - 63px); }
  .compact-about { height: 100vh; overflow: hidden; }
  .about-main { height: calc(100vh - 77px); }
}

@media (max-width: 899px) {
  .compact-intro { grid-template-columns: 1fr; align-items: start; }
  .hero-response { padding: 24px 0 0; border-right: 0; border-top: 1px solid var(--line); }
  .compact-services { grid-template-columns: repeat(2, 1fr); }
  .compact-services article:nth-child(2) { border-left: 0; }
  .compact-services article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compact-lower { grid-template-columns: 1fr; }
  .compact-response { min-height: 100px; }
}

@media (max-width: 560px) {
  .compact-main { padding-block: 28px; }
  .compact-intro h1 { font-size: 2.45rem; }
  .compact-actions { grid-template-columns: 1fr; }
  .compact-services { grid-template-columns: 1fr; }
  .compact-services article { border-left: 0; border-bottom: 1px solid var(--line); }
  .compact-services article:last-child { border-bottom: 0; }
  .compact-process ol { grid-template-columns: repeat(2, 1fr); }
}
