/*
 Theme Name:   Rich Hour
 Theme URI:    https://richhour.co
 Description:  Minimal one-page child theme for Rich Hour Co., Ltd. Built on Astra.
 Author:       Rich Hour Co., Ltd.
 Author URI:   https://richhour.co
 Template:     astra
 Version:      8.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  richhour
*/

:root {
  --bg: #FAF8F5;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --green: #2D4A22;
  --green-light: #3C5E2E;
  --sage: #E8EDE5;
  --text: #1A1A1A;
  --text-2: #6B6B6B;
  --text-3: #999999;
  --border: #E5E2DD;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h4 { font-family: var(--sans); font-weight: 500; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.rv.v { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.12s; }
.rv-d2 { transition-delay: 0.24s; }
.rv-d3 { transition-delay: 0.36s; }

.w { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ─── NAV ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,248,245,0.9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; letter-spacing: 0.5px; color: var(--text-2); transition: color 0.3s; }
.nav-links a:hover { color: var(--black); }
.nav-cta { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 10px 24px; background: var(--green); color: #fff; border-radius: 0; transition: background 0.3s; }
.nav-cta:hover { background: var(--green-light); }
.burger { display: none; background: none !important; border: none !important; cursor: pointer; padding: 6px; box-shadow: none !important; outline: none !important; border-radius: 0 !important; }
.burger svg { width: 24px; height: 24px; stroke: var(--black); fill: none; }

/* ─── HERO ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(26,26,26,0.35); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 720px; padding: 0 40px; }
.hero-label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); color: #fff; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-btn { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 14px 40px; border: 1px solid rgba(255,255,255,0.5); color: #fff; transition: all 0.3s; }
.hero-btn:hover { background: #fff; color: var(--black); border-color: #fff; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 1px; height: 48px; background: rgba(255,255,255,0.3); margin: 0 auto; position: relative; overflow: hidden; }
.hero-scroll span::after { content: ''; position: absolute; top: -48px; left: 0; width: 1px; height: 48px; background: #fff; animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -48px; } 100% { top: 48px; } }

/* ─── SECTION ─── */
.sec { padding: 140px 0; }
.sec-label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; display: block; }
.sec-title { font-size: clamp(32px, 4vw, 48px); color: var(--black); margin-bottom: 20px; }
.sec-desc { font-size: 16px; color: var(--text-2); max-width: 520px; line-height: 1.85; }
.sec-center { text-align: center; }
.sec-center .sec-desc { margin: 0 auto; }

/* ─── ABOUT ─── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { position: relative; overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text p { color: var(--text-2); margin-bottom: 16px; line-height: 1.85; }
.about-text p:last-of-type { margin-bottom: 0; }

/* ─── SERVICES ─── */
.svc-list { margin-top: 64px; border-top: 1px solid var(--border); }
.svc-item { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 40px; align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--border); transition: background 0.3s, margin 0.3s, padding 0.3s; }
.svc-item:hover { background: var(--sage); margin: 0 -40px; padding: 36px 40px; }
.svc-num { font-family: var(--serif); font-size: 14px; color: var(--text-3); }
.svc-item h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--black); }
.svc-item p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ─── BRANDS ─── */
.brand-showcase { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.brand-item { position: relative; overflow: hidden; cursor: default; }
.brand-item-img { aspect-ratio: 3/4; overflow: hidden; }
.brand-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.brand-item:hover .brand-item-img img { transform: scale(1.04); }
.brand-item-info { padding: 24px 0; }
.brand-item-tag { font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; display: block; }
.brand-item-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--black); margin-bottom: 8px; }
.brand-item-info p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ─── WHY ─── */
.why-section { background: var(--green); color: #fff; }
.why-header { margin-bottom: 64px; }
.why-header .sec-label { color: rgba(255,255,255,0.4); }
.why-header .sec-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.why-item { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 28px; }
.why-item h4 { font-size: 16px; font-weight: 500; margin-bottom: 12px; color: #fff; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ─── CTA ─── */
.cta-section { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(26,26,26,0.5); }
.cta-content { position: relative; z-index: 2; text-align: center; padding: 0 40px; }
.cta-content h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; margin-bottom: 16px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 14px 40px; border: 1px solid rgba(255,255,255,0.5); color: #fff; transition: all 0.3s; }
.cta-btn:hover { background: #fff; color: var(--black); border-color: #fff; }

/* ─── CONTACT ─── */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left .sec-desc { margin-bottom: 48px; }
.detail { margin-bottom: 28px; }
.detail-label { font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.detail-val { font-size: 15px; line-height: 1.7; }
.detail-val a { color: var(--green); transition: opacity 0.2s; }
.detail-val a:hover { opacity: 0.7; }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form input, .form textarea { width: 100%; padding: 14px 0; font-family: var(--sans); font-size: 14px; color: var(--text); background: transparent; border: none; border-bottom: 1px solid var(--border); outline: none; transition: border-color 0.3s; border-radius: 0; -webkit-appearance: none; }
.form input:focus, .form textarea:focus { border-color: var(--green); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form textarea { resize: vertical; min-height: 80px; }
.form button { align-self: flex-start; margin-top: 8px; padding: 14px 40px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: var(--green); border: none; border-radius: 0; cursor: pointer; transition: background 0.3s; }
.form button:hover { background: var(--green-light); }
/* Honeypot */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ─── FOOTER ─── */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-3); letter-spacing: 0.3px; }
.footer-right a { color: var(--text-2); }
.footer-right a:hover { color: var(--black); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .w { padding: 0 28px; }
  .sec { padding: 100px 0; }
  .nav-inner { padding: 0 28px; }
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-links.open { display: flex; position: fixed; inset: 0; z-index: 200; background: rgba(250,248,245,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
  .nav-links.open a { font-size: 20px; color: var(--black); }
  .burger { display: block !important; z-index: 300; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .svc-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .svc-item p { grid-column: 1 / -1; }
  .svc-item:hover { margin: 0 -28px; padding: 36px 28px; }
  .brand-showcase { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .w { padding: 0 20px; }
  .nav-inner { padding: 0 20px; height: 60px; }
  .sec { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .svc-item:hover { margin: 0 -20px; padding: 36px 20px; }
}
