/* =========================================================
   OPACKI SOFTWARE - STYLE CSS
   Concept: Software Workshop / Warm Dark + Amber
   Fonts: Space Grotesk + Manrope
========================================================= */

:root {
    --bg-main: #14110f;
    --bg-deep: #0d0b0a;
    --bg-card: #1f1a17;
    --bg-card-soft: #241e1a;
  
    --text-main: #fff7ed;
    --text-muted: #c7b8a6;
    --text-soft: #927f6d;
  
    --accent: #f59e0b;
    --accent-light: #fcd34d;
    --accent-soft: rgba(245, 158, 11, 0.14);
    --accent-border: rgba(245, 158, 11, 0.34);
  
    --line: rgba(255, 247, 237, 0.11);
    --line-strong: rgba(255, 247, 237, 0.18);
  
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.32);
    --shadow-glow: 0 0 42px rgba(245, 158, 11, 0.14);
  
    --font-heading: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
  
    --container: 1160px;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
  
    --header-height: 82px;
  }
  
  /* =========================================================
     BASE
  ========================================================= */
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background:
      radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 34rem),
      radial-gradient(circle at 88% 12%, rgba(252, 211, 77, 0.07), transparent 26rem),
      linear-gradient(180deg, var(--bg-main), var(--bg-deep));
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  body.contact-open {
    overflow: hidden;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  button {
    cursor: pointer;
  }
  
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  
  ::selection {
    background: var(--accent);
    color: #120d08;
  }
  
  .site-shell {
    position: relative;
    overflow: hidden;
  }
  
  .site-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255, 247, 237, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 247, 237, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
    z-index: 0;
  }
  
  .container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
    position: relative;
    z-index: 1;
  }
  
  .section {
    padding: 96px 0;
  }
  
  .section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
  }
  
  .section-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }
  
  .section-heading p {
    margin: 18px auto 0;
    max-width: 670px;
    color: var(--text-muted);
    font-size: 1.04rem;
  }
  
  /* =========================================================
     HEADER
  ========================================================= */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(20, 17, 15, 0.72);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  
  .site-header.is-scrolled {
    background: rgba(20, 17, 15, 0.9);
    border-bottom-color: var(--line);
  }
  
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
  }
  
  .brand-logo {
    width: 172px;
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(31, 26, 23, 0.72);
  }
  
  .nav-links a,
  .nav-contact {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
  }
  
  .nav-links a:hover,
  .nav-contact:hover {
    color: var(--text-main);
    background: rgba(255, 247, 237, 0.07);
  }
  
  .nav-contact {
    color: #171008;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
  }
  
  .nav-contact:hover {
    color: #171008;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
  }
  
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(31, 26, 23, 0.84);
  }
  
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .nav-toggle.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  
  .nav-toggle.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  
  /* =========================================================
     HERO
  ========================================================= */
  
  .hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding-top: 86px;
    padding-bottom: 86px;
  }
  
  .hero-inner {
    display: flex;
    justify-content: center;
  }
  
  .hero-card {
    position: relative;
    width: min(100%, 1020px);
    padding: clamp(44px, 8vw, 94px) clamp(26px, 6vw, 78px);
    text-align: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.06), transparent 62%),
      radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.2), transparent 42%),
      rgba(31, 26, 23, 0.76);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    overflow: hidden;
  }
  
  .hero-card::before,
  .hero-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(10px);
  }
  
  .hero-card::before {
    width: 210px;
    height: 210px;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 158, 11, 0.18);
  }
  
  .hero-card::after {
    width: 420px;
    height: 1px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    filter: none;
  }
  
  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 247, 237, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 247, 237, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
    opacity: 0.42;
    pointer-events: none;
  }
  
  .hero h1 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.93;
    letter-spacing: -0.075em;
  }
  
  .hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 28px auto 0;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 2vw, 1.22rem);
  }
  
  .hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.015em;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary {
    color: #171008;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    box-shadow: 0 14px 36px rgba(245, 158, 11, 0.24);
  }
  
  .btn-primary:hover {
    box-shadow: 0 18px 44px rgba(245, 158, 11, 0.34);
  }
  
  .btn-secondary {
    color: var(--text-main);
    background: rgba(255, 247, 237, 0.06);
    border-color: var(--line-strong);
  }
  
  .btn-secondary:hover {
    border-color: var(--accent-border);
    background: rgba(255, 247, 237, 0.09);
  }
  
  .hero-notes {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
  }
  
  .hero-notes span {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-muted);
    background: rgba(13, 11, 10, 0.36);
    font-size: 0.88rem;
    font-weight: 700;
  }
  
  /* =========================================================
     WORKSHOP AREAS
  ========================================================= */
  
  .workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .work-card {
    position: relative;
    min-height: 310px;
    padding: 34px 28px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.045), transparent),
      rgba(31, 26, 23, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition:
      transform 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease;
  }
  
  .work-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
      linear-gradient(120deg, transparent, rgba(252, 211, 77, 0.08), transparent);
    transition: opacity 0.24s ease;
  }
  
  .work-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-border);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.26), var(--shadow-glow);
  }
  
  .work-card:hover::before {
    opacity: 1;
  }
  
  .work-icon {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    border: 1px solid var(--accent-border);
    border-radius: 26px;
    background:
      radial-gradient(circle at 30% 20%, rgba(252, 211, 77, 0.18), transparent 58%),
      rgba(245, 158, 11, 0.08);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
  }
  
  .work-icon img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.28));
    transition: transform 0.24s ease, filter 0.24s ease;
  }
  
  .work-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: -0.045em;
  }
  
  .work-card p {
    position: relative;
    z-index: 1;
    margin: 16px auto 0;
    color: var(--text-muted);
  }
  
  /* =========================================================
   TIMELINE
========================================================= */

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
      radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.1), transparent 46%),
      rgba(31, 26, 23, 0.46);
    overflow: hidden;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    top: 63px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(245, 158, 11, 0.22),
      rgba(252, 211, 77, 0.45),
      rgba(245, 158, 11, 0.22),
      transparent
    );
  }
  
  .timeline::after {
    content: "";
    position: absolute;
    top: 62px;
    left: 14%;
    width: 72%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.28), transparent);
    filter: blur(8px);
    opacity: 0.8;
  }
  
  .timeline-item {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 0 8px 8px;
  }
  
  .timeline-item span {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border: 1px solid var(--accent-border);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.055), transparent),
      radial-gradient(circle at 30% 20%, rgba(252, 211, 77, 0.2), transparent 56%),
      var(--bg-card);
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: var(--shadow-glow);
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      background 0.22s ease;
  }
  
  .timeline-item span::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(245, 158, 11, 0.08);
    border-radius: 28px;
  }
  
  .timeline-content {
    min-height: 150px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 247, 237, 0.08);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.035), transparent),
      rgba(13, 11, 10, 0.26);
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      background 0.22s ease;
  }
  
  .timeline-item h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.26rem;
    letter-spacing: -0.035em;
  }
  
  .timeline-item p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
  }
  
  .timeline-item:hover span {
    transform: translateY(-5px);
    border-color: rgba(252, 211, 77, 0.68);
    box-shadow: 0 0 42px rgba(245, 158, 11, 0.24);
    background:
      linear-gradient(180deg, rgba(252, 211, 77, 0.1), transparent),
      radial-gradient(circle at 30% 20%, rgba(252, 211, 77, 0.28), transparent 58%),
      var(--bg-card);
  }
  
  .timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    border-color: var(--accent-border);
    background:
      linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent),
      rgba(13, 11, 10, 0.34);
  }
  
  /* =========================================================
   INSIDE THE WORKSHOP
========================================================= */

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1060px;
    margin: 0 auto;
  }
  
  .focus-card {
    position: relative;
    min-height: 210px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.045), transparent),
      rgba(31, 26, 23, 0.62);
    overflow: hidden;
    transition:
      transform 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease,
      background 0.24s ease;
  }
  
  .focus-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.16), transparent 56%),
      linear-gradient(120deg, transparent, rgba(252, 211, 77, 0.07), transparent);
    transition: opacity 0.24s ease;
  }
  
  .focus-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 86px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.8;
  }
  
  .focus-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-border);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26), var(--shadow-glow);
    background:
      linear-gradient(180deg, rgba(245, 158, 11, 0.07), transparent),
      rgba(31, 26, 23, 0.72);
  }
  
  .focus-card:hover::before {
    opacity: 1;
  }
  
  .focus-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
  }
  
  .focus-card p {
    position: relative;
    z-index: 1;
    margin: 14px auto 0;
    color: var(--text-muted);
    font-size: 0.96rem;
  }
  
  /* =========================================================
   PROFESSIONAL STACK
========================================================= */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1060px;
    margin: 0 auto;
  }
  
  .stack-card {
    position: relative;
    min-height: 168px;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.045), transparent),
      rgba(31, 26, 23, 0.64);
    overflow: hidden;
    transition:
      transform 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease,
      background 0.24s ease;
  }
  
  .stack-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), transparent 58%),
      linear-gradient(120deg, transparent, rgba(252, 211, 77, 0.08), transparent);
    transition: opacity 0.24s ease;
  }
  
  .stack-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(252, 211, 77, 0.13),
      transparent
    );
    transform: skewX(-18deg);
    transition: left 0.65s ease;
  }
  
  .stack-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-border);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26), var(--shadow-glow);
    background:
      linear-gradient(180deg, rgba(245, 158, 11, 0.07), transparent),
      rgba(31, 26, 23, 0.72);
  }
  
  .stack-card:hover::before {
    opacity: 1;
  }
  
  .stack-card:hover::after {
    left: 125%;
  }
  
  .stack-card img {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    filter:
      drop-shadow(0 0 12px rgba(245, 158, 11, 0.18))
      drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
    transition:
      transform 0.24s ease,
      filter 0.24s ease;
  }
  
  .stack-card:hover img {
    transform: scale(1.08) translateY(-2px);
    filter:
      drop-shadow(0 0 22px rgba(245, 158, 11, 0.38))
      drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
  }
  
  .stack-card span {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: -0.015em;
    transition: color 0.24s ease;
  }
  
  .stack-card:hover span {
    color: var(--accent-light);
  }
  
  /* =========================================================
     FOOTER
  ========================================================= */
  
  .site-footer {
    padding: 58px 0 42px;
    border-top: 1px solid var(--line);
    background: rgba(13, 11, 10, 0.56);
  }
  
  .footer-inner {
    display: grid;
    gap: 28px;
    text-align: center;
  }
  
  .footer-company {
    display: grid;
    gap: 8px;
  }
  
  .footer-company strong {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    letter-spacing: -0.035em;
  }
  
  .footer-company span,
  .footer-legal span,
  .footer-bottom {
    color: var(--text-muted);
  }
  
  .footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  
  .footer-legal span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.035);
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.95rem;
  }
  
  .footer-bottom a {
    color: var(--accent-light);
    font-weight: 800;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* =========================================================
     FLOATING CONTACT WIDGET
  ========================================================= */
  
  .contact-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    justify-items: end;
    gap: 10px;
  }
  
  .contact-hint {
    max-width: 220px;
    padding: 11px 14px;
    border: 1px solid var(--accent-border);
    border-radius: 16px 16px 4px 16px;
    background: rgba(31, 26, 23, 0.92);
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
    font-size: 0.92rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    animation: hintIn 0.55s ease forwards 1.6s, hintPulse 2.8s ease-in-out infinite 3s;
  }
  
  .contact-hint.is-hidden {
    display: none;
  }
  
  @keyframes hintIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes hintPulse {
    0%,
    100% {
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    }
  
    50% {
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), 0 0 34px rgba(245, 158, 11, 0.22);
    }
  }
  
  .contact-float {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #171008;
    box-shadow: 0 18px 52px rgba(245, 158, 11, 0.28);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .contact-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(245, 158, 11, 0.38);
  }
  
  .contact-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #171008;
  }
  
  .contact-dot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(23, 16, 8, 0.34);
    border-radius: 50%;
    animation: dotPulse 1.8s ease-out infinite;
  }
  
  @keyframes dotPulse {
    from {
      transform: scale(0.5);
      opacity: 0.9;
    }
  
    to {
      transform: scale(1.55);
      opacity: 0;
    }
  }
  
  /* =========================================================
     CONTACT PANEL
  ========================================================= */
  
  .contact-panel {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    background: rgba(13, 11, 10, 0.34);
    transition: opacity 0.22s ease;
  }
  
  .contact-panel.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .contact-panel-inner {
    width: min(100%, 440px);
    padding: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background:
      radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 44%),
      rgba(31, 26, 23, 0.98);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    transform: translateY(18px) scale(0.98);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  
  .contact-panel.is-open .contact-panel-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  
  .contact-close {
    width: 38px;
    height: 38px;
    float: right;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 247, 237, 0.06);
    color: var(--text-main);
    font-size: 1.5rem;
    line-height: 1;
  }
  
  .contact-close:hover {
    border-color: var(--accent-border);
  }
  
  .contact-panel h2 {
    margin: 0;
    padding-right: 42px;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.1;
    letter-spacing: -0.045em;
  }
  
  .contact-panel p {
    margin: 12px 0 22px;
    color: var(--text-muted);
  }
  
  .contact-form {
    display: grid;
    gap: 10px;
  }
  
  .contact-form label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 800;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(13, 11, 10, 0.42);
    color: var(--text-main);
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .contact-form textarea {
    resize: vertical;
    min-height: 128px;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--accent-border);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
  }
  
  .form-trap {
    display: none;
  }
  
  .form-submit {
    width: 100%;
    margin-top: 8px;
    border: 0;
  }
  
  .form-status {
    min-height: 24px;
    margin: 8px 0 0 !important;
    text-align: center;
    font-size: 0.93rem;
  }
  
  .form-status.is-success {
    color: var(--accent-light);
  }
  
  .form-status.is-error {
    color: #fca5a5;
  }
  
/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.hero-card,
.section-heading,
.work-card,
.timeline-item,
.focus-card,
.stack-card,
.site-footer {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero-card.is-visible,
.section-heading.is-visible,
.work-card.is-visible,
.timeline-item.is-visible,
.focus-card.is-visible,
.stack-card.is-visible,
.site-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}
  
  /* =========================================================
     RESPONSIVE
  ========================================================= */
  
  @media (max-width: 980px) {
    .section {
      padding: 78px 0;
    }
  
    .workshop-grid {
      grid-template-columns: 1fr;
    }
  
    .work-card {
      min-height: auto;
    }
  
    .timeline {
        grid-template-columns: 1fr;
        max-width: 680px;
        padding: 22px;
      }
      
      .timeline::before {
        top: 34px;
        bottom: 34px;
        left: 59px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--accent-border), transparent);
      }
      
      .timeline::after {
        top: 34px;
        bottom: 34px;
        left: 58px;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.32), transparent);
      }
      
      .timeline-item {
        grid-template-columns: 74px 1fr;
        justify-items: stretch;
        align-items: start;
        gap: 18px;
        text-align: left;
        padding: 0;
      }
      
      .timeline-item span {
        margin: 0;
      }
      
      .timeline-content {
        min-height: auto;
      }
  
    .timeline-item h3,
    .timeline-item p {
      grid-column: 2;
    }
  
    .timeline-item h3 {
      margin-top: 4px;
    }
  
    .stack-grid {
        grid-template-columns: repeat(3, 1fr);
      }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
      }
  }
  
  @media (max-width: 760px) {
    :root {
      --header-height: 74px;
    }
  
    .container {
      width: min(100% - 28px, var(--container));
    }
  
    .site-header {
      height: var(--header-height);
    }
  
    .nav-toggle {
      display: block;
    }
  
    .nav-links {
      position: absolute;
      top: calc(100% + 12px);
      left: 14px;
      right: 14px;
      display: none;
      flex-direction: column;
      align-items: stretch;
      padding: 12px;
      border-radius: 22px;
      background: rgba(31, 26, 23, 0.96);
      box-shadow: var(--shadow-soft);
    }
  
    .nav-links.is-open {
      display: flex;
    }
  
    .nav-links a,
    .nav-contact {
      width: 100%;
      text-align: center;
    }
  
    .hero {
      min-height: auto;
      padding-top: 52px;
    }
  
    .hero-card {
      border-radius: 26px;
    }
  
    .hero h1 {
      font-size: clamp(2.65rem, 15vw, 4.5rem);
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .hero-actions {
      flex-direction: column;
    }
  
    .btn {
      width: 100%;
    }
  
    .section-heading h2 {
      font-size: clamp(2rem, 10vw, 3rem);
    }
  
    .footer-bottom {
      flex-direction: column;
    }
  
    .contact-widget {
      right: 14px;
      bottom: 14px;
    }
  
    .contact-hint {
      display: none;
    }
  
    .contact-float {
      min-height: 50px;
      padding: 0 18px;
    }
  
    .contact-panel {
      padding: 14px;
    }
  
    .contact-panel-inner {
      width: 100%;
      border-radius: 24px;
      padding: 24px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
      }
      
      .focus-card {
        min-height: auto;
      }

      .stack-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .stack-card {
        min-height: 148px;
      }
      
      .stack-card img {
        width: 64px;
        height: 64px;
      }
  }
  
  @media (max-width: 420px) {
    .brand-logo {
      width: 148px;
    }
  
    .hero-card {
      padding: 40px 18px;
    }
  
    .timeline {
        padding: 18px;
      }
      
      .timeline::before {
        left: 49px;
      }
      
      .timeline::after {
        left: 48px;
      }
      
      .timeline-item {
        grid-template-columns: 62px 1fr;
        gap: 14px;
      }
      
      .timeline-item span {
        width: 62px;
        height: 62px;
        border-radius: 20px;
      }
      
      .timeline-content {
        padding: 18px 14px;
      }

      .stack-grid {
        grid-template-columns: 1fr;
      }
      
      .stack-card {
        min-height: 138px;
      }
  }
  
  /* =========================================================
     REDUCED MOTION
  ========================================================= */
  
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }