/* ============================================
   Supply Works - Corporate Website
   ============================================ */

:root {
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --cream: #F6F4F0;
  --sand: #EDE9E1;
  --g100: #E8E4DC;
  --g200: #D4CFC6;
  --g300: #B0A998;
  --g400: #8A8478;
  --g500: #6B655A;
  --ink: #1C1B18;
  --ink-m: #4A4843;
  --accent: #B8860B;
  --accent-l: #D4A843;
  --accent-s: rgba(184, 134, 11, 0.07);
  --accent-b: rgba(184, 134, 11, 0.18);
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mw: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--mw); margin: 0 auto; padding: 0 40px; }

/* --- Utility --- */
.eyebrow {
  font-family: var(--serif);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.heading-xl {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.body-text {
  font-size: .9rem;
  line-height: 2;
  color: var(--ink-m);
}

/* --- Scroll Reveal --- */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.rv.v { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }


/* ============================================
   HEADER
   ============================================ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .4s, box-shadow .4s;
}
.hdr.scrolled {
  background: rgba(250, 250, 248, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--g100);
}
.hdr-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
}
.logo-name {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--g400);
  position: relative;
  transition: color .3s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.nav-cta {
  color: var(--white) !important;
  background: var(--ink);
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background .3s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #2D2D2A;
  color: var(--white) !important;
}

/* Mobile Menu */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  flex-direction: column;
  gap: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: .3s;
}
.burger.on span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }
.m-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 248, .97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 1050;
}
.m-nav.open { display: flex; }
.m-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-m);
  letter-spacing: .06em;
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}
.hero-blob-1 {
  position: absolute;
  top: -10%; right: -8%;
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, .06) 0%, rgba(184, 134, 11, .02) 40%, transparent 70%);
  animation: bD 14s ease-in-out infinite alternate;
}
.hero-blob-2 {
  position: absolute;
  bottom: -15%; left: -10%;
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 190, 170, .08) 0%, transparent 70%);
  animation: bD2 16s ease-in-out infinite alternate;
}
@keyframes bD {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 3%) scale(1.04); }
}
@keyframes bD2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.03); }
}

.hero-ring {
  position: absolute;
  top: 12%; right: 8%;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid var(--g100);
  animation: rR 40s linear infinite;
}
.hero-ring::before {
  content: '';
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent-b);
}
.hero-ring::after {
  content: '';
  position: absolute; inset: 90px;
  border-radius: 50%;
  border: 1px solid var(--g100);
}
@keyframes rR {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-line-v {
  position: absolute;
  top: 0; right: 38%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--g100), transparent);
}
.hero-line-h {
  position: absolute;
  top: 45%; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--g100), transparent);
}
.hero-diamond {
  position: absolute;
  bottom: 22%; right: 18%;
  width: 60px; height: 60px;
  border: 1px solid var(--accent-b);
  transform: rotate(45deg);
  animation: dP 6s ease-in-out infinite;
}
@keyframes dP {
  0%, 100% { opacity: .4; }
  50%      { opacity: .8; }
}
.hero-dots {
  position: absolute;
  top: 28%; left: 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  opacity: .15;
}
.hero-dots span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-inner {
  max-width: 600px;
  padding: 160px 0 140px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: hIn .8s .3s forwards;
}
.hero-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero-h {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: hIn .8s .5s forwards;
}
.hero-h em { font-style: normal; position: relative; }
.hero-h em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%; height: 10px;
  background: rgba(184, 134, 11, .12);
  z-index: -1;
  border-radius: 2px;
}
.hero-p {
  font-size: .92rem;
  color: var(--ink-m);
  line-height: 2;
  max-width: 420px;
  opacity: 0;
  animation: hIn .8s .7s forwards;
}
@keyframes hIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: hIn .8s 1s forwards;
}
.hero-scroll-txt {
  font-size: .55rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--g300);
}
.hero-scroll-bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .25; }
  50%      { opacity: 1; }
}


/* ============================================
   BUSINESS
   ============================================ */
.sec-biz { padding: 140px 0; background: var(--white); }
.biz-head { max-width: 520px; margin-bottom: 72px; }
.biz-head .body-text { margin-top: 16px; }
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--g100);
  border: 1px solid var(--g100);
  border-radius: 16px;
  overflow: hidden;
}
.biz-c {
  padding: 52px 40px;
  background: var(--white);
  position: relative;
  transition: background .4s;
}
.biz-c::after {
  content: '';
  position: absolute;
  bottom: 0; left: 40px; right: 40px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.biz-c:hover { background: var(--cream); }
.biz-c:hover::after { transform: scaleX(1); }
.biz-c-tag {
  font-family: var(--serif);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.biz-c h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.biz-c p  { font-size: .84rem; line-height: 1.95; color: var(--ink-m); }


/* ============================================
   STRENGTHS
   ============================================ */
.sec-str { padding: 140px 0; background: var(--cream); }
.str-top {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}
.str-top .eyebrow { justify-content: center; }
.str-top .eyebrow::before { display: none; }
.str-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.str-c {
  background: var(--white);
  border-radius: 14px;
  padding: 44px 32px;
  border: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.str-c:hover {
  border-color: var(--accent-b);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .04);
  transform: translateY(-4px);
}
.str-bar {
  width: 32px; height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
  border-radius: 1px;
}
.str-c h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.str-c p  { font-size: .84rem; line-height: 1.95; color: var(--ink-m); }


/* ============================================
   COMPANY
   ============================================ */
.sec-co { padding: 140px 0; background: var(--off-white); }
.co-head { margin-bottom: 52px; }
.co-dl { max-width: 780px; border-top: 2px solid var(--ink); }
.co-r {
  display: grid;
  grid-template-columns: 172px 1fr;
  border-bottom: 1px solid var(--g100);
}
.co-r dt { padding: 20px 0; font-size: .84rem; font-weight: 600; color: var(--ink-m); }
.co-r dd { padding: 20px 0; font-size: .88rem; }


/* ============================================
   CONTACT
   ============================================ */
.sec-ct {
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ct-ring {
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .05);
}
.ct-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ct-l .eyebrow { color: var(--accent-l); }
.ct-l .eyebrow::before { background: var(--accent-l); }
.ct-l .heading-xl { color: var(--white); margin-bottom: 16px; }
.ct-l .body-text { color: rgba(255, 255, 255, .4); }
.ct-cards { display: flex; flex-direction: column; gap: 14px; }
.ct-card {
  padding: 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  transition: border-color .3s;
}
.ct-card:hover { border-color: var(--accent-b); }
.ct-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
  margin-bottom: 8px;
}
.ct-val { font-size: 1.05rem; font-weight: 600; }
.ct-val a { color: var(--white); transition: color .3s; }
.ct-val a:hover { color: var(--accent-l); }


/* ============================================
   FOOTER
   ============================================ */
.ftr {
  padding: 28px 0;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.ftr-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ftr-copy { font-size: .68rem; color: rgba(255, 255, 255, .2); }
.ftr-links a {
  font-size: .68rem;
  color: rgba(255, 255, 255, .2);
  transition: color .3s;
}
.ftr-links a:hover { color: rgba(255, 255, 255, .4); }


/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 960px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .str-grid { grid-template-columns: 1fr 1fr; }
  .ct-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-ring { width: 240px; height: 240px; right: 2%; }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hdr-inner { padding: 0 20px; height: 60px; }
  .nav { display: none; }
  .burger { display: flex; }
  .hero-inner { padding: 130px 0 100px; }
  .hero-h { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-ring, .hero-diamond { display: none; }
  .sec-biz, .sec-str, .sec-co, .sec-ct { padding: 80px 0; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-c { padding: 36px 24px; }
  .str-grid { grid-template-columns: 1fr; gap: 14px; }
  .co-r { grid-template-columns: 108px 1fr; }
  .co-r dt, .co-r dd { padding: 16px 0; font-size: .82rem; }
  .ftr-inner { flex-direction: column; gap: 10px; text-align: center; }
}
