/* Glenferrie Traders Association — temporary site
   Design system: Concept C "Market Poster" (Prahran signage language,
   Concept A palette: brand red on cream paper). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ABC Dinamo TRIAL fonts — self-hosted variable woff2 (local preview only,
   NOT licensed for public deployment; buy retail before going live). */
@font-face {
  font-family: 'ABC Oracle';
  src: url('assets/fonts/abc-oracle-var.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Publisher Rounded Sans';
  src: url('assets/fonts/abc-publisher-rounded-sans-var.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Publisher Rounded Sans';
  src: url('assets/fonts/abc-publisher-rounded-sans-italic-var.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  --cobalt: #1F6B3A;      /* primary green accent (Concept C "Market Green") */
  --black: #000000;
  --white: #FFFFFF;
  --paper: #F5F0E8;
  --red: #17512B;         /* deeper green for hover pops */
  --focus: #E9A13B;       /* marigold — focus ring + hero accents on the video */
  --logo: 'ABC Oracle', 'Arial Narrow', system-ui, sans-serif;
  --heading: 'ABC Oracle', 'Arial Narrow', system-ui, sans-serif;
  --body: 'ABC Publisher Rounded Sans', system-ui, sans-serif;
  --gutter: 24px;
  --max-w: 1280px;
}

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--black);
  line-height: 1.6;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; font-size: inherit; border-radius: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Flat rectangular button */
.block-btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.15s;
}
.block-btn:hover { background: var(--cobalt); }
.block-btn--ghost {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}
.block-btn--ghost:hover { background: var(--black); color: var(--white); }
/* variants for dark grounds (video hero) */
.block-btn--on-dark { background: var(--white); color: var(--black); }
.block-btn--on-dark:hover { background: var(--cobalt); color: var(--white); }
.block-btn--ghost-dark {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.block-btn--ghost-dark:hover { background: var(--white); color: var(--black); }

/* ── Header ────────────────────────────────────────── */
.site-header { background: var(--paper); padding: 22px 0; border-bottom: 1px solid var(--black); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
/* Wordmark as the brand mark — ABC Oracle, larger and spaced apart from the
   body copy (placeholder until the TA team supplies a real logo). */
.wordmark {
  font-family: var(--logo);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
/* Lockup text beside the heart mark */
.wm-text { display: flex; flex-direction: column; gap: 0.32rem; }
.wm-name { font-size: 1.32rem; line-height: 1; }
.wm-tag {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.wordmark .wm-sub {
  font-weight: 500;
  font-style: italic;
  font-size: 0.92em;
  color: var(--cobalt);
}
.wordmark img { display: block; height: 60px; width: auto; }
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--black); }

/* Transparent header laid over the video hero */
.site-header--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.site-header--overlay .wordmark { color: var(--white); }
.site-header--overlay .wordmark .wm-sub { color: var(--focus); }
.site-header--overlay .wm-tag { color: var(--focus); }
.site-header--overlay .site-nav a:hover { border-bottom-color: var(--white); }

/* ── Full-screen video hero ────────────────────────── */
.video-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* dark wash so the copy pops: extra weight on the left (text side) + top/bottom */
  background:
    linear-gradient(90deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.27) 52%, rgba(0,0,0,0.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.27) 0%, rgba(0,0,0,0.23) 45%, rgba(0,0,0,0.42) 100%);
}
.video-hero .wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 72px;
}
.video-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  max-width: 15ch;
  margin-bottom: 20px;
}
.video-hero h1 .accent { color: var(--focus); }
.hero-lede {
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Rebuild notice — poster stamp card ────────────── */
.notice { background: var(--paper); padding: clamp(44px, 6vw, 72px) 0; }
.notice-card {
  border: 1px solid var(--black);
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 4vw, 52px) clamp(28px, 4vw, 56px);
}
.notice-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}
.notice h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
  margin-bottom: 14px;
}
.notice-body p {
  font-size: 0.98rem;
  max-width: 560px;
  margin-bottom: 22px;
}
.notice-form { display: flex; max-width: 440px; }
.notice-form input {
  flex: 1;
  min-width: 0;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 13px 15px;
  font-size: 0.9rem;
}
.notice-form input::placeholder { color: #666; }
.notice-form button {
  background: var(--cobalt);
  color: var(--white);
  border: 1px solid var(--cobalt);
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.notice-form button:hover { background: var(--black); border-color: var(--black); }
.notice .form-status { margin-top: 12px; }
/* rubber-stamp badge */
.notice-stamp {
  flex: none;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 2px solid var(--cobalt);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 7px var(--cobalt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--cobalt);
  font-family: var(--heading);
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-8deg);
}
.stamp-top { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; }
.stamp-big { font-size: 1.95rem; font-weight: 600; letter-spacing: 0.03em; line-height: 0.95; }
.stamp-year { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.2em; }

/* ── Trio CTA panels ───────────────────────────────── */
.trio {
  background: var(--white);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trio a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 210px;
  padding: 40px 32px 32px;
  transition: background 0.15s, color 0.15s;
}
.trio a + a { border-left: 1px solid var(--black); }
.trio-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.trio-title {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.trio-sub { font-size: 0.82rem; opacity: 0.7; }
.trio-arrow {
  margin-top: auto;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.15s;
}
.trio a:hover { background: var(--black); color: var(--white); }
.trio a:hover .trio-num { color: var(--focus); }
.trio a:hover .trio-arrow { transform: translateX(8px); }

/* ── 50/50 split (About) ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
}
.split-text--cobalt { background: var(--cobalt); color: var(--white); }
.split-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 20px; }
.split-text p { font-size: 0.94rem; max-width: 460px; margin-bottom: 16px; }
.split-text .block-btn { align-self: flex-start; margin-top: 14px; background: var(--black); }
.split-text .block-btn:hover { background: var(--white); color: var(--black); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact section ───────────────────────────────── */
.contact { padding: 72px 0 84px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.contact-intro p { font-size: 0.94rem; max-width: 420px; margin-bottom: 14px; }
.contact-form {
  border: 1px solid var(--black);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 18px;
  background: var(--paper);
}
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 12px 14px;
  font-size: 0.92rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-status {
  font-size: 0.84rem;
  font-weight: 600;
  display: none;
}
.form-status.ok { display: block; color: var(--cobalt); }
.form-status.err { display: block; color: var(--red); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Adaptive "become a member" fields — revealed when that enquiry type is chosen */
.member-fields { display: grid; gap: 18px; }
.member-fields[hidden] { display: none; }
.member-fields .member-note {
  font-size: 0.8rem;
  opacity: 0.7;
  border-left: 2px solid var(--cobalt);
  padding-left: 12px;
}

/* ── Festival carousel ─────────────────────────────── */
.carousel { background: var(--paper); padding: 64px 0 72px; border-top: 1px solid var(--black); }
.carousel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--black);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.carousel-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.carousel-note {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.carousel-viewport { position: relative; }
.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 min(76%, 780px);
  scroll-snap-align: start;
  border: 1px solid var(--black);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.carousel-btn:hover { background: var(--cobalt); color: var(--white); border-color: var(--cobalt); }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--black);
  transition: background 0.15s, border-color 0.15s;
}
.carousel-dots button[aria-current="true"] { background: var(--cobalt); border-color: var(--cobalt); }

/* ── Directory page ────────────────────────────────── */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--black); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.page-head .directory-note {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}
.page-head p.lede { font-size: 0.96rem; max-width: 620px; }
.dir-tools {
  margin-top: 28px;
  display: flex;
  gap: 12px 10px;
  flex-wrap: wrap;
  align-items: center;
}
.dir-filter {
  border: 1px solid var(--black);
  background: var(--white);
  padding: 11px 14px;
  font-size: 0.9rem;
  min-width: min(300px, 100%);
}
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pills a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 7px 13px;
  transition: background 0.15s, color 0.15s;
}
.cat-pills a:hover { background: var(--black); color: var(--white); }

.dir-section { padding: 48px 0 8px; }
.dir-section:last-of-type { padding-bottom: 64px; }
.dir-section h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  border-bottom: 1px solid var(--black);
  padding-bottom: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.dir-count {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cobalt);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.t-card {
  border: 1px solid var(--black);
  padding: 18px 18px 16px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  transition: background 0.15s, color 0.15s;
}
.t-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-logo {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--black);
  padding: 3px;
}
.t-name {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.t-meta { font-size: 0.76rem; opacity: 0.75; line-height: 1.45; }
.t-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}
a.t-card:hover { background: var(--black); color: var(--white); }
a.t-card:hover .t-link { color: var(--focus); }
.dir-empty { display: none; padding: 40px 0 8px; font-size: 0.94rem; }

/* ── Footer ────────────────────────────────────────── */
.footer { background: var(--cobalt); color: var(--white); padding: 56px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { border-bottom-color: var(--white); }
.footer-socials { display: flex; gap: 14px; margin-top: 22px; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.footer-socials a:hover { background: var(--white); color: var(--cobalt); }
.footer-socials svg { width: 16px; height: 16px; }
.footer h2 { font-size: 1.1rem; margin-bottom: 16px; }
.footer-open {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
}
.newsletter-form { display: flex; max-width: 440px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--white);
  color: var(--black);
  padding: 13px 16px;
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: #666; }
.newsletter-form button {
  background: var(--black);
  color: var(--white);
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 26px;
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--red); }
.footer .form-status.ok { color: var(--focus); }
.footer .form-status.err { color: var(--white); }
.footer .form-status { margin-top: 10px; }
.footer-acknowledgement {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.25);
  max-width: 780px;
}
.footer-acknowledgement .ack-eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--focus);
  margin-bottom: 12px;
}
.footer-acknowledgement p:not(.ack-eyebrow) {
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}
.footer-fineprint {
  margin-top: 40px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-fineprint a {
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.footer-fineprint a:hover { border-bottom-color: var(--white); }

/* ── Giant wordmark ────────────────────────────────── */
.giant {
  background: var(--paper);
  padding: clamp(24px, 4vw, 56px) 0;
  overflow: hidden;
}
.giant-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 8.4vw;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--black);
  white-space: nowrap;
}
.giant-mark .accent { color: var(--cobalt); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 960px) {
  /* stacked CTAs read as distinct tappable cards — no hover on touch, so the
     green accent bar + persistent arrow + :active feedback carry the affordance */
  .trio {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px var(--gutter);
    background: var(--paper);
    border-top: none;
    border-bottom: none;
  }
  .trio a {
    position: relative;
    min-height: 0;
    padding: 20px 54px 20px 20px;
    border: 1px solid var(--black);
    border-left: 4px solid var(--cobalt);
  }
  .trio a + a { border-left: 4px solid var(--cobalt); }
  .trio-arrow {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
    color: var(--cobalt);
    font-size: 1.7rem;
  }
  .trio a:active { background: var(--black); color: var(--white); }
  .trio a:active .trio-num,
  .trio a:active .trio-arrow { color: var(--focus); }
  .split { grid-template-columns: 1fr; }
  .split-photo { order: -1; }
  .split-photo img { aspect-ratio: 16/10; height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-slide { flex-basis: min(88%, 620px); }
}
@media (max-width: 760px) {
  .notice-card { grid-template-columns: 1fr; text-align: center; }
  .notice-body p { margin-left: auto; margin-right: auto; }
  .notice-form { margin-left: auto; margin-right: auto; }
  .notice-stamp { order: -1; margin: 0 auto 6px; width: 138px; height: 138px; }
  .stamp-big { font-size: 1.55rem; }
}
@media (max-width: 620px) {
  .site-header .wrap { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form, .notice-form { flex-direction: column; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .carousel-slide { flex-basis: 90%; }
  .carousel-btn { width: 42px; height: 42px; font-size: 1.2rem; }
  .carousel-btn--prev { left: 6px; }
  .carousel-btn--next { right: 6px; }
}
@media (max-width: 440px) {
  .t-grid { grid-template-columns: 1fr; }
}

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