﻿:root {
      color-scheme: light;
      --bg: #f5f5f0;
      --surface: #ffffff;
      --surface-soft: #f5f5f0;
      --text: #333333;
      --muted: #626866;
      --line: #deded5;
      --brand: #008080;
      --brand-strong: #006666;
      --heading: #0e826F;
      --accent: #c9a961;
      --accent-strong: #56746f;
      --accent-soft: #f4ecd5;
      --lazer: #c9a96150;
      --shadow: 0 22px 55px rgba(0, 77, 64, 0.12);
      --radius: 8px;
      font-family: Inter, "Segoe UI", Arial, sans-serif;
    }


    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: radial-gradient(circle at 12% 12%, var(--lazer), transparent 30%), 
        linear-gradient(135deg, rgba(250, 250, 250, 0.06), transparent 42%), var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    hr {
      position: relative;
      border: none;
      border-bottom: 2px solid var(--line);
      width: 100%;
    }

    .page {
      min-height: 100vh;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid var(--line);
      background: color-mix(in srgb, var(--bg) 88%, transparent);
      backdrop-filter: blur(18px);
    }

    .nav-inner {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-height: 68px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      color: var(--brand);
      font-weight: 800;
      letter-spacing: 0;
    }

    .brand-mark {
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--brand);
      color: #fff;
      font-size: 15px;
      font-weight: 800;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-links a {
      border-radius: 999px;
      padding: 9px 12px;
      color: var(--muted);
      font-size: 14px;
      transition: background 160ms ease, color 160ms ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      background: var(--surface-soft);
      color: var(--text);
      outline: none;
    }

    .hero {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
      padding: 78px 0 56px;
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
      gap: 44px;
      align-items: center;
    }

    .eyebrow {
      margin: 0 0 12px;
      color: var(--accent-strong);
      font-weight: 800;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 0.08em;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 760px;
      margin-bottom: 18px;
      color: var(--heading);
      font-size: clamp(42px, 7vw, 84px);
      line-height: 0.96;
      letter-spacing: 0;
    }

    .hero-lead {
      max-width: 650px;
      margin-bottom: 20px;
      color: var(--muted);
      font-size: clamp(18px, 2vw, 22px);
    }

    .quote {
      margin: 0 0 26px;
      padding-left: 18px;
      border-left: 4px solid var(--accent);
      color: var(--text);
      font-size: 20px;
      font-weight: 650;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      border-radius: 999px;
      padding: 0 18px;
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--text);
      font-weight: 750;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    }

    .button.primary {
      border-color: var(--accent);
      background: var(--accent);
      color: var(--text);
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-1px);
      border-color: var(--accent);
      outline: none;
    }

    .profile-wrap {
      position: relative;
      display: grid;
      overflow: hidden;
    }

    .profile-wrap::before,
    .profile-wrap::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 3;
      border-radius: var(--radius);
      opacity: 0;
      pointer-events: none;
    }
    .selfie {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 2;
      border-radius: var(--radius);
      opacity: 1;
      pointer-events: none;
      transform-origin: 50% 40%;
    }

    .selfie.is-hidden {
      animation: selfiePowderAway 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes selfiePowderAway {
      0% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      99% {
        opacity: 0;
        transform: translateY(-54px) scale(0.97);
      }
      100% {
        display: none;
        opacity: 0;
        transform: translateY(-54px) scale(0.97);
      }
    }

    @keyframes inair {
      0% {
        transform: translateY(15px);
      }
      50% {
        transform: translateY(-15px);
      }
      100% {
        transform: translateY(15px);
      }
    }

    .profile-stack {
      display: grid;
      gap: 18px;
    }

    .profile-panel {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .profile-visual {
      min-height: 250px;
      padding: 28px;
      display: grid;
      align-content: end;
      background:
        linear-gradient(135deg, rgba(201, 169, 97, 0.24), transparent 55%),
        linear-gradient(165deg, var(--surface-soft), var(--surface));
    }

    .profile-stamp {
      width: 108px;
      height: 108px;
      display: grid;
      place-items: center;
      border: 2px solid var(--accent);
      border-radius: 50%;
      color: var(--accent-strong);
      font-size: 30px;
      font-weight: 900;
    }

    .profile-body {
      padding: 26px;
    }

    .profile-body p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(2, 50%);
      border-top: 1px solid var(--line);
    }

    .stat {
      padding: 18px;
      border-right: 1px solid var(--line);
    }

    .stat:last-child {
      border-right: 0;
    }

    .stat strong {
      display: block;
      color: var(--accent-strong);
      font-size: 24px;
      line-height: 1.1;
    }

    .stat span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 13px;
    }

    .section {
      padding: 58px 0;
      border-top: 1px solid var(--line);
    }

    .section-inner {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 26px;
    }

    h2 {
      margin-bottom: 0;
      color: var(--heading);
      font-size: clamp(28px, 4vw, 46px);
      line-height: 1.06;
      letter-spacing: 0;
    }

    .section-heading p {
      max-width: 430px;
      margin-bottom: 0;
      color: var(--muted);
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .service-card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      padding: 24px;
    }

    .service-card h3 {
      margin-bottom: 14px;
      color: var(--heading);
      font-size: 20px;
      line-height: 1.22;
    }

    .service-card .label {
      display: inline-block;
      margin-bottom: 16px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-strong);
      padding: 5px 10px;
      font-size: 12px;
      font-weight: 800;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    li {
      position: relative;
      padding-left: 18px;
      color: var(--muted);
    }

    li + li {
      margin-top: 11px;
    }

    li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.72em;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    .experience {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 18px;
      align-items: stretch;
    }

    .experience-block,
    .contact-block {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      padding: 26px;
    }

    .experience-block h3,
    .contact-block h3 {
      margin-bottom: 12px;
      color: var(--heading);
      font-size: 22px;
    }

    .service-card p,
    .experience-block p,
    .contact-block p {
      color: var(--muted);
      font-size: 18px;
    }

    .contact-list {
      display: grid;
      gap: 12px;
      margin-top: 20px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-height: 52px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 12px 14px;
      background: var(--surface-soft);
      color: var(--text);
      font-weight: 700;
    }

    .contact-link span:last-child {
      color: var(--muted);
      font-weight: 500;
      overflow-wrap: anywhere;
    }

    footer {
      padding: 28px 0 40px;
      color: var(--muted);
      text-align: center;
      font-size: 14px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 500ms ease, transform 500ms ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 900px) {
      .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
      }

      .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
      }

      .nav-links a {
        white-space: nowrap;
      }

      .hero,
      .experience {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-top: 50px;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 560px) {
      .nav-inner,
      .hero,
      .section-inner {
        width: min(100% - 24px, 1120px);
      }

      .brand {
        font-size: 15px;
      }

      .hero {
        padding-bottom: 42px;
      }

      h1 {
        font-size: 44px;
      }

      .quote {
        font-size: 18px;
      }

      .button {
        width: 100%;
      }

      .profile-visual {
        min-height: 190px;
      }

      .stats {
        grid-template-columns: 1fr;
      }

      .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .stat:last-child {
        border-bottom: 0;
      }

      .service-card,
      .experience-block,
      .contact-block {
        padding: 20px;
      }

      .contact-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
      }
    }
    .slideshow {
      position: relative;
      aspect-ratio: 4 / 3;
      min-height: 250px;
      background: var(--surface-soft);
    }

    .slideshow img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 700ms ease;
    }










