/* ======================================================
   Tailored.ie — Main Stylesheet
   Irish bespoke & made-to-measure tailoring directory
   Palette: warm cream + deep navy + copper/tweed accent
   ====================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink:       #1b2331;
    --ink-soft:  #2a3144;
    --text:      #3a3f4b;
    --text-soft: #6b6f7a;
    --cream:     #faf6ef;
    --cream-alt: #f1ead9;
    --parchment: #e9dfc5;
    --copper:    #b5682e;
    --copper-dark: #8f4f20;
    --tweed:     #7c5e3a;
    --white:     #ffffff;
    --border:    #e1d8bf;
    --border-dark: #c6b991;
    --success:   #2e7d4f;
    --shadow-sm: 0 1px 3px rgba(27,35,49,0.08);
    --shadow-md: 0 8px 22px rgba(27,35,49,0.10);
    --shadow-lg: 0 20px 50px rgba(27,35,49,0.14);
    --radius: 8px;
    --radius-lg: 18px;
    --maxw: 1180px;
    --maxw-read: 740px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

body .sans,
.btn, .navbar, .form-card, .footer, .card, .news-row,
button, input, select, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
    color: var(--copper-dark);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
a:hover { color: var(--copper); border-bottom-color: var(--copper); }

img, svg { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: var(--maxw-read); }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.005em;
    font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .65rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: .35rem; font-weight: 600; }
p  { margin-bottom: 1rem; font-size: 1.02rem; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    line-height: 1;
}
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--copper-dark); color: #fff; border-bottom: 1.5px solid var(--copper-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-bottom-color: var(--ink); }
.btn-large { padding: 18px 34px; font-size: 1rem; }

.navbar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
}
.nav-container {
    max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.3rem; color: var(--ink); border-bottom: 0; font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: 0.02em; }
.logo:hover { color: var(--copper-dark); border-bottom: 0; }
.logo-icon { width: 34px; height: 34px; color: var(--ink); flex: 0 0 auto; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-menu a { display: inline-block; padding: 8px 14px; color: var(--ink-soft); font-weight: 500; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 0; }
.nav-menu a:hover { color: var(--copper-dark); border-bottom: 0; }
.nav-cta { background: var(--ink); color: var(--cream) !important; border-radius: 3px; }
.nav-cta:hover { background: var(--copper-dark); color: #fff !important; }
.menu-toggle { display: none; background: transparent; border: 0; width: 34px; height: 34px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px auto; width: 22px; }

@media (max-width: 860px) {
    .menu-toggle { display: inline-block; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
                background: var(--cream); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
                padding: 10px 14px 20px; display: none; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 10px; }
}

.hero {
    padding: 100px 22px 88px;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(181,104,46,0.10), transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(124,94,58,0.08), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--copper) 30%, var(--copper) 70%, transparent 100%);
    opacity: 0.5;
}
.hero-content { max-width: 840px; margin: 0 auto; text-align: center; }
.hero h1 { color: var(--ink); }
.hero-kicker {
    display: inline-block;
    color: var(--copper-dark);
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}
.hero-subtitle { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text); max-width: 640px; margin: .5rem auto 2rem; font-style: italic; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 2rem; font-size: .88rem; color: var(--text-soft); letter-spacing: .04em; font-family: 'Inter', sans-serif; }

section { padding: 72px 0; }
.section-intro { color: var(--text); max-width: 640px; margin: 0 auto 2.4rem; text-align: center; font-style: italic; font-size: 1.08rem; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .5rem; }

.bg-cream-alt { background: var(--cream-alt); }
.bg-ink { background: var(--ink); color: #cfd2db; }
.bg-ink h2, .bg-ink h3 { color: var(--cream); }
.bg-ink .section-intro { color: #b5bac7; }
.bg-ink a { color: var(--cream); border-bottom-color: rgba(250,246,239,0.4); }
.bg-ink a:hover { color: var(--parchment); }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.pillar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex; flex-direction: column; gap: 8px;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-icon { width: 46px; height: 46px; color: var(--copper-dark); margin-bottom: 6px; }
.pillar-num {
    width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--copper);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--copper-dark); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
    margin-bottom: 8px;
}
.pillar-card h3 { color: var(--ink); }
.pillar-card p { font-size: 1rem; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 24px 22px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 6px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-region {
    color: var(--copper-dark);
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 4px;
}
.card h3 { color: var(--ink); margin-bottom: 2px; }
.card-meta { color: var(--text-soft); font-size: .88rem; font-family: 'Inter', sans-serif; margin-bottom: 6px; }
.card p { font-size: .97rem; }
.card .link-arrow { margin-top: auto; padding-top: 10px; font-weight: 600; border-bottom: 0; font-family: 'Inter', sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.link-arrow:hover { border-bottom: 0; }
.link-arrow::after { content: " →"; }

.article-body { max-width: var(--maxw-read); margin: 0 auto; padding: 0 22px; }
.article-body h2 { margin-top: 2.4rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body p  { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 1.2rem; margin-bottom: 1rem; color: var(--ink-soft); }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
    border-left: 3px solid var(--copper);
    padding: 10px 20px;
    margin: 20px 0;
    font-style: italic;
    background: var(--cream-alt);
    border-radius: 0 6px 6px 0;
}
.article-meta { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; font-family: 'Inter', sans-serif; }

.tag {
    background: var(--cream-alt);
    color: var(--tweed);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: .05em;
}
.article-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.notice {
    background: #fff8e7;
    border-left: 3px solid var(--copper);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--ink-soft);
    font-size: .96rem;
    margin: 14px 0 22px;
}
.notice strong { color: var(--ink); }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: start;
}
.news-row .news-date { color: var(--text-soft); font-size: .88rem; white-space: nowrap; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.news-row h3 { margin-bottom: .35rem; }
.news-row p { font-size: .96rem; margin-bottom: 0; font-style: italic; }
@media (max-width: 620px) { .news-row { grid-template-columns: 1fr; } }

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    max-width: 640px;
    margin: 0 auto;
}
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 16px; }
.form-field label { display: block; font-size: .82rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 5px; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border-dark);
    background: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: .97rem;
    color: var(--ink);
    transition: border-color .15s ease;
    border-radius: 4px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--copper); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footnote { font-size: .82rem; color: var(--text-soft); margin-top: 10px; font-family: 'Inter', sans-serif; }

.crumbs { color: var(--text-soft); font-size: .86rem; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.crumbs a { color: var(--copper-dark); }

.page-title { padding: 64px 0 32px; text-align: center; }
.page-title h1 { margin-bottom: .5rem; }
.page-title p { color: var(--text); max-width: 640px; margin: 0 auto; font-style: italic; font-size: 1.08rem; }

.footer {
    background: var(--ink);
    color: #b5bac7;
    padding: 56px 22px 32px;
    font-size: .92rem;
    font-family: 'Inter', sans-serif;
    margin-top: 40px;
}
.footer a { color: var(--cream); border-bottom-color: rgba(250,246,239,0.25); }
.footer a:hover { color: var(--parchment); border-bottom-color: var(--parchment); }
.footer-grid {
    max-width: var(--maxw); margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h4 { color: var(--cream); margin-bottom: .35rem; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }
.footer-brand p { color: #a1a6b3; font-size: .9rem; }
.footer-col h5 { color: var(--cream); font-size: .82rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-copy {
    max-width: var(--maxw); margin: 0 auto;
    border-top: 1px solid rgba(250,246,239,0.10);
    padding-top: 18px;
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
    color: #8d929f; font-size: .84rem;
}

.text-center { text-align: center; }

@media (max-width: 720px) {
    section { padding: 52px 0; }
    .hero { padding: 72px 22px 60px; }
}
