:root {
  --black: #050505;
  --ink: #171717;
  --charcoal: #2b2b2b;
  --muted: #6d6a63;
  --line: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.18);
  --paper: #efeee9;
  --white: #f8f7f2;
  --stone: #d9d7cf;
  --accent: #a79362;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  font-family:
    "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.loading-screen,
.noscript-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  color: var(--white);
  background: var(--black);
}

.loading-screen {
  gap: 10px;
}

.loading-screen strong {
  font-size: clamp(2rem, 8vw, 7rem);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 14px 34px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(248, 247, 242, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 172px;
}

.brand strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.brand span,
.header-phone,
.main-nav {
  font-size: 0.78rem;
}

.brand span {
  color: currentColor;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-weight: 700;
}

.main-nav a,
.site-footer a {
  position: relative;
}

.main-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  justify-self: end;
  padding: 11px 14px;
  font-weight: 900;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.hero-section {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.32) 58%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 48px));
  min-height: 78svh;
  padding: 108px 0 130px 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow.light {
  color: rgba(248, 247, 242, 0.72);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.2rem);
  line-height: 0.9;
}

.hero-content > span {
  margin-top: 12px;
  color: rgba(248, 247, 242, 0.84);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(248, 247, 242, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 900;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.button.light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.button.outline {
  color: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.hero-tags {
  position: absolute;
  right: 32px;
  bottom: 24px;
  left: 32px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-tags span {
  min-height: 56px;
  padding: 18px 16px;
  color: rgba(248, 247, 242, 0.84);
  background: rgba(5, 5, 5, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-tags span:last-child {
  border-right: 0;
}

.statement-section,
.brand-section,
.image-section,
.mood-section,
.story-section,
.franchise-section,
.contact-section {
  padding: 86px 34px;
}

.statement-section {
  display: grid;
  gap: 22px;
  background: var(--white);
}

.statement-section p {
  margin: 0;
  color: var(--accent);
  font-weight: 900;
}

.statement-section h2 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 1.08;
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 44px;
  background: var(--paper);
}

.section-copy h2,
.section-head h2,
.space-section h2,
.story-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.06;
}

.section-copy p:not(.eyebrow),
.space-section p,
.story-copy p:not(.eyebrow),
.contact-section p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(23, 23, 23, 0.68);
  font-size: 1.06rem;
  line-height: 1.9;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.principle-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
}

.principle-grid span,
.image-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.principle-grid h3,
.image-card h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.principle-grid p,
.image-card p {
  margin: 0;
  color: rgba(23, 23, 23, 0.64);
  line-height: 1.72;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 1440px;
  margin: 0 auto 28px;
}

.image-section {
  color: var(--white);
  background: var(--black);
}

.image-section .section-head h2 {
  color: var(--white);
}

.gallery-grid,
.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.image-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 4px;
}

.image-section .image-card {
  background: #121212;
}

.image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.gallery-grid .image-card:first-child {
  grid-column: span 2;
}

.gallery-grid .image-card:first-child img {
  height: 580px;
}

.image-card div {
  padding: 22px;
}

.image-section .image-card h3,
.image-section .image-card p {
  color: var(--white);
}

.image-section .image-card p {
  color: rgba(248, 247, 242, 0.7);
}

.mood-section {
  background: var(--paper);
}

.space-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--white);
}

.space-section > img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.space-section > div {
  display: grid;
  align-content: center;
  padding: 72px 44px;
}

.space-section ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.space-section li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 36px;
  align-items: center;
  background: var(--paper);
}

.story-media,
.brand-film {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.story-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--black);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.story-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-film {
  position: relative;
}

.film-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 700ms ease,
    transform 1200ms ease;
}

.film-frame.active {
  opacity: 1;
  transform: scale(1);
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 58%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 42%);
}

.film-frame div {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.film-frame span {
  color: var(--accent);
  font-weight: 900;
}

.film-frame strong {
  max-width: 520px;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.film-control {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.film-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.film-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.franchise-section {
  display: grid;
  gap: 24px;
  background: var(--white);
}

.franchise-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  max-width: 1440px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
}

.franchise-hero img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.franchise-hero div {
  display: grid;
  align-content: center;
  padding: 48px;
}

.franchise-hero h2,
.process-block h2,
.support-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.franchise-hero p:not(.eyebrow) {
  margin: 22px 0 30px;
  color: rgba(23, 23, 23, 0.68);
  font-size: 1.06rem;
  line-height: 1.9;
}

.franchise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.12);
}

.franchise-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--black);
  color: var(--white);
}

.franchise-grid span {
  color: var(--accent);
  font-weight: 900;
}

.franchise-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.franchise-grid p {
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.8;
}

.process-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) 1fr;
  gap: 28px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
}

.process-block ol {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  background: rgba(0, 0, 0, 0.12);
}

.process-block li {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 18px;
  background: var(--paper);
  counter-increment: process;
  font-weight: 900;
}

.process-block li::before {
  margin-bottom: 10px;
  color: var(--accent);
  content: "0" counter(process);
}

.support-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  color: var(--white);
  background: var(--black);
}

.support-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.support-strip div {
  padding: 34px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  color: var(--white);
  background: var(--black);
}

.contact-section p:not(.eyebrow) {
  color: rgba(248, 247, 242, 0.72);
}

.contact-phone {
  display: grid;
  gap: 8px;
  min-width: 290px;
  padding: 24px;
  color: var(--black);
  background: var(--white);
  border-radius: 4px;
}

.contact-phone span {
  color: rgba(23, 23, 23, 0.6);
  font-weight: 900;
}

.contact-phone strong {
  font-size: 2rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: var(--white);
  background: #000;
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer span,
.site-footer a {
  color: rgba(248, 247, 242, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.admin-body {
  min-height: 100svh;
  background: #e8e7e1;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.84)),
    url("assets/images/store-front-05.jfif") center / cover;
}

.login-panel {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 28px;
  color: var(--ink);
  background: rgba(248, 247, 242, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.login-panel strong {
  color: var(--accent);
}

.login-panel h1,
.login-panel p {
  margin: 0;
}

.login-panel p,
.login-panel a {
  color: var(--muted);
  line-height: 1.7;
}

.login-error {
  padding: 12px;
  color: #7a1717;
  background: #f6dddd;
  border: 1px solid #e1bbbb;
  border-radius: 4px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  height: 100svh;
  padding: 28px;
  color: var(--white);
  background: var(--black);
}

.admin-logo {
  display: grid;
  gap: 6px;
}

.admin-logo strong {
  font-size: 1.2rem;
}

.admin-logo span {
  color: rgba(248, 247, 242, 0.62);
}

.admin-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-tabs button,
.admin-front-link,
.admin-button,
.import-label {
  min-height: 42px;
  padding: 0 14px;
  font-weight: 900;
  border: 1px solid transparent;
  border-radius: 4px;
}

.admin-tabs button {
  color: rgba(248, 247, 242, 0.72);
  text-align: left;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-tabs button.active,
.admin-tabs button:hover {
  color: var(--black);
  background: var(--white);
}

.admin-front-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.admin-main {
  padding: 28px;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-header p {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 900;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.admin-actions,
.tool-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-button,
.import-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--black);
}

.admin-button.muted,
.import-label {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.import-label input {
  display: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.editor-panel,
.preview-panel {
  display: grid;
  gap: 16px;
}

.editor-section {
  display: none;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.editor-section.active {
  display: grid;
}

.editor-section h2 {
  margin: 0;
  font-size: 1.6rem;
}

.editor-section h3 {
  margin: 8px 0 0;
  padding-top: 16px;
  color: var(--ink);
  font-size: 1rem;
  border-top: 1px solid var(--line);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167, 147, 98, 0.16);
}

.repeat-editor {
  display: grid;
  gap: 14px;
}

.repeat-item {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.repeat-item legend {
  padding: 0 8px;
  font-weight: 900;
}

.add-repeat {
  justify-self: start;
}

.mini-danger {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  color: #7a1717;
  font-weight: 900;
  background: #f6dddd;
  border: 1px solid #e1bbbb;
  border-radius: 4px;
}

.asset-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.asset-picker.compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asset-picker button,
.upload-thumb {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.asset-picker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-thumb {
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 900;
}

.upload-thumb input {
  display: none;
}

.preview-card,
.status-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.preview-card {
  display: grid;
  gap: 12px;
}

.preview-card span {
  color: var(--accent);
  font-weight: 900;
}

.preview-card strong {
  font-size: 1.7rem;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.admin-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.home-hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 800ms ease,
    transform 1400ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 42px;
  height: 3px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  border: 0;
}

.hero-dots button.active {
  background: var(--white);
}

.portal-section {
  padding: 24px 34px 86px;
  background: var(--black);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
}

.portal-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.portal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.portal-card:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.portal-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 64%);
}

.portal-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
}

.portal-card h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.portal-card p {
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.7;
}

.brand-gateway {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  padding: 86px 34px;
  background: var(--white);
}

.gateway-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.gateway-stats article {
  display: grid;
  align-content: center;
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
}

.gateway-stats strong {
  font-size: 4rem;
  line-height: 1;
}

.gateway-stats span {
  margin-top: 10px;
  color: var(--muted);
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head.split > p {
  max-width: 420px;
  margin: 0;
  color: rgba(248, 247, 242, 0.68);
  line-height: 1.8;
}

.series-section,
.news-section {
  padding: 86px 34px;
  background: var(--paper);
}

.series-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.series-tabs button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.series-tabs button.active,
.series-tabs button:hover {
  color: var(--white);
  background: var(--black);
}

.series-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 0.85fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.series-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  opacity: 0.72;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.series-card.featured,
.series-card:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.series-card.featured {
  grid-row: span 2;
}

.series-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.series-card.featured img {
  height: 560px;
}

.series-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.series-card span,
.news-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.series-card h3,
.news-grid h3 {
  margin: 0;
  font-size: 1.45rem;
}

.series-card p,
.news-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.series-card small {
  color: rgba(23, 23, 23, 0.58);
}

.series-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.series-card li {
  padding: 7px 10px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
}

.dynamic-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: center;
  padding: 86px 34px;
  color: var(--white);
  background: var(--black);
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.showcase-copy p:not(.eyebrow) {
  color: rgba(248, 247, 242, 0.7);
  line-height: 1.9;
}

.compact-gallery {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.compact-gallery .image-card:first-child {
  grid-column: span 1;
}

.compact-gallery .image-card:first-child img,
.compact-gallery .image-card img {
  height: 430px;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.condition-block {
  padding: 32px;
  color: var(--white);
  background: var(--black);
}

.condition-block h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.condition-block ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.condition-block li {
  padding-bottom: 12px;
  color: rgba(248, 247, 242, 0.76);
  border-bottom: 1px solid var(--line-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.news-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.text-link {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: min(620px, 100%);
}

.lead-form label {
  color: rgba(248, 247, 242, 0.72);
}

.lead-form input {
  color: var(--ink);
  background: var(--white);
}

.lead-form button,
.lead-form .contact-phone {
  grid-column: span 1;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .brand-section,
  .space-section,
  .story-section,
  .franchise-hero,
  .process-block,
  .support-strip,
  .contact-section,
  .admin-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: auto;
  }

  .header-phone {
    padding: 9px 10px;
  }

  .hero-content {
    width: min(100%, calc(100% - 32px));
    padding: 108px 0 140px 16px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-tags {
    right: 16px;
    bottom: 16px;
    left: 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-tags span {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 0.82rem;
  }

  .statement-section,
  .brand-section,
  .image-section,
  .mood-section,
  .story-section,
  .franchise-section,
  .contact-section,
  .admin-main {
    padding: 56px 16px;
  }

  .principle-grid,
  .franchise-grid,
  .process-block ol,
  .gallery-grid,
  .mood-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .image-card:first-child {
    grid-column: span 1;
  }

  .image-card img,
  .gallery-grid .image-card:first-child img {
    height: 380px;
  }

  .space-section > img {
    min-height: 420px;
  }

  .space-section > div,
  .admin-sidebar {
    padding: 24px 16px;
  }

  .admin-header {
    display: grid;
  }

  .admin-tabs,
  .asset-picker,
  .asset-picker.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    display: grid;
    padding: 30px 16px;
  }
}
