/*
Theme Name: Candice Cianci & Amielle
Theme URI: https://candice.tekonline.com.au
Author: TekOnline
Description: Warm gallery-style WordPress theme for Candice Cianci and Amielle's Australian artist portfolio, prints, commissions and healthcare artwork enquiries.
Version: 0.1.0
Text Domain: candice-amielle
*/

:root {
  --warm-white: #fbf7ef;
  --paper: #fffdf8;
  --beige: #e8dccb;
  --clay: #b87558;
  --clay-dark: #8a503d;
  --sage: #7f8a69;
  --sage-dark: #4f5e49;
  --charcoal: #2f302b;
  --muted: #6f6a60;
  --line: rgba(47, 48, 43, 0.14);
  --shadow: 0 20px 70px rgba(47, 48, 43, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--warm-white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 25%, var(--sage) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--clay), var(--beige));
}

.brand strong {
  display: block;
  font-family: Lora, Georgia, serif;
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--charcoal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--charcoal);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 247, 239, 0.9) 0%, rgba(251, 247, 239, 0.74) 34%, rgba(251, 247, 239, 0.14) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  max-width: 650px;
  font-size: clamp(44px, 8vw, 86px);
}

h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 22px;
  color: #45443f;
  font-size: clamp(17px, 2vw, 21px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.82);
}

.button.quiet {
  color: var(--clay-dark);
  background: rgba(255, 253, 248, 0.58);
}

.intro-band {
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--sage-dark);
  color: var(--paper);
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  min-height: 62vh;
}

.intro-band p {
  max-width: 980px;
  font-family: Lora, Georgia, serif;
  font-size: clamp(22px, 3vw, 35px);
  line-height: 1.35;
}

.section,
.split-section,
.contact-section,
.signup {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.art-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(47, 48, 43, 0.05);
}

.art-card > div:last-child {
  padding: 20px;
}

.art-card p {
  margin-top: 8px;
  color: var(--muted);
}

.art-card span {
  display: block;
  margin-top: 14px;
  color: var(--sage-dark);
  font-weight: 600;
}

.artwork {
  aspect-ratio: 4 / 5;
  display: block;
  width: 100%;
  min-height: 260px;
  background-color: var(--beige);
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

.art-1 {
  background-image:
    radial-gradient(ellipse at 76% 22%, rgba(127, 138, 105, 0.65) 0 18%, transparent 19%),
    radial-gradient(ellipse at 36% 52%, rgba(184, 117, 88, 0.65) 0 22%, transparent 23%),
    linear-gradient(48deg, transparent 42%, rgba(47, 48, 43, 0.82) 43% 54%, transparent 55%),
    linear-gradient(120deg, #f8efe2, #d9c7ae);
}

.art-2 {
  background-image:
    radial-gradient(ellipse at 28% 30%, rgba(127, 138, 105, 0.72) 0 18%, transparent 19%),
    radial-gradient(ellipse at 70% 70%, rgba(184, 117, 88, 0.56) 0 28%, transparent 29%),
    linear-gradient(150deg, transparent 55%, rgba(47, 48, 43, 0.84) 56% 65%, transparent 66%),
    linear-gradient(135deg, #f7efe4, #e2d2bd);
}

.art-3 {
  background-image:
    radial-gradient(ellipse at 68% 36%, rgba(79, 94, 73, 0.7) 0 24%, transparent 25%),
    radial-gradient(ellipse at 28% 78%, rgba(184, 117, 88, 0.52) 0 24%, transparent 25%),
    linear-gradient(70deg, transparent 44%, rgba(47, 48, 43, 0.76) 45% 50%, transparent 51%),
    linear-gradient(160deg, #fbf5eb, #d8c7b3);
}

.art-4 {
  background-image:
    radial-gradient(ellipse at 70% 18%, rgba(184, 117, 88, 0.76) 0 21%, transparent 22%),
    radial-gradient(ellipse at 32% 60%, rgba(127, 138, 105, 0.62) 0 25%, transparent 26%),
    linear-gradient(30deg, transparent 45%, rgba(47, 48, 43, 0.82) 46% 54%, transparent 55%),
    linear-gradient(110deg, #f8efe4, #e6d3bd);
}

.art-5 {
  background-image:
    radial-gradient(ellipse at 30% 28%, rgba(127, 138, 105, 0.64) 0 22%, transparent 23%),
    radial-gradient(ellipse at 76% 70%, rgba(184, 117, 88, 0.62) 0 22%, transparent 23%),
    linear-gradient(120deg, transparent 44%, rgba(47, 48, 43, 0.82) 45% 48%, transparent 49%),
    linear-gradient(180deg, #fbf4e9, #d9c6ad);
}

.art-6 {
  background-image:
    radial-gradient(ellipse at 68% 26%, rgba(47, 48, 43, 0.84) 0 19%, transparent 20%),
    radial-gradient(ellipse at 35% 72%, rgba(127, 138, 105, 0.64) 0 26%, transparent 27%),
    radial-gradient(ellipse at 75% 78%, rgba(184, 117, 88, 0.55) 0 18%, transparent 19%),
    linear-gradient(130deg, #f7efe4, #ded0be);
}

.spaces-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background: #efe7da;
}

.spaces-copy p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.spaces-section img {
  width: 100%;
  border: 1px solid rgba(47, 48, 43, 0.1);
  box-shadow: var(--shadow);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(34px, 8vw, 96px);
}

.story-copy {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 19px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audience-grid article {
  min-height: 440px;
  padding: clamp(42px, 7vw, 82px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.audience-grid article + article {
  background: var(--sage-dark);
  color: var(--paper);
}

.audience-grid article + article .eyebrow,
.audience-grid article + article p {
  color: rgba(255, 253, 248, 0.78);
}

.audience-grid p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.audience-grid a {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  text-underline-offset: 7px;
}

.compact {
  background: var(--paper);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-list div {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fbf7ef;
}

.feature-list h3 {
  font-size: 21px;
}

.feature-list p {
  margin-top: 12px;
  color: var(--muted);
}

.signup {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  background: #d9c9b5;
}

.signup p:not(.eyebrow) {
  margin-top: 14px;
  color: #5c574f;
}

.inline-form,
.signup .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.inline-form label,
.signup .wpcf7-form p {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--charcoal);
  background: var(--paper);
  font: inherit;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 8vw, 96px);
  background: var(--warm-white);
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

dl {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

.contact-form,
.contact-section .wpcf7-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 50px rgba(47, 48, 43, 0.06);
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--sage-dark);
  border-radius: 999px;
  color: var(--paper);
  background: var(--sage-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.wpcf7-response-output {
  margin: 4px 0 0 !important;
  padding: 12px 14px !important;
  border-color: var(--line) !important;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(251, 247, 239, 0.9), rgba(251, 247, 239, 0.58));
  }

  .section-heading,
  .spaces-section,
  .split-section,
  .signup,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .art-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 44px);
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 100%;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }

  .intro-band p,
  h2,
  h3,
  p {
    overflow-wrap: anywhere;
  }

  .button-row,
  .inline-form,
  .signup .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .art-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .artwork {
    min-height: 320px;
  }

  .audience-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
