:root {
  --bg: #f3f2ed;
  --surface: #ffffff;
  --ink: #181818;
  --ink-soft: #666;
  --line: #dedcd3;
  --gold: #b69563;
  --gold-dark: #8b6d45;
  --header: rgba(243, 242, 237, 0.72);
  --shadow-soft: 0 10px 30px rgba(20, 20, 20, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
}

.is-home {
  height: 100vh;
  overflow: hidden;
}

.is-inner {
  background: #1e2428;
  color: #ececec;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 149, 99, 0.12), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(0, 0, 0, 0.05), transparent 34%),
    linear-gradient(180deg, #f7f6f2 0%, #efede5 100%);
}

.is-home .site-bg {
  background:
    linear-gradient(120deg, rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.5)),
    var(--home-bg-image, url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80")) center center / cover no-repeat;
}

.is-inner .site-bg {
  background:
    linear-gradient(150deg, rgba(15, 18, 21, 0.9), rgba(24, 31, 36, 0.9)),
    radial-gradient(circle at 12% 8%, rgba(182, 149, 99, 0.16), transparent 30%);
}

.is-inner .site-header {
  background: rgba(20, 24, 27, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.is-inner .brand,
.is-inner nav a,
.is-inner .admin-link {
  color: #f3f3f3;
}

.is-inner .brand span {
  color: rgba(243, 243, 243, 0.72);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.25rem;
  letter-spacing: 0.19em;
  font-weight: 700;
}

.brand span {
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

nav a,
.admin-link {
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 600;
}

nav a:hover,
.admin-link:hover {
  color: var(--gold-dark);
}

.hero {
  margin-top: 1.4rem;
  padding: 4.2rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(100deg, rgba(11, 11, 11, 0.78), rgba(11, 11, 11, 0.56)),
    linear-gradient(140deg, #2c2c2c 0%, #1d1d1d 50%, #323232 100%);
  color: #f5f5f5;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.home-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  padding: 2rem 0;
}

.home-hero-content {
  max-width: 760px;
  color: #f3f3f3;
}

.home-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-intro {
  max-width: 62ch;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  color: #d8c7a9;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.lead {
  margin: 1rem 0 1.4rem;
  color: #ddd;
  max-width: 58ch;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.4rem;
}

.hero-card h3 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8c7a9;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-card li {
  margin: 0.45rem 0;
  color: #e7e7e7;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 0.72rem 1.3rem;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
}

.btn:hover {
  filter: brightness(1.07);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.intro-band {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}

.intro-band article {
  padding: 1.15rem 1rem;
  border-right: 1px solid var(--line);
}

.intro-band article:last-child {
  border-right: 0;
}

.intro-band h4 {
  margin: 0 0 0.35rem;
  color: var(--gold-dark);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.intro-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section {
  padding: 2.4rem 0 1rem;
}

.section-tight {
  padding-bottom: 2rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 600;
}

.section-head a {
  text-decoration: none;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 600;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.card-body p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.card-body a {
  text-decoration: none;
  color: var(--gold-dark);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-top {
  padding: 3rem 0 1rem;
}

.page-top h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
}

.page-top p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.project-main-image {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 1rem;
  background: rgba(10, 14, 16, 0.72);
}

.project-media-shell {
  margin-bottom: 1rem;
}

.project-main-image {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  background: rgba(10, 14, 16, 0.72);
}

.project-thumb-wrap {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.thumb-nav {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.project-thumb-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.project-thumb-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.project-thumb {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  padding: 0;
  min-width: 92px;
  width: 92px;
  height: 62px;
  cursor: pointer;
  opacity: 0.78;
}

.project-thumb.active {
  border-color: #e2c896;
  opacity: 1;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rich-content {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.2rem;
  color: var(--ink);
}

.rich-content h2,
.rich-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

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

.rich-content td,
.rich-content th {
  border: 1px solid var(--line);
  padding: 0.45rem;
}

.masonry {
  columns: 3 280px;
  column-gap: 0.8rem;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.masonry img {
  width: 100%;
  display: block;
}

.masonry figcaption {
  padding: 0.75rem;
  display: grid;
  gap: 0.25rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #e9e5da;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.site-footer h4,
.site-footer h5 {
  margin: 0 0 0.55rem;
}

.site-footer a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  margin: 0.24rem 0;
  font-size: 0.9rem;
}

.copyright {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  padding: 0 0 1rem;
}

/* Inner Pages: Premium Dark Refresh */
.is-inner {
  background: #151a1d;
  color: #eceff1;
}

.is-inner .site-bg {
  background:
    radial-gradient(circle at 8% 12%, rgba(182, 149, 99, 0.18), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(88, 110, 122, 0.24), transparent 30%),
    linear-gradient(165deg, #13181b 0%, #1b2429 55%, #161d22 100%);
}

.is-inner .site-header {
  background: rgba(16, 21, 24, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.is-inner .brand,
.is-inner nav a,
.is-inner .admin-link {
  color: #f3f3f3;
}

.is-inner .brand span {
  color: rgba(243, 243, 243, 0.72);
}

.is-inner main {
  padding-bottom: 2rem;
}

.inner-hero {
  margin-top: 1.2rem;
  padding: 2rem 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(3px);
}

.inner-kicker {
  margin: 0 0 0.4rem;
  color: #d9ba88;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
}

.is-inner .inner-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.is-inner .inner-hero p {
  margin: 0.55rem 0 0;
  color: #d5dbe0;
}

.project-grid,
.gallery-grid {
  margin-top: 1rem;
}

.project-meta {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6bc8d;
}

.is-inner .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  color: #f3f5f6;
}

.is-inner .card-body p {
  color: #d9e0e4;
}

.is-inner .card-body a {
  color: #e2c896;
}

.content-shell {
  border-radius: 0;
}

.is-inner .rich-content {
  background: linear-gradient(160deg, rgba(18, 26, 31, 0.9), rgba(20, 30, 35, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #edf2f5;
}

.is-inner .rich-content p,
.is-inner .rich-content li {
  color: #dde4e9;
}

.is-inner .masonry figure {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3f3f3;
}

.is-inner .site-footer {
  margin-top: 2rem;
  background: rgba(13, 18, 21, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.is-inner .site-footer h4,
.is-inner .site-footer h5,
.is-inner .site-footer a {
  color: #f0f3f5;
}

.is-inner .site-footer p,
.is-inner .copyright {
  color: #c6d0d6;
}

/* Unified Header Across All Public Pages */
.site-header {
  background: rgba(16, 21, 24, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand,
nav a,
.admin-link {
  color: #f3f3f3;
}

.brand span {
  color: rgba(243, 243, 243, 0.72);
}

nav a:hover,
.admin-link:hover {
  color: #e2c896;
}

/* Project Visual Enhancements */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.3rem 0 0.8rem;
}

.project-tags span {
  border: 1px solid rgba(226, 200, 150, 0.45);
  background: rgba(226, 200, 150, 0.12);
  color: #f3d9ad;
  padding: 0.18rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-specs {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}

.spec-item {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.spec-item span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #c3d0d7;
}

.spec-item strong {
  font-size: 0.92rem;
  color: #eef3f6;
}

.project-facts {
  margin: 0.8rem 0 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.project-facts h3 {
  margin: 0 0 0.55rem;
  color: #e8cf9f;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.project-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  padding-bottom: 0.36rem;
}

.project-facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.project-facts li span {
  color: #c6d2d8;
}

.project-facts li strong {
  color: #f4f7f8;
}

.form-grid h3 {
  margin: 1rem 0 0.1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a4b24;
}

.button-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.button-list-col h4 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a4b24;
}

.button-pool {
  margin: 0;
  padding: 0.6rem;
  min-height: 220px;
  border: 1px dashed #cbbda6;
  background: #fcfaf5;
  list-style: none;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.button-pill {
  background: #fff;
  border: 1px solid #d9d1c2;
  padding: 0.5rem 0.6rem;
  cursor: grab;
  display: grid;
  gap: 0.08rem;
}

.button-pill span {
  font-weight: 700;
  color: #2e2e2e;
}

.button-pill small {
  color: #7b7b7b;
}

.button-pill-ghost {
  opacity: 0.35;
}

.team-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.team-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  overflow: hidden;
}

.team-photo-wrap img,
.team-photo-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: grid;
  place-items: center;
}

.team-photo-placeholder {
  background: linear-gradient(120deg, #2d3740, #485a68);
  color: #e9d2aa;
  font-size: 3rem;
  font-family: "Cormorant Garamond", serif;
}

.team-card-body {
  padding: 0.8rem;
}

.team-card-body h3 {
  margin: 0;
  color: #f6f8f9;
}

.team-role {
  margin: 0.2rem 0 0.55rem;
  color: #e2c896;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card-body p {
  color: #d9e0e4;
  margin: 0 0 0.6rem;
}

.team-contact {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #c9d4db;
}

.contact-shell {
  margin-top: 1rem;
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6bc8d;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f6f7;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}

.admin-gallery-item {
  border: 1px solid #d9d1c2;
  background: #fff;
  padding: 0.35rem;
}

.admin-gallery-item img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.35rem;
}

.admin-gallery-item button {
  width: 100%;
  border: 1px solid #b85b49;
  color: #b85b49;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
}

.login-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #283c44 0%, #111b20 65%);
}

.login-card {
  width: min(420px, calc(100% - 2rem));
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.6rem;
}

.login-card h1 { margin: 0; }
.login-card input,
.login-card textarea,
.login-card button { width: 100%; }

.admin-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background: #f3efe6;
  font-family: "Manrope", sans-serif;
}

.admin-sidebar {
  background: #182226;
  color: #e9ecee;
  padding: 1.3rem;
}

.admin-sidebar .brand {
  color: #fff;
  display: inline-block;
  margin-bottom: 1rem;
}

.admin-sidebar nav { display: grid; gap: 0.4rem; }

.admin-sidebar nav a {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  color: #d7e1e5;
  font-size: 0.9rem;
}

.admin-sidebar nav a:hover {
  background: #263840;
  color: #fff;
}

.admin-main { padding: 1.5rem; }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.admin-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d7d0c3;
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-grid article {
  background: #fff;
  border: 1px solid #d7d0c3;
  border-radius: 14px;
  padding: 1rem;
}

.stats-grid p {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #8a4b24;
}

.form-grid { display: grid; gap: 0.7rem; }

input,
textarea,
select {
  border: 1px solid #cfc5b5;
  border-radius: 10px;
  padding: 0.66rem 0.75rem;
  font: inherit;
  background: #fff;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox input { width: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #e5ddd0;
  padding: 0.68rem 0.45rem;
  vertical-align: middle;
}

.actions {
  white-space: nowrap;
}

.actions form {
  display: inline;
  margin: 0;
}

.actions > * + * {
  margin-left: 0.45rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d8ccbb;
  background: #fff;
  color: #7a4a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
}

.icon-btn.edit {
  color: #7c4d30;
  background: #fff7ef;
  border-color: #e6cfb5;
}

.icon-btn.view {
  color: #1f4f61;
  background: #eef9ff;
  border-color: #b9dcea;
}

.icon-btn.delete {
  color: #9c2f2f;
  background: #fff1f1;
  border-color: #e7c3c3;
}

.thumb {
  width: 210px;
  border-radius: 10px;
  border: 1px solid #d7d0c3;
}

.mini-thumb {
  width: 84px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.flash-wrap {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.flash {
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
}

.flash.success {
  background: #dff3e3;
  color: #1c5a2f;
}

.flash.error {
  background: #fce2de;
  color: #7a2218;
}

@media (max-width: 980px) {
  .is-home {
    overflow: auto;
  }

  .home-hero {
    min-height: calc(100vh - 86px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2.4rem 1.2rem;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .intro-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band article:last-child {
    border-bottom: 0;
  }

  .gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    position: relative;
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav-links {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 12;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.55rem 1rem;
    background: rgba(17, 21, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 0;
  }

  .nav-wrap.menu-open .site-nav-links {
    display: flex;
  }

  .site-nav-links a {
    width: 100%;
    padding: 0.6rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav-links a:last-child {
    border-bottom: 0;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand span {
    font-size: 0.58rem;
  }

  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .button-lists {
    grid-template-columns: 1fr;
  }
}

.brand-logo {
  max-height: 52px;
  width: auto;
  display: block;
}
