/* ==========================================================================
   Velvet Arrow Creative — Shared Stylesheet
   Premium Japanese minimalist branding studio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Shippori+Mincho:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

:root {
  --burgundy: #4A2C2A;
  --burgundy-light: #6B3F3C;
  --charcoal: #2C2C2C;
  --ivory: #F5F2EB;
  --gold: #B8A17E;
  --line: #E5E0D5;
  --muted: #6F6659;
  --muted-2: #4A4640;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', 'Shippori Mincho', system-ui, sans-serif;
  font-feature-settings: "palt";
}

.heading-serif {
  font-family: 'Shippori Mincho', 'Cormorant Garamond', serif;
}

.display-serif {
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
}

/* ---- Navigation ---- */
.nav-link { display: inline-block; padding-block: 8px; position: relative; transition: color 0.25s ease; color: #2C2C2C; }
.nav-link:after {
  content: ''; position: absolute; width: 0; height: 1px; bottom: 2px; left: 0;
  background-color: #B8A17E; transition: width 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover:after { width: 100%; }
.nav-active { color: #7A6540 !important; font-weight: 500; }
footer .nav-active { color: #ffffff !important; }

.logo-img { max-height: 42px; width: auto; }

/* ---- Hero ---- */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2C2C2C;
}
.page-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(44,44,44,0.5), rgba(44,44,44,0.62));
}
.page-hero .hero-content { position: relative; z-index: 10; }

/* ---- Buttons ---- */
.minimal-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #B8A17E;
}
.minimal-btn:hover { background-color: #B8A17E; color: #2C2C2C; border-color: #B8A17E; }

.btn-solid-gold {
  background-color: #B8A17E; color: #2C2C2C; transition: all .3s ease;
}
.btn-solid-gold:hover { background-color: #4A2C2A; color: #fff; }

/* ---- Cards / Images ---- */
.premium-card { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1); }
.premium-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

.project-img { transition: transform 0.6s cubic-bezier(0.23,1.0,0.32,1); }
.project-card:hover .project-img { transform: scale(1.04); }

.filter-btn { transition: all 0.2s ease; }
.filter-btn.active { background-color: #2C2C2C; color: #fff; border-color: #2C2C2C; }

/* ---- Misc ---- */
.elegant-divider { height: 1px; background: linear-gradient(to right, transparent, #B8A17E, transparent); }
.section-title { position: relative; display: inline-block; }
.section-title:after { content:''; position:absolute; bottom:-8px; left:0; width:48px; height:1px; background-color:#B8A17E; }

.gold-accent { color: #B8A17E; }
.burgundy { color: #4A2C2A; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Form fields ---- */
.field-input {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid #D8D1C2;
  padding: 10px 2px; font-size: 14px; transition: border-color .25s ease; outline: none;
}
.field-input:focus { border-color: #B8A17E; }
.field-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6F6659; margin-bottom: 4px; display:block; }

/* ---- Toast (non-blocking popup) ---- */
#toast-container {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 340px;
}
.toast {
  background: #2C2C2C; color: #F5F2EB; padding: 14px 18px; font-size: 13px; line-height: 1.5;
  border-left: 3px solid #B8A17E; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translateX(30px); transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: flex-start; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.error { border-left-color: #B5574F; }
.toast i { color: #B8A17E; margin-top: 2px; }
.toast.error i { color: #D08B85; }
.toast .toast-close { cursor: pointer; margin-left: auto; opacity: .6; }
.toast .toast-close:hover { opacity: 1; }

@media (max-width: 640px) {
  #toast-container { left: 16px; right: 16px; top: 16px; max-width: none; }
}

/* ---- Arrow mark animation (used in 404 & loaders) ---- */
.arrow-mark { transition: transform .6s cubic-bezier(.4,0,.2,1); }

/* ---- Scrollbar polish ---- */
::selection { background: #B8A17E; color: #2C2C2C; }


/* ---- Accessibility: skip link ---- */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10000; background: #2C2C2C; color: #fff; padding: 10px 16px; font-size: 14px; transition: top .2s ease; }
.skip-link:focus { top: 8px; }

/* ---- Contrast: gold text on light backgrounds (AA 4.5:1) ---- */
body .text-\[\#B8A17E\] { color: #7A6540; }
body footer .text-\[\#B8A17E\], body .bg-\[\#2C2C2C\] .text-\[\#B8A17E\], body .page-hero .text-\[\#B8A17E\] { color: #B8A17E; }
body .text-\[\#8A8071\] { color: #B5AC9D; }
body .text-\[\#817769\] { color: #A39C8F; }
body .hover\:text-\[\#B8A17E\]:hover { color: #7A6540; }
body footer .hover\:text-\[\#B8A17E\]:hover { color: #D8C39B; }
