@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root{
    --black:#1b2e26;
    --black-2:#223b31;
    --white:#fdfdf9;
    --paper:#eaf0e6;
    --gold:#e2725b;
    --gold-soft:#ef9683;
    --line-dark:rgba(253,253,249,0.16);
    --line-light:rgba(27,46,38,0.14);
    --ink:#fdfdf9;
    --ink-soft:rgba(253,253,249,0.68);
    --ink-dark:#1b2e26;
    --ink-dark-soft:rgba(27,46,38,0.62);
    box-sizing:border-box;
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  html{ scroll-padding-top:78px; scroll-behavior:smooth; width: 100%; overflow-x: hidden; }
  *,*::before,*::after{ box-sizing:inherit; }
  body{
    margin:0;
    width: 100%;
    background:var(--white);
    color:var(--ink-dark);
    font-family:'Inter',sans-serif;
    font-weight:400;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{
    font-family:'Instrument Serif',serif;
    font-weight:500;
    letter-spacing:0.01em;
    margin:0;
  }
  img{max-width:100%;}
  a{color:inherit;text-decoration:none;}
  button{font-family:inherit;}
  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
    width: 100%;
    box-sizing: border-box;
  }
  @media (max-width:640px){ .wrap{padding:0 20px;} }

  /* ---------- NAV ---------- */
  .nav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    padding-top:env(safe-area-inset-top,0px);
    display:flex; align-items:center; justify-content:space-between;
    padding-left:32px; padding-right:32px;
    height:78px;
    color:var(--ink);
    background:transparent;
    border-bottom:1px solid transparent;
    transition:background 0.4s ease, border-color 0.4s ease;
  }
  .nav.solid{
    background:rgba(27,46,38,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line-dark);
  }
  .nav-mark{
    font-family:'Instrument Serif',serif;
    font-size:24px;
    letter-spacing:0.14em;
  }
  .nav-links{ display:flex; gap:36px; font-size:13.5px; letter-spacing:0.06em; }
  .nav-links a{ opacity:0.82; transition:opacity 0.25s ease; }
  .nav-links a:hover{ opacity:1; }
  .nav-cta{
    border:1px solid var(--gold-soft);
    padding:9px 20px;
    font-size:12.5px;
    letter-spacing:0.08em;
    color:var(--ink);
    transition:background 0.25s ease, color 0.25s ease;
  }
  .nav-cta:hover{ background:var(--gold-soft); color:var(--ink-dark); }
  @media (max-width:760px){
    .nav-links{ display:none; }
    .nav{ padding-left:20px; padding-right:20px; }
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:100svh;
    background-image: url(images/hero1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color:var(--ink);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    padding:calc(78px + 8vh) 24px 80px;
    overflow:hidden;
    width: 100%;
    box-sizing: border-box;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      linear-gradient(var(--line-dark) 1px, transparent 1px),
      linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size:64px 64px;
    opacity:0.35;
    mask-image:radial-gradient(circle at 50% 40%, black 0%, transparent 68%);
  }
  .hero-eyebrow{
    position:relative;
    font-size:12.5px; letter-spacing:0.22em; color:var(--gold-soft);
    margin-bottom:22px;
    opacity:0; animation:riseIn 1s ease 0.1s forwards;
  }
  .hero h1{
    position:relative;
    font-size:clamp(52px, 9vw, 118px);
    line-height:0.98;
    letter-spacing:0.01em;
    opacity:0; animation:riseIn 1.1s ease 0.3s forwards;
  }
  .hero p.tag{
    position:relative;
    max-width:520px;
    margin:28px auto 0;
    font-size:17px;
    line-height:1.7;
    color:var(--ink-soft);
    font-weight:300;
    opacity:0; animation:riseIn 1.1s ease 0.55s forwards;
  }
  .hero-actions{
    position:relative;
    margin-top:44px;
    display:flex; gap:16px; flex-wrap:wrap; justify-content:center;
    opacity:0; animation:riseIn 1.1s ease 0.75s forwards;
  }
  .btn{
    padding:15px 30px;
    font-size:13px;
    letter-spacing:0.09em;
    border:1px solid var(--gold-soft);
    background:transparent;
    color:var(--ink);
    cursor:pointer;
    transition:background 0.28s ease, color 0.28s ease, transform 0.2s ease;
  }
  .btn:hover{ background:var(--gold-soft); color:var(--ink-dark); }
  .btn:active{ transform:scale(0.98); }
  .btn.filled{ background:var(--gold-soft); color:var(--ink-dark); }
  .btn.filled:hover{ background:var(--ink); }
  .btn.ghost-light{ border-color:var(--line-light); color:var(--ink-dark); }
  .btn.ghost-light:hover{ background:var(--ink-dark); color:var(--white); border-color:var(--ink-dark); }
  @keyframes riseIn{ from{ opacity:0; transform:translateY(18px);} to{ opacity:1; transform:translateY(0);} }

  .hero-scroll{
    position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
    font-size:11px; letter-spacing:0.18em; color:var(--ink-soft);
    display:flex; flex-direction:column; align-items:center; gap:10px;
  }
  .hero-scroll .stem{ width:1px; height:34px; background:linear-gradient(var(--gold-soft), transparent); }

  /* ---------- SECTION SCAFFOLD ---------- */
  section{ padding:120px 0; width: 100%; box-sizing: border-box; }
  @media (max-width:760px){ section{ padding:80px 0; } }
  .kicker{
    font-size:12.5px; letter-spacing:0.18em; color:var(--gold);
    margin-bottom:14px;
  }
  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head h2{ font-size:clamp(34px,4.4vw,52px); line-height:1.05; }
  .section-head p{ margin-top:18px; font-size:16px; line-height:1.75; color:var(--ink-dark-soft: #45564d); font-weight:300; max-width:56ch; }

  /* ---------- ABOUT ---------- */
  .about{ background:var(--white); }
  .about .grid{
    display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; align-items:center;
  }
  .about-copy p{ font-size:16.5px; line-height:1.85; color:var(--ink-dark-soft: #45564d); font-weight:300; margin:0 0 20px; }
  .about-stats{ display:flex; gap:40px; margin-top:36px; }
  .about-stats div strong{ display:block; font-family:'Instrument Serif',serif; font-size:36px; color:var(--ink-dark); }
  .about-stats div span{ font-size:12px; letter-spacing:0.08em; color:var(--ink-dark-soft); }
  .about-art{
    aspect-ratio: 5/4;
    background: var(--black);
    border: 1px solid var(--line-light);
    border-radius: 18px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative;
    width: 100%;
    max-height: 380px;
    overflow: hidden;
  }
  @media (max-width:860px){
    .about .grid{ grid-template-columns:1fr; }
    .about-art{ order:-1; aspect-ratio:16/9; }
  }

  /* ---------- MENU ---------- */
  .menu{ background:var(--paper); }
  .menu-tabs{ display:flex; gap:10px; margin-bottom:48px; flex-wrap:wrap; }
  .menu-tab{
    padding:10px 20px; font-size:12.5px; letter-spacing:0.07em;
    border:1px solid var(--line-light); background:transparent; color:var(--ink-dark-soft);
    cursor:pointer; transition:all 0.22s ease;
  }
  .menu-tab.active{ background:var(--ink-dark); color:var(--white); border-color:var(--ink-dark); }
  .menu-grid{
    display:block;
    column-count:2;
    column-gap:22px;
    background:transparent;
    border:none;
  }
  .menu-cat{ display:none; }
  .menu-cat.active{ display:block; }
  .dish{
    background:var(--white);
    border:1px solid var(--line-light);
    border-radius:16px;
    padding:28px 26px;
    display:flex; flex-direction:column; gap:14px;
    break-inside:avoid;
    margin-bottom:22px;
    box-shadow:0 10px 30px -20px rgba(27,46,38,0.4);
  }
  .dish-icon{ width:40px; height:40px; }
  .dish-name{ font-family:'Instrument Serif',serif; font-size:23px; }
  .dish-row{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
  .dish-price{ font-family:'Instrument Serif',serif; font-size:20px; color:var(--gold); white-space:nowrap; }
  .dish-desc{ font-size:14px; line-height:1.65; color:var(--ink-dark-soft: #45564d); font-weight:300; }
  @media (max-width:700px){ .menu-grid{ column-count:1; } }

  /* ---------- FEATURED ---------- */
  .featured{
    background:var(--black); color:var(--ink);
  }
  .featured .wrap{ display:grid; grid-template-columns:0.7fr 1.3fr; gap:70px; align-items:center; }
  .feat-copy p{ font-size:16px; line-height:1.85; color:var(--ink-soft); font-weight:300; max-width:44ch; margin:18px 0 30px; }
  .feat-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
  .feat-list li{
    display:flex; align-items:baseline; justify-content:space-between; gap:14px;
    padding-bottom:14px; border-bottom:1px solid var(--line-dark);
    font-size:14.5px; color:var(--ink-soft); cursor:default;
    transition:color 0.2s ease;
  }
  .feat-list li.active{ color:var(--ink); }
  .feat-list li span:first-child{ font-family:'Instrument Serif',serif; font-size:20px; }

  .card-stage{ perspective:1400px; display:flex; justify-content:center; }
  .card{
    position:relative;
    width:100%; max-width:420px; aspect-ratio:3/4;
    border-radius:2px;
    background:linear-gradient(155deg,var(--black-2),#0f1c17 70%);
    border:1px solid var(--line-dark);
    transform-style:preserve-3d;
    transform:rotateX(0deg) rotateY(0deg);
    transition:transform 0.15s ease-out, box-shadow 0.3s ease;
    box-shadow:0 30px 60px -20px rgba(0,0,0,0.6);
    overflow:hidden;
  }
  .card-scene{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity 1.1s ease;
    transform:translateZ(40px);
    background-size: cover;
    background-position: center;
  }
  .card-scene.active{ opacity:1; }
  .card-scene img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .card-scene::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
      to top,
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.02) 55%,
      rgba(0,0,0,0.08)
    );
    pointer-events:none;
  }
  .card-caption{
    position:absolute; left:0; right:0; bottom:0;
    padding:26px 28px 24px;
    background:linear-gradient(to top, rgba(0,0,0,0.82), transparent);
    transform:translateZ(60px);
  }
  .card-caption .name{ font-family:'Instrument Serif',serif; font-size:26px; }
  .card-caption .price{ color:var(--gold-soft); font-size:14px; margin-top:4px; }
  .card-dots{
    position:absolute; top:22px; right:24px; display:flex; gap:6px; transform:translateZ(60px);
  }
  .card-dots span{ width:6px; height:6px; border-radius:50%; background:var(--line-dark); transition:background 0.3s ease; }
  .card-dots span.active{ background:var(--gold-soft); }
  @media (max-width:900px){
    .featured .wrap{ grid-template-columns:1fr; }
    .card-stage{ order:-1; }
  }

  /* ---------- CHEF ---------- */
  .chef{ background:var(--white); }
  .chef .grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
  .chef-portrait{
    aspect-ratio:1/1; background:var(--black);
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--line-light);
    border-radius:50%;
    max-width:380px;
    margin:0 auto;
    overflow:hidden;
  }
  .chef-name{ font-size:clamp(30px,3.6vw,44px); }
  .chef-title{ font-size:12.5px; letter-spacing:0.1em; color:var(--gold); margin:10px 0 24px; }
  .chef-quote{
    font-family:'Instrument Serif',serif; font-style:italic; font-size:23px; line-height:1.5;
    color:var(--ink-dark); border-left:2px solid var(--gold); padding-left:22px; margin:0 0 24px;
  }
  .chef-bio{ font-size:15.5px; line-height:1.85; color:var(--ink-dark-soft: #45564d); font-weight:300; max-width:56ch; }
  @media (max-width:860px){ .chef .grid{ grid-template-columns:1fr; } .chef-portrait{ aspect-ratio:1/1; max-width:260px; } }

  /* ---------- RESERVE ---------- */
  .reserve{ background:var(--black); color:var(--ink); }
  .reserve .wrap{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:70px; }
  .reserve-info p{ font-size:15.5px; line-height:1.85; color:var(--ink-soft); font-weight:300; max-width:42ch; margin:18px 0 30px;}
  .info-list{ display:flex; flex-direction:column; gap:18px; }
  .info-list div{ display:flex; justify-content:space-between; border-bottom:1px solid var(--line-dark); padding-bottom:14px; font-size:14px; }
  .info-list div span:first-child{ color:var(--ink-soft); }

  form.res-form{ display:flex; flex-direction:column; gap:22px; }
  .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  @media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }
  label{ display:block; font-size:12px; letter-spacing:0.08em; color:var(--ink-soft); margin-bottom:9px; }
  input, select{
    width:100%; background:transparent; border:none; border-bottom:1px solid var(--line-dark);
    color:var(--ink); font-family:'Inter',sans-serif; font-size:15.5px; padding:10px 2px;
    outline:none; transition:border-color 0.2s ease;
  }
  input::placeholder{ color:rgba(253,253,249,0.35); }
  input:focus, select:focus{ border-color:var(--gold-soft); }
  select option{ color:#111; }
  .res-note{ font-size:12.5px; color:var(--ink-soft); }
  .res-error{ font-size:13px; color:#e2a6a6; min-height:16px; }
  .res-confirm{
    border:1px solid var(--line-dark); padding:34px 30px; display:none;
  }
  .res-confirm.show{ display:block; }
  .res-confirm h3{ font-size:27px; margin-bottom:10px; }
  .res-confirm p{ color:var(--ink-soft); font-size:14.5px; line-height:1.7; margin:4px 0; }
  .res-confirm .btn{ margin-top:20px; }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--black); color:var(--ink-soft); border-top:1px solid var(--line-dark); padding:56px 0 40px; }
  footer .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:30px; }
  footer .mark{ font-family:'Instrument Serif',serif; font-size:22px; color:var(--ink); letter-spacing:0.1em; }
  footer .cols{ display:flex; gap:64px; flex-wrap:wrap; }
  footer .col h4{ font-size:12px; letter-spacing:0.08em; color:var(--ink); margin-bottom:12px; font-weight:500; }
  footer .col div{ font-size:13.5px; line-height:2; color:var(--ink-soft); }
  footer .bottom{ margin-top:44px; font-size:12px; color:rgba(253,253,249,0.4); text-align:center; }

  /* ---------- STAFF PORTAL ---------- */
  .staff{ min-height:100vh; background:var(--paper); color:var(--ink-dark); font-family:'Inter',sans-serif; }
  .staff-top{
    background:var(--black); color:var(--ink); padding:26px 32px; padding-top:calc(26px + env(safe-area-inset-top,0px));
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  }
  .staff-top .mark{ font-family:'Instrument Serif',serif; font-size:23px; letter-spacing:0.1em; }
  .staff-top .sub{ font-size:12px; color:var(--ink-soft); letter-spacing:0.06em; }
  .staff-body{ max-width:1040px; margin:0 auto; padding:40px 28px 90px; }
  .staff-search{ margin-bottom:30px; }
  .staff-search input{
    width:100%; max-width:420px; background:var(--white); border:1px solid var(--line-light);
    padding:13px 16px; font-size:14.5px; outline:none; color:var(--ink-dark);
  }
  .staff-search input:focus{ border-color:var(--gold); }
  .staff-count{ font-size:12.5px; color:var(--ink-dark-soft); margin-top:10px; letter-spacing:0.03em; }
  .res-table{ width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--line-light); }
  .res-table th{
    text-align:left; font-size:11px; letter-spacing:0.08em; color:var(--ink-dark-soft);
    padding:14px 16px; border-bottom:1px solid var(--line-light); font-weight:500;
  }
  .res-table td{ padding:15px 16px; font-size:14px; border-bottom:1px solid var(--line-light); vertical-align:middle; }
  .res-table tr:last-child td{ border-bottom:none; }
  .res-table tr:hover td{ background:rgba(226,114,91,0.08); }
  .seat-toggle{
    display:inline-flex; align-items:center; gap:8px; cursor:pointer; font-size:12.5px; color:var(--ink-dark-soft);
  }
  .seat-toggle input{ width:15px; height:15px; accent-color:var(--gold); }
  .empty-state{ padding:60px 20px; text-align:center; color:var(--ink-dark-soft); font-size:14.5px; }
  .staff-loading{ padding:60px 20px; text-align:center; color:var(--ink-dark-soft); font-size:14px; }
  @media (max-width:700px){
    .res-table thead{ display:none; }
    .res-table, .res-table tbody, .res-table tr, .res-table td{ display:block; width:100%; }
    .res-table tr{ padding:14px 16px; border-bottom:1px solid var(--line-light); }
    .res-table td{ border:none; padding:4px 0; display:flex; justify-content:space-between; }
    .res-table td::before{ content:attr(data-label); color:var(--ink-dark-soft); font-size:11.5px; letter-spacing:0.05em; }
  }

  .hidden{ display:none !important; }
  .toast{
    position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
    background:var(--ink-dark); color:var(--white); padding:13px 22px; font-size:13.5px;
    border-radius:2px; opacity:0; pointer-events:none; transition:all 0.3s ease; z-index:999;
  }
  .toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }


  @media (max-width: 768px) {
  .grid, .field-row {
    flex-direction: column !important;
    display: flex !important;
    gap: 15px !important;
  }
  .reserve .wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  .hero h1 {
    font-size: 40px !important;
  }
  .wrap {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  .cols {
    flex-direction: column !important;
    gap: 20px !important;
  }
}
