/* ========================================
   Meraki Mastering — Static Site Styles
   ======================================== */

:root {
  --cream: #F9F7F2;
  --charcoal: #2A2A2A;
  --charcoal-light: #5A5A5A;
  --gold: #A67C37;
  --gold-light: #C9A962;
  --gold-dark: #8B6528;
  --portfolio-bg: #EDE8DF;
  --white: #FFFFFF;
  --border-light: #D4CFC4;
  --divider-vertical: #E0DCD4;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --section-padding: 5rem 2rem;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Greek Key Border ---- */

.greek-key-border {
  height: 48px;
  background-image: url('../keynew.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
}

.greek-key-border--footer {
  margin-bottom: 1.5rem;
}

.greek-key-divider {
  height: 36px;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  background-image: url('../keynew.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  opacity: 0.7;
}

.greek-key-divider--section {
  max-width: calc(var(--max-width) - 4rem);
  width: 100%;
  margin: 0 auto 3rem;
  opacity: 0.45;
}

/* ---- Header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wreath {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: -0.5rem;
  margin-right: 0.15rem;
}

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

.logo-name {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--charcoal);
  line-height: 1.1;
}

.logo-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--charcoal-light);
  margin-top: 0.15rem;
}

.logo-line {
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  background: var(--charcoal-light);
}

.main-nav {
  display: flex;
  gap: 2.1rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--charcoal-light);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--charcoal);
  border-bottom-color: var(--gold);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 1rem 2rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-icon {
  width: 22px;
  height: 22px;
}

/* ---- Hero ---- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.5rem;
  color: var(--charcoal-light);
  margin-bottom: 2.5rem;
  max-width: 38rem;
  line-height: 1.45;
}

@media (min-width: 901px) {
  .hero-sub span {
    display: block;
    white-space: nowrap;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 720px;
  overflow: hidden;
  padding-left: 2.5rem;
}

.hero-image img {
  width: 155%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: translate(-2.75rem, -1rem);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 70%);
}

/* ---- Features ---- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.feature {
  text-align: center;
  padding: 2rem 3rem;
  border-right: 1px solid var(--divider-vertical);
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon--pricing {
  width: 100px;
  height: 100px;
}

.feature h3 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 1.25rem;
  color: var(--charcoal-light);
  line-height: 1.65;
}

/* ---- Gear ---- */

.gear {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.gear-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gear-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.gear-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 2.85rem);
  font-weight: 500;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.gear-category {
  border-top: 1px solid var(--border-light);
}

.gear-category h3 {
  padding-block: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.gear-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.7fr);
  gap: 1.25rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.gear-item__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.gear-item__detail {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  text-align: right;
}

/* ---- Portfolio ---- */

.portfolio {
  background: var(--portfolio-bg);
  padding: var(--section-padding);
  text-align: center;
}

.portfolio h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 2.85rem);
  font-weight: 500;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.portfolio h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-30%);
  width: 3rem;
  height: 2px;
  background: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.track-card {
  display: flex;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.track-art {
  width: 100px;
  min-height: 120px;
  flex-shrink: 0;
}

.track-info {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.track-info h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.track-artist {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 0.1rem;
}

.track-genre {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.track-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.6rem;
}

.track-compare__ab {
  display: inline-flex;
  padding: 2px;
  gap: 2px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--charcoal) 8%, var(--cream));
}

.track-compare__btn {
  min-height: 26px;
  padding-inline: 8px;
  color: var(--charcoal-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.track-compare__btn:hover {
  color: var(--charcoal);
}

.track-compare__btn.active {
  color: var(--white);
  background: var(--gold);
}

.track-compare__btn--gain {
  color: rgba(90, 90, 90, 0.45);
  background: transparent;
}

.track-compare__btn--gain:hover {
  color: rgba(90, 90, 90, 0.6);
}

.track-compare__btn--gain.active {
  color: var(--gold);
  background: transparent;
  box-shadow: none;
}

.track-compare__btn--gain.active:hover {
  color: var(--gold-dark);
}

.track-compare__btn--gain:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.play-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.play-btn svg {
  width: 10px;
  height: 10px;
  margin-left: 2px;
}

.play-btn .pause-icon {
  margin-left: 0;
}

.hidden {
  display: none;
}

.waveform {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 28px;
  cursor: pointer;
}

.waveform-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.waveform.is-loading,
.waveform.is-unavailable {
  opacity: 0.65;
}

.track-time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--charcoal-light);
  white-space: nowrap;
}

.portfolio-cta {
  margin-top: 0.5rem;
}

/* ---- About ---- */

.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.divider-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.divider-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-left {
  padding-right: 3rem;
  border-right: 1px solid var(--divider-vertical);
}

.about-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.phonetic {
  font-style: italic;
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.about-gold-divider {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.definition {
  font-size: 1.3rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  max-width: 22rem;
}

.about-right {
  padding-left: 3rem;
}

.about-right p {
  font-size: 1.3rem;
  color: var(--charcoal-light);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about-right p:last-child {
  margin-bottom: 0;
}

/* ---- Pricing ---- */

.pricing {
  background: var(--portfolio-bg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pricing-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 2.85rem);
  font-weight: 500;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pricing-toggle__label {
  min-height: 44px;
  padding-inline: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.pricing-toggle__label.active {
  color: var(--charcoal);
  font-weight: 600;
}

.pricing-toggle__switch {
  position: relative;
  width: 54px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.pricing-toggle__switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--charcoal-light);
  transition: transform 240ms ease, background 180ms ease;
}

.pricing-toggle__switch.active::after {
  transform: translateX(22px);
  background: var(--gold);
}

.pricing-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pricing-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1.25rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table th {
  font-family: var(--font-sans);
  color: var(--charcoal-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-table td:first-child {
  width: 22%;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.pricing-table td:nth-child(2) {
  width: 14%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.pricing-table td:nth-child(3) {
  color: var(--charcoal-light);
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-table td:last-child {
  width: 130px;
  text-align: center;
}

.btn--compact {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
}

.pricing-table .btn {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.pricing-table .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.pricing-note {
  margin-top: 2rem;
  color: var(--charcoal-light);
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
  width: 100%;
  max-width: none;
}

.pricing-note__line {
  display: block;
}

@media (min-width: 901px) {
  .pricing-note__line {
    white-space: nowrap;
  }
}

.pricing-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pricing-note a:hover {
  color: var(--gold-dark);
}

/* ---- Contact ---- */

.contact {
  padding: 4rem 2rem 5rem;
  text-align: center;
}

.contact-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 2.85rem);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-intro p {
  font-size: 1.3rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 42, 42, 0.55);
}

.contact-modal__panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(90vh, 44rem);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 24px 48px rgba(42, 42, 42, 0.18);
}

.contact-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--charcoal-light);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.contact-modal__close:hover {
  color: var(--charcoal);
  background: rgba(42, 42, 42, 0.06);
}

.contact-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.contact-modal__intro {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

.contact-form__field {
  margin-bottom: 1.1rem;
}

.contact-form__field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.contact-form__optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--charcoal-light);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__select-wrap {
  position: relative;
}

.contact-form__select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--charcoal-light);
  border-bottom: 1.5px solid var(--charcoal-light);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 124, 55, 0.15);
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-form__status {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-form__status.is-success {
  color: var(--charcoal);
  background: rgba(166, 124, 55, 0.14);
  border: 1px solid rgba(166, 124, 55, 0.4);
}

.contact-form__status.is-error {
  color: #6f2f2f;
  background: rgba(139, 58, 58, 0.1);
  border: 1px solid rgba(139, 58, 58, 0.28);
}

/* ---- Footer ---- */

.site-footer {
  text-align: center;
  padding: 0 2rem 2rem;
}

.site-footer p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal-light);
  letter-spacing: 0.05em;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    height: 390px;
    padding-left: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .hero-image img {
    width: min(640px, 150%);
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .gear-grid {
    grid-template-columns: 1fr;
  }

  .gear-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .gear-item__detail {
    text-align: left;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 1rem;
  }

  .feature:last-child {
    border-bottom: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .about-right {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .pricing {
    padding-inline: 1.25rem;
  }

  .pricing-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }

  .pricing-toggle__label {
    padding-inline: 0;
    line-height: 1.25;
    font-size: 0.82rem;
  }

  .pricing-table-wrap {
    overflow: visible;
    border-top: 0;
    box-shadow: none;
    background: transparent;
  }

  .pricing-table {
    min-width: 0;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tbody {
    display: grid;
    gap: 1.125rem;
  }

  .pricing-table tr {
    padding: 1.375rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }

  .pricing-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0;
    border: 0;
  }

  .pricing-table td:first-child {
    width: 100%;
    padding-right: 5.25rem;
    font-size: 1.05rem;
  }

  .pricing-table td:nth-child(2) {
    width: auto;
    margin-top: -1.3em;
    text-align: right;
  }

  .pricing-table td:nth-child(3) {
    margin-top: 1.375rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--border-light);
    line-height: 1.6;
  }

  .pricing-table td:last-child {
    width: 100%;
    margin-top: 1.25rem;
    text-align: left;
  }

  .pricing-table .btn {
    width: 100%;
    text-align: center;
  }

  .pricing-note {
    margin-top: 1.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 1.25rem;
  }

  .main-nav {
    gap: 1.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-divider {
    flex-direction: column;
    gap: 0.75rem;
  }

  .divider-line {
    width: 100%;
  }

  .divider-label {
    white-space: normal;
    text-align: center;
  }
}
