/* Base colours */
:root {
    --green: #2E673C;
    --cream: #E1DED5;
}

/* Global */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300; /* light */
    background: var(--cream);
    color: var(--green);
    font-size: 20px;
}

/* HERO / HEADER */

.hero {
    background: var(--cream);
    color: var(--green);
    padding: 4rem 1.5rem 5rem;
}

.hero__inner {
    max-width: 1100px;    /* a bit wider like the original */
    margin: 0 auto;
}

/* Big name at top */
.hero__title {
    text-align: center;
    text-transform: uppercase;
font-family: "Arial Narrow", Arial, sans-serif;
font-weight: 600;
font-stretch: 70%;
letter-spacing: -0.04em;
    font-size: 5rem;
    margin: 0 0 2.5rem;
}

/* Image + right column */
.hero__content {
    display: flex;
  align-items: stretch;   /* make both halves same height */
    justify-content: center;
}

/* each takes exactly half */
.hero__image,
.hero__meta {
    flex: 0 0 50%;
    max-width: 50%;
}

/* keep the image towards the centre a bit */
.hero__image {
    display: flex;
    justify-content: right;  /* try 'flex-end' if you want it hugging the middle more */
}

.hero__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* right-hand column */
.hero__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;   /* centre text vertically in the column */
    padding-left: 2rem;
    transform: translateY(-5%); /* tweak up/down by a few px if needed */
}


/* stacked EDITOR / & / WRITER */
.hero__role {
    margin: 0;
    text-transform: uppercase;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 400;
    font-stretch: 70%;
    letter-spacing: -0.03em;
    font-size: 4rem;
    line-height: 0.9;
    white-space: pre-line; /* ← keep the manual line breaks */
}


/* socials under that */
.hero__social {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.hero__social-item a {
    font-size: 2rem;
    color: var(--green);
    text-decoration: none;
}

/* SECTIONS (ABOUT / EDITING / etc.) */

.section {
    padding: 5rem 1.5rem;
}

.section__inner {
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: center;
    justify-items: center;
}

.section__body{
    max-width: 600px;
  
}

/* Alternating backgrounds & text colours */
.section--base {
    background: var(--green);
    color: var(--cream);
}

.section--alt {
    background: var(--cream);
    color: var(--green);
}

/* Section headings with underline */

.section__title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
font-family: "Arial Narrow", Arial, sans-serif;
font-weight: 600;
font-stretch: 70%;
letter-spacing: -0.02em;
    font-size: 2.5rem;
    margin: 0 0 2rem;
}

.section__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0.75rem auto 0;
    background: currentColor; /* picks green or cream automatically */
}

/* Body text */

.section__body p {
    margin: 0 0 1.2rem;
    line-height: 1.7;
}

/* Links inside sections inherit colour but underline */

.section__body a {
    color: inherit;
    text-decoration: underline;
}

/* Button */

/* Button */
.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 1.6rem;
    border: 2px solid currentColor; /* uses the section text colour */
    background: transparent;
    color: inherit;                 /* inherit cream/green from section */
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
}

/* Hover: invert per section */
.section--base .btn:hover {
    background: var(--cream);
    color: var(--green);
}

.section--alt .btn:hover {
    background: var(--green);
    color: var(--cream);
}

/* mobile: stack image + text again */
@media (max-width: 900px) {

  .hero {
    padding: 0.5rem;
}

.hero__title {
    font-size: 3rem;
}

    .hero__content {
        flex-direction: column;
        align-items: center;
    }

    .hero__meta {
        align-items: center;
        text-align: center;
    }

    .hero__role {
        font-size: 2.25rem;
            margin-bottom: 1rem;
    }

    .hero__image, .hero__meta {
    max-width: 100%;
}
}
