/*
Theme Name: Creachefs Wear Catalog Fashion
Theme URI: https://creachefswear.com/
Author: OpenAI
Description: Editorial fashion-forward catalog landing page for Creachefs Wear with DearFlip support. Pure WordPress/PHP + HTML/CSS, no front-end framework.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: creachefs-wear-catalog-fashion
*/

:root {
  --brand: #001f49;
  --brand-deep: #00142f;
  --brand-soft: #0b376d;
  --ink: #0c1624;
  --cream: #f4efe5;
  --paper: #fbfaf6;
  --white: #ffffff;
  --muted: #6f7782;
  --line: rgba(0,31,73,.16);
  --content: 1440px;
  --wide: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.crea-shell { min-height: 100vh; overflow: hidden; }

/* HEADER */
.crea-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,246,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .crea-header { top: 32px; }
.crea-header__inner {
  max-width: var(--wide);
  margin: 0 auto;
  min-height: 84px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.crea-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--brand);
}
.crea-brand .custom-logo { display:block; width:auto; max-height:46px; }
.crea-brand__text {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 18px;
}
.crea-header__edition {
  justify-self: center;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.crea-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.crea-nav a {
  text-decoration: none;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.crea-nav__website {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}
.crea-nav__website::after { content: "↗"; font-size: 14px; }

/* HERO */
.crea-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.crea-hero__grid {
  max-width: var(--wide);
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 60px;
  align-items: stretch;
}
.crea-hero__copy {
  padding: 30px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.crea-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.crea-display {
  margin: 34px 0 0;
  max-width: 980px;
  color: var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(64px, 7vw, 126px);
  line-height: .84;
  letter-spacing: -.065em;
}
.crea-display em { font-weight: 400; }
.crea-hero__bottom {
  margin-top: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}
.crea-tagline {
  margin: 0;
  max-width: 650px;
  color: #374252;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.5;
}
.crea-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.crea-button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--brand);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.crea-button:hover { transform: translateY(-2px); }
.crea-button--primary { background: var(--brand); color: #fff; }
.crea-button--ghost { color: var(--brand); background: transparent; }

.crea-hero__visual {
  position: relative;
  min-height: 620px;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.crea-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.18), transparent 22%),
    linear-gradient(145deg, transparent 0 46%, rgba(255,255,255,.07) 46% 47%, transparent 47% 100%),
    linear-gradient(25deg, transparent 0 63%, rgba(255,255,255,.05) 63% 64%, transparent 64% 100%);
}
.crea-hero__visual > * { position: relative; z-index: 1; }
.crea-visual__top {
  display:flex;
  justify-content:space-between;
  gap: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.crea-lookbook {
  align-self: flex-end;
  margin: auto 0;
  width: 100%;
  text-align: right;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(76px, 9vw, 150px);
  line-height: .76;
  letter-spacing: -.07em;
}
.crea-lookbook small {
  display:block;
  margin-top: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.crea-visual__bottom {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
}
.crea-visual__stamp {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display:grid;
  place-items:center;
  text-align:center;
  font-size:9px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.crea-visual__category {
  max-width: 210px;
  text-align:right;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height:1.6;
}

/* MARQUEE */
.crea-strip {
  overflow:hidden;
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.crea-strip__inner {
  min-width: max-content;
  padding: 15px 0;
  display:flex;
  gap: 34px;
  align-items:center;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:10px;
  font-weight:800;
  animation: creaTicker 32s linear infinite;
}
.crea-strip__inner span::after { content:"✦"; margin-left:34px; opacity:.65; }
@keyframes creaTicker { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .crea-strip__inner { animation:none; } }

/* CATALOG */
.crea-catalog {
  position: relative;
  padding: 110px 24px 120px;
  background: var(--paper);
}
.crea-catalog__header {
  width: min(100%, var(--content));
  margin: 0 auto 38px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:end;
}
.crea-section-no {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.crea-catalog h2 {
  margin:0;
  color:var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight:400;
  font-size:clamp(46px, 5vw, 82px);
  line-height:.95;
  letter-spacing:-.045em;
}
.crea-catalog__intro {
  justify-self:end;
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}
.crea-catalog__frame {
  width:min(100%, var(--content));
  margin:0 auto;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 28px 80px rgba(0,31,73,.12);
}
.crea-catalog__frame .df-container,
.crea-catalog__frame .dflip-container,
.crea-catalog__frame ._df_book,
.crea-catalog__frame .df-book-stage,
.crea-catalog__frame .df-element { max-width:none !important; }
.crea-catalog__frame .df-container,
.crea-catalog__frame .dflip-container { width:100% !important; }
.crea-catalog__note {
  width:min(100%, var(--content));
  margin:14px auto 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#8a9098;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.16em;
}

/* CTA */
.crea-cta {
  background: var(--cream);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.crea-cta__inner {
  max-width:var(--wide);
  margin:0 auto;
  padding:90px 32px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:80px;
  align-items:end;
}
.crea-cta h2 {
  margin:0;
  color:var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight:400;
  font-size:clamp(50px,6vw,96px);
  line-height:.9;
  letter-spacing:-.055em;
}
.crea-cta__side p {
  margin:0 0 28px;
  color:#46505d;
  font-size:16px;
  line-height:1.7;
}
.crea-cta__side .crea-button { width:100%; }

/* FOOTER */
.crea-footer { background:var(--brand-deep); color:#fff; }
.crea-footer__inner {
  max-width:var(--wide);
  margin:0 auto;
  padding:58px 32px 30px;
}
.crea-footer__top {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:80px;
  align-items:start;
  padding-bottom:54px;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.crea-footer__brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size:clamp(42px,5vw,72px);
  line-height:.95;
  letter-spacing:-.04em;
}
.crea-footer__tagline {
  margin:16px 0 0;
  max-width:520px;
  color:rgba(255,255,255,.66);
  line-height:1.65;
}
.crea-footer__side { justify-self:end; }
.crea-footer__label {
  margin:0 0 16px;
  color:rgba(255,255,255,.56);
  font-size:10px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.crea-social { display:flex; flex-wrap:wrap; gap:10px; }
.crea-social a {
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  color:#fff;
  text-decoration:none;
  transition:.2s ease;
}
.crea-social a:hover { background:#fff; color:var(--brand); transform:translateY(-2px); }
.crea-social svg { width:19px; height:19px; fill:currentColor; display:block; }
.crea-footer__bottom {
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  color:rgba(255,255,255,.5);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}

@media (max-width: 980px) {
  .crea-header__inner { grid-template-columns:1fr auto; }
  .crea-header__edition { display:none; }
  .crea-hero__grid { grid-template-columns:1fr; padding-top:48px; }
  .crea-hero__visual { min-height:520px; }
  .crea-hero__bottom { grid-template-columns:1fr; }
  .crea-actions { justify-content:flex-start; }
  .crea-catalog__header { grid-template-columns:1fr; }
  .crea-catalog__intro { justify-self:start; }
  .crea-cta__inner, .crea-footer__top { grid-template-columns:1fr; gap:40px; }
  .crea-footer__side { justify-self:start; }
}

@media (max-width: 782px) { .admin-bar .crea-header { top:46px; } }
@media (max-width: 680px) {
  .crea-header__inner { min-height:68px; padding:0 18px; }
  .crea-brand__text { font-size:14px; letter-spacing:.13em; }
  .crea-nav { gap:12px; }
  .crea-nav a { font-size:11px; }
  .crea-nav a[href="#contact"] { display:none; }
  .crea-hero__grid { min-height:auto; padding:34px 18px 0; gap:32px; }
  .crea-hero__copy { padding:10px 0 34px; }
  .crea-display { font-size:clamp(58px,17vw,86px); }
  .crea-hero__bottom { margin-top:44px; gap:24px; }
  .crea-hero__visual { min-height:430px; margin:0 -18px; padding:24px 18px; }
  .crea-lookbook { font-size:clamp(70px,22vw,108px); }
  .crea-strip__inner { padding:12px 0; }
  .crea-catalog { padding:72px 10px 80px; }
  .crea-catalog__header { padding:0 8px; }
  .crea-catalog__frame { padding:4px; }
  .crea-catalog__note { padding:0 8px; flex-direction:column; gap:5px; }
  .crea-cta__inner { padding:66px 18px; }
  .crea-footer__inner { padding:48px 18px 26px; }
  .crea-footer__bottom { flex-direction:column; gap:10px; }
}
