/* ========================================
   数寄屋工務店 - SUKIYA Koumuten
   Japanese Modern Construction Website
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sumi: #1A1A1A;
  --shiro: #FAFAF8;
  --kin: #B8956A;
  --kin-light: #D4B896;
  --kin-dark: #8B7355;
  --gray-100: #F5F3EF;
  --gray-200: #E8E4DC;
  --gray-300: #C8C2B8;
  --gray-400: #8A8580;
  --gray-500: #5A5550;
  --font-serif: 'Shippori Mincho', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--sumi);
  background-color: var(--shiro);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Sample Banner --- */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--sumi);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

.sample-banner a {
  color: var(--kin);
  text-decoration: underline;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  padding: 0 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-mark {
  color: var(--kin);
  transition: color 0.3s ease;
}

.header.scrolled .logo-mark {
  color: var(--kin);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--shiro);
  transition: color 0.4s ease;
}

.header.scrolled .logo-main {
  color: var(--sumi);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gray-300);
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.header.scrolled .logo-sub {
  color: var(--gray-400);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.header.scrolled .nav-desktop a {
  color: var(--gray-500);
}

.header.scrolled .nav-desktop a:hover {
  color: var(--sumi);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--kin);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-desktop a:hover {
  color: white;
}

.nav-cta {
  background: var(--kin) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--kin-dark) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 7px;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--shiro);
  transition: transform 0.4s ease, opacity 0.3s ease, background 0.4s ease;
}

.header.scrolled .hamburger span {
  background: var(--sumi);
}

.hamburger.active span {
  background: var(--shiro) !important;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--sumi);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  text-align: center;
}

.mobile-nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.mobile-nav-logo span {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--shiro);
  letter-spacing: 0.15em;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gray-300);
  padding: 14px 0;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.active .mobile-nav-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-nav-links a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.active .mobile-nav-links a:nth-child(7) { transition-delay: 0.4s; }

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

.mobile-nav-info {
  margin-top: 48px;
}

.mobile-nav-info p {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  line-height: 2;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(26, 26, 26, 0.65) 50%,
    rgba(26, 26, 26, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
  width: 100%;
}

.hero-tagline-vertical {
  font-family: var(--font-serif);
  writing-mode: vertical-rl;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--shiro);
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.hero-text {
  max-width: 500px;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--kin-light);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid var(--kin);
  color: var(--kin);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  transition: background 0.4s ease, color 0.4s ease;
}

.hero-btn:hover {
  background: var(--kin);
  color: white;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--sumi);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--kin);
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--kin);
  margin-left: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* --- Section Header (shared) --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--kin);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sumi);
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--kin);
  margin: 20px auto 0;
}

/* --- Philosophy --- */
.philosophy {
  padding: 120px 0;
  background: var(--shiro);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.philosophy-portrait {
  display: flex;
  justify-content: center;
}

.founder-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.philosophy-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  color: var(--sumi);
}

.philosophy-text p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--gray-500);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.philosophy-sign {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sign-title {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.15em;
}

.sign-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sumi);
  margin-top: 4px;
}

/* --- Craft --- */
.craft {
  padding: 120px 0;
  background: var(--gray-100);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.craft-card {
  background: var(--shiro);
  padding: 48px 32px;
  text-align: center;
  border-radius: 2px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.craft-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.craft-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
}

.craft-icon svg {
  width: 100%;
  height: 100%;
}

.craft-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.craft-subtitle {
  font-size: 11px;
  color: var(--kin);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px !important;
}

.craft-card p {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-500);
  letter-spacing: 0.03em;
}

/* --- Works --- */
.works {
  padding: 120px 0;
  background: var(--shiro);
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.work-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-item:hover .work-image-overlay {
  opacity: 1;
}

.work-image-overlay span {
  color: white;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 8px 20px;
}

.work-cat {
  display: inline-block;
  font-size: 11px;
  color: var(--kin);
  letter-spacing: 0.15em;
  border: 1px solid var(--kin);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.work-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.work-info p {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.work-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.work-specs span {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.work-specs span:not(:last-child)::after {
  content: '|';
  margin-left: 16px;
  color: var(--gray-200);
}

/* --- Process --- */
.process {
  padding: 120px 0;
  background: var(--gray-100);
}

.process-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--shiro);
  border: 1px solid var(--kin);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--kin);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.process-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding-top: 4px;
}

.process-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-500);
}

/* --- Voices --- */
.voices {
  padding: 120px 0;
  background: var(--shiro);
}

.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.voice-card {
  background: var(--gray-100);
  padding: 40px 32px;
  border-radius: 2px;
  border-left: 3px solid var(--kin);
}

.voice-quote {
  margin-bottom: 20px;
}

.voice-quote p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 2.2;
  color: var(--gray-500);
  margin-top: 12px;
}

.voice-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.voice-detail {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

/* --- Company --- */
.company {
  padding: 120px 0;
  background: var(--gray-100);
}

.company-table {
  max-width: 800px;
  margin: 0 auto;
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.company-table th,
.company-table td {
  padding: 18px 16px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  line-height: 1.8;
}

.company-table th {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sumi);
  width: 140px;
  white-space: nowrap;
}

.company-table td {
  color: var(--gray-500);
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--shiro);
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 48px;
}

.contact-intro > p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 28px;
}

.contact-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-phone-label {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}

.contact-phone-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sumi);
}

.contact-phone-hours {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.contact-form {
  background: var(--gray-100);
  padding: 40px 32px;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--sumi);
}

.required {
  font-size: 10px;
  color: white;
  background: var(--kin);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
  font-family: var(--font-sans);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--shiro);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--sumi);
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

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

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238A8580' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--sumi);
  color: white;
  border: none;
  border-radius: 2px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

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

.form-submit:active {
  transform: scale(0.98);
}

/* --- Footer --- */
.footer {
  background: var(--sumi);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--shiro);
  letter-spacing: 0.15em;
}

.footer-addr {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--kin);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.footer-credit a {
  color: var(--kin);
  transition: opacity 0.3s ease;
}

.footer-credit a:hover {
  opacity: 0.7;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Tablet */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .craft-grid .craft-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .voices-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
  }

  .craft-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .craft-grid .craft-card:last-child {
    grid-column: auto;
    max-width: 100%;
    justify-self: auto;
  }

  .work-item {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .work-item-reverse .work-image {
    order: 2;
  }

  .work-item-reverse .work-info {
    order: 1;
  }

  .voices-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .voice-card {
    border-left: none;
    border-top: 3px solid var(--kin);
  }

  .contact-form {
    padding: 56px 48px;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero-content {
    gap: 80px;
  }

  .stat-num {
    font-size: 56px;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .hero-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-top: 120px;
  }

  .hero-tagline-vertical {
    writing-mode: horizontal-tb;
    font-size: 28px;
    letter-spacing: 0.15em;
  }

  .stat-num {
    font-size: 36px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .contact-phone-num {
    font-size: 24px;
  }

  .process-timeline::before {
    left: 24px;
  }

  .process-num {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .process-step {
    gap: 20px;
  }
}
