/* CodeByte — egyedi, reszponzív arculat */
:root {
  --paper: #f5f5f0;
  --white: #fff;
  --ink: #171916;
  --muted: #666b63;
  --line: #d9dbd3;
  --acid: #d5ff54;
  --blue: #4c66ff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,245,240,.92); border-bottom: 1px solid rgba(23,25,22,.09); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-word { font-size: 22px; font-weight: 800; letter-spacing: -1.3px; }
.brand-word span { font-weight: 500; }
.brand-word i { color: var(--blue); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 700; }
.nav-links > a:not(.nav-cta) { color: #565b53; transition: color .2s; }
.nav-links > a:hover { color: var(--blue); }
.nav-cta { display: inline-flex; gap: 18px; align-items: center; padding: 13px 17px; border: 1px solid var(--ink); border-radius: 3px; }
.nav-cta span { font-size: 17px; }
.menu-toggle { display: none; }
.hero { min-height: 660px; padding-block: 86px 94px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 25px; color: #5f655c; font: 11px/1.5 var(--mono); letter-spacing: .09em; }
.eyebrow-mark { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(46px, 5.3vw, 72px); line-height: 1.06; letter-spacing: -.075em; font-weight: 700; }
.hero h1 span, .section-heading h2 span, .approach-title h2 span { color: #858a80; }
.hero-lead { max-width: 475px; margin: 27px 0 29px; color: #62675f; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; font-size: 12px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--blue); }
.button-light { background: var(--acid); color: var(--ink); }
.text-link { font-size: 12px; font-weight: 800; }
.text-link span { margin-left: 8px; font-size: 16px; }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 54px; color: #777c73; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.tiny-square { width: 6px; height: 6px; background: var(--blue); }
.hero-art { padding: 20px; background: #e7e9df; border: 1px solid #d7d9cf; position: relative; transform: rotate(1deg); }
.art-topline, .art-caption { display: flex; justify-content: space-between; font: 9px var(--mono); letter-spacing: .08em; color: #72776e; }
.art-topline { padding: 3px 2px 18px; }
.art-grid { min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr .8fr; gap: 8px; }
.art-cell { position: relative; overflow: hidden; background: var(--paper); padding: 20px; }
.mono { display: block; font: 9px var(--mono); letter-spacing: .1em; color: #72776e; }
.cell-label { display: flex; flex-direction: column; justify-content: space-between; }
.cell-label b { font-size: clamp(18px, 2vw, 25px); letter-spacing: -.06em; line-height: 1.2; }
.cell-symbol { background: var(--acid); display: grid; place-items: center; }
.symbol-core { z-index: 2; font-size: 35px; font-weight: 800; letter-spacing: -.1em; }
.symbol-core span { color: var(--blue); }
.orbit { position: absolute; border: 1px solid rgba(23,25,22,.23); border-radius: 50%; width: 185px; height: 185px; }
.orbit-two { width: 130px; height: 220px; transform: rotate(45deg); }
.symbol-cross { position: absolute; right: 18px; top: 15px; font: 20px var(--mono); }
.cell-number { background: #20231f; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.cell-number .mono { color: #aeb3a8; }
.cell-number strong { color: var(--acid); font-size: 68px; line-height: .9; letter-spacing: -.09em; }
.cell-number small { font: 9px/1.8 var(--mono); color: #b4b8b0; }
.cell-bottom { display: flex; justify-content: space-between; align-items: end; }
.cell-bottom .mono { max-width: 90px; line-height: 1.8; }
.arrow-large { font-size: 47px; line-height: 1; }
.art-caption { padding: 17px 2px 2px; font-size: 8px; }
.intro-band { background: var(--ink); color: white; }
.intro-inner { padding-block: 76px 82px; display: grid; grid-template-columns: .35fr 1fr; gap: 55px; align-items: start; }
.intro-inner .eyebrow { color: #b6bcb0; margin-top: 10px; }
.intro-statement { margin: 0; max-width: 830px; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.4; letter-spacing: -.055em; font-weight: 600; }
.intro-statement span { color: #9da398; }
.section { padding-block: 115px 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-heading .eyebrow, .approach-title .eyebrow { margin-bottom: 22px; }
.section-heading h2, .approach-title h2 { margin: 0; font-size: clamp(36px, 4.3vw, 55px); line-height: 1.13; letter-spacing: -.07em; }
.section-aside { max-width: 285px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 50px minmax(240px, 1.15fr) minmax(180px, .85fr) 42px; gap: 28px; align-items: center; padding: 31px 0; border-bottom: 1px solid var(--line); }
.service-index { align-self: start; padding-top: 5px; color: #7b8177; font: 11px var(--mono); }
.service-main h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.05em; }
.service-main p { max-width: 440px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.service-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.service-tags span { padding: 8px 10px; border: 1px solid var(--line); color: #64695f; font: 9px var(--mono); }
.row-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: all .2s; }
.row-arrow:hover { background: var(--acid); border-color: var(--acid); transform: rotate(45deg); }
.approach-section { background: #e8eae2; }
.approach-grid { padding-block: 108px 112px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.approach-title h2 { font-size: clamp(34px, 4vw, 49px); }
.approach-lead { margin: 0 0 35px; max-width: 520px; color: #5e645a; font-size: 15px; line-height: 1.9; }
.step { display: grid; grid-template-columns: 43px 1fr; gap: 15px; padding: 23px 0; border-top: 1px solid #d0d4c9; }
.step > span { color: var(--blue); font: 11px var(--mono); padding-top: 4px; }
.step h3 { margin: 0 0 7px; font-size: 16px; letter-spacing: -.03em; }
.step p { max-width: 440px; margin: 0; color: #6b7067; font-size: 12px; line-height: 1.8; }
.contact { padding-block: 100px; }
.contact-card { padding: clamp(28px, 6vw, 72px); background: var(--blue); color: white; position: relative; overflow: hidden; }
.contact-card::after { content: "CB"; position: absolute; right: -25px; bottom: -105px; color: rgba(255,255,255,.07); font-size: clamp(180px, 28vw, 350px); font-weight: 800; letter-spacing: -.12em; line-height: 1; pointer-events: none; }
.contact-meta { display: flex; justify-content: space-between; align-items: start; }
.contact-meta .eyebrow { color: #d9ddff; }
.contact-mark { font-size: 17px; font-weight: 800; }
.contact-mark span { color: var(--acid); margin-left: 4px; }
.contact-card h2 { position: relative; z-index: 1; margin: 25px 0 40px; font-size: clamp(32px, 5vw, 58px); line-height: 1.15; letter-spacing: -.07em; }
.contact-card h2 span { color: #c3c9ff; }
.contact-bottom { display: flex; justify-content: space-between; align-items: end; gap: 25px; position: relative; z-index: 1; }
.contact-bottom p { max-width: 330px; margin: 0; color: #d9ddff; font-size: 13px; line-height: 1.8; }
.footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; padding-block: 42px; }
.footer-main p { margin: 0; color: #777c73; font-size: 11px; line-height: 1.9; }
.footer-nav { display: flex; justify-content: end; gap: 22px; flex-wrap: wrap; font-size: 11px; font-weight: 700; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 22px; border-top: 1px solid var(--line); color: #777c73; font: 9px var(--mono); letter-spacing: .04em; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .wrap { width: min(100% - 40px, 700px); }
  .hero { grid-template-columns: 1fr; gap: 52px; padding-block: 65px 75px; }
  .hero-copy { max-width: 650px; }
  .hero-art { max-width: 580px; width: 100%; justify-self: center; }
  .art-grid { min-height: 350px; }
  .intro-inner { grid-template-columns: 1fr; gap: 16px; padding-block: 58px; }
  .section { padding-block: 80px; }
  .approach-grid { grid-template-columns: 1fr; gap: 45px; padding-block: 75px; }
  .service-row { grid-template-columns: 35px 1fr 42px; gap: 17px; }
  .service-tags { grid-column: 2; }
  .row-arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 70px; }
  .brand-word { font-size: 20px; }
  .menu-toggle { display: flex; width: 43px; height: 43px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; padding: 35px 25px; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: start; gap: 0; font-size: 20px; }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 18px; padding: 17px; font-size: 14px; justify-content: space-between; }
  .hero { padding-block: 54px 60px; }
  .hero h1 { font-size: clamp(43px, 12vw, 60px); }
  .hero-lead { font-size: 14px; }
  .hero-footnote { margin-top: 35px; }
  .hero-art { padding: 12px; }
  .art-grid { min-height: 280px; gap: 6px; }
  .art-cell { padding: 13px; }
  .cell-number strong { font-size: 50px; }
  .cell-label b { font-size: 18px; }
  .orbit { width: 130px; height: 130px; }
  .orbit-two { width: 95px; height: 160px; }
  .symbol-core { font-size: 27px; }
  .art-caption { font-size: 7px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-aside { margin-top: 22px; }
  .section-heading h2, .approach-title h2 { font-size: 38px; }
  .service-row { grid-template-columns: 27px 1fr 35px; gap: 12px; padding: 25px 0; }
  .service-main h3 { font-size: 19px; }
  .service-main p { font-size: 12px; }
  .service-tags { gap: 5px; }
  .service-tags span { font-size: 8px; padding: 7px; }
  .row-arrow { width: 34px; height: 34px; }
  .contact { padding-block: 60px; }
  .contact-card { padding: 25px 22px; }
  .contact-card h2 { font-size: 34px; margin-block: 25px 32px; }
  .contact-bottom { align-items: start; flex-direction: column; }
  .contact-bottom .button { width: 100%; justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 15px; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-nav { grid-column: 1 / -1; justify-content: start; gap: 18px; }
  .footer-bottom { flex-wrap: wrap; font-size: 8px; }
  .footer-bottom span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* MUNKÁIM — PORTFÓLIÓ */

.work-section {
  padding: 115px 0 105px;
  background: #f5f5f0;
}

.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.work-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.3vw, 55px);
  line-height: 1.13;
  letter-spacing: -.07em;
}

.work-heading h2 span {
  color: #858a80;
}

.work-heading > .work-description {
  max-width: 290px;
  margin-bottom: 5px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  min-width: 0;
}

.work-preview {
  min-height: 300px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #171916;
  text-decoration: none;
  transition: transform .3s ease;
}

.work-preview:hover {
  transform: translateY(-5px);
}

.preview-one {
  background: #d8e1d2;
}

.preview-two {
  background: #e8dfd0;
}

.preview-three {
  background: #dce0ff;
}

.preview-browser {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(23, 25, 22, .08);
}

.preview-browser > span {
  overflow: hidden;
  color: #656a61;
  font: 9px "DM Mono", monospace;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.preview-dots {
  display: flex;
  gap: 4px;
}

.preview-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a6aaa0;
}

.preview-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 25px 15px 35px;
}

.preview-label,
.preview-index {
  font: 9px "DM Mono", monospace;
  letter-spacing: .08em;
}

.preview-label {
  margin-bottom: 17px;
  color: #535a50;
}

.preview-content strong {
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.15;
  letter-spacing: -.07em;
}

.preview-button {
  margin-top: 23px;
  padding: 10px 12px;
  background: #171916;
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.preview-index {
  align-self: flex-end;
  color: #62685e;
}

.work-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
}

.work-category {
  margin: 0 0 8px;
  color: #6e746a;
  font: 9px "DM Mono", monospace;
  letter-spacing: .07em;
}

.work-info h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.04em;
}

.work-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dbd3;
  border-radius: 50%;
  font-size: 17px;
  transition: background .2s, border-color .2s;
}

.work-arrow:hover {
  background: #d5ff54;
  border-color: #d5ff54;
}

.work-card > .work-description {
  margin: 12px 0 15px;
  color: #666b63;
  font-size: 12px;
  line-height: 1.8;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tags span {
  padding: 7px 9px;
  border: 1px solid #d9dbd3;
  color: #64695f;
  font: 9px "DM Mono", monospace;
}

.work-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid #d9dbd3;
}

.work-footer p {
  margin: 0;
  color: #666b63;
  font-size: 12px;
}

.work-footer .text-link {
  font-size: 12px;
}

.work-footer .text-link span {
  margin-left: 8px;
}

/* TABLET */
@media (max-width: 900px) {
  .work-section {
    padding: 80px 0;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .work-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .work-heading > .work-description {
    max-width: 440px;
  }
}

/* MOBIL */
@media (max-width: 600px) {
  .work-section {
    padding: 65px 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .work-preview {
    min-height: 290px;
  }

  .preview-content strong {
    font-size: 30px;
  }

  .work-info h3 {
    font-size: 17px;
  }

  .work-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}


/* PORTFÓLIÓ – ÉLŐ WEBOLDAL-ELŐNÉZET */

.work-live-preview {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #e9e9e2;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 8px;
}

.work-live-preview iframe {
  display: block;
  width: 1280px;
  height: 800px;
  border: 0;
  background: #fff;
  transform: scale(0.32);
  transform-origin: top left;
  pointer-events: none;
}

.preview-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: #d5ff54;
  color: #171916;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  border-radius: 3px;
}

.work-visit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  background: #171916;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #171916;
  border-radius: 5px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.work-visit-button span {
  font-size: 18px;
}

.work-visit-button:hover {
  background: #d5ff54;
  color: #171916;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .work-live-preview {
    height: 220px;
  }

  .work-live-preview iframe {
    transform: scale(0.27);
  }
}

