/* ---------------------------------------------
   Gohan Izakaya — tokens
--------------------------------------------- */
:root {
  --brown-950: #1c140d;
  --brown-900: #241a11;
  --brown-800: #2f2318;
  --navy-700: #1f3049;
  --navy-500: #3c5b80;
  --navy-300: #7f9dbd;
  --cream-100: #f2ead9;
  --cream-300: #d9cdb6;
  --tan-400: #b3a184;
  --line: rgba(242, 234, 217, 0.14);
  --line-soft: rgba(242, 234, 217, 0.07);

  --font-display: "Shippori Mincho", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1040px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brown-950);
  color: var(--cream-100);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream-100);
  margin: 0;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* subtle film-grain texture over the whole page */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  position: relative;
  z-index: 2;
  padding: 28px 0;
}

.header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-jp {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy-300);
  letter-spacing: 0.04em;
}

.brand-en {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream-100);
}

.header-note {
  font-size: 13px;
  color: var(--tan-400);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  padding: 96px 0 120px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 14px;
  color: var(--navy-300);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.1;
}

.hero-title-jp {
  font-size: clamp(20px, 3vw, 26px);
  color: var(--cream-300);
  font-weight: 400;
}

.hero-tagline {
  max-width: 560px;
  margin: 34px auto 0;
  font-size: 18px;
  color: var(--cream-300);
  font-weight: 300;
}

.br-desktop { display: inline; }

.hero-link {
  display: inline-block;
  margin-top: 48px;
  font-size: 15px;
  color: var(--navy-300);
  border-bottom: 1px solid var(--navy-500);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: var(--cream-100);
  border-color: var(--cream-100);
}

/* ---------------------------------------------
   About
--------------------------------------------- */
.about {
  position: relative;
  z-index: 2;
  padding: 40px 0 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.35;
  margin-bottom: 24px;
  max-width: 20ch;
}

.about-text p {
  max-width: 52ch;
  color: var(--cream-300);
  font-size: 16px;
  margin-bottom: 18px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-art {
  display: flex;
  justify-content: center;
}

.lantern {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.l-body {
  fill: none;
  stroke: var(--navy-500);
  stroke-width: 1.4;
}

.l-line {
  stroke: var(--navy-500);
  stroke-width: 1.4;
}

.l-line-soft {
  stroke: var(--navy-500);
  stroke-width: 0.8;
  opacity: 0.55;
}

.l-mark {
  fill: var(--navy-300);
  opacity: 0.9;
}

/* ---------------------------------------------
   Divider
--------------------------------------------- */
.divider {
  height: 1px;
  background: var(--line);
  max-width: var(--wrap);
  margin: 0 auto;
}

/* ---------------------------------------------
   Notify / signup
--------------------------------------------- */
.notify {
  position: relative;
  z-index: 2;
  padding: 100px 0 110px;
  text-align: center;
}

.notify-inner {
  max-width: 480px;
}

.notify h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 18px;
}

.notify > .notify-inner > p {
  color: var(--cream-300);
  font-size: 16px;
  margin-bottom: 40px;
}

.signup-form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.signup-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  padding: 12px 8px;
  outline: none;
}

.signup-form input[type="email"]::placeholder {
  color: var(--tan-400);
  opacity: 0.8;
}

.signup-form button {
  background: none;
  border: none;
  color: var(--navy-300);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 12px 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.signup-form button:hover,
.signup-form button:focus-visible {
  color: var(--cream-100);
}

.signup-form input:focus-visible,
.signup-form button:focus-visible {
  outline: 1px solid var(--navy-300);
  outline-offset: 4px;
}

.form-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--tan-400);
}

.form-note.is-success {
  color: var(--navy-300);
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--tan-400);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .brand-en {
  font-size: 16px;
}

.footer-loc {
  color: var(--tan-400);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: left;
  }

  .about-art { order: -1; }

  .lantern { max-width: 150px; }

  .br-desktop { display: none; }

  .signup-form {
    flex-direction: column;
    border-bottom: none;
    gap: 14px;
  }

  .signup-form input[type="email"] {
    border-bottom: 1px solid var(--line);
    padding-left: 0;
  }

  .signup-form button {
    align-self: flex-start;
    padding-left: 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}
