/* ============================================================================
   DESIGN: Mid-Century — warm retro-modern.
   Cream ground, mustard / teal / burnt-orange palette, slab-serif display,
   geometric shapes, thick rules, circular motifs.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Poppins:wght@400;500;600&display=swap");

:root {
    --cream: #f4ece0;
    --cream-2: #ece1d0;
    --mustard: #e0a526;
    --teal: #2a7f7a;
    --orange: #c8553d;
    --ink: #2b2117;
    --display: "DM Serif Display", Georgia, serif;
    --body: "Poppins", sans-serif;
}

body { font-family: var(--body); color: var(--ink); background: var(--cream); font-size: 17px; }
.inset { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; }
p { margin: 0 0 1em; }
section { padding: 96px 0; }
.fancy-text { font-family: var(--display); font-size: 2.8rem; color: var(--orange); }
.subheading { font-size: 1.1rem; color: var(--teal); font-weight: 500; margin: .5rem 0 3rem; }

.theme-button, .button {
    display: inline-block; background: var(--orange); color: var(--cream);
    padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
}
.theme-button:hover, .button:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.buttons { margin-top: 1.75rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Header ─────────────────────────────────────────────────────────────── */
#header { background: var(--cream); border-bottom: 3px solid var(--ink); position: sticky; top: 0; z-index: 100; }
#header .inset { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.wordmark { font-family: var(--display); font-size: 1.9rem; color: var(--ink); }
#main-menu .menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.menu-item a { font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.menu-item a:hover { color: var(--orange); }
.menu-item--cta a { background: var(--mustard); color: var(--ink); padding: 9px 18px; border-radius: 999px; border: 2px solid var(--ink); }
.mobile-menu-button { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { height: 620px; color: var(--cream); padding: 0; }
.hero__slide { height: 620px; background: var(--teal); }
.hero__slide:nth-child(2) { background: var(--orange); }
.hero__slide:nth-child(3) { background: #3a2d1e; }
.hero__overlay {
    background:
      radial-gradient(circle at 85% 25%, rgba(224,165,38,.5) 0 120px, transparent 121px),
      radial-gradient(circle at 70% 80%, rgba(43,33,23,.25) 0 80px, transparent 81px);
    opacity: 1;
}
.hero .inset { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__copy { max-width: 640px; }
.hero__copy h1 { font-family: var(--display); font-size: 3.6rem; color: var(--cream); margin-bottom: 1rem; }
.hero__subheading { font-size: 1.2rem; }
.hero__buttons .theme-button { background: var(--mustard); color: var(--ink); }

/* ── Work grid ─────────────────────────────────────────────────────────── */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work__item { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.work__item__image { aspect-ratio: 4/3; background: var(--teal); }
.work__item:nth-child(3n+2) .work__item__image { background: var(--orange); }
.work__item:nth-child(3n) .work__item__image { background: var(--mustard); }
.work__item__meta { padding: 18px 20px; }
.work__item__title { font-family: var(--display); font-size: 1.35rem; }
.work__item__category { font-size: .85rem; font-weight: 600; color: var(--orange); }

/* ── About (Basic section) ─────────────────────────────────────────────── */
.basic { background: var(--cream-2); }
.basic .inset { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.basic h3 { font-family: var(--display); font-size: 2.6rem; color: var(--teal); margin-bottom: 1rem; }
.basic .image { aspect-ratio: 1/1; background: var(--mustard); border: 3px solid var(--ink); border-radius: 50%; }

/* ── Services (Boxes section) ──────────────────────────────────────────── */
.grid-slider .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.boxes__item { display: block; padding: 30px 24px; background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
.boxes__item__content h4 { font-family: var(--display); font-size: 1.35rem; margin-bottom: .5rem; color: var(--orange); }
.boxes__item__content span { font-size: .92rem; display: block; }
.boxes__item__button { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--teal); }
.boxes .arrow, .boxes .dots { display: none; }

/* ── Contact (form) ────────────────────────────────────────────────────── */
.contact-form { background: var(--teal); color: var(--cream); }
.contact-form .fancy-text { color: var(--cream); }
.contact-form .subheading { color: var(--cream); opacity: .85; }
.contact-form .inset { max-width: 760px; }
.contact-form__form { margin-top: 2.5rem; background: var(--cream); border: 3px solid var(--ink); border-radius: 18px; padding: 32px; box-shadow: 6px 6px 0 var(--ink); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form__field { margin-bottom: 18px; }
.contact-form__field label { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.contact-form__field input, .contact-form__field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; font: inherit; background: var(--cream); color: var(--ink); }
.contact-form__field input:focus, .contact-form__field textarea:focus { outline: none; background: #fff; }
.contact-form__field textarea { resize: vertical; }
.contact-form__actions .theme-button { background: var(--mustard); color: var(--ink); }

/* ── Footer ────────────────────────────────────────────────────────────── */
#footer { background: var(--ink); color: var(--cream); padding: 72px 0 0; }
#footer .columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
#footer .wordmark { font-family: var(--display); color: var(--mustard); display: inline-block; margin-bottom: 1rem; }
#footer h3 { font-family: var(--display); color: var(--mustard); margin-bottom: 1rem; }
#footer a:hover { color: var(--mustard); }
#footer li { list-style: none; margin-bottom: 9px; }
.social-links { display: flex; flex-direction: column; gap: 9px; }
#copyright { margin-top: 56px; border-top: 2px solid rgba(244,236,224,.2); padding: 22px 0; text-align: center; font-size: .85rem; }

@media (max-width: 900px) {
    .work__grid, .grid-slider .strip, .contact-form__row,
    .basic .inset, #footer .columns { grid-template-columns: 1fr; }
    #main-menu { display: none; }
}
