/* xhafa.eu: one stylesheet for the main pages and the legal pages. Palette and type: see memory design-tokens. */
:root {
  --yellow: #F5C400; --ink: #1A1814; --ink-soft: #2E2A24; --mute: #4F4A44; --mercury: #7A746A;
  --line: #C8C2B6; --air: #F5F1E8; --paper: #EBE6DA; --sky: #C5D0D6; --deep: #12100E; --deep-soft: #1C1914;
  --air-70: color-mix(in srgb, var(--air) 70%, transparent);
  --air-12: color-mix(in srgb, var(--air) 12%, transparent);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --top: 4.25rem; --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + .5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--air); color: var(--ink); font: 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 200; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip:focus { left: .5rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--y { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(120, 90, 0, .7); }
.btn--y:hover { box-shadow: 0 16px 30px -14px rgba(120, 90, 0, .8); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--air); }
.btn--dark { background: var(--ink); color: var(--air); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--air) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.top__in { display: flex; align-items: center; gap: 1rem; height: var(--top); }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; text-decoration: none;
  font: 600 1.18rem/1 var(--serif); letter-spacing: -.01em; }
.mark { width: 34px; height: 34px; color: var(--deep); flex: none; }
.nav, .top__cta { display: none; }
.nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .72rem; border-radius: 999px; text-decoration: none;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a.on { color: var(--ink); background: color-mix(in srgb, var(--yellow) 30%, transparent); }
.nav .nav__show { color: var(--ink); border: 1px solid var(--line); margin-left: .35rem; }
.nav .nav__show .ico { width: .95em; height: .95em; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.5; }

/* language dropdown (native <details>) */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .05em; cursor: pointer; user-select: none; transition: background-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--paper); }
.lang[open] summary { background: var(--ink); color: var(--air); border-color: var(--ink); }
.lang__list { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 12rem; display: grid; padding: .4rem;
  background: var(--air); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(26, 24, 20, .5); }
.lang__list a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 10px; text-decoration: none; }
.lang__list a:hover { background: var(--paper); }
.lang__list a[aria-current] { font-weight: 700; background: color-mix(in srgb, var(--yellow) 30%, transparent); }
.lang__list span { font-size: .75rem; font-weight: 700; color: var(--mute); letter-spacing: .06em; align-self: center; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 2rem; padding: 2.25rem 0 3.5rem; align-items: center; }
.byline { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; font-size: .88rem; color: var(--mute); line-height: 1.35; }
.byline__pic { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--air), 0 0 0 4px var(--yellow); }
.byline strong { display: block; color: var(--ink); font-size: 1rem; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.8rem); line-height: .98; letter-spacing: -.035em; }
h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--yellow) 60% 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; }
.lead { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.5vw, 1.24rem); color: var(--ink-soft); max-width: 35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.facts { list-style: none; margin: 2.4rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line);
  display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.facts strong { display: block; font: 600 1.35rem/1.15 var(--serif); }
.facts span { display: block; margin-top: .2rem; font-size: .84rem; color: var(--mute); line-height: 1.4; }
.hero__art { position: relative; margin: 0; }
.hero__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 52%, #000 62%, transparent 100%); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem .42rem .45rem;
  background: var(--air); border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 600;
  box-shadow: 0 12px 26px -16px rgba(26, 24, 20, .55); }
.chip .ico { width: 1.35rem; height: 1.35rem; padding: 3px; border-radius: 50%; background: var(--yellow); stroke-width: 2.6; }
.chip--0 { top: 6%; left: 2%; } .chip--1 { top: 26%; right: 0; } .chip--2 { bottom: 8%; left: 16%; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: bob 6s ease-in-out infinite; } .chip--1 { animation-delay: -2s; } .chip--2 { animation-delay: -4s; }
}
@keyframes bob { 50% { transform: translateY(-7px); } }

/* ---------- sections ---------- */
.sec { padding: 4rem 0; }
.sec--paper { background: var(--paper); }
.band--deep { background: var(--deep); color: var(--air); }
.sec__head { max-width: 46rem; margin-bottom: 2.5rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: .9rem; font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 1.7rem; height: 3px; border-radius: 3px; background: var(--yellow); }
h2 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); letter-spacing: -.028em; }
.sub { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 42rem; }
.band--deep .eyebrow { color: var(--air-70); }
.band--deep .sub { color: color-mix(in srgb, var(--air) 78%, transparent); }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* A to Z ribbon */
.az { padding: 3.5rem 0; }
.az h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.az__steps { list-style: none; margin: 2rem -1.25rem 0; padding: 0 1.25rem .25rem; display: flex; gap: .6rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.az__steps::-webkit-scrollbar { display: none; }
.az__steps li { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: .6rem; padding: .75rem 1.05rem;
  background: var(--deep-soft); border: 1px solid var(--air-12); border-radius: 14px; font-weight: 600; white-space: nowrap; }
.az__steps span { font-size: .72rem; line-height: 1; padding: .32rem .38rem; border-radius: 6px; background: var(--yellow); color: var(--deep); }

/* services */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.card { background: color-mix(in srgb, var(--paper) 45%, var(--air)); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem 1.75rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 44px -30px rgba(26, 24, 20, .6); }
.card__ico { width: 3.1rem; height: 3.1rem; display: grid; place-items: center; margin-bottom: 1.3rem; border-radius: 15px; background: var(--deep); color: var(--yellow); }
.card__ico .ico { width: 1.55rem; height: 1.55rem; }
.card h3 { font-size: 1.45rem; margin: .35rem 0 .6rem; }
.card p:not(.tag) { font-size: .98rem; color: var(--ink-soft); }
.card--sky { background: var(--sky); border-color: transparent; }
.card--sky .tag { color: var(--mute); }

/* pricing */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; background: var(--air);
  border: 1px solid var(--line); border-radius: 24px; }
.plan h3 { font-size: 1.7rem; }
.plan__for { margin-top: .35rem; color: var(--mute); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 1.3rem; }
.plan__price strong { font: 600 2.6rem/1 var(--serif); letter-spacing: -.035em; }
.plan__price span { font-size: .9rem; color: var(--mute); }
.checks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; line-height: 1.45; }
.checks .ico { width: 1.3rem; height: 1.3rem; margin-top: .05rem; padding: 3px; border-radius: 50%; background: var(--yellow); color: var(--ink); stroke-width: 2.6; }
.plan .btn { width: 100%; margin-top: auto; }
.plan--hot { background: var(--deep); border-color: var(--deep); color: var(--air); box-shadow: 0 34px 60px -34px rgba(18, 16, 14, .85); }
.plan--hot .plan__for, .plan--hot .plan__price span { color: var(--air-70); }
.plan--hot .plan__price strong { color: var(--yellow); }
.plan__badge { position: absolute; top: -.85rem; left: 1.75rem; padding: .38rem .8rem; border-radius: 999px; background: var(--yellow);
  color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.terms { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.terms li { display: flex; align-items: baseline; gap: .9rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--air); font-size: .95rem; color: var(--ink-soft); }
.terms strong { font: 600 1.2rem/1.1 var(--serif); color: var(--ink); white-space: nowrap; }

/* security */
.secgrid { display: grid; gap: 2.5rem; }
.secgrid .sec__head { margin-bottom: 0; }
.secgrid__art { margin-top: 2rem; border-radius: 22px; aspect-ratio: 16 / 10; object-fit: cover; }
.sgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); align-content: start; }
.sgrid li { padding: 1.4rem 1.35rem 1.5rem; background: var(--deep-soft); border: 1px solid var(--air-12); border-radius: 18px; transition: border-color .25s; }
.sgrid li:hover { border-color: color-mix(in srgb, var(--yellow) 60%, transparent); }
.sgrid .ico { width: 1.8rem; height: 1.8rem; margin-bottom: .9rem; color: var(--yellow); }
.sgrid h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.sgrid p { font-size: .95rem; color: var(--air-70); }

/* work: swipe carousel on phones, bento grid on desktop */
.works { display: flex; gap: .9rem; margin-inline: -1.25rem; padding: 0 1.25rem .5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
.works::-webkit-scrollbar { display: none; }
.work { flex: 0 0 min(84%, 24rem); scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: var(--air); border: 1px solid var(--line); border-radius: var(--r); transition: transform .25s, box-shadow .25s, border-color .25s; }
.work:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 26px 46px -30px rgba(26, 24, 20, .6); }
.work figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper);
  border-top: 24px solid var(--paper); border-bottom: 1px solid var(--line); }
.work figure::before { content: ""; position: absolute; top: -16px; left: 12px; width: 42px; height: 8px;
  background: radial-gradient(circle at 4px 4px, var(--line) 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .7s; }
.work:hover img { transform: scale(1.035); }
.work__txt { flex: 1; display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.35rem 1.35rem; }
.work h3 { font-size: 1.4rem; }
.work__txt p:not(.tag) { font-size: .95rem; color: var(--ink-soft); }
.work__go { margin-top: auto; padding-top: .7rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .92rem; }
.work__go .ico { width: 1rem; height: 1rem; transition: transform .2s; }
.work:hover .work__go .ico { transform: translate(2px, -2px); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { padding: 1.5rem 1.4rem 1.6rem; background: var(--air); border-radius: 18px; }
.steps .n { display: inline-block; margin-bottom: 1rem; padding: .35rem .6rem; border-radius: 10px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: .9rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.steps p { font-size: .96rem; color: var(--ink-soft); }

/* showcase teaser */
.teaser { display: grid; gap: 2rem; align-items: center; padding: 2rem 1.5rem; border-radius: 28px; overflow: hidden; color: var(--air);
  background: radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--yellow) 22%, transparent), transparent 42%), var(--deep); }
.teaser .eyebrow { color: var(--air-70); }
.teaser .sub { color: color-mix(in srgb, var(--air) 78%, transparent); margin-bottom: 1.75rem; }
.teaser img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; }

/* about */
.about { display: grid; gap: 1.75rem; align-items: start; }
.about__pic { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--air), 0 0 0 7px var(--yellow), 0 22px 40px -18px rgba(18, 16, 14, .45); }
.about__txt { margin-top: 1.25rem; display: grid; gap: 1rem; max-width: 42rem; font-size: 1.08rem; color: var(--ink-soft); }
.chips { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .42rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.place { margin-top: 1rem; font-size: .92rem; color: var(--mute); }

/* contact */
.contact { padding: 4.5rem 0; background: var(--yellow); color: var(--ink); }
.contact .eyebrow { color: var(--ink); }
.contact .eyebrow::before { background: var(--ink); }
.contact h2 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); }
.contact .sub { color: var(--ink-soft); }
.mail { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; padding-bottom: .25rem; border-bottom: 3px solid var(--ink);
  font: 600 clamp(1.5rem, 4.6vw, 2.8rem)/1.2 var(--serif); text-decoration: none; word-break: break-all; transition: gap .2s; }
.mail:hover { gap: 1rem; }
.mail .ico { width: .9em; height: .9em; }
.contact__langs { margin-top: 1.5rem; font-size: .9rem; font-weight: 600; letter-spacing: .04em; }

/* footer */
.foot { padding: 3.25rem 0 calc(7.5rem + env(safe-area-inset-bottom)); background: var(--deep); color: var(--air-70); font-size: .95rem; }
.foot__in { display: grid; gap: 2rem; }
.foot a { color: var(--air); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .brand { color: var(--air); margin-bottom: 1rem; }
.foot .mark, .sheet .mark { color: var(--deep-soft); }
.foot__tag { max-width: 22rem; margin-bottom: .6rem; }
.foot__h { margin-bottom: .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--air-12); font-size: .85rem; }

/* ---------- phone dock ---------- */
.dock { position: fixed; z-index: 60; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: .45rem .25rem .4rem;
  background: color-mix(in srgb, var(--deep) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(18, 16, 14, .7); }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; gap: .22rem; padding: .3rem 0; min-width: 0;
  background: none; border: 0; color: var(--air-70); font: 600 .66rem/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.dock span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .ico { width: 1.4rem; height: 1.4rem; }
.dock a.on { color: var(--yellow); }
.dock__write b { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; margin-top: -1.9rem; border-radius: 50%;
  background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 5px var(--deep), 0 10px 22px -8px rgba(245, 196, 0, .6); }
.dock__write { color: var(--air) !important; }

/* ---------- phone menu sheet (native popover) ---------- */
.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; overflow-y: auto;
  padding: calc(1rem + env(safe-area-inset-top)) 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); background: var(--deep); color: var(--air);
  opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s, overlay .25s allow-discrete, display .25s allow-discrete; }
.sheet { display: none; }  /* stays hidden where popover is unsupported */
.sheet:popover-open { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .sheet:popover-open { opacity: 0; transform: translateY(14px); } }
.sheet::backdrop { background: transparent; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.sheet .brand { color: var(--air); }
.sheet__close { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--air) 25%, transparent);
  background: none; color: var(--air); cursor: pointer; }
.sheet__nav { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: m; }
.sheet__nav a { display: flex; align-items: baseline; gap: 1rem; padding: .78rem 0; border-bottom: 1px solid var(--air-12);
  font: 600 1.85rem/1.15 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.sheet__nav a::before { counter-increment: m; content: counter(m, decimal-leading-zero); font: 700 .8rem var(--sans); color: var(--yellow); }
.sheet__show { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 1.25rem; padding: .95rem 1.1rem; border-radius: 16px;
  background: var(--deep-soft); border: 1px solid color-mix(in srgb, var(--yellow) 45%, transparent); font-weight: 600; text-decoration: none; }
.sheet__show .ico { fill: var(--yellow); stroke: var(--yellow); }
.sheet__langs { display: flex; gap: .5rem; margin-top: 1.25rem; }
.sheet__langs a { flex: 1; padding: .6rem 0; text-align: center; border-radius: 12px; border: 1px solid var(--air-12); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-decoration: none; color: var(--air-70); }
.sheet__langs a[aria-current] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; padding: 3.5rem 0 5rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--ink-soft); }
.legal__date { margin-top: 2.5rem; font-size: .9rem; color: var(--mute); }
.smap { list-style: none; padding: 0; margin: 2rem 0 0; }
.smap li { margin: 0 0 1.1rem; }
.smap a { font-family: var(--display); font-size: 1.25rem; }
.smap p { margin: .15rem 0 0; }
.todo { background: var(--yellow); color: var(--ink); padding: 0 .25em; border-radius: 4px; }

/* ---------- scroll reveal (progressive, CSS only) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- tablet & desktop ---------- */
@media (min-width: 720px) {
  .sec { padding: 5.5rem 0; }
  .hero { padding-top: 3.5rem; }
  .az__steps { margin-inline: 0; padding-inline: 0; }
  .teaser { grid-template-columns: 1fr 1.1fr; padding: 3.25rem; }
  .about { grid-template-columns: auto 1fr; gap: 3.5rem; }
  .about__pic { width: 11rem; height: 11rem; }
  .foot__in { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 1200px) {
  .nav, .top__cta { display: flex; }
  .nav { gap: .1rem; }
  .brand { margin-right: 1rem; }
  .nav { margin-right: auto; }
  .dock { display: none; }
  .foot { padding-bottom: 2.5rem; }
  .hero { grid-template-columns: 1.02fr .98fr; gap: 3rem; min-height: min(46rem, calc(100svh - var(--top))); padding: 3rem 0 4rem; }
  .az__steps { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; }
  .az__steps li { justify-content: center; }
  .plan--hot { transform: translateY(-12px); }
  .secgrid { grid-template-columns: .95fr 1.05fr; gap: 3.5rem; align-items: start; }
  .secgrid__intro { position: sticky; top: calc(var(--top) + 2rem); }
  .works { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin: 0; padding: 0; overflow: visible; }
  .work { grid-column: span 2; }
  .work--big { grid-column: span 4; flex-direction: row; }
  .work--big figure { flex: 0 0 60%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .work--big .work__txt { padding: 1.75rem 1.6rem; justify-content: center; }
  .work--big h3 { font-size: 1.9rem; }
}

/* added 2026-09-29: net-price note, footer legal line */
.net { margin-top: 1.25rem; font-size: .88rem; color: var(--mute); max-width: 48rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }

/* added 2026-09-29: five service cards, change rules, hourly work */
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-child(n + 4) { grid-column: span 3; }
}
.rules { margin-top: 1.75rem; padding: 1.6rem 1.6rem 1.7rem; background: var(--air); border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: 20px; }
.rules h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin-bottom: 1.1rem; }
.rules h3 .ico { width: 1.4rem; height: 1.4rem; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.rules li { padding-top: .8rem; border-top: 1px solid var(--line); }
.rules h4 { margin: 0 0 .35rem; font: 700 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.rules p { font-size: .97rem; color: var(--ink-soft); }
.hours__head { margin: 3.5rem 0 1.5rem; max-width: 44rem; }
.sec__head + .hours__head { margin-top: 0; }
.hours__head h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.hours { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.hour { display: flex; flex-direction: column; padding: 1.75rem; background: var(--air); border: 1px solid var(--line); border-radius: 24px; }
.hour__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hour .card__ico { margin-bottom: 0; }
.hour .plan__price { margin: 0; }
.hour .plan__price strong { font-size: 2.6rem; }
.hour h4 { margin: 1.2rem 0 .4rem; font: 600 1.45rem/1.15 var(--serif); letter-spacing: -.01em; }
.hour__lead { color: var(--ink-soft); margin-bottom: 1.2rem; }
.hour .checks { margin-bottom: 1.5rem; }
.hour .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 720px) { .hour .checks { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } }

/* added 2026-09-29: copy-address fallback when no mail app opens */
.contact .copy { margin-top: 1.25rem; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(6.5rem + env(safe-area-inset-bottom)); width: min(92vw, 30rem); transform: translate(-50%, 1rem);
  padding: .9rem 1.1rem; border-radius: 14px; background: var(--deep); color: var(--air); font-size: .95rem; box-shadow: 0 18px 40px -16px rgba(18, 16, 14, .7);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1200px) { .toast { bottom: 2rem; } }

/* added 2026-09-29: "from" prices, IT-help response times */
.plan__from { font-size: 1rem; font-weight: 600; color: var(--mute); }
.rates { list-style: none; margin: 0 0 1.4rem; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rates li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .15rem .6rem; padding: .75rem .95rem; }
.rates li + li { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--yellow) 22%, transparent); }
.rates__tag { grid-column: 1; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rates__when { grid-column: 1; font-size: .92rem; color: var(--ink-soft); }
.rates strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 1.5rem/1 var(--serif); white-space: nowrap; }
.rates__unit { grid-column: 2; font-size: .78rem; color: var(--mute); text-align: right; }
/* security: featured first item (server location), spans the whole row */
.sgrid .is-key { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--yellow) 70%, transparent);
  background: color-mix(in srgb, var(--yellow) 9%, var(--deep-soft)); }
.sgrid .is-key h3 { font-size: 1.4rem; }

/* contact form (contact.php; #sent / #fail are shown via :target after the redirect, no JS needed) */
.form { margin-top: 2rem; max-width: 46rem; }
.form__grid { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .95rem; font-weight: 600; }
.form label small { font-weight: 500; color: var(--ink-soft); }
.form input, .form select, .form textarea { width: 100%; box-sizing: border-box; padding: .8rem .95rem; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--air); color: var(--ink); font: inherit; }
.form textarea { resize: vertical; min-height: 9rem; }
.form__foot { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__foot small { font-size: .85rem; color: var(--ink-soft); max-width: 26rem; }
.form__foot a { color: inherit; }
.hp { position: absolute; left: -9999px; }
.form__msg { display: none; margin-top: 1.5rem; max-width: 46rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--ink); color: var(--air); font-weight: 600; }
.form__msg--fail { background: #B3261E; }
.form__msg:target { display: block; }
.contact__or { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.contact__or .mail { margin-top: 0; font-size: 1.35rem; }
@media (min-width: 720px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__full { grid-column: 1 / -1; } }
/* added 2026-10-04: tech stack chips on the project cards */
.plan__techl { margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.plan__tech { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.plan__tech li { padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; font: 600 .78rem/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-soft); }
.plan--hot .plan__techl { color: var(--air-70); }
.plan--hot .plan__tech li { color: var(--air); border-color: color-mix(in srgb, var(--air) 25%, transparent); }
