/*
Theme Name: future Astra Child
Theme URI: https://example.com/future-demo
Description: Portfolio demo child theme for future, a fictional 30s-focused machicon and marriage party service.
Author: Codex
Template: astra
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: future-astra-child
*/

:root {
  --future-base: #f7f5f0;
  --future-navy: #2c3e50;
  --future-pink: #d4a59a;
  --future-green: #7a8b6f;
  --future-ink: #2c2c2c;
  --future-paper: #fffdf8;
  --future-line: rgba(44, 62, 80, 0.14);
  --future-muted: #6b6760;
  --future-shadow: 0 18px 45px rgba(44, 62, 80, 0.12);
  --future-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --future-sans: "Noto Sans JP", system-ui, sans-serif;
  --future-latin: "Cormorant Garamond", "Playfair Display", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--future-base);
  color: var(--future-ink);
  font-family: var(--future-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

body.future-demo-page,
.future-site {
  background:
    radial-gradient(circle at 92% 3%, rgba(212, 165, 154, 0.2), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, var(--future-base) 42%, #f1efe8 100%);
}

a {
  color: var(--future-navy);
}

a:hover {
  color: #1f2d3b;
}

.future-site *,
.future-site *::before,
.future-site *::after {
  box-sizing: border-box;
}

.future-site img {
  display: block;
  max-width: 100%;
}

.future-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.future-section {
  padding: clamp(72px, 8vw, 124px) 0;
}

.future-section--soft {
  background: rgba(255, 253, 248, 0.66);
  border-top: 1px solid var(--future-line);
  border-bottom: 1px solid var(--future-line);
}

.future-section__header {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.future-eyebrow {
  color: var(--future-green);
  font-family: var(--future-latin);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.future-title {
  color: var(--future-navy);
  font-family: var(--future-serif);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}

.future-title,
.future-hero h1,
.future-card h3,
.future-card h2,
.future-step h3,
.future-faq summary,
.future-button,
.future-site .wpcf7-submit {
  line-break: strict;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}

.future-line-chunk {
  display: inline-block;
}

.future-hero .future-line-chunk {
  overflow-wrap: normal;
  word-break: keep-all;
}

.future-title--sm {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.future-lead {
  color: var(--future-muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 2;
  margin: 0;
}

.future-button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.future-button,
.future-site .wpcf7-submit {
  align-items: center;
  appearance: none;
  background: var(--future-navy);
  border: 1px solid var(--future-navy);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--future-sans);
  font-size: 0.95rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.3;
  min-height: 48px;
  padding: 13px 24px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.future-button:hover,
.future-site .wpcf7-submit:hover {
  background: #223242;
  border-color: #223242;
  color: #fff;
  box-shadow: 0 12px 25px rgba(44, 62, 80, 0.18);
  transform: translateY(-2px);
}

.future-button--subtle {
  background: rgba(255, 253, 248, 0.88);
  border-color: rgba(44, 62, 80, 0.22);
  color: var(--future-navy);
}

.future-button--subtle:hover {
  background: var(--future-pink);
  border-color: var(--future-pink);
  color: var(--future-navy);
}

.future-hero {
  isolation: isolate;
  min-height: min(760px, 92vh);
  overflow: hidden;
  padding: 28px 0 70px;
  position: relative;
}

.future-hero::before {
  animation: futureMorning 14s ease-in-out infinite alternate;
  background:
    linear-gradient(108deg, rgba(247, 245, 240, 0.95) 0%, rgba(247, 245, 240, 0.84) 39%, rgba(247, 245, 240, 0.24) 70%),
    var(--future-hero-image, linear-gradient(120deg, #f7f5f0, #d4a59a));
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
  transform: scale(1.02);
  z-index: -2;
}

.future-hero::after {
  animation: futureLight 8s ease-in-out infinite alternate;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 17%, rgba(255, 247, 220, 0.42) 45%, rgba(255, 255, 255, 0) 70%);
  content: "";
  inset: -25% -40%;
  position: absolute;
  transform: translateX(-8%);
  z-index: -1;
}

.future-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: clamp(70px, 12vw, 148px);
}

.future-logo {
  color: var(--future-navy);
  display: inline-flex;
  flex-direction: column;
  font-family: var(--future-latin);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.88;
  text-decoration: none;
}

.future-logo span {
  color: var(--future-green);
  font-family: var(--future-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-transform: uppercase;
}

.future-nav__links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2.2vw, 28px);
}

.future-nav__links a {
  color: var(--future-navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.future-nav__links a:hover {
  color: #111b25;
}

.future-hero__content {
  display: grid;
  gap: 28px;
  max-width: 760px;
}

.future-hero__tag {
  color: var(--future-green);
  font-weight: 700;
  line-height: 1.4;
}

.future-hero h1 {
  color: var(--future-navy);
  font-family: var(--future-serif);
  font-size: clamp(2.7rem, 6.2vw, 5.45rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.24;
  margin: 0;
  max-width: 11.5em;
}

.future-hero__copy {
  color: #45413d;
  font-family: var(--future-serif);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 2;
  margin: 0;
  max-width: 620px;
}

.future-hero__note {
  align-items: center;
  color: var(--future-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 10px 18px;
  margin-top: 8px;
}

.future-hero__note span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.future-hero__note span::before {
  background: var(--future-pink);
  border-radius: 999px;
  content: "";
  height: 7px;
  width: 7px;
}

.future-grid {
  display: grid;
  gap: 24px;
}

.future-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.future-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.future-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--future-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.07);
  padding: clamp(24px, 3vw, 34px);
}

.future-checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.future-checklist li {
  align-items: flex-start;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(122, 139, 111, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 28px 1fr;
  list-style: none;
  padding: 18px 20px;
}

.future-checklist li::before {
  align-items: center;
  background: rgba(122, 139, 111, 0.18);
  border-radius: 999px;
  color: var(--future-green);
  content: "✓";
  display: inline-flex;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  margin-top: 2px;
  width: 28px;
}

.future-feature {
  display: grid;
  gap: 18px;
}

.future-feature__icon {
  align-items: center;
  background: rgba(212, 165, 154, 0.19);
  border-radius: 999px;
  color: var(--future-navy);
  display: inline-flex;
  font-family: var(--future-serif);
  font-size: 1.4rem;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.future-card h3,
.future-card h2,
.future-step h3 {
  color: var(--future-navy);
  font-family: var(--future-serif);
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 10px;
}

.future-card p,
.future-step p {
  color: var(--future-muted);
  margin: 0;
}

.future-steps {
  counter-reset: future-step;
  display: grid;
  gap: 18px;
}

.future-step {
  align-items: start;
  background: rgba(255, 253, 248, 0.76);
  border-bottom: 1px solid var(--future-line);
  display: grid;
  gap: 22px;
  grid-template-columns: 70px 1fr;
  padding: 24px 0;
}

.future-step::before {
  color: var(--future-pink);
  content: counter(future-step, decimal-leading-zero);
  counter-increment: future-step;
  font-family: var(--future-latin);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}

.future-event-card {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.future-event-card__image {
  aspect-ratio: 1.45 / 1;
  background-position: center;
  background-size: cover;
}

.future-event-card__body {
  display: grid;
  gap: 14px;
  padding: 0 24px 26px;
}

.future-event-card__meta {
  color: var(--future-green);
  font-weight: 700;
}

.future-event-card__details {
  color: var(--future-muted);
  display: grid;
  font-size: 0.94rem;
  gap: 5px;
}

.future-status {
  align-items: center;
  background: rgba(122, 139, 111, 0.14);
  border-radius: 999px;
  color: var(--future-navy);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  justify-self: start;
  line-height: 1;
  padding: 8px 12px;
}

.future-voice {
  display: grid;
  gap: 20px;
}

.future-voice__person {
  align-items: center;
  display: flex;
  gap: 14px;
}

.future-voice__person img {
  border-radius: 999px;
  height: 62px;
  object-fit: cover;
  width: 62px;
}

.future-voice blockquote {
  border-left: 3px solid var(--future-pink);
  color: #4d4943;
  font-family: var(--future-serif);
  font-size: 1.06rem;
  line-height: 1.9;
  margin: 0;
  padding: 0 0 0 18px;
}

.future-message {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 62px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.future-message__image {
  aspect-ratio: 0.86 / 1;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--future-shadow);
}

.future-pricing {
  align-items: stretch;
}

.future-price {
  display: grid;
  gap: 18px;
  position: relative;
}

.future-price__tag {
  background: rgba(212, 165, 154, 0.22);
  border-radius: 999px;
  color: var(--future-navy);
  font-size: 0.82rem;
  font-weight: 700;
  justify-self: start;
  padding: 7px 12px;
}

.future-price__amount {
  color: var(--future-navy);
  font-family: var(--future-latin);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.future-price__amount small {
  font-family: var(--future-sans);
  font-size: 0.9rem;
}

.future-price ul {
  color: var(--future-muted);
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.future-faq {
  display: grid;
  gap: 12px;
}

.future-faq details {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--future-line);
  border-radius: 8px;
  padding: 0;
}

.future-faq summary {
  color: var(--future-navy);
  cursor: pointer;
  font-family: var(--future-serif);
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  padding: 20px 24px;
}

.future-faq summary::-webkit-details-marker {
  display: none;
}

.future-faq details p {
  color: var(--future-muted);
  margin: 0;
  padding: 0 24px 22px;
}

.future-contact {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.future-form {
  background: var(--future-paper);
  border: 1px solid var(--future-line);
  border-radius: 8px;
  box-shadow: var(--future-shadow);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}

.future-form label,
.future-site .wpcf7 label {
  color: var(--future-navy);
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.future-form input,
.future-form select,
.future-form textarea,
.future-site .wpcf7 input,
.future-site .wpcf7 select,
.future-site .wpcf7 textarea {
  background: #fff;
  border: 1px solid rgba(44, 62, 80, 0.19);
  border-radius: 6px;
  color: var(--future-ink);
  font: inherit;
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

.future-form textarea,
.future-site .wpcf7 textarea {
  min-height: 132px;
  resize: vertical;
}

.future-note {
  color: var(--future-muted);
  font-size: 0.86rem;
}

.future-footer {
  background: var(--future-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0;
}

.future-footer a {
  color: #fff;
}

.future-footer__inner {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.future-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-end;
}

.future-footer__small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  margin-top: 12px;
}

.future-subpage-hero {
  background:
    linear-gradient(110deg, rgba(247, 245, 240, 0.96), rgba(247, 245, 240, 0.73)),
    var(--future-subpage-image, linear-gradient(120deg, #f7f5f0, #d4a59a));
  background-position: center;
  background-size: cover;
  padding: clamp(78px, 12vw, 148px) 0 clamp(56px, 8vw, 88px);
}

.future-page-body {
  padding: clamp(60px, 8vw, 104px) 0;
}

.future-legal {
  background: var(--future-paper);
  border: 1px solid var(--future-line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.future-legal h2 {
  color: var(--future-navy);
  font-family: var(--future-serif);
  margin-top: 1.8em;
}

.future-legal h2:first-child {
  margin-top: 0;
}

.future-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.future-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes futureMorning {
  from {
    background-position: center center;
  }
  to {
    background-position: center 43%;
  }
}

@keyframes futureLight {
  from {
    opacity: 0.42;
    transform: translateX(-11%);
  }
  to {
    opacity: 0.78;
    transform: translateX(6%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .future-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .future-grid--3,
  .future-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-message,
  .future-contact {
    grid-template-columns: 1fr;
  }

  .future-message__image {
    aspect-ratio: 1.25 / 1;
  }

  .future-nav__links {
    display: none;
  }
}

@media (max-width: 680px) {
  .future-container {
    width: min(100% - 28px, 1120px);
  }

  .future-hero {
    min-height: auto;
    padding-bottom: 52px;
  }

  .future-hero::before {
    background:
      linear-gradient(180deg, rgba(247, 245, 240, 0.94) 0%, rgba(247, 245, 240, 0.88) 52%, rgba(247, 245, 240, 0.5) 100%),
      var(--future-hero-image, linear-gradient(120deg, #f7f5f0, #d4a59a));
    background-position: center;
    background-size: cover;
  }

  .future-nav {
    margin-bottom: 54px;
  }

  .future-button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .future-button,
  .future-site .wpcf7-submit {
    width: 100%;
  }

  .future-grid--2,
  .future-grid--3,
  .future-grid--4 {
    grid-template-columns: 1fr;
  }

  .future-step {
    grid-template-columns: 1fr;
  }

  .future-footer__inner {
    display: grid;
  }

  .future-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .future-hero h1 {
    font-size: clamp(2.15rem, 9.7vw, 2.58rem);
    line-height: 1.3;
    max-width: 9.4em;
  }

  .future-hero__copy {
    font-size: 1rem;
    line-height: 1.9;
  }
}
