/*
Theme Name: Aamukahvit
Theme URI: https://aamukahvit.fi
Author: Aamukahvit
Description: Tuoretta pieneräpaahdettua kahvia toimistoihin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aamukahvit
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

/* Variables */

:root {
  --black: #0b0806;
  --black-rgb: 11, 8, 6;
  --tan: #c4a882;
  --white: #fff;
  --space-xl: 100px;
  --space-lg: 80px;
  --space-md: 48px;
  --space-sm: 24px;
  --space-xs: 16px;
}

/* Reset & base */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}

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

.sr-only:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--tan);
  color: var(--black);
  font-weight: 700;
  z-index: 200;
  border-radius: 4px;
  text-decoration: none;
}

.page-content {
  position: relative;
}

/* Shared typography */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.body-text {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.body-text + .body-text {
  margin-top: 14px;
}

/* Navigation */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-lg);
  height: 72px;
  background: rgba(var(--black-rgb), 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-logo {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar-logo a {
  color: inherit;
  text-decoration: none;
}

.topbar-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.topbar-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.topbar-links a:hover {
  color: var(--tan);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(var(--black-rgb), 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--tan);
}

/* Coming soon tooltip */

.topbar-links li {
  position: relative;
}

.coming-soon-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--tan);
  color: var(--black);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(4px);
}

.coming-soon-tip::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--tan);
  border-radius: 1px;
  transform: translateX(-50%) rotate(45deg);
}

.coming-soon-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-coming-soon-tip {
  display: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--tan);
  text-align: center;
  margin-top: -20px;
  margin-bottom: 12px;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -40px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(var(--black-rgb), 0.85) 0%,
    rgba(var(--black-rgb), 0.5) 32%,
    rgba(var(--black-rgb), 0.08) 58%,
    transparent 100%);
}

.hero-fade {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 45vh;
  background: linear-gradient(to top,
    var(--black) 0%,
    rgba(var(--black-rgb), 0.8) 30%,
    rgba(var(--black-rgb), 0.3) 60%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 140px;
  max-width: 700px;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(68px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero-title .outline {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  color: transparent;
  paint-order: stroke fill;
}

.hero-slogan {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 60px;
  padding: 20px 48px;
  cursor: pointer;
  width: fit-content;
  text-decoration: none;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), gap 0.4s ease, padding-right 0.4s ease;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.9s forwards;
}

.hero-cta:hover {
  background: var(--tan);
  gap: 26px;
  padding-right: 56px;
}

.hero-cta-arrow {
  font-size: 18px;
  transition: transform 0.4s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* Intro */

.intro {
  padding: var(--space-xl) var(--space-lg);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 3px;
}

.intro-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.25;
  margin-bottom: 28px;
  font-weight: 400;
}

.intro-heading em {
  font-style: italic;
  color: var(--tan);
}

.intro-body {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  max-width: 500px;
}

.intro-body + .intro-body {
  margin-top: 16px;
}

.intro-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 32px;
}

/* Process */

.process {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.process-header {
  margin-bottom: 60px;
}

.process-subtitle {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  padding: 44px 32px;
  text-align: center;
}

.process-step + .process-step {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.step-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.step-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  max-width: 300px;
  margin: 0 auto;
}

/* Gallery */

.gallery {
  padding: var(--space-xl) var(--space-lg) 120px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: var(--space-md);
}

.gallery-card {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--black-rgb), 0.75) 0%, transparent 50%);
  z-index: 1;
}

.gallery-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-card-name {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

/* CTA */

.cta-band {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.cta-band-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 46px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.cta-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--tan);
  border: none;
  border-radius: 60px;
  padding: 20px 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.4s ease, gap 0.4s ease;
}

.cta-band-btn:hover {
  background: #f2ebe3;
  gap: 24px;
}

/* Footer */

.footer {
  padding: 32px var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-left {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: var(--white);
}

/* Subpages (shared) */

.subpage-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(50px) brightness(0.15) saturate(0.8);
  transform: scale(1.15);
}

.subpage-hero {
  padding: 140px var(--space-lg) var(--space-md);
  text-align: center;
}

.subpage-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 8vw, 100px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.subpage-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto;
}

/* About page */

.about-content {
  padding: 60px var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.story-block {
  margin-bottom: 40px;
}

.story-block:last-child {
  margin-bottom: 0;
}

.story-year {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
  opacity: 0.7;
  margin-bottom: 10px;
}

.story-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  margin-bottom: 12px;
}

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

.about-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.about-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.about-enter-delay {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

/* Contact page */

.contact-section {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-md);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-group {
  margin-bottom: var(--space-sm);
}

.contact-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--tan);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 60px;
  padding: 16px 40px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.4s ease;
}

.form-submit:hover {
  background: var(--tan);
}

/* Contact Form 7 overrides */

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--white);
  width: 100%;
  transition: border-color 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--tan);
  outline: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 60px;
  padding: 16px 40px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.4s ease;
  margin-top: 8px;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--tan);
}

.wpcf7-response-output {
  border: none !important;
  padding: 14px 18px !important;
  margin: 16px 0 0 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  border-radius: 6px;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(196, 168, 130, 0.15);
  color: var(--tan);
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(255, 80, 80, 0.12);
  color: #ff6b6b;
}

.wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

.wpcf7 .honeypot-field {
  display: none !important;
}

/* Keyframes */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */

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

  .hero-tag,
  .hero-title,
  .hero-slogan,
  .hero-cta,
  .about-enter,
  .about-enter-delay {
    opacity: 1;
    transform: none;
  }
}

/* Tablet (1024px) */

@media (max-width: 1024px) {
  .topbar { padding: 0 40px; }
  .hero-content { padding: 0 0 0 var(--space-lg); }
  .intro { padding: var(--space-lg) 40px; grid-template-columns: 320px 1fr; gap: var(--space-md); }
  .intro-img { height: 400px; }
  .process { padding: var(--space-lg) 40px; }
  .gallery { padding: var(--space-lg) 40px var(--space-xl); }
  .cta-band { padding: 64px 40px; }
  .footer { padding: 28px 40px; }
  .subpage-hero { padding: 140px 40px 60px; }
  .about-content { padding: var(--space-md) 40px; gap: var(--space-md); }
  .contact-section { padding: 40px 40px 64px; }
  .contact-grid { gap: 40px; grid-template-columns: 280px 1fr; }
}

/* Small tablet (900px) */

@media (max-width: 900px) {
  .topbar { padding: 0 var(--space-sm); height: 60px; }
  .topbar-links { display: none; }
  .hamburger { display: block; }

  .hero { text-align: center; }
  .hero-content { padding: 0 var(--space-sm); max-width: 100%; align-items: center; }
  .hero-slogan { max-width: 360px; text-align: center; }
  .hero-title { font-size: clamp(48px, 13vw, 90px); }
  .hero-bg::after {
    background: radial-gradient(ellipse at center,
      rgba(var(--black-rgb), 0.5) 0%,
      rgba(var(--black-rgb), 0.8) 70%,
      rgba(var(--black-rgb), 0.92) 100%);
  }

  .intro { grid-template-columns: 1fr; padding: 64px var(--space-sm); gap: 32px; }
  .intro-img { height: 300px; }

  .process { padding: 64px var(--space-sm); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step + .process-step { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.06); }

  .gallery { padding: 64px var(--space-sm) var(--space-lg); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .cta-band { padding: var(--space-md) var(--space-sm); }
  .cta-band-text { font-size: clamp(22px, 5.5vw, 32px); }

  .footer { padding: var(--space-sm); flex-direction: column; gap: 12px; text-align: center; }

  .subpage-hero { padding: 110px var(--space-sm) var(--space-md); }
  .subpage-sub { font-size: 18px; }

  .about-content { grid-template-columns: 1fr; padding: 40px var(--space-sm); gap: 36px; }
  .about-photo { max-width: 100%; aspect-ratio: 16/9; }

  .contact-section { padding: 36px var(--space-sm) var(--space-md); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Phone (480px) */

@media (max-width: 480px) {
  .topbar { padding: 0 var(--space-xs); height: 56px; }
  .topbar-logo { font-size: 20px; }

  .hero-content { padding: 0 20px; }
  .hero-tag { font-size: 9px; margin-bottom: var(--space-xs); }
  .hero-title { font-size: clamp(42px, 14vw, 68px); margin-bottom: 20px; }
  .hero-slogan { font-size: 18px; max-width: 300px; margin-bottom: 32px; }
  .hero-cta { padding: 16px 36px; font-size: 13px; }
  .hero-bg::after {
    background: radial-gradient(ellipse at center,
      rgba(var(--black-rgb), 0.45) 0%,
      rgba(var(--black-rgb), 0.8) 60%,
      rgba(var(--black-rgb), 0.95) 100%);
  }

  .intro { padding: var(--space-md) var(--space-xs); gap: var(--space-sm); }
  .intro-img { height: 240px; }
  .intro-heading { font-size: clamp(22px, 5.5vw, 28px); }
  .intro-body { font-size: 15px; }

  .process { padding: var(--space-md) var(--space-xs); }
  .process-header { margin-bottom: 40px; }
  .process-step { padding: 28px var(--space-xs); }

  .gallery { padding: var(--space-md) var(--space-xs) 64px; }
  .gallery-grid { gap: 8px; }
  .gallery-card-name { font-size: 14px; bottom: 14px; }

  .cta-band { padding: 36px var(--space-xs); gap: var(--space-sm); }
  .cta-band-btn { padding: 16px 36px; font-size: 12px; }

  .footer { padding: 20px var(--space-xs); }

  .subpage-hero { padding: 96px var(--space-xs) 40px; }

  .about-content { padding: 32px var(--space-xs); gap: 28px; }
  .story-heading { font-size: clamp(18px, 5vw, 24px); }

  .contact-section { padding: 28px var(--space-xs) 40px; }
  .contact-grid { gap: var(--space-sm); }
  .form-input, .form-textarea { padding: 12px 14px; font-size: 14px; }
}
