@font-face {
  font-family: Unbounded;
  src: url("/assets/home-20261206/assets/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}

:root {
  --paper: #fafaf5;
  --ink: #14191a;
  --lime: #caff43;
  --cyan: #62e2ee;
  --pink: #f9a8d7;
  --violet: #d9c7ff;
  --line: #dce0d7;
  --grid: linear-gradient(90deg, var(--grid-stroke) 1px, transparent 1px),
          linear-gradient(var(--grid-stroke) 1px, transparent 1px);
  --grid-stroke: #1826220a;
}

body { background: var(--grid), var(--paper); background-size: 34px 34px; }
.masthead { background: #fafbf5ee; }
.brand-mark { background-color: #88f53e; }
.button { border-radius: 100px; }
.button--accent { box-shadow: 3px 4px 0 var(--ink); }
.button--accent:hover { background: #e0ff85; box-shadow: 5px 5px 0 var(--ink); }
.button--outline { background: #ffffff94; }
.header-cta { box-shadow: 3px 3px 0 var(--lime); }
.hero { gap: clamp(25px, 4.2vw, 63px); padding-block: clamp(46px, 5vw, 76px) clamp(45px, 5vw, 70px); }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 74px 0 auto;
  height: 655px;
  max-height: 80vh;
  background: radial-gradient(ellipse at 0 0, #bbf96e31, transparent 62%),
              radial-gradient(ellipse at 86% 100%, #f6a7d430, transparent 57%);
  content: "";
  pointer-events: none;
}
.hero h1 {
  max-width: 16ch;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(30px, 4.05vw, 60px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.04;
}
[lang="hy"] .hero h1 { font-family: Onest, Arial, sans-serif; }
.hero-copy { padding-bottom: 5px; }
.hero-media { position: relative; isolation: isolate; padding: 19px 40px 91px 26px; min-width: 0; }
.hero-project {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 15px;
  box-shadow: 7px 7px 0 var(--cyan);
  transform: rotate(-1.2deg);
  transition: transform .26s ease, box-shadow .26s ease;
}
.hero-project:hover { transform: rotate(0); box-shadow: 10px 10px 0 var(--cyan); }
.hero-project img { aspect-ratio: 1.27; object-position: 50% 59%; }
.hero-project figcaption { background: #f7faf2; border-top: 1px solid var(--ink); padding-right: 58px; }
.hero-inset {
  position: absolute;
  top: 0;
  right: 0;
  width: 29%;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 #ff7dca;
  transform: rotate(5deg);
  pointer-events: none;
}
.hero-inset img { aspect-ratio: 1.16; object-fit: cover; }
.hero-video {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  max-width: 82%;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  color: var(--ink);
  background: #fcfff2;
  box-shadow: 5px 5px 0 var(--lime);
  transition: background .18s ease, box-shadow .18s ease;
}
.hero-video:hover { background: #efffb7; box-shadow: 7px 7px 0 var(--lime); }
.video-poster { position: relative; display: block; width: 118px; aspect-ratio: 1.65; flex: none; overflow: hidden; border-radius: 7px; background: #151c17; }
.video-poster img { height: 100%; object-fit: cover; }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 29px;
  height: 29px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fcffe8;
  transform: translate(-50%, -50%);
}
.play::after {
  position: absolute;
  top: 8px;
  left: 11px;
  border-block: 6px solid transparent;
  border-left: 9px solid var(--ink);
  content: "";
}
.video-copy { display: grid; gap: 3px; min-width: 0; }
.video-copy strong { font-size: 15px; line-height: 1.15; }
.video-copy small { font-size: 12px; color: var(--muted); line-height: 1.25; }

.video-first .hero-media { padding: 0 25px 75px 0; }
.video-first .hero-inset { display: none; }
.video-first .hero-video { position: relative; inset: auto; display: block; width: 100%; max-width: none; padding: 0; overflow: hidden; }
.video-first .video-poster { width: 100%; aspect-ratio: 1.63; border-radius: 0; }
.video-first .play { width: 66px; height: 66px; }
.video-first .play::after { top: 21px; left: 27px; border-block-width: 11px; border-left-width: 17px; }
.video-first .video-copy { border-top: 1px solid var(--ink); padding: 12px 14px; }
.video-first .hero-project {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 40%;
  transform: rotate(2deg);
}
.video-first .hero-project figcaption { padding: 7px 9px; }

.section-ribbon { position: relative; background: var(--lime); border-block: 1px solid var(--ink); }
.section-ribbon .wrap { display: flex; justify-content: space-between; gap: 3px 18px; flex-wrap: wrap; }
.section-ribbon a { padding: 10px 0; font-weight: 720; font-size: 14px; }
.section-ribbon a:hover, .section-ribbon a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.catalog-panel {
  --grid-stroke: #15271905;
  background: var(--grid), #fff;
  background-size: 34px 34px;
  padding-block: clamp(49px, 5vw, 74px);
}
.catalog-panel .tile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.tile {
  --highlight: var(--lime);
  --wash: #f4facf;
  border-color: #24302a9c;
  border-radius: 13px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.tile:nth-child(4n + 2), .project-tile:nth-child(2) { --highlight: var(--pink); --wash: #fce7f3; }
.tile:nth-child(4n + 3), .project-tile:nth-child(3) { --highlight: var(--cyan); --wash: #e1f7fa; }
.tile:nth-child(4n + 4) { --highlight: var(--violet); --wash: #eee8fb; }
.tile:hover, .tile:focus-visible, .project-tile:hover, .project-tile:focus-visible {
  position: relative;
  z-index: 1;
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--highlight, var(--lime));
  transform: translateY(-3px);
}
.tile:active, .project-tile:active { transform: translateY(1px); box-shadow: 2px 2px 0 var(--highlight, var(--lime)); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.055); }
.tile-copy { padding: 12px 13px 14px; align-self: stretch; background: var(--wash); border-top: 1px solid #24302a27; }
.tile--category .tile-picture { height: clamp(145px, 15.2vw, 223px); aspect-ratio: auto; }
.tile--category:is(:first-child, :last-child) { grid-column: span 2; }
.asset-category-sets { object-position: 50% 45%; }
.asset-category-packaging { object-position: 50% 54%; }
.asset-category-apparel { object-position: 50% 50%; }
.asset-category-bottles { object-position: 48% 48%; }
.asset-category-notebooks { object-position: 55% 52%; }

.direction-panel {
  padding-block: clamp(57px, 7vw, 104px);
  background: linear-gradient(135deg, #e9f5e6 0%, #f9faf3 39%, #f5eaf4 100%);
  border-bottom: 1px solid var(--line);
}
.direction-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(25px, 4.4vw, 64px); }
.direction-intro { position: sticky; top: 40px; min-width: 0; }
.direction-intro h2 { text-wrap: initial; font-size: clamp(33px, 3.65vw, 53px); overflow-wrap: anywhere; }
.direction-intro p { margin-top: 13px; color: var(--muted); max-width: 30ch; }
.direction-detail { max-width: 265px; margin: 29px 10px 10px 5px; overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; box-shadow: 5px 5px 0 var(--cyan); transform: rotate(-3deg); }
.direction-detail img { aspect-ratio: 1.88; object-fit: cover; object-position: 73% 68%; }
.direction-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.direction-tiles .tile:nth-child(even) { margin-top: 47px; }
.tile--direction .tile-picture { aspect-ratio: 1.45; }
.tile--direction .tile-copy { padding: 14px 14px 16px; }

.project-panel { padding-block: clamp(53px, 6.8vw, 97px); }
.project-panel .section-head { margin-bottom: 25px; }
.case-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: clamp(9px, 1.4vw, 21px); }
.case-gallery[data-enhanced] .case-frames { grid-template-columns: minmax(0, .57fr) minmax(0, .8fr) minmax(0, 1.65fr); align-items: center; }
.case-photo { min-width: 0; display: block; border-radius: 13px; overflow: hidden; border: 1px solid #cfd6ca; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.case-photo:hover, .case-photo:focus-visible { transform: translateY(-3px); box-shadow: 4px 5px 0 var(--cyan); }
.case-photo img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; transition: transform .25s ease; }
.case-photo:hover img { transform: scale(1.025); }
.case-photo[data-slot="main"] { order: 3; border-color: #859180; box-shadow: 6px 6px 0 var(--lime); }
.case-photo[data-slot="main"] img { aspect-ratio: 1.34; }
.case-photo[data-slot="near"] { order: 2; }
.case-photo[data-slot="far"] { order: 1; }
.case-gallery[data-enhanced] .case-photo[data-slot]:not([data-slot="main"]) .case-caption { padding: 9px 11px; }
.case-gallery[data-enhanced] .case-photo[data-slot]:not([data-slot="main"]) :is(p,span) { display: none; }
.case-gallery[data-enhanced] .case-photo[data-slot]:not([data-slot="main"]) h3 { font-size: clamp(12px, 1.4vw, 18px); }
.case-photo[hidden], .case-controls[hidden], .event-video-toggle[hidden] { display: none; }
.case-caption { position: relative; display: grid; padding: 13px 16px; background: #fbfcf6; }
.case-caption h3 { font-size: clamp(18px, 2.3vw, 30px); font-weight: 790; line-height: 1.11; letter-spacing: -.04em; overflow-wrap: anywhere; }
.case-caption p { color: #374437; margin-top: 5px; font-size: 14px; }
.case-caption span { margin-top: 7px; font-weight: 770; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.case-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.case-controls button { padding: 6px 12px; border: 1px solid #bac6b6; border-radius: 30px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 690; }
.case-controls button[aria-pressed="true"] { border-color: var(--ink); background: var(--lime); }

.palette-panel { padding-block: clamp(26px, 4vw, 56px) clamp(50px, 6vw, 86px); }
.palette-cover { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(390px, 41vw, 560px); padding: clamp(22px, 5vw, 73px); border-radius: 20px; overflow: hidden; background: #263328; color: #fff; }
.palette-cover img, .event-backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.palette-cover::after, .event-spotlight::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #0f1913ef 0%, #131c16ce 30%, #10160f52 63%, transparent 86%); }
.palette-copy { max-width: 46ch; }
.palette-copy h2 { color: #fff; font-size: clamp(30px, 4.25vw, 61px); font-weight: 850; }
.palette-copy p { margin-top: 13px; color: #f2f6f0; }
.palette-copy a { display: inline-block; margin-top: 14px; color: #efffac; text-decoration: underline; text-underline-offset: 4px; font-weight: 750; }
.palette-swatches { display: flex; gap: 6px; margin-top: 16px; }
.palette-swatches i { width: 18px; aspect-ratio: 1; border: 1px solid #ffffff9e; border-radius: 50%; background: #fc7254; }
.palette-swatches i:nth-child(2) { background: #ffcc35; }
.palette-swatches i:nth-child(3) { background: #8be43e; }
.palette-swatches i:nth-child(4) { background: #72d9d4; }
.palette-swatches i:nth-child(5) { background: #727aff; }
.palette-swatches i:nth-child(6) { background: #edb7d8; }

.event-spotlight { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(490px, 88svh, 900px); color: #fff; background: #101a1a url("/assets/home-20261206/assets/live-print.webp") 65% center / cover; }
.event-backdrop { object-position: 65% center; }
.event-spotlight::after { background: linear-gradient(90deg, #090f13ed 0%, #0d1519a8 49%, #1017193b 81%), linear-gradient(0deg,#0f1816b5,transparent 55%); }
.event-spotlight-inner { padding-block: 55px; }
.event-spotlight h2 { max-width: 16ch; font-size: clamp(38px, 6.6vw, 105px); font-weight: 810; line-height: .98; letter-spacing: -.055em; text-wrap: balance; color: #f8fff2; }
.event-spotlight p { max-width: 42ch; margin: 19px 0 25px; font-size: clamp(16px, 2vw, 24px); }
.event-spotlight-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.event-video-toggle { padding: 8px 15px; color: #fff; font-weight: 740; border: 1px solid #c7d9cb; border-radius: 30px; background: #131a1dac; }
.event-video-toggle:hover { background: #10171b; }

.journal-panel { padding-block: clamp(52px, 6vw, 86px); background: var(--grid), #fff; background-size: 34px 34px; border-bottom: 1px solid var(--line); }
.journal-panel .section-head { margin-bottom: 23px; }
.journal-note { color: var(--muted); margin: -13px 0 17px; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.journal-card { min-width: 0; background: #fff; border: 1px solid #ced7c7; border-radius: 13px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.journal-card:is(:hover,:focus-visible) { transform: translateY(-3px); box-shadow: 4px 5px 0 var(--pink); }
.journal-picture { overflow: hidden; }
.journal-picture img { display: block; width: 100%; aspect-ratio: 1.85; object-fit: cover; transition: transform .25s ease; }
.journal-card:hover img { transform: scale(1.045); }
.journal-copy { padding: 13px 15px 17px; }
.journal-copy span { color: #42602e; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.journal-copy h3 { margin-top: 5px; font-size: clamp(16px, 2vw, 24px); line-height: 1.14; font-weight: 770; }
.journal-copy p { color: #46544a; margin-top: 6px; font-size: clamp(12px, 1.3vw, 15px); }

.branch-panel {
  --grid-stroke: #f5fff313;
  background: var(--grid), #161f1d;
  background-size: 34px 34px;
  color: #fcfdf2;
  border-bottom: 1px solid var(--ink);
}
.branch-list > div { padding: 12px; border: 1px solid #a4afa447; border-radius: 9px; background: #17221faa; }
.branch-photo { border: 1px solid #657162; box-shadow: 6px 6px 0 var(--cyan); }
.supply h3 { font-weight: 760; }
.contact { align-items: end; }
.footer { background: #fafbf4; }

.video-modal {
  width: min(870px, 100% - 24px);
  max-height: calc(100dvh - 22px);
  padding: 13px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 5px 6px 0 var(--lime);
}
.video-modal::backdrop { background: #101614cf; }
.video-modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.video-modal-head h2 { font-size: clamp(19px, 3.2vw, 33px); }
.video-modal-head button, .game-reset { background: #f6fadf; border: 1px solid var(--ink); border-radius: 6px; padding: 5px 8px; font-size: 13px; }
.video-modal video { display: block; width: 100%; max-height: 76dvh; border-radius: 8px; background: #0b0f0c; }
.game { position: relative; }
.game summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.game-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 4;
  width: 175px;
  padding: 11px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--grid), #faffee;
  background-size: 25px 25px;
  box-shadow: 4px 4px 0 var(--lime);
}
.game-panel p { font-weight: 680; font-size: 13px; }
.game-board { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 8px; gap: 4px; }
.game-board button { aspect-ratio: 1; padding: 0; border-radius: 5px; border: 1px solid #73816c; background: #fff; color: var(--ink); font: 800 27px/1 Onest, sans-serif; }
.game-board button[aria-disabled="true"] { cursor: default; background: #eef7d2; }
.game-board button[data-winner] { background: var(--lime); }
.game-board button[data-marked] { animation: place-mark .19s ease-out both; }
@keyframes place-mark { from { transform: scale(.84); } to { transform: scale(1); } }
.reveal-in { animation: enter .38s cubic-bezier(.18,.72,.25,1) both; }
@keyframes enter { from { opacity: .48; translate: 0 11px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1020px) {
  .hero-media { padding-inline: 15px 22px; }
  .catalog-panel .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--category:is(:first-child, :last-child) { grid-column: auto; }
  .direction-tiles .tile:nth-child(even) { margin-top: 29px; }
}

@media (max-width: 760px) {
  .hero::before { inset-block-start: 60px; }
  .hero { gap: 15px; padding-block: 29px 30px; }
  .hero h1 { font-size: clamp(24px, 8.27vw, 46px); }
  .hero-copy { padding: 0; }
  .hero-actions .button--accent { box-shadow: 2px 2px 0 var(--ink); }
  .hero-media { padding: 11px 12px 54px 10px; }
  .hero-project { box-shadow: 4px 4px 0 var(--cyan); border-radius: 9px; }
  .hero-project img { aspect-ratio: 1.57; }
  .hero-project figcaption { padding: 7px 9px 12px; }
  .hero-inset { width: 25%; border-radius: 7px; box-shadow: 3px 3px 0 #ff7dca; }
  .hero-video { gap: 7px; padding: 4px 9px 4px 4px; border-radius: 9px; box-shadow: 3px 3px 0 var(--lime); }
  .video-poster { width: 75px; }
  .video-copy strong { font-size: 12px; }
  .video-copy small { font-size: 10px; }
  .video-first .hero-media { padding: 0 10px 65px 0; }
  .video-first .hero-project { width: 43%; }
  .video-first .play { width: 46px; height: 46px; }
  .video-first .play::after { top: 14px; left: 18px; border-block-width: 7px; border-left-width: 11px; }
  .section-ribbon .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .section-ribbon a { padding: 6px 0; font-size: 12px; }
  .catalog-panel .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tile--category .tile-picture { height: auto; aspect-ratio: 1.36; }
  .tile-copy, .tile--direction .tile-copy { padding: 9px 8px; }
  .direction-layout { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .direction-intro { position: static; }
  .direction-intro p { margin-top: 8px; max-width: 39ch; }
  .direction-detail { display: none; }
  .direction-tiles { gap: 9px; align-items: stretch; }
  .direction-tiles .tile:nth-child(even) { margin-top: 0; }
  .case-frames, .case-gallery[data-enhanced] .case-frames { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .case-photo[data-slot="main"] { order: 0; grid-column: 1 / -1; margin-bottom: 4px; box-shadow: 3px 4px 0 var(--lime); }
  .case-photo img { aspect-ratio: 1.54; }
  .case-photo[data-slot="main"] img { aspect-ratio: 1.45; }
  .case-controls { margin-top: 14px; }
  .case-controls button { min-height: 36px; }
  .palette-cover { min-height: 406px; }
  .palette-cover img { object-position: 64% center; }
  .palette-cover::after { background: linear-gradient(90deg, #101812ed, #101812ad 64%, #10181258); }
  .event-spotlight { min-height: 600px; min-height: min(680px, 80svh); }
  .event-spotlight::after { background: linear-gradient(90deg, #0a1113e6, #10171965); }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .journal-picture img { aspect-ratio: 1.46; }
  .journal-copy { padding: 8px 8px 11px; }
  .journal-copy span { font-size: 10px; }
  .journal-copy h3 { font-size: 15px; }
  .branch-list > div { padding: 9px; }
  .branch-list dd { font-size: 13px; }
  .contact { align-items: start; }
  .game-panel { left: 0; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .direction-intro { position: static; }
}
