:root {
    --paper: #EDF0F2;
    --surface: #FFFFFF;
    --ink: #0F1E2D;
    --muted: #4B5B6A;
    --line: #C5CED6;
    --accent: #F0B429;
    --accent-ink: #0F1E2D;
    --radius: 14px;
    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #0C1722;
      --surface: #122232;
      --ink: #EAF0F4;
      --muted: #9DACBA;
      --line: #25384A;
    }
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
  p { margin: 0; }
  ul, ol { margin: 0; padding: 0; list-style: none; }

  :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

  .wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
  .skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 100; }
  .skip:focus { left: 1rem; top: 1rem; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
  .brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
  .nav { display: flex; align-items: center; gap: 1.5rem; }
  .nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--muted); }
  .nav a:hover { color: var(--ink); }
  .nav a.btn { color: var(--accent-ink); }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .8rem 1.4rem; border-radius: 999px;
    font-weight: 600; font-size: 1rem; text-decoration: none;
    border: 2px solid var(--ink); cursor: pointer; font-family: var(--body);
    transition: transform .15s ease, background .15s ease;
  }
  .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); }
  .btn-small { padding: .5rem 1.05rem; font-size: .95rem; }

  /* Sections */
  section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
  .section-head { max-width: 40rem; margin-bottom: 2.75rem; }
  .section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
  .section-head p { color: var(--muted); margin-top: .9rem; }

  /* Hero */
  .hero { padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
  .hero-inner { max-width: 52rem; animation: rise .7s ease-out both; }
  .hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -0.035em; }
  .hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--muted); max-width: 38rem; margin-top: 1.6rem; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
  .stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.6rem; }
  .stack li { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .92rem; color: var(--muted); background: var(--surface); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Services: a printed menu with dotted price leaders */
  .menu-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 4vw, 2.75rem);
    max-width: 48rem;
  }
  .menu-item + .menu-item { margin-top: 1.9rem; }
  .menu-line { display: flex; align-items: baseline; gap: .75rem; }
  .menu-line h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 700; white-space: nowrap; }
  .menu-line .leader { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-.3em); min-width: 1.5rem; }
  .menu-line .price { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.4rem); white-space: nowrap; }
  .menu-item p { color: var(--muted); margin-top: .35rem; max-width: 36rem; }
  .menu-addon { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .menu-note { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; max-width: 48rem; }

  /* Work */
  .work-list { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
  .work { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
  .work:nth-child(even) .shot { order: 2; }
  .shot {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    background: var(--surface); display: block; text-decoration: none;
  }
  .shot-bar { display: flex; gap: .4rem; padding: .65rem .85rem; border-bottom: 1px solid var(--line); }
  .shot-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
  .shot-body {
    aspect-ratio: 16 / 10; position: relative; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--ink) 55%, var(--accent)));
    color: #EAF0F4; font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-align: center; padding: 1rem;
  }
  .shot-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .work h3 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
  .work .kind { color: var(--muted); margin-top: .35rem; }
  .work .desc { margin-top: 1rem; }
  .work .tech { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
  .work .btn { margin-top: 1.3rem; }

  /* Process: a real sequence, so numbered */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
  .steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1.1rem; }
  .steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: .6rem; }
  .steps h3 { font-size: 1.3rem; font-weight: 700; }
  .steps p { color: var(--muted); margin-top: .5rem; font-size: 1rem; }

  /* About */
  .about { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
  .avatar {
    width: 220px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(135deg, var(--ink), var(--accent)); display: grid; place-items: center;
    color: #EAF0F4; font-family: var(--display); font-weight: 800; font-size: 3rem;
  }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .about h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
  .about p { margin-top: 1.1rem; max-width: 38rem; }
  .about p:first-of-type { margin-top: 1.4rem; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .contact-grid h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
  .contact-grid .intro { color: var(--muted); margin-top: 1rem; max-width: 30rem; }
  .links { margin-top: 1.8rem; display: grid; gap: .55rem; }
  .links a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
  .links span { color: var(--muted); font-weight: 400; }

  form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3.5vw, 2rem); display: grid; gap: 1.1rem; }
  label { display: grid; gap: .4rem; font-weight: 600; font-size: .98rem; }
  input, textarea {
    font: inherit; color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem; width: 100%;
  }
  input:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
  textarea { min-height: 9rem; resize: vertical; }
  .hp { position: absolute; left: -9999px; }
  .form-status { min-height: 1.4rem; font-size: .98rem; }
  .form-status.ok { color: #1E7A4B; }
  .form-status.err { color: #B3261E; }
  @media (prefers-color-scheme: dark) {
    .form-status.ok { color: #6FD3A1; }
    .form-status.err { color: #FF9C94; }
  }

  /* Footer */
  footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
  footer a { text-decoration: none; }
  footer a:hover { color: var(--ink); text-decoration: underline; }

  /* Responsive */
  @media (max-width: 860px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .work { grid-template-columns: 1fr; }
    .work:nth-child(even) .shot { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .nav a:not(.btn) { display: none; }
    .about { grid-template-columns: 1fr; }
    .avatar { width: 150px; }
    .steps { grid-template-columns: 1fr; }
    .menu-line { flex-wrap: wrap; }
    .menu-line h3 { white-space: normal; }
    .menu-line .leader { display: none; }
    .menu-line .price { margin-left: auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-inner { animation: none; }
    .btn-primary:hover { transform: none; }
  }