/*
Theme Name: Adri Müller
Theme URI: https://adrimuller.ca/
Description: A premium, highly-customizable editorial theme designed for food photography, styling, and visual strategy.
Version: 1.0.0
Author: Antigravity
Author URI: https://adrimuller.ca/
Text Domain: adrimuller
*/

:root {
  --bg: #F9F6F0;
  --surface: #FFFDF8;
  --ink: #2B2B2B;
  --muted: #6F6A63;
  --line: #E5DDD0;
  --accent: #A3B18A;
  --accent-dark: #798865;
  --soft: #ECE6DA;
  --serif: "Playfair Display", "Noto Serif", Georgia, serif;
  --sans: "Inter", "Noto Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page {
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 246, 240, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 221, 208, .85);
}

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

.brand {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: .01em;
  min-width: 195px;
  text-decoration: none;
  color: var(--ink);
}

.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 5px;
  color: var(--muted);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--muted);
  flex: 1;
}

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

nav a:hover {
  color: var(--ink);
}

nav a.active {
  color: var(--ink);
  position: relative;
}

nav a.active:after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--accent-dark);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  background: rgba(229, 221, 208, 0.3);
  border-color: var(--ink);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero {
  padding: 88px 0 86px;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(163, 177, 138, .18), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 72px;
  align-items: center;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -.02em;
}

h1 {
  font-size: 76px;
  line-height: .96;
  max-width: 620px;
}

.hero-copy {
  font-size: 19px;
  line-height: 1.72;
  color: var(--muted);
  margin: 26px 0 34px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  max-width: 500px;
  color: var(--muted);
  font-size: 14px;
}

.hero-note .mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent-dark);
}

.hero-media {
  position: relative;
  min-height: 590px;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 560px;
  border-radius: 2px 2px 120px 2px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(43, 43, 43, .13);
  background: #ddd;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 36%;
  display: block;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(43, 43, 43, .10);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(43, 43, 43, .15);
}

.floating-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  margin-bottom: 22px;
  object-position: 50% 45%;
}

.floating-card .label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 9px;
}

.floating-card h3 {
  font-size: 25px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.floating-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

section {
  padding: 80px 0;
}

.intro-band {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .52);
}

.intro-band .container {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  align-items: start;
}

.intro-band h2 {
  font-size: 38px;
  line-height: 1.1;
}

.intro-band p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.section-head h2 {
  font-size: 46px;
  line-height: 1.04;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.featured {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 46px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}

.featured-img {
  min-height: 520px;
  overflow: hidden;
  background: #ddd;
}

.featured-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
}

.featured-content {
  padding: 44px 34px 34px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.featured h2 {
  font-size: 50px;
  line-height: 1.04;
  margin-bottom: 22px;
}

.featured p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 26px;
  line-height: 1.75;
}

.sample-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.sample-list li {
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}

.sample-list li:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 2px;
  top: 19px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
}

.chip:hover {
  background: var(--soft);
}

.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transition: opacity 0.3s ease;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(43, 43, 43, 0.08);
}

.card-img {
  height: 292px;
  overflow: hidden;
  background: #ddd;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.card:hover .card-img img {
  transform: scale(1.03);
}

.card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .meta {
  font-size: 10px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 28px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
}

.read {
  margin-top: auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 500;
}

.read:after {
  content: " →";
  color: var(--accent-dark);
  transition: transform 0.2s ease;
  display: inline-block;
}

.card:hover .read:after {
  transform: translateX(4px);
}

.article-preview {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
}

.preview-img {
  height: 520px;
  overflow: hidden;
  background: #ddd;
}

.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 45%;
  display: block;
}

.preview-copy h2 {
  font-size: 48px;
  line-height: 1.05;
  margin-bottom: 22px;
}

.preview-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  max-width: 610px;
}

.quote-block {
  margin-top: 32px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 26px 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.28;
}

.cta {
  margin: 12px 0 88px;
  background: #2B2B2B;
  color: #fff;
  padding: 74px 76px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta:after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(163, 177, 138, .18);
}

.cta h2 {
  font-size: 52px;
  line-height: 1.02;
  position: relative;
  z-index: 1;
}

.cta p {
  color: rgba(255, 255, 255, .72);
  margin: 22px 0 0;
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.cta .button {
  z-index: 2;
}

.cta .button.secondary {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.cta .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
  font-size: 13px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Fallback/Generic WordPress templates styling */
.main-content {
  padding: 80px 0;
}

.post-content {
  max-width: 760px;
  margin: 40px auto 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-header h1 {
  font-size: 54px;
  line-height: 1.1;
  margin: 20px 0;
}

.post-featured-image {
  max-width: 900px;
  margin: 40px auto;
  border-radius: 2px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* WordPress Core Alignment Classes */
.aligncenter {
  display: block;
  margin: 20px auto;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 38px, 720px)
  }
  nav {
    display: none
  }
  .hero-grid, .intro-band .container, .featured, .article-preview, .cta {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 60px
  }
  h1 {
    font-size: 54px
  }
  .hero-media {
    min-height: auto;
    display: grid;
    gap: 18px;
  }
  .hero-photo, .floating-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 420px;
    inset: auto;
  }
  .floating-card img {
    height: 220px
  }
  .grid {
    grid-template-columns: 1fr 1fr
  }
  .section-head {
    display: block
  }
  .section-head p {
    margin-top: 16px
  }
  .featured-img {
    min-height: 420px
  }
  .featured-content {
    padding: 10px
  }
  .cta-actions {
    justify-content: flex-start
  }
}

@media (max-width: 640px) {
  .nav {
    height: 74px
  }
  .brand {
    font-size: 21px
  }
  .nav .button {
    display: none
  }
  .container {
    width: calc(100% - 28px)
  }
  h1 {
    font-size: 44px
  }
  .hero-copy {
    font-size: 16px
  }
  .hero-photo {
    min-height: 360px
  }
  .floating-card {
    padding: 20px;
    min-height: auto
  }
  .intro-band h2, .section-head h2, .featured h2, .preview-copy h2, .cta h2 {
    font-size: 34px
  }
  .grid {
    grid-template-columns: 1fr
  }
  .card-img {
    height: 270px
  }
  .cta {
    padding: 48px 30px
  }
  footer .container {
    display: block
  }
}
