/* =========================================================
   AMOHA AUTO INDUSTRY — stylesheet
   Type:  Archivo Expanded (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================= */

:root{
  --ink:        #12191F;
  --ink-2:      #1B242C;
  --steel:      #59636C;
  --steel-light:#8C949B;
  --mist:       #EEEDE8;
  --mist-2:     #E4E2DB;
  --line:       #D9D6CE;
  --line-dark:  #303A42;
  --white:      #FFFFFF;
  --amber:      #D98F2B;
  --amber-dim:  #B87A24;

  --font-display: 'Archivo Expanded', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.65,0,.35,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font:inherit; cursor:pointer; }
svg{ display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
.h-xl{ font-size: clamp(2.4rem, 4.6vw, 4rem); }
.h-lg{ font-size: clamp(2rem, 3.4vw, 2.9rem); }
.h-md{ font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--steel);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--amber);
  flex-shrink:0;
}
.eyebrow.on-dark{ color: var(--steel-light); }

.lede{
  color: var(--steel);
  font-size: 1.05rem;
  max-width: 40ch;
}

.tag{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--steel);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; transition: transform .25s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn:focus-visible{ outline: 2px solid var(--amber); outline-offset: 3px; }
button.btn{ border: 1px solid transparent; }

.btn-primary{ background: var(--ink); color: var(--white); }
.btn-primary:hover{ background: var(--amber-dim); }

.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--white); }

.btn-on-dark{ background: var(--white); color: var(--ink); }
.btn-on-dark:hover{ background: var(--amber); color: var(--ink); }

.btn-outline-on-dark{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-on-dark:hover{ border-color: var(--white); }

.btn-small{ padding: 10px 16px; font-size: 0.82rem; }

.link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: .03em;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow svg{ width:13px; height:13px; }
.link-arrow:hover{ border-color: var(--ink); gap:11px; }

.link-arrow-on-dark{ color: var(--white); border-color: rgba(255,255,255,.35); }
.link-arrow-on-dark:hover{ border-color: var(--white); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 78px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand .mark{ width: 34px; height:34px; flex-shrink:0; }
.brand-logo{ height: 38px; width: auto; display: block; }
.footer-brand .brand-logo{ height: 52px; }
.brand-text{ line-height:1.1; }
.brand-text .name{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.brand-text .sub{
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: .08em;
  color: var(--steel);
}

.main-nav ul{ display:flex; gap: 30px; }
.main-nav a, .nav-link-button{
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-link-button{
  background:none;
  border:none;
  font-family: var(--font-body);
  cursor:pointer;
}
.main-nav a::after, .nav-link-button::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .nav-link-button:hover::after{ transform: scaleX(1); }

.header-actions{ display:flex; align-items:center; gap: 18px; }

.nav-toggle{
  display:none;
  background:none; border:none; padding:6px;
}
.nav-toggle svg{ width:24px; height:24px; }

@media (max-width: 940px){
  .main-nav{
    position: fixed;
    inset: 78px 0 0 0;
    z-index: 100;
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    border-top:1px solid var(--line);
  }
  .main-nav.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .main-nav ul{ flex-direction:column; gap:0; padding: 10px var(--pad) 30px; }
  .main-nav a, .nav-link-button{ display:block; width:100%; text-align:left; padding: 16px 0; border-bottom:1px solid var(--line); }
  .header-actions .btn-primary.btn-small{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 72px 0 88px;
  background: var(--white);
}
.hero .container{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:center;
}
.hero-copy h1{ margin: 4px 0 18px; }
.hero-variants{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel);
  display:flex;
  gap: 10px;
  align-items:center;
  margin-bottom: 18px;
}
.hero-variants span{ display:flex; align-items:center; gap:10px; }
.hero-variants i{ width:4px; height:4px; background: var(--line); border-radius:50%; display:inline-block; }
.hero-copy p.lede{ margin: 0 0 32px; max-width: 46ch; }
.hero-ctas{ display:flex; gap: 14px; flex-wrap:wrap; }

.hero-art{ position: relative; aspect-ratio: 4 / 4.4; }
.hero-art .balance-tag{
  position:absolute;
  top: 20px; right: 20px;
  z-index: 2;
  text-align:right;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing:.04em;
  color: rgba(255,255,255,.75);
  line-height:1.9;
}

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; }
}

/* ---------- Feature strip ---------- */
.feature-strip{
  background: var(--ink);
  color: var(--white);
  padding: 46px 0;
}
.feature-strip .container{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-strip h2{
  grid-column: 1 / -1;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 8px;
  color: var(--white);
}
.feature-item{ border-top: 1px solid var(--line-dark); padding-top: 18px; }
.feature-item .num{ font-family: var(--font-mono); font-size:.72rem; color: var(--amber); display:block; margin-bottom:8px; }
.feature-item h3{ font-size: 0.98rem; font-family: var(--font-body); font-weight:600; margin-bottom:6px; }
.feature-item p{ color: var(--steel-light); font-size: 0.86rem; margin:0; }

@media (max-width: 760px){
  .feature-strip .container{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .feature-strip .container{ grid-template-columns: 1fr; }
}

/* ---------- Section shell ---------- */
.section{ padding: 96px 0; }
.section.tight{ padding: 72px 0; }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head .lede{ margin-bottom:0; padding-bottom:6px; }

@media (max-width: 760px){
  .section-head{ flex-direction:column; align-items:flex-start; gap:18px; }
}

/* ---------- Products ---------- */
.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card{
  border: 1px solid var(--line);
  padding: 30px 28px 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover{
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -22px rgba(18,25,31,.35);
}
.product-card .num{ font-family: var(--font-mono); font-size:.75rem; color: var(--steel-light); }
.product-card .art{ margin: 18px 0 22px; height: 140px; overflow: hidden; }
.product-card .art img{ width:100%; height:100%; object-fit: cover; }
.product-card h3{ font-size: 1.25rem; margin-bottom: 10px; }
.product-card p{ color: var(--steel); font-size: 0.9rem; margin: 0 0 20px; }

@media (max-width: 860px){
  .product-grid{ grid-template-columns: 1fr; }
}

/* ---------- Split (about / manufacturing) ---------- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:center;
}
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
.split-copy p.lede{ margin: 18px 0 30px; max-width: 50ch; }

.mini-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.mini-item{ display:flex; gap: 12px; align-items:flex-start; }
.mini-item svg{ width:22px; height:22px; flex-shrink:0; color: var(--amber); }
.mini-item .t{ font-weight:600; font-size:.92rem; margin-bottom:2px; }
.mini-item .d{ font-size:.82rem; color: var(--steel); }

@media (max-width: 900px){
  .split, .split.reverse{ grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- Process band ---------- */
.process{
  background: var(--ink);
  color: var(--white);
  padding: 96px 0;
}
.process .section-head h2{ color: var(--white); }
.process .lede{ color: var(--steel-light); }

.process-strip{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.process-step{
  background: var(--ink);
  padding: 22px 18px 24px;
  position:relative;
}
.process-step .art{ height: 120px; margin: -22px -18px 18px; overflow: hidden; }
.process-step .art img{ width:100%; height:100%; object-fit: cover; display:block; }
.process-step .num{ font-family: var(--font-mono); font-size:.72rem; color: var(--amber); display:block; margin-bottom:8px; }
.process-step h4{ font-family: var(--font-body); font-weight:600; font-size:.86rem; letter-spacing:.02em; }
.process-step:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-9px; top:50%;
  width:16px; height:16px;
  border-top:1px solid var(--steel-light);
  border-right:1px solid var(--steel-light);
  transform: translateY(-50%) rotate(45deg);
  z-index:2;
  display:none;
}

@media (max-width: 960px){
  .process-strip{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px){
  .process-strip{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Quality ---------- */
.quality-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quality-card{ background: var(--mist); }
.quality-card .art{ height: 200px; border-bottom: 1px solid var(--line); overflow: hidden; }
.quality-card .art img{ width:100%; height:100%; object-fit: cover; }

/* ---------- Real photography treatment ---------- */
.photo-frame{ position: relative; overflow: hidden; background: var(--ink); }
.photo-frame img{ width:100%; height:100%; object-fit: cover; display:block; }
.photo-frame::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,25,31,0) 55%, rgba(18,25,31,.55) 100%);
  pointer-events:none;
}
.photo-frame .caption{
  position:absolute; left:20px; bottom:16px; z-index:2;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing:.03em;
}
.quality-card .meta{ padding: 20px 22px 24px; }
.quality-card .k{
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--steel);
  margin-bottom: 6px;
  display:block;
}
.quality-card h3{ font-size: 1.02rem; font-family: var(--font-body); font-weight:700; margin-bottom:4px; }
.quality-card p{ font-size: .85rem; color: var(--steel); margin:0; }

@media (max-width: 860px){
  .quality-grid{ grid-template-columns: 1fr; }
}

/* ---------- Supply partners ---------- */
.supply{ background: var(--mist); }
.supply-photo{ aspect-ratio: 16 / 6; margin-bottom: 40px; }
@media (max-width: 700px){
  .supply-photo{ aspect-ratio: 4 / 3; }
}
.supply-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.supply-item{
  background: var(--mist);
  padding: 30px 26px;
}
.supply-item svg{ width:30px; height:30px; margin-bottom:20px; color: var(--ink); }
.supply-item h3{ font-family: var(--font-body); font-size:1rem; font-weight:700; margin-bottom:8px; }
.supply-item p{ font-size:.85rem; color: var(--steel); margin:0; }

@media (max-width: 860px){
  .supply-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .supply-grid{ grid-template-columns: 1fr; }
}

/* ---------- Catalogue ---------- */
.catalogue .split{ grid-template-columns: 0.8fr 1fr 0.7fr; gap: 48px; }
.catalogue-links{ border-left: 1px solid var(--line); padding-left: 40px; }
.catalogue-links li{ margin-bottom: 14px; font-size:.88rem; color: var(--steel); }
.catalogue-links li::before{ content:"—"; margin-right:8px; color: var(--line); }
.catalogue-book{ position:relative; }
.catalogue-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }

@media (max-width: 1020px){
  .catalogue .split{ grid-template-columns: 1fr; }
  .catalogue-links{ border-left:none; border-top:1px solid var(--line); padding-left:0; padding-top:24px; }
}

/* ---------- CTA band ---------- */
.cta-band{
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 88px 0;
  overflow: hidden;
}
.cta-band-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band-bg img{ opacity: .38; }
.cta-band-bg::after{
  background: linear-gradient(100deg, rgba(18,25,31,.96) 0%, rgba(18,25,31,.82) 45%, rgba(18,25,31,.55) 100%);
}
.cta-band .inner{ position:relative; z-index:2; max-width: 560px; }
.cta-band h2{ color: var(--white); margin-bottom:16px; }
.cta-band p{ color: var(--steel-light); margin: 0 0 32px; max-width: 48ch; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

@media (max-width: 760px){
  .cta-band-bg{ opacity: .7; }
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: var(--steel-light); padding: 72px 0 0; }
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-text .name, .footer-brand .brand-text .sub{ color: var(--white); }
.footer-brand p{ font-size:.85rem; margin: 16px 0 0; max-width: 26ch; color: var(--steel-light); }
.footer-col h4{
  font-family: var(--font-mono);
  font-weight:400;
  font-size: .72rem;
  letter-spacing:.06em;
  color: var(--steel-light);
  margin-bottom: 18px;
}
.footer-col li{ margin-bottom: 11px; font-size:.86rem; }
.footer-col a:hover{ color: var(--white); }
.footer-col .nav-link-button{ color: inherit; font-size: inherit; padding: 0; }
.footer-col .nav-link-button:hover{ color: var(--white); }
.footer-col .nav-link-button::after{ display:none; }
.footer-col .contact-line{ display:flex; gap:10px; align-items:flex-start; }
.footer-col .contact-line svg{ width:15px; height:15px; margin-top:3px; flex-shrink:0; color: var(--amber); }
.social{ display:flex; gap:10px; margin-top:20px; }
.social a{
  width:34px; height:34px;
  border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.social a:hover{ border-color: var(--amber); background: rgba(217,143,43,.1); }
.social svg{ width:15px; height:15px; }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 22px 0;
  font-size: .78rem;
  flex-wrap:wrap;
  gap: 12px;
}
.footer-bottom .legal{ display:flex; gap: 22px; }
.footer-bottom a:hover{ color: var(--white); }

@media (max-width: 980px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------- Reveal (single orchestrated hero entrance) ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(14px);
}
.reveal-ready [data-reveal]{
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-ready [data-reveal].is-in{
  opacity: 1;
  transform: none;
}

/* ---------- Misc ---------- */
.divider{ height:1px; background: var(--line); border:none; margin: 0; }
::selection{ background: var(--amber); color: var(--ink); }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--ink); color:var(--white); padding:12px 18px; z-index:999;
}
.skip-link:focus{ left: 16px; top:16px; }

/* ---------- Contact Modal ---------- */
.modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18,25,31,.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }

.modal{
  background: var(--white);
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-overlay.is-open .modal{ transform: none; opacity: 1; }

.modal-close{
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 38px; height: 38px;
  display: flex; align-items:center; justify-content:center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.modal-close:hover{ background: var(--ink); border-color: var(--ink); color: var(--white); }
.modal-close svg{ width:16px; height:16px; }

.modal-body{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
}
.modal-intro{
  background: var(--ink);
  color: var(--white);
  padding: 44px 36px;
}
.modal-intro h2{ color: var(--white); margin-bottom: 12px; }
.modal-intro .lede{ color: var(--steel-light); margin-bottom: 30px; }

.modal-contact-list{ margin-bottom: 30px; }
.modal-contact-list li{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: .9rem;
}
.modal-contact-list li:last-child{ border-bottom: 1px solid var(--line-dark); }
.modal-contact-list svg{ width:18px; height:18px; flex-shrink:0; color: var(--amber); margin-top:1px; }
.modal-contact-list a{ color: var(--white); }
.modal-contact-list a:hover{ color: var(--amber); }
.modal-contact-list span{ color: var(--steel-light); }

.modal-form{
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-form label{
  display:flex;
  flex-direction: column;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}
.modal-form input, .modal-form textarea{
  font: inherit;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.modal-form input:focus, .modal-form textarea:focus{
  outline: none;
  border-color: var(--ink);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal-form .btn{ justify-content:center; margin-top: 4px; }
.form-hint{ font-size: .78rem; color: var(--steel); margin: 0; }
.form-success{
  display:none;
  font-size: .85rem;
  color: var(--amber-dim);
  font-weight: 600;
}
.form-success.is-visible{ display:block; }

@media (max-width: 760px){
  .modal-body{ grid-template-columns: 1fr; }
  .modal-intro, .modal-form{ padding: 36px 24px; }
  .form-row{ grid-template-columns: 1fr; }
}
