/* Rotoplastics Trinidad Limited | Digital style guide
   Proposed design tokens. Confirm brand colours and fonts against approved assets. */
:root {
  --blue: #12364A;
  --teal: #087F83;
  --coral: #F07845;
  --mist: #DCECEF;
  --paper: #F5F7F6;
  --ink: #202B31;
  --muted: #68777D;
  --white: #FFFFFF;
  --sand: #F0EDE5;
  --line: rgba(18,54,74,.14);
  --display: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --content: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behaviour: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99; background: white; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { max-width: var(--content); min-height: 78px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); flex-shrink: 0; }
.brand-logo { display: block; width: 205px; height: auto; max-height: 42px; object-fit: contain; filter: brightness(0) saturate(100%) invert(17%) sepia(21%) saturate(1400%) hue-rotate(157deg) brightness(91%) contrast(91%); }

.main-nav { display: flex; align-items: center; gap: 27px; color: #52636A; font-size: 16px; font-weight: 700; }
.main-nav a:hover, .header-link:hover, .text-link:hover { color: var(--teal); }
.header-link { font-size: 16px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.hero { color: white; background: var(--blue); overflow: hidden; position: relative; }
.hero-grid { max-width: var(--content); min-height: 590px; margin: auto; padding: 85px 28px 55px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: rgba(255,255,255,.72); font: 700 10px var(--body); letter-spacing: 2px; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: var(--coral); display: inline-block; }
.eyebrow.dark { color: var(--teal); }
.hero h1, .section h2, .closing h2 { margin: 0; font: 800 clamp(48px,6vw,76px)/1.02 var(--display); letter-spacing: -4px; }
.hero h1 em, .section h2 em, .closing h2 em { color: #70C5C0; font-style: normal; }
.hero-intro { max-width: 570px; margin: 28px 0 30px; color: #D5E0E4; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 25px; padding: 14px 19px; font-size: 18px; font-weight: 700; border-radius: 3px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--blue); background: white; }
.text-link { color: white; font-size: 18px; font-weight: 700; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 62px; color: #9FB3BC; font-size: 15px; letter-spacing: .5px; }
.hero-meta span + span:before { content: "•"; margin-right: 20px; color: var(--coral); }
.hero-art { min-height: 390px; position: relative; display: grid; place-items: center; }
.art-disc { width: min(310px,70%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8AD2CB 0 8%, #37A9A6 9% 31%, #087F83 32% 58%, #075367 59% 100%); box-shadow: 35px 35px 0 rgba(0,0,0,.08), inset -20px -20px 45px rgba(0,0,0,.18); position: relative; z-index: 2; }
.art-disc:after { content: ""; position: absolute; width: 55%; height: 55%; top: 22%; left: 22%; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.art-orbit { position: absolute; width: 420px; height: 180px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-34deg); }
.orbit-two { transform: rotate(48deg); width: 380px; height: 230px; border-color: rgba(112,197,192,.45); }
.art-label { position: absolute; z-index: 3; padding: 9px 13px; background: #F07845; color: white; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.label-top { top: 55px; right: 5px; transform: rotate(4deg); }
.label-bottom { bottom: 53px; left: 0; background: white; color: var(--blue); transform: rotate(-4deg); }
.art-number { position: absolute; right: 10px; bottom: 5px; color: rgba(255,255,255,.5); font: 700 16px var(--display); }
.art-number span { color: rgba(255,255,255,.28); }
.hero-bottom { max-width: var(--content); margin: auto; padding: 15px 28px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; color: #9FB3BC; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.intro-strip { max-width: var(--content); margin: auto; padding: 36px 28px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.intro-strip p { margin: 0; max-width: 800px; color: #53636A; font-size: 17px; }
.intro-strip strong { color: var(--blue); }
.strip-index { color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; white-space: nowrap; }
.section { padding: 105px max(28px, calc((100% - var(--content))/2)); }
.section-light { background: white; }
.section-ink { background: #102F40; color: white; }
.section-sand { background: var(--sand); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 55px; }
.section h2 { font-size: clamp(42px,5vw,60px); letter-spacing: -3px; }
.section-light h2 em, .section-sand h2 em { color: var(--teal); }
.section-lead { max-width: 390px; margin: 0 0 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-ink .section-lead { color: #B5C6CD; }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.principle-card { min-height: 265px; padding: 25px 22px 22px; border: 1px solid var(--line); position: relative; background: #fff; }
.card-number { position: absolute; top: 22px; right: 22px; color: #A7B3B6; font: 700 10px var(--display); }
.principle-icon { width: 43px; height: 43px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--teal); font-size: 23px; }
.icon-purpose { background: #FCE9DF; color: var(--coral); }.icon-image { background: #E8EDF0; color: var(--blue); }.icon-access { background: #E7F1EB; color: #4C876A; }
.principle-card h3, .showcase-copy h3 { margin: 0 0 10px; color: var(--blue); font: 700 18px var(--display); }
.principle-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.rule { display: block; margin-top: 20px; color: var(--teal); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.component-showcase { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: center; margin-top: 85px; }
.showcase-copy h3 { font-size: 29px; line-height: 1.2; letter-spacing: -1px; }
.showcase-copy > p:last-child { max-width: 320px; color: var(--muted); font-size: 16px; }
.showcase-ui { padding: 14px; background: #F0F4F3; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(18,54,74,.08); }
.sample-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: white; color: #77868A; font-size: 8px; }
.sample-logo { color: var(--blue); font: 800 11px var(--display); letter-spacing: -.5px; }
.sample-menu { display: none; }
.sample-content { padding: 35px 28px; background: var(--blue); color: white; }
.sample-tag, .specimen-label { color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.sample-tag { color: #7ED1C9; }
.sample-content h4 { margin: 10px 0; font: 800 28px/1.12 var(--display); letter-spacing: -1px; }
.sample-content p { color: #C1D2D8; font-size: 12px; }
.sample-buttons { display: flex; gap: 9px; margin-top: 20px; }
.sample-button, .sample-outline { padding: 9px 12px; background: var(--coral); font-size: 8px; font-weight: 700; }
.sample-outline { border: 1px solid rgba(255,255,255,.5); background: transparent; }
.sample-card-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding-top: 8px; }
.sample-card { padding: 12px; background: white; display: flex; flex-direction: column; }
.sample-card b { color: var(--teal); font-size: 12px; }
.sample-card strong { margin: 12px 0 4px; color: var(--blue); font: 700 10px var(--display); }
.sample-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.type-layout { display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; }
.type-specimen { padding: 8px 0; }
.section-ink .specimen-label { display: block; margin: 22px 0 12px; color: #7DCBC5; }
.type-display { margin: 0 0 32px; font: 800 57px/1.05 var(--display); letter-spacing: -3px; }
.type-display em { color: #72C9C1; font-style: normal; }
.type-h1 { margin: 0 0 25px; font: 700 39px/1.15 var(--display); letter-spacing: -1.5px; }
.type-h2 { margin: 0 0 23px; font: 700 30px/1.2 var(--display); }
.type-h3 { margin: 0 0 22px; font: 600 22px/1.3 var(--display); }
.type-body { max-width: 650px; color: #C1D0D5; font-size: 15px; line-height: 1.75; }
.type-caption { color: #92A8B0; font-size: 12px; }
.type-sidebar { display: flex; flex-direction: column; gap: 25px; }
.type-sidebar > div { padding: 23px; border: 1px solid rgba(255,255,255,.16); }
.type-sidebar h3 { margin: 12px 0 4px; font: 800 25px var(--display); }
.type-sidebar h3.dm { font-family: var(--body); }
.type-sidebar p { margin: 0; color: #B3C5CB; font-size: 16px; }
.weight-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; color: #C0D0D5; font-size: 10px; }
.weight-list b { float: right; color: #75C9C2; }
.type-note { background: rgba(255,255,255,.06); }
.type-note strong { color: white; font-size: 12px; }
.type-table-wrap { margin-top: 75px; }
.type-table-wrap h3 { margin-bottom: 20px; font: 700 20px var(--display); }
.type-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.type-table th { padding: 13px 10px; color: #8FD1CA; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 16px; letter-spacing: .7px; text-transform: uppercase; }
.type-table td { padding: 13px 10px; color: #C3D1D6; border-bottom: 1px solid rgba(255,255,255,.1); }
.type-table td:first-child { color: white; font-weight: 700; }
.palette-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.palette-card { background: white; border: 1px solid var(--line); }
.swatch { min-height: 150px; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: white; }
.swatch > span { font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.swatch button { border: 1px solid currentColor; border-radius: 2px; padding: 6px 9px; color: inherit; background: transparent; cursor: pointer; font-size: 16px; font-weight: 700; }
.swatch button:hover { background: rgba(255,255,255,.16); }
.swatch-deep { background: #12364A; }.swatch-teal { background: #087F83; }.swatch-coral { background: #F07845; }.swatch-sky { background: #DCECEF; color: var(--blue); }.swatch-paper { background: #F5F7F6; color: var(--blue); border-bottom: 1px solid var(--line); }.swatch-charcoal { background: #202B31; }
.swatch-info { padding: 15px 17px 17px; display: grid; grid-template-columns: 1fr auto; gap: 3px; }
.swatch-info strong { color: var(--blue); font: 700 16px var(--display); }
.swatch-info code { color: var(--teal); font-size: 11px; }
.swatch-info small { grid-column: 1 / -1; margin-top: 7px; color: var(--muted); font-size: 10px; }
.colour-rules { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 50px; padding: 30px; background: var(--blue); color: white; }
.colour-rules > div { padding-right: 20px; border-right: 1px solid rgba(255,255,255,.2); }
.colour-rules > div:last-child { border: 0; }
.rule-number { display: block; margin-bottom: 8px; color: #7CCDC6; font: 800 32px var(--display); }
.colour-rules strong { font: 700 16px var(--display); }
.colour-rules p { margin: 6px 0 0; color: #C0D0D5; font-size: 14px; }
.accessibility-note { margin: 25px 0 0; color: #66747A; font-size: 11px; }
.accessibility-note strong { color: var(--blue); }
.writing-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; }
.voice-panel { padding: 32px; background: var(--blue); color: white; }
.voice-panel .specimen-label { color: #81D0C8; }
.voice-panel h3 { margin: 23px 0 15px; font: 800 32px/1.15 var(--display); letter-spacing: -1px; }
.voice-panel p { color: #C1D0D5; font-size: 16px; }
.voice-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.voice-tags span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.25); color: #E0E9EB; font-size: 9px; }
.writing-rules article { display: grid; grid-template-columns: 35px 1fr; gap: 15px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(18,54,74,.15); }
.writing-rules article > span { color: var(--teal); font: 700 12px var(--display); }
.writing-rules h3 { margin: 0 0 4px; color: var(--blue); font: 700 16px var(--display); }
.writing-rules p { margin: 0; color: #65747A; font-size: 16px; }
.writing-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 60px; }
.example { padding: 25px; background: white; border: 1px solid var(--line); }
.example.avoid { background: #F7F2EF; }
.example-label { color: var(--teal); font-size: 16px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.avoid .example-label { color: #B16B4D; }
.example h3 { margin: 14px 0 7px; color: var(--blue); font: 700 20px var(--display); }
.example p { margin: 0; color: #6D7A7F; font-size: 16px; }
.micro-guide { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 35px; }
.micro-guide > div { padding-top: 15px; border-top: 2px solid var(--teal); }
.micro-guide strong { color: var(--blue); font: 700 16px var(--display); }
.micro-guide p { margin: 5px 0 0; color: #68777D; font-size: 11px; }
.closing { padding: 90px 28px; text-align: center; color: white; background: var(--teal); }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(42px,5vw,62px); letter-spacing: -3px; }
.closing h2 em { color: #B9E4DE; }
.closing > p:not(.eyebrow) { max-width: 560px; margin: 22px auto 28px; color: #D6EFEC; font-size: 16px; }
.site-footer { padding: 32px max(28px, calc((100% - var(--content))/2)); background: #102F40; color: white; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 25px; }
.brand-footer { color: white; }
.brand-footer .brand-logo { filter: none; }
.footer-top p { margin: 0; color: #AFC1C7; font-size: 16px; text-align: center; }
.back-top { color: #8BD1CA; font-size: 16px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: #91A8B0; font-size: 16px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; padding: 12px 17px; color: white; background: var(--blue); border-left: 3px solid var(--coral); box-shadow: 0 8px 30px rgba(0,0,0,.2); font-size: 16px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .main-nav { gap: 14px; }.hero-grid { gap: 20px; }.hero-art { transform: scale(.88); }
  .principle-grid { grid-template-columns: repeat(2,1fr); }.type-layout { gap: 35px; }.writing-grid { gap: 30px; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 68px; padding: 0 18px; }.main-nav { display: none; }.header-link { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 65px 22px 25px; }.hero h1 { font-size: 54px; }.hero-art { min-height: 300px; transform: scale(.82); margin: -10px 0; }
  .hero-meta { margin-top: 38px; gap: 8px 14px; }.hero-meta span + span:before { margin-right: 12px; }
  .intro-strip { padding: 28px 22px; }.strip-index { display: none; }
  .section { padding: 70px 22px; }.section-heading { display: block; margin-bottom: 38px; }.section-lead { margin-top: 22px; }
  .principle-grid { grid-template-columns: 1fr 1fr; }.component-showcase, .type-layout, .writing-grid { grid-template-columns: 1fr; gap: 30px; }
  .component-showcase { margin-top: 55px; }.showcase-ui { overflow: hidden; }.sample-nav > span:nth-child(2) { display: none; }.sample-menu { display: block; }
  .type-display { font-size: 48px; }.type-h1 { font-size: 31px; }.type-h2 { font-size: 25px; }
  .type-table-wrap { overflow-x: auto; }.type-table { min-width: 650px; }
  .palette-grid { grid-template-columns: 1fr 1fr; }.swatch { min-height: 125px; }.colour-rules { grid-template-columns: 1fr; gap: 20px; }.colour-rules > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 17px; }
  .writing-examples { grid-template-columns: 1fr; margin-top: 35px; }.micro-guide { grid-template-columns: 1fr 1fr; }
  .closing { padding: 70px 22px; }.footer-top { flex-wrap: wrap; }.footer-top p { order: 3; width: 100%; text-align: left; }.footer-bottom { flex-direction: column; gap: 7px; }
}
@media (max-width: 420px) {
  .brand-logo { width: 178px; }
  .hero h1 { font-size: 46px; letter-spacing: -2px; }.hero-art { min-height: 250px; transform: scale(.72); margin: -25px 0; }
  .principle-grid, .palette-grid { grid-template-columns: 1fr; }.principle-card { min-height: 230px; }
  .sample-card-row { grid-template-columns: 1fr; }.sample-card { min-height: 75px; }
  .micro-guide { grid-template-columns: 1fr 1fr; }.section h2 { letter-spacing: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behaviour: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}