/* ============================================================
   TASCA by Decanter Consulting — styles
   Palette: cellar black-plum, cream, wine red, muted gold
   Corners: square throughout
   ============================================================ */

:root {
  --bg: #170d10;
  --bg-alt: #21131a;
  --bg-panel: #2a1a20;
  --cream: #f3ece1;
  --cream-soft: #ddd1c2;
  --muted: #a8968c;
  --gold: #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.35);
  --wine: #7a1f33;
  --line: rgba(201, 164, 92, 0.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.lead {
  font-size: 19px;
  color: var(--cream-soft);
}

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.solid {
  background: rgba(23, 13, 16, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  color: var(--cream);
}

.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--cream-soft);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.site-nav .nav-parent {
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 9px 18px;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav .nav-parent:hover {
  background: var(--gold);
  color: var(--bg);
  border-bottom-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 13, 16, 0.62) 0%, rgba(23, 13, 16, 0.45) 45%, rgba(23, 13, 16, 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(880px, 90%);
  padding: 0 12px;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8.5vw, 108px);
  line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 26px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--cream-soft);
  font-size: clamp(15px, 1.6vw, 18px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(243, 236, 225, 0.25);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: var(--gold);
  animation: scroll-drip 2.2s ease-in-out infinite;
}

@keyframes scroll-drip {
  0% { top: -60%; }
  60%, 100% { top: 110%; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 236, 225, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }

.section-philosophy {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.philosophy-text p {
  color: var(--muted);
  margin-bottom: 18px;
}

.philosophy-text .lead {
  color: var(--cream-soft);
}

.philosophy-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--gold) !important;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.philosophy-media { position: relative; }

.philosophy-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.philosophy-media figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  text-align: right;
}

/* ---------- Kitchen ---------- */

.section-kitchen {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.kitchen-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}

.practice-list {
  list-style: none;
}

.practice-list li {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.practice-list li:last-child { border-bottom: none; }

.practice-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  line-height: 1.4;
  flex-shrink: 0;
}

.practice-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 8px;
}

.practice-list p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Work / filmstrip ---------- */

.section-work {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-bottom: 110px;
}

.section-work .section-head { padding-bottom: 8px; }

/* ---------- Services ---------- */

.section-services {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.services-media {
  flex-shrink: 0;
}

.services-media img {
  width: 380px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

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

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 15.5px;
}

.services-link-line {
  margin-top: 44px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
}

.services-link-line a {
  border-bottom: 1px solid var(--gold-soft);
}

/* ---------- Contact ---------- */

.section-contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-copy .lead {
  color: var(--cream-soft);
}

.contact-parent a {
  border-bottom: 1px solid var(--gold-soft);
}

.contact-form {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 46px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-field .optional {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.05em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(23, 13, 16, 0.6);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  padding: 13px 16px;
  transition: border-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(168, 150, 140, 0.6);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-field textarea { resize: vertical; }

.btn-submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  margin-top: 14px;
  font-size: 15px;
}

.form-status .ok { color: #9ec78f; }
.form-status .err { color: #d98b8b; }

/* ---------- Footer ---------- */

.site-footer {
  background: #120a0d;
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  margin-bottom: 28px;
}

.site-footer .brand-name { font-size: 26px; }

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 30px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav a:hover { color: var(--gold); }

.footer-note {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.footer-legal {
  color: rgba(168, 150, 140, 0.75);
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-credit a {
  opacity: 0.5;
  font-weight: 300;
  color: var(--cream-soft);
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .philosophy-grid,
  .kitchen-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-media { order: -1; }
  .services-media img { width: 100%; }
  .service-cards { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    background: rgba(23, 13, 16, 0.98);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 90px 34px 40px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 55;
  }

  .site-nav.open { transform: translateX(0); }

  .site-nav a {
    font-size: 15px;
    padding: 12px 0;
  }

  .site-nav .nav-parent {
    border: 1px solid var(--gold-soft);
    padding: 12px 18px;
    margin-top: 14px;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 560px; }

  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.22em; }
}
