/* ================================================================
   ユアサ建設株式会社 — style.css
   ================================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', serif;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.75; }

ul,
ol { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}

address { font-style: normal; }

/* ---- Design Tokens ------------------------------------------- */
:root {
  /* Colors */
  --clr-bg:           #F0EBE1;
  --clr-bg-card:      #F5F0E8;
  --clr-dark-green:   #2B3D28;
  --clr-dark-brown:   #1A1208;
  --clr-text:         #2C2417;
  --clr-muted:        #8B806E;
  --clr-accent:       #3D5A3A;
  --clr-line:         rgba(44, 36, 23, 0.14);
  --clr-cream:        #FAF8F4;
  --clr-hero-gold:    #C9A96E;

  /* Spacing */
  --px:               24px;
  --section-gap:      100px;
  --header-h:         72px;

  /* Max widths */
  --max-w:            900px;
  --max-w-wide:       1100px;
}

/* ================================================================
   TYPOGRAPHY HELPERS
================================================================ */

.logo-jp {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: clamp(1.25rem, 6vw, 1.85rem);
  color: var(--clr-text);
  display: block;
}

.logo-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.35em;
  font-size: 0.55rem;
  color: var(--clr-muted);
  margin-top: 3px;
}

/* Section label row */
.label-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clr-accent);
  flex-shrink: 0;
}

.label-line.light { background: rgba(250, 248, 244, 0.45); }

.label-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--clr-muted);
}

.label-en.light { color: rgba(250, 248, 244, 0.5); }

/* Section headings */
.section-title {
  font-weight: 400;
  letter-spacing: 0.2em;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--clr-text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-title.light { color: var(--clr-cream); }

.section-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--clr-muted);
  line-height: 1.6;
}

.section-sub.light { color: rgba(250, 248, 244, 0.6); }

/* Section head block */
.section-head {
  padding: 0 var(--px);
  margin-bottom: 56px;
}

/* ================================================================
   SCROLL ANIMATIONS
================================================================ */

.js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.js-fade-light {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-fade-light.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.services .service-item:nth-child(2),
.features .feature-item:nth-child(2) {
  transition-delay: 0.1s;
}

.services .service-item:nth-child(3),
.features .feature-item:nth-child(3) {
  transition-delay: 0.2s;
}

/* ================================================================
   HEADER
================================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--clr-bg);
  transition: box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(44, 36, 23, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
  padding: 0 var(--px);
  position: relative;
  z-index: 1010;
}

.site-logo {
  display: block;
}

/* ---- Hamburger ---------------------------------------------- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  position: absolute;
  right: var(--px);
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--clr-text);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  transform-origin: center center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Nav drawer --------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 82vw);
  height: 100%;
  height: 100dvh;
  background: var(--clr-bg);
  padding: calc(var(--header-h) + 48px) 40px 48px;
  border-left: 1px solid var(--clr-line);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--clr-text);
  position: relative;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width 0.3s ease;
}

.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.nav-contact {
  border-top: 1px solid var(--clr-line);
  padding-top: 28px;
}

.nav-tel a {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--clr-text);
}

.nav-hours {
  font-size: 0.72rem;
  color: var(--clr-muted);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 23, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 1040;
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ================================================================
   HERO
================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 25%, rgba(185, 145, 78, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(194, 168, 118, 0.18) 0%, transparent 50%),
    linear-gradient(150deg, var(--clr-bg) 40%, #C8A66B 130%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + 64px) var(--px) 100px;
}

.hero-catch {
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--clr-text);
  margin-bottom: 48px;
}

.catch-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.catch-line:nth-child(1) { animation-delay: 0.3s; }
.catch-line:nth-child(2) { animation-delay: 0.55s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  border-left: 2px solid rgba(139, 128, 110, 0.5);
  padding-left: 22px;
  opacity: 0;
  animation: heroFadeIn 0.9s 0.85s forwards;
}

.hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  letter-spacing: 0.04em;
  line-height: 2;
  color: var(--clr-muted);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeIn 0.9s 1.2s forwards;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--clr-muted) 60%, transparent);
  animation: scrollPulse 2.2s ease-in-out 1.5s infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ================================================================
   SERVICE STRIP
================================================================ */

.service-strip {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-line);
  border-bottom: 1px solid var(--clr-line);
}

.service-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px var(--px);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--clr-muted);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.service-strip-inner::-webkit-scrollbar { display: none; }

.strip-sep { opacity: 0.35; }

/* ================================================================
   SECTION: 事業内容
================================================================ */

.section-construction {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
}

.section-construction .section-head {
  margin-bottom: 0px;
}

.services {
  margin-top: -60px;
}

.service-item {
  padding: 0 var(--px);
}

.service-body {
  padding: 44px 0 40px;
}

.service-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 0.85;
  color: rgba(201, 169, 110, 0.52);
  margin-bottom: 12px;
  user-select: none;
}

.services .service-item:nth-child(1) .service-num {
  color: rgba(61, 90, 58, 0.55);
}

.service-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.service-dash {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--clr-accent);
  flex-shrink: 0;
}

.service-tag-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--clr-muted);
}

.service-name {
  font-weight: 400;
  font-size: clamp(1.3rem, 4.5vw, 1.75rem);
  letter-spacing: 0.15em;
  line-height: 1.55;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.service-desc {
  background: rgba(44, 36, 23, 0.03);
  border: 1px solid var(--clr-line);
  border-radius: 1px;
  padding: 22px 20px;
}

.service-desc p {
  font-size: 0.83rem;
  line-height: 1.95;
  color: var(--clr-muted);
}

.service-rule {
  height: 1px;
  background: var(--clr-line);
}

/* ================================================================
   SECTION: OUR CRAFT
================================================================ */

.section-craft {
  background: #2C1D0C;
  padding: 100px var(--px);
  position: relative;
  overflow: hidden;
}

.section-craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 35%, rgba(165, 122, 48, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(100, 75, 30, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.craft-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.craft-catch {
  font-weight: 400;
  font-size: clamp(1.5rem, 5.5vw, 2.5rem);
  letter-spacing: 0.12em;
  line-height: 1.65;
  color: var(--clr-cream);
  font-style: italic;
  margin: 24px 0 28px;
}

.craft-desc {
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  line-height: 2;
  color: rgba(250, 248, 244, 0.45);
  font-style: italic;
}

/* ================================================================
   SECTION: 特徴
================================================================ */

.section-features {
  padding: 80px 0;
  background: var(--clr-bg);
}

.features {}

.feature-item {
  padding: 0 var(--px);
}

.feature-body {
  padding: 36px 0 32px;
}

.feature-title {
  font-weight: 400;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  letter-spacing: 0.08em;
  line-height: 1.65;
  color: var(--clr-text);
  margin-bottom: 14px;
}

.feature-desc {
  font-size: 0.82rem;
  line-height: 1.95;
  color: var(--clr-muted);
}

/* ================================================================
   SECTION: 施工実績
================================================================ */

/* ================================================================
   SECTION: 施工実績 — Horizontal Scroll Gallery
================================================================ */

.section-works {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-line);
}

.works-slider-container {
  width: 100%;
  overflow: hidden;
  background: var(--clr-bg);
}

.works-slider {
  display: flex;
  gap: 20px;
  padding: 0 var(--px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--px);
  scroll-padding-right: var(--px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 32px;
}

.works-slider::-webkit-scrollbar {
  display: none;
}

.work-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
}

.work-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;
  background: var(--clr-line);
  border-radius: 1px;
}

.work-slide-info {
  padding: 20px 0;
}

.work-slide-title {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  line-height: 1.5;
  margin: 0;
}

.work-slide-client {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin-bottom: 4px;
}

.works-indicators {
  display: flex;
  gap: 8px;
  padding: 0 var(--px);
  justify-content: center;
}

.works-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-line);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.works-indicator:hover {
  background: var(--clr-muted);
}

.works-indicator.active {
  background: var(--clr-accent);
  transform: scale(1.3);
}

/* ================================================================
   SECTION: 会社概要
================================================================ */

.section-about {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-line);
}

.about-wrap {
  padding: 0 var(--px);
}

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

.about-table th,
.about-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--clr-line);
  vertical-align: top;
  font-size: 0.83rem;
  line-height: 1.85;
  text-align: left;
}

.about-table th {
  width: 88px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--clr-muted);
  padding-right: 16px;
  font-style: italic;
  white-space: nowrap;
}

.about-table td {
  color: var(--clr-text);
  letter-spacing: 0.04em;
}

.about-table small {
  font-size: 0.9em;
  color: var(--clr-muted);
}

.tel-link {
  color: var(--clr-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.tel-link:hover {
  opacity: 1;
  text-decoration-color: var(--clr-accent);
}

.about-note {
  margin-top: 32px;
  padding: 18px 20px;
  background: rgba(44, 36, 23, 0.04);
  border: 1px solid var(--clr-line);
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--clr-muted);
  letter-spacing: 0.04em;
}

/* ================================================================
   SECTION: お問い合わせ
================================================================ */

.section-contact {
  border-top: 1px solid var(--clr-line);
}

/* Dark green header */
.contact-header {
  background: var(--clr-dark-green);
  padding: 80px var(--px) 96px;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(100, 160, 80, 0.09) 0%, transparent 55%);
  pointer-events: none;
}

/* Body */
.contact-body {
  background: var(--clr-bg-card);
  padding: 72px var(--px) 80px;
}

/* Intro */
.contact-intro {
  margin-bottom: 56px;
}

.contact-intro-head {
  font-weight: 400;
  font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  letter-spacing: 0.15em;
  line-height: 1.55;
  color: var(--clr-text);
  margin-bottom: 18px;
}

.contact-intro-desc {
  font-size: 0.82rem;
  line-height: 2;
  color: var(--clr-muted);
  margin-bottom: 28px;
}

.contact-address-block {
  border-top: 1px solid var(--clr-line);
  padding-top: 20px;
}

.contact-address,
.contact-hours {
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--clr-muted);
  letter-spacing: 0.04em;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.form-label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--clr-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(44, 36, 23, 0.22);
  padding: 11px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  color: var(--clr-text);
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(139, 128, 110, 0.45);
  font-size: 0.83rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--clr-accent);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--clr-muted);
  font-size: 0.78rem;
}

.form-select {
  cursor: pointer;
  background: transparent;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.85;
}

.form-footer {
  margin-top: 4px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 52px;
  background: var(--clr-dark-green);
  color: var(--clr-cream);
  font-family: 'Noto Serif JP', serif;
  font-size: 0.83rem;
  letter-spacing: 0.22em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
}

.form-submit:hover {
  background: var(--clr-accent);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--clr-accent);
  padding: 20px;
  border: 1px solid var(--clr-accent);
  background: rgba(61, 90, 58, 0.05);
  letter-spacing: 0.05em;
}

/* ================================================================
   FOOTER
================================================================ */

.site-footer {
  background: var(--clr-dark-brown);
  padding: 60px var(--px) 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo {
  display: block;
}

.footer-logo .logo-jp { color: rgba(250, 248, 244, 0.9); }
.footer-logo .logo-en { color: rgba(250, 248, 244, 0.3); }

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

.footer-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: rgba(250, 248, 244, 0.45);
  transition: color 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  color: rgba(250, 248, 244, 0.85);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(250, 248, 244, 0.07);
  padding-top: 28px;
}

.footer-address {
  font-size: 0.72rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.3);
  letter-spacing: 0.04em;
}

.footer-address a {
  color: inherit;
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(250, 248, 244, 0.2);
  letter-spacing: 0.1em;
}

/* ================================================================
   FLOATING CTA
================================================================ */

.fab-wrap {
  position: fixed;
  bottom: 30px;
  left: 20px;
  z-index: 900;
}

.fab {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--clr-dark-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 28px rgba(43, 61, 40, 0.45);
}

.fab:hover {
  transform: scale(1.04);
  background: var(--clr-dark-green);
  box-shadow: 0 8px 32px rgba(43, 61, 40, 0.55);
}

.fab:focus-visible {
  outline: 2px solid var(--clr-dark-green);
  outline-offset: 4px;
}

.fab-text {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.fab-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(43, 61, 40, 0.35);
  animation: fabRing 2.8s ease-in-out infinite;
}

.fab-ring--2 {
  inset: -14px;
  border-color: rgba(43, 61, 40, 0.15);
  animation-delay: 0.4s;
}

@keyframes fabRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.06); opacity: 0.2; }
}

/* ================================================================
   RESPONSIVE — Tablet (≥768px)
================================================================ */

@media (min-width: 768px) {
  :root {
    --px: 48px;
  }

  /* Header */
  .header-inner { padding: 0 48px; }

  /* Hero */
  .hero-inner {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
    padding-top: calc(var(--header-h) + 80px);
  }

  /* Section heads */
  .section-head {
    padding: 0 48px;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
  }

  /* Services */
  .service-item {
    padding: 0 48px;
    max-width: var(--max-w);
    margin: 0 auto;
  }

  .service-desc {
    padding: 28px 28px;
  }

  /* Craft */
  .section-craft {
    padding: 120px 48px;
  }

  /* Features */
  .section-features {
    padding: 96px 0;
  }

  .feature-item {
    padding: 0 48px;
    max-width: var(--max-w);
    margin: 0 auto;
  }

  /* Works */
  .works-slider {
    gap: 32px;
    padding: 0 48px;
    margin-bottom: 40px;
  }

  .work-slide {
    flex: 0 0 60%;
  }

  .works-indicators {
    padding: 0 48px;
  }

  /* About */
  .about-wrap {
    padding: 0 48px;
    max-width: var(--max-w);
    margin: 0 auto;
  }

  .about-table th {
    width: 110px;
  }

  /* Contact */
  .contact-header { padding: 96px 48px 120px; }
  .contact-body { padding: 80px 48px 96px; }

  /* Footer */
  .footer-inner {
    max-width: var(--max-w-wide);
    margin: 0 auto;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }
}

/* ================================================================
   RESPONSIVE — Desktop (≥1024px)
================================================================ */

@media (min-width: 1024px) {
  :root {
    --px: 80px;
  }

  .site-nav { display: none; }
  /* On large screens you could implement a visible inline nav,
     but the design shows hamburger – keeping consistent */
  .site-nav { display: flex; }

  /* Hero */
  .hero-inner { padding-left: 80px; }

  /* Craft */
  .section-craft { padding: 130px 80px; }

  .craft-inner {
    max-width: var(--max-w);
    margin: 0 auto;
  }

  /* Contact body - 2-col grid */
  .contact-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 96px 80px;
    max-width: var(--max-w-wide);
    margin: 0 auto;
  }

  .contact-intro { margin-bottom: 0; }

  /* About */
  .about-note { max-width: 620px; }
}

/* ================================================================
   ACCESSIBILITY
================================================================ */

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--clr-dark-green);
  color: var(--clr-cream);
  padding: 8px 16px;
  z-index: 9999;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.skip-link:focus { top: 0; }

/* ================================================================
   REDUCED MOTION
================================================================ */

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

  .js-fade,
  .js-fade-light {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
