/* ICEGO SEO pages (services / work / about / ru+hy homes). Extends /p/style.css: tokens, header, menu, .mono, h2, .lead, .rv, .cursor, .progress.
   Same language as the portfolio: uppercase Inter 500 tight, Martian Mono labels, oxblood #6f0e1f / #a8283b, 0 radius, 2px ink rules. */

/* Cyrillic + Armenian glyphs (the portfolio ships latin only). Declared after /p/style.css so these win for their ranges. */
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/s/fonts/inter-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("/s/fonts/inter-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url("/s/fonts/martian-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IcegoArm"; font-weight: 400; font-display: swap; src: url("/s/fonts/noto-sans-armenian-armenian-400-normal.woff2") format("woff2"); unicode-range: U+0308, U+0530-058F, U+2010, U+2015, U+2116, U+2212, U+25CC, U+FB13-FB17; }
@font-face { font-family: "IcegoArm"; font-weight: 500; font-display: swap; src: url("/s/fonts/noto-sans-armenian-armenian-500-normal.woff2") format("woff2"); unicode-range: U+0308, U+0530-058F, U+2010, U+2015, U+2116, U+2212, U+25CC, U+FB13-FB17; }
@font-face { font-family: "IcegoArm"; font-weight: 800; font-display: swap; src: url("/s/fonts/noto-sans-armenian-armenian-800-normal.woff2") format("woff2"); unicode-range: U+0308, U+0530-058F, U+2010, U+2015, U+2116, U+2212, U+25CC, U+FB13-FB17; }
body { font-family: "Inter", "IcegoArm", system-ui, sans-serif; }
.mono { font-family: "Martian Mono", "IcegoArm", ui-monospace, monospace; }
html { scroll-padding-top: 90px; }
main { display: block; }
section { padding: clamp(64px, 9vw, 128px) var(--pad); }

/* header extras */
.where { line-height: 1.55; }
.lsw a { padding: 0 2px; transition: color 160ms; }
.lsw a[aria-current="true"] { color: var(--red-text); }
.lsw a:hover { color: var(--red-text); }
.menu-foot .lsw { display: inline-block; margin-bottom: 10px; }
.top { background: linear-gradient(var(--paper) 55%, rgba(255, 255, 255, 0)); }

/* headings: long RU/HY words must wrap, never overflow */
h1, h2, h3, .t, .nm { overflow-wrap: anywhere; hyphens: auto; }
.lang-ru h2, .lang-hy h2 { font-size: clamp(34px, 6.6vw, 104px); }

/* labels like [ ALL SERVICES ] never wrap */
.viewall { white-space: nowrap; }
.head { flex-wrap: wrap; gap: 10px 24px; }
.head h2 { min-width: 0; }
@media (max-width: 600px) { .viewall { white-space: normal; } }

/* ---------- hero ---------- */
.ph { position: relative; padding-top: clamp(128px, 15vw, 210px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.ph-k { color: var(--red-text); margin-bottom: clamp(16px, 2.4vw, 28px); }
.ph-k a { text-decoration: underline; text-underline-offset: 3px; }
.ph-h { position: relative; z-index: 1; font-weight: 500; font-size: clamp(46px, 10.4vw, 188px); line-height: 0.9; letter-spacing: -0.055em; text-transform: uppercase; max-width: 16ch; }
.lang-ru .ph-h { font-size: clamp(40px, 8.2vw, 150px); max-width: 14ch; }
.lang-hy .ph-h { font-size: clamp(36px, 7.2vw, 132px); max-width: 15ch; letter-spacing: -0.04em; }
.ph-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.ph-meta { display: grid; gap: 0; }
.ph-meta li { border-top: 2px solid var(--line); padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; }
.ph-meta li::after { content: "\2192"; color: var(--red-text); }
.ghostw { position: absolute; right: -2vw; top: 6%; z-index: 0; font-weight: 800; font-size: 31vw; line-height: 0.8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(111, 14, 31, 0.28); pointer-events: none; user-select: none; }
.ph-strip { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 8px; margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.ph-strip figure { overflow: hidden; background: #e8e8e8; will-change: transform; }
.ph-strip figure:nth-child(1) { aspect-ratio: 3 / 4; }
.ph-strip figure:nth-child(2) { aspect-ratio: 4 / 5; margin-top: clamp(24px, 5vw, 80px); }
.ph-strip figure:nth-child(3) { aspect-ratio: 1 / 1.2; }
.ph-strip img, .card .im img, .cmedia img, .galg img, .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph-strip img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .ph-strip figure:hover img { transform: scale(1.05); } }

/* ---------- what you get ---------- */
.rows { border-bottom: 2px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 70px minmax(220px, 1fr) minmax(0, 1.2fr) clamp(90px, 12vw, 190px); gap: clamp(14px, 3vw, 40px); align-items: start; padding: clamp(22px, 3vw, 40px) 0; border-top: 2px solid var(--line); transition: padding-left 280ms var(--ease-out); }
.row .n { color: var(--red-text); padding-top: 8px; }
.row h3 { font-weight: 500; font-size: clamp(24px, 3.4vw, 54px); letter-spacing: -0.05em; line-height: 0.96; text-transform: uppercase; transition: color 160ms; }
.row p { max-width: 54ch; font-size: clamp(16px, 1.3vw, 20px); color: #2a2a2c; }
.thumb { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e8e8e8; transform: translateY(0); transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .row:hover { padding-left: 14px; } .row:hover h3 { color: var(--red-text); } .row:hover .thumb { transform: translateY(-6px) rotate(-1.5deg); } }

/* ---------- band (oxblood marquee) ---------- */
.band { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.band .tk { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); width: max-content; animation: bandmove 38s linear infinite; }
.band .tk span { font-weight: 500; font-size: clamp(40px, 7.6vw, 120px); letter-spacing: -0.05em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.band .tk i { width: clamp(12px, 1.8vw, 24px); height: clamp(12px, 1.8vw, 24px); background: #fff; flex: none; }
@keyframes bandmove { to { transform: translateX(-25%); } }

/* ---------- who ---------- */
.whol { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 44px); counter-reset: w; }
.whol li { counter-increment: w; border-top: 2px solid var(--line); padding-top: 18px; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.25; }
.whol li::before { content: "[0" counter(w) "]"; display: block; font-family: "Martian Mono", monospace; font-size: 12px; color: var(--red-text); margin-bottom: 12px; }

/* ---------- process (reuses .process/.step from the portfolio, no silk canvas) ---------- */
.pp .step { opacity: 1; }
.pp .pline { display: none; }
.pp .steps { padding-left: 0; list-style: none; }
.pp .head .viewall { color: #e9cdd3; }
.lang-ru .pp .step h3, .lang-hy .pp .step h3 { font-size: clamp(22px, 3.2vw, 50px); }

/* ---------- proof cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(14px, 2vw, 28px) clamp(10px, 1.4vw, 20px); align-items: start; }
.card { display: block; }
.card .im { position: relative; display: block; overflow: hidden; background: #e8e8e8; }
.card .im img { transition: transform 700ms var(--ease-out); }
.card .tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 9px; background: #fff; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 240ms, transform 240ms var(--ease-out); }
.card .cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; padding-top: 10px; }
.card .cap b { color: var(--red-text); font-weight: 400; }
.card .cap .nm { font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.1; }
.card .cap .ct { grid-column: 2; font-style: normal; color: var(--grey); }
@media (hover: hover) { .card:hover .im img { transform: scale(1.05); } .card:hover .tag { opacity: 1; transform: none; } .card:hover .nm { color: var(--red-text); } }
@media (hover: none) { .card .tag { opacity: 1; transform: none; } }

/* ---------- faq (native details) ---------- */
.qa2 { border-top: 2px solid var(--line); }
.qa2:last-of-type { border-bottom: 2px solid var(--line); }
.qa2 summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; padding: 24px 0; transition: padding-left 240ms var(--ease-out); }
.qa2 summary::-webkit-details-marker { display: none; }
.qa2 summary .n { color: var(--red-text); }
.qa2 summary .t { font-weight: 500; font-size: clamp(20px, 2.8vw, 42px); letter-spacing: -0.045em; line-height: 1.04; text-transform: uppercase; }
.qa2[open] summary .n { color: var(--red); }
.qa2 .ans2 { padding: 0 0 28px 106px; }
.qa2 .ans2 p { max-width: 62ch; font-size: clamp(16px, 1.3vw, 20px); }
@media (hover: hover) { .qa2 summary:hover { padding-left: 14px; } }

/* ---------- related / next ---------- */
.rel ul { border-bottom: 2px solid var(--line); }
.rel li { border-top: 2px solid var(--line); }
.rel a { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: clamp(20px, 3vw, 36px) 0; transition: padding-left 240ms var(--ease-out), color 160ms; }
.rel a b { overflow-wrap: anywhere; font-weight: 500; font-size: clamp(26px, 4.4vw, 70px); letter-spacing: -0.05em; line-height: 0.96; text-transform: uppercase; }
.rel a .mono { color: var(--red-text); }
.rel a i { font-style: normal; font-size: clamp(30px, 4vw, 60px); color: var(--red-text); transition: transform 300ms var(--ease-out); }
@media (hover: hover) { .rel a:hover { padding-left: 14px; color: var(--red-text); } .rel a:hover i { transform: translateX(10px); } }

/* ---------- services list (hubs, home) ---------- */
.svc2 { border-bottom: 2px solid var(--line); }
.srow2 { border-top: 2px solid var(--line); }
.srow2 a { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "n t strip" "n sub strip"; gap: 6px clamp(14px, 3vw, 40px); align-items: end; padding: 22px 0 18px; }
.srow2 .n { grid-area: n; color: var(--red-text); align-self: start; padding-top: 10px; }
.srow2 .t { grid-area: t; font-weight: 500; font-size: clamp(28px, 4.6vw, 76px); letter-spacing: -0.055em; line-height: 0.94; text-transform: uppercase; transition: color 160ms; align-self: end; }
.srow2 .sub { grid-area: sub; color: var(--grey); }
.strip2 { grid-area: strip; display: flex; gap: 8px; height: clamp(110px, 12vw, 180px); overflow: hidden; justify-content: flex-end; }
.strip2 img { height: 100%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; flex: none; background: #e8e8e8; transition: transform 500ms var(--ease-out); }
.strip2 img:nth-child(2) { aspect-ratio: 4 / 5; }
.strip2 img:nth-child(3) { aspect-ratio: 1 / 1; }
@media (hover: hover) { .srow2 a:hover .t { color: var(--red-text); } .srow2 a:hover .strip2 img { transform: translateY(-6px); } .srow2 a:hover .strip2 img:nth-child(2) { transform: translateY(6px); } }

/* ---------- cta (oxblood) ---------- */
.sendcta { background: #6f0e1f; color: #fff; }
.sendcta .mono { color: #e9cdd3; }
.sendcta h2 { margin: 18px 0 28px; font-size: clamp(48px, 10vw, 170px); }
.lang-ru .sendcta h2, .lang-hy .sendcta h2 { font-size: clamp(38px, 8vw, 130px); }
.sendcta .lead { color: #f4e6e9; margin-bottom: 40px; }
.mail { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: baseline; gap: 6px 18px; font-weight: 500; font-size: clamp(20px, 5vw, 80px); overflow-wrap: anywhere; letter-spacing: -0.05em; line-height: 1; border-bottom: 3px solid #fff; padding-bottom: 6px; margin-bottom: 36px; transition: color 200ms, border-color 200ms; }
.mail i { font-style: normal; transition: transform 300ms var(--ease-out); }
@media (hover: hover) { .mail:hover { color: #f0b8c2; border-color: #f0b8c2; } .mail:hover i { transform: translateX(10px); } }

/* ---------- footer ---------- */
.foot2 { padding: 64px var(--pad) 28px; background: var(--paper); }
.foot2 .bigword { display: block; font-weight: 500; font-size: clamp(88px, 25vw, 380px); letter-spacing: -0.07em; line-height: 0.8; text-transform: uppercase; transition: color 240ms; margin-bottom: clamp(28px, 4vw, 56px); }
@media (hover: hover) { .foot2 .bigword:hover { color: var(--red); } }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 2px solid var(--line); padding-top: 24px; }
.foot-cols b { display: block; font-weight: 400; color: var(--red-text); margin-bottom: 12px; }
.foot-cols li { padding: 4px 0; }
.foot-cols a { transition: color 160ms; overflow-wrap: anywhere; }
.foot-cols > div { min-width: 0; }
.foot-cols a:hover { color: var(--red-text); }
.foot2 .small { margin-top: 36px; color: var(--grey); }

/* ---------- case page ---------- */
.case-h { padding-bottom: 24px; }
.brandline { margin-top: 18px; color: var(--red-text); }
.case-main { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 24px; }
.cmedia { position: relative; overflow: hidden; background: #0b0b0c; max-height: 86vh; }
.cmedia video { width: 100%; height: 100%; object-fit: cover; }
.cmedia .play { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 9px 12px; background: #fff; color: var(--ink); transition: background 200ms, color 200ms; }
.cmedia .play:hover, .cmedia .play:focus-visible { background: var(--red); color: #fff; }
.case-side { position: sticky; top: 96px; }
.factl { display: grid; gap: 0; margin-top: 36px; }
.factl > div { display: grid; grid-template-columns: 38% 1fr; gap: 16px; border-top: 2px solid var(--line); padding: 12px 0; }
.factl dt { color: var(--grey); }
.factl dd { font-size: clamp(15px, 1.2vw, 18px); }
.factl.big > div { padding: 18px 0; }
.factl.big dd { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-block; border: 1.5px solid var(--ink); padding: 7px 11px; transition: background 160ms, color 160ms, border-color 160ms; }
.chip:hover { background: var(--red); color: #fff; border-color: var(--red); }
.did li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 24px 0; border-top: 2px solid var(--line); align-items: baseline; }
.did li:last-child { border-bottom: 2px solid var(--line); }
.did .n { color: var(--red-text); }
.did p { max-width: 60ch; font-size: clamp(18px, 1.8vw, 28px); letter-spacing: -0.025em; line-height: 1.2; }
.galg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.galg figure { overflow: hidden; background: #e8e8e8; aspect-ratio: 4 / 5; }
.gal { padding-top: 0; }

/* ---------- about ---------- */
.abc ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 48px); }
.abc li { border-top: 2px solid var(--line); padding-top: 18px; }
.abc .n { color: var(--red-text); display: block; margin-bottom: 12px; }
.abc h3 { font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.05em; line-height: 0.95; text-transform: uppercase; margin-bottom: 14px; }
.abc p { max-width: 36ch; font-size: clamp(16px, 1.3vw, 20px); color: #2a2a2c; }
.nums ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: clamp(28px, 4vw, 56px) 0; }
.nums b { display: block; font-weight: 500; font-size: clamp(56px, 9vw, 150px); letter-spacing: -0.07em; line-height: 0.85; color: var(--red-text); margin-bottom: 12px; }
.honest li { border-top: 2px solid var(--line); padding: 20px 0; }
.honest li:last-child { border-bottom: 2px solid var(--line); }
.honest p { max-width: 62ch; font-size: clamp(18px, 1.8vw, 28px); letter-spacing: -0.025em; line-height: 1.2; }
.abouthome .lead { font-size: clamp(20px, 2.2vw, 34px); max-width: 40ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ph-row, .case-main { grid-template-columns: 1fr; }
  .ph-strip { grid-template-columns: 1fr 1fr; }
  .ph-strip figure:nth-child(3) { display: none; }
  .row { grid-template-columns: 52px 1fr; }
  .row p { grid-column: 2; }
  .row .thumb { display: none; }
  .whol, .abc ol { grid-template-columns: 1fr; }
  .nums ul { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srow2 a { grid-template-columns: 52px 1fr; grid-template-areas: "n t" "n sub" "strip strip"; }
  .strip2 { justify-content: flex-start; height: 120px; margin-top: 12px; }
  .qa2 summary { grid-template-columns: 56px 1fr; }
  .qa2 .ans2 { padding-left: 0; }
  .case-side { position: static; }
  .did li { grid-template-columns: 56px 1fr; }
  .rel a { grid-template-columns: 60px minmax(0, 1fr) auto; }
}
@media (max-width: 600px) {
  .galg { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card .cap { grid-template-columns: 1fr; }
  .card .cap .ct { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .band .tk { animation: none; }
  .ph-strip figure { transform: none !important; }
}
